# API Reference <a name="API Reference" id="api-reference"></a>

## Constructs <a name="Constructs" id="Constructs"></a>

### AbstractPod <a name="AbstractPod" id="cdk8s-plus-32.AbstractPod"></a>

- *Implements:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>, <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>, <a href="#cdk8s-plus-32.ISubject">ISubject</a>

#### Initializers <a name="Initializers" id="cdk8s-plus-32.AbstractPod.Initializer"></a>

```java
import org.cdk8s.plus32.AbstractPod;

AbstractPod.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.AbstractPod.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.AbstractPod.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AbstractPod.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.AbstractPod.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.AbstractPod.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.AbstractPod.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.AbstractPod.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.AbstractPod.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.AbstractPod.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.AbstractPod.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.AbstractPod.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.AbstractPod.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.AbstractPod.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.AbstractPod.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.AbstractPod.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.AbstractPod.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.AbstractPod.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.AbstractPod.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.AbstractPod.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.AbstractPod.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.AbstractPod.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.AbstractPod.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.AbstractPod.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.AbstractPod.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.AbstractPod.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.AbstractPod.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.AbstractPod.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.AbstractPod.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.AbstractPod.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AbstractPod.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.AbstractPod.isConstruct"></a>

```java
import org.cdk8s.plus32.AbstractPod;

AbstractPod.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.AbstractPod.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AbstractPod.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.AbstractPod.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.AbstractPod.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.AbstractPod.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.AbstractPod.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.AbstractPod.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.AbstractPod.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.AbstractPod.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.AbstractPod.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.AbstractPod.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.AbstractPod.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.AbstractPod.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.AbstractPod.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.AbstractPod.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.AbstractPod.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.AbstractPod.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.AbstractPod.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.AbstractPod.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.AbstractPod.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.AbstractPod.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.AbstractPod.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.AbstractPod.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.AbstractPod.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.AbstractPod.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.AbstractPod.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---


### AwsElasticBlockStorePersistentVolume <a name="AwsElasticBlockStorePersistentVolume" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume"></a>

Represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer"></a>

```java
import org.cdk8s.plus32.AwsElasticBlockStorePersistentVolume;

AwsElasticBlockStorePersistentVolume.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.volumeId">volumeId</a></code> | <code>java.lang.String</code> | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.accessModes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.mountOptions"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.reclaimPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.storage"></a>

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.volumeMode"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.volumeId"></a>

- *Type:* java.lang.String

Unique ID of the persistent disk resource in AWS (Amazon EBS volume).

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.fsType"></a>

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.partition"></a>

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.Initializer.parameter.readOnly"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.bind">bind</a></code> | Bind a volume to a specific claim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.reserve">reserve</a></code> | Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

##### `bind` <a name="bind" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.bind"></a>

```java
public void bind(IPersistentVolumeClaim claim)
```

Bind a volume to a specific claim.

Note that you must also bind the claim to the volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding)

###### `claim`<sup>Required</sup> <a name="claim" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.bind.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

The PVC to bind to.

---

##### `reserve` <a name="reserve" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.reserve"></a>

```java
public PersistentVolumeClaim reserve()
```

Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume.

Note that this method will throw in case the volume is already claimed.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume)

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName">fromPersistentVolumeName</a></code> | Imports a pv from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.isConstruct"></a>

```java
import org.cdk8s.plus32.AwsElasticBlockStorePersistentVolume;

AwsElasticBlockStorePersistentVolume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromPersistentVolumeName` <a name="fromPersistentVolumeName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName"></a>

```java
import org.cdk8s.plus32.AwsElasticBlockStorePersistentVolume;

AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName(Construct scope, java.lang.String id, java.lang.String volumeName)
```

Imports a pv from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `volumeName`<sup>Required</sup> <a name="volumeName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.fromPersistentVolumeName.parameter.volumeName"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.mode">mode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Volume mode of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | Reclaim policy of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Access modes requirement of this claim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | PVC this volume is bound to. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | Mount options of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Storage size of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Storage class this volume belongs to. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.fsType">fsType</a></code> | <code>java.lang.String</code> | File system type of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Whether or not it is mounted as a read-only volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | Volume id of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.partition">partition</a></code> | <code>java.lang.Number</code> | Partition of this volume. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `mode`<sup>Required</sup> <a name="mode" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.mode"></a>

```java
public PersistentVolumeMode getMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>

Volume mode of this volume.

---

##### `reclaimPolicy`<sup>Required</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>

Reclaim policy of this volume.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>

Access modes requirement of this claim.

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

PVC this volume is bound to.

Undefined means this volume is not yet
claimed by any PVC.

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

Mount options of this volume.

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size

Storage size of this volume.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

Storage class this volume belongs to.

---

##### `fsType`<sup>Required</sup> <a name="fsType" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

File system type of this volume.

---

##### `readOnly`<sup>Required</sup> <a name="readOnly" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

Whether or not it is mounted as a read-only volume.

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

Volume id of this volume.

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolume.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number

Partition of this volume.

---


### AzureDiskPersistentVolume <a name="AzureDiskPersistentVolume" id="cdk8s-plus-32.AzureDiskPersistentVolume"></a>

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer"></a>

```java
import org.cdk8s.plus32.AzureDiskPersistentVolume;

AzureDiskPersistentVolume.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .diskName(java.lang.String)
    .diskUri(java.lang.String)
//  .cachingMode(AzureDiskPersistentVolumeCachingMode)
//  .fsType(java.lang.String)
//  .kind(AzureDiskPersistentVolumeKind)
//  .readOnly(java.lang.Boolean)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.diskName">diskName</a></code> | <code>java.lang.String</code> | The Name of the data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.diskUri">diskUri</a></code> | <code>java.lang.String</code> | The URI the data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.cachingMode">cachingMode</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a></code> | Host Caching mode. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.kind">kind</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a></code> | Kind of disk. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Force the ReadOnly setting in VolumeMounts. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.accessModes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.mountOptions"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.reclaimPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.storage"></a>

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.volumeMode"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `diskName`<sup>Required</sup> <a name="diskName" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.diskName"></a>

- *Type:* java.lang.String

The Name of the data disk in the blob storage.

---

##### `diskUri`<sup>Required</sup> <a name="diskUri" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.diskUri"></a>

- *Type:* java.lang.String

The URI the data disk in the blob storage.

---

##### `cachingMode`<sup>Optional</sup> <a name="cachingMode" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.cachingMode"></a>

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a>
- *Default:* AzureDiskPersistentVolumeCachingMode.NONE.

Host Caching mode.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.fsType"></a>

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type to mount.

Must be a filesystem type supported by the host operating system.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.kind"></a>

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a>
- *Default:* AzureDiskPersistentVolumeKind.SHARED

Kind of disk.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AzureDiskPersistentVolume.Initializer.parameter.readOnly"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Force the ReadOnly setting in VolumeMounts.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.bind">bind</a></code> | Bind a volume to a specific claim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.reserve">reserve</a></code> | Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.AzureDiskPersistentVolume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.AzureDiskPersistentVolume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.AzureDiskPersistentVolume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.AzureDiskPersistentVolume.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.AzureDiskPersistentVolume.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.AzureDiskPersistentVolume.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

##### `bind` <a name="bind" id="cdk8s-plus-32.AzureDiskPersistentVolume.bind"></a>

```java
public void bind(IPersistentVolumeClaim claim)
```

Bind a volume to a specific claim.

Note that you must also bind the claim to the volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding)

###### `claim`<sup>Required</sup> <a name="claim" id="cdk8s-plus-32.AzureDiskPersistentVolume.bind.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

The PVC to bind to.

---

##### `reserve` <a name="reserve" id="cdk8s-plus-32.AzureDiskPersistentVolume.reserve"></a>

```java
public PersistentVolumeClaim reserve()
```

Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume.

Note that this method will throw in case the volume is already claimed.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume)

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.fromPersistentVolumeName">fromPersistentVolumeName</a></code> | Imports a pv from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.AzureDiskPersistentVolume.isConstruct"></a>

```java
import org.cdk8s.plus32.AzureDiskPersistentVolume;

AzureDiskPersistentVolume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.AzureDiskPersistentVolume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromPersistentVolumeName` <a name="fromPersistentVolumeName" id="cdk8s-plus-32.AzureDiskPersistentVolume.fromPersistentVolumeName"></a>

```java
import org.cdk8s.plus32.AzureDiskPersistentVolume;

AzureDiskPersistentVolume.fromPersistentVolumeName(Construct scope, java.lang.String id, java.lang.String volumeName)
```

Imports a pv from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.AzureDiskPersistentVolume.fromPersistentVolumeName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.AzureDiskPersistentVolume.fromPersistentVolumeName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `volumeName`<sup>Required</sup> <a name="volumeName" id="cdk8s-plus-32.AzureDiskPersistentVolume.fromPersistentVolumeName.parameter.volumeName"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.mode">mode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Volume mode of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | Reclaim policy of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Access modes requirement of this claim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | PVC this volume is bound to. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | Mount options of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Storage size of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Storage class this volume belongs to. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.azureKind">azureKind</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a></code> | Azure kind of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.cachingMode">cachingMode</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a></code> | Caching mode of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.diskName">diskName</a></code> | <code>java.lang.String</code> | Disk name of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.diskUri">diskUri</a></code> | <code>java.lang.String</code> | Disk URI of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.fsType">fsType</a></code> | <code>java.lang.String</code> | File system type of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolume.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Whether or not it is mounted as a read-only volume. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `mode`<sup>Required</sup> <a name="mode" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.mode"></a>

```java
public PersistentVolumeMode getMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>

Volume mode of this volume.

---

##### `reclaimPolicy`<sup>Required</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>

Reclaim policy of this volume.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>

Access modes requirement of this claim.

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

PVC this volume is bound to.

Undefined means this volume is not yet
claimed by any PVC.

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

Mount options of this volume.

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size

Storage size of this volume.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

Storage class this volume belongs to.

---

##### `azureKind`<sup>Required</sup> <a name="azureKind" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.azureKind"></a>

```java
public AzureDiskPersistentVolumeKind getAzureKind();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a>

Azure kind of this volume.

---

##### `cachingMode`<sup>Required</sup> <a name="cachingMode" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.cachingMode"></a>

```java
public AzureDiskPersistentVolumeCachingMode getCachingMode();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a>

Caching mode of this volume.

---

##### `diskName`<sup>Required</sup> <a name="diskName" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.diskName"></a>

```java
public java.lang.String getDiskName();
```

- *Type:* java.lang.String

Disk name of this volume.

---

##### `diskUri`<sup>Required</sup> <a name="diskUri" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.diskUri"></a>

```java
public java.lang.String getDiskUri();
```

- *Type:* java.lang.String

Disk URI of this volume.

---

##### `fsType`<sup>Required</sup> <a name="fsType" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

File system type of this volume.

---

##### `readOnly`<sup>Required</sup> <a name="readOnly" id="cdk8s-plus-32.AzureDiskPersistentVolume.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

Whether or not it is mounted as a read-only volume.

---


### BasicAuthSecret <a name="BasicAuthSecret" id="cdk8s-plus-32.BasicAuthSecret"></a>

Create a secret for basic authentication.

> [https://kubernetes.io/docs/concepts/configuration/secret/#basic-authentication-secret](https://kubernetes.io/docs/concepts/configuration/secret/#basic-authentication-secret)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.BasicAuthSecret.Initializer"></a>

```java
import org.cdk8s.plus32.BasicAuthSecret;

BasicAuthSecret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .password(java.lang.String)
    .username(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.password">password</a></code> | <code>java.lang.String</code> | The password or token for authentication. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.username">username</a></code> | <code>java.lang.String</code> | The user name for authentication. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `password`<sup>Required</sup> <a name="password" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.password"></a>

- *Type:* java.lang.String

The password or token for authentication.

---

##### `username`<sup>Required</sup> <a name="username" id="cdk8s-plus-32.BasicAuthSecret.Initializer.parameter.username"></a>

- *Type:* java.lang.String

The user name for authentication.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.BasicAuthSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.BasicAuthSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.BasicAuthSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.BasicAuthSecret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.BasicAuthSecret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.BasicAuthSecret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.BasicAuthSecret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.BasicAuthSecret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.BasicAuthSecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.BasicAuthSecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.BasicAuthSecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.BasicAuthSecret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.BasicAuthSecret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.BasicAuthSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.BasicAuthSecret;

BasicAuthSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.BasicAuthSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.BasicAuthSecret.fromSecretName"></a>

```java
import org.cdk8s.plus32.BasicAuthSecret;

BasicAuthSecret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.BasicAuthSecret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.BasicAuthSecret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.BasicAuthSecret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.BasicAuthSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.BasicAuthSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.BasicAuthSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.BasicAuthSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.BasicAuthSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.BasicAuthSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.BasicAuthSecret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.BasicAuthSecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.BasicAuthSecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.BasicAuthSecret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### ClusterRole <a name="ClusterRole" id="cdk8s-plus-32.ClusterRole"></a>

- *Implements:* <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>, <a href="#cdk8s-plus-32.IRole">IRole</a>

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ClusterRole.Initializer"></a>

```java
import org.cdk8s.plus32.ClusterRole;

ClusterRole.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .aggregationLabels(java.util.Map<java.lang.String, java.lang.String>)
//  .rules(java.util.List<ClusterRolePolicyRule>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRole.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRole.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRole.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ClusterRole.Initializer.parameter.aggregationLabels">aggregationLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules. |
| <code><a href="#cdk8s-plus-32.ClusterRole.Initializer.parameter.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>></code> | A list of rules the role should allow. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ClusterRole.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ClusterRole.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRole.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `aggregationLabels`<sup>Optional</sup> <a name="aggregationLabels" id="cdk8s-plus-32.ClusterRole.Initializer.parameter.aggregationLabels"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.ClusterRole.Initializer.parameter.rules"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>>
- *Default:* []

A list of rules the role should allow.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRole.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.ClusterRole.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.ClusterRole.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ClusterRole.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.ClusterRole.aggregate">aggregate</a></code> | Aggregate rules from roles matching this label selector. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allow">allow</a></code> | Add permission to perform a list of HTTP verbs on a collection of resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowCreate">allowCreate</a></code> | Add "create" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowDelete">allowDelete</a></code> | Add "delete" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowDeleteCollection">allowDeleteCollection</a></code> | Add "deletecollection" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowGet">allowGet</a></code> | Add "get" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowList">allowList</a></code> | Add "list" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowPatch">allowPatch</a></code> | Add "patch" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowRead">allowRead</a></code> | Add "get", "list", and "watch" permissions for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowReadWrite">allowReadWrite</a></code> | Add "get", "list", "watch", "create", "update", "patch", "delete", and "deletecollection" permissions for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowUpdate">allowUpdate</a></code> | Add "update" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.allowWatch">allowWatch</a></code> | Add "watch" permission for the resources. |
| <code><a href="#cdk8s-plus-32.ClusterRole.bind">bind</a></code> | Create a ClusterRoleBinding that binds the permissions in this ClusterRole to a list of subjects, without namespace restrictions. |
| <code><a href="#cdk8s-plus-32.ClusterRole.bindInNamespace">bindInNamespace</a></code> | Create a RoleBinding that binds the permissions in this ClusterRole to a list of subjects, that will only apply to the given namespace. |
| <code><a href="#cdk8s-plus-32.ClusterRole.combine">combine</a></code> | Combines the rules of the argument ClusterRole into this ClusterRole using aggregation labels. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.ClusterRole.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.ClusterRole.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.ClusterRole.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ClusterRole.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ClusterRole.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `aggregate` <a name="aggregate" id="cdk8s-plus-32.ClusterRole.aggregate"></a>

```java
public void aggregate(java.lang.String key, java.lang.String value)
```

Aggregate rules from roles matching this label selector.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ClusterRole.aggregate.parameter.key"></a>

- *Type:* java.lang.String

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.ClusterRole.aggregate.parameter.value"></a>

- *Type:* java.lang.String

---

##### `allow` <a name="allow" id="cdk8s-plus-32.ClusterRole.allow"></a>

```java
public void allow(java.util.List<java.lang.String> verbs, IApiEndpoint... endpoints)
```

Add permission to perform a list of HTTP verbs on a collection of resources.

> [https://kubernetes.io/docs/reference/access-authn-authz/authorization/#determine-the-request-verb](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#determine-the-request-verb)

###### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.ClusterRole.allow.parameter.verbs"></a>

- *Type:* java.util.List<java.lang.String>

---

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allow.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The endpoints(s) to apply to.

---

##### `allowCreate` <a name="allowCreate" id="cdk8s-plus-32.ClusterRole.allowCreate"></a>

```java
public void allowCreate(IApiEndpoint... endpoints)
```

Add "create" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowCreate.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowDelete` <a name="allowDelete" id="cdk8s-plus-32.ClusterRole.allowDelete"></a>

```java
public void allowDelete(IApiEndpoint... endpoints)
```

Add "delete" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowDelete.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowDeleteCollection` <a name="allowDeleteCollection" id="cdk8s-plus-32.ClusterRole.allowDeleteCollection"></a>

```java
public void allowDeleteCollection(IApiEndpoint... endpoints)
```

Add "deletecollection" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowDeleteCollection.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowGet` <a name="allowGet" id="cdk8s-plus-32.ClusterRole.allowGet"></a>

```java
public void allowGet(IApiEndpoint... endpoints)
```

Add "get" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowGet.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowList` <a name="allowList" id="cdk8s-plus-32.ClusterRole.allowList"></a>

```java
public void allowList(IApiEndpoint... endpoints)
```

Add "list" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowList.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowPatch` <a name="allowPatch" id="cdk8s-plus-32.ClusterRole.allowPatch"></a>

```java
public void allowPatch(IApiEndpoint... endpoints)
```

Add "patch" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowPatch.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowRead` <a name="allowRead" id="cdk8s-plus-32.ClusterRole.allowRead"></a>

```java
public void allowRead(IApiEndpoint... endpoints)
```

Add "get", "list", and "watch" permissions for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowRead.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowReadWrite` <a name="allowReadWrite" id="cdk8s-plus-32.ClusterRole.allowReadWrite"></a>

```java
public void allowReadWrite(IApiEndpoint... endpoints)
```

Add "get", "list", "watch", "create", "update", "patch", "delete", and "deletecollection" permissions for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowReadWrite.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowUpdate` <a name="allowUpdate" id="cdk8s-plus-32.ClusterRole.allowUpdate"></a>

```java
public void allowUpdate(IApiEndpoint... endpoints)
```

Add "update" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowUpdate.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `allowWatch` <a name="allowWatch" id="cdk8s-plus-32.ClusterRole.allowWatch"></a>

```java
public void allowWatch(IApiEndpoint... endpoints)
```

Add "watch" permission for the resources.

###### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRole.allowWatch.parameter.endpoints"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>...

The resource(s) to apply to.

---

##### `bind` <a name="bind" id="cdk8s-plus-32.ClusterRole.bind"></a>

```java
public ClusterRoleBinding bind(ISubject... subjects)
```

Create a ClusterRoleBinding that binds the permissions in this ClusterRole to a list of subjects, without namespace restrictions.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ClusterRole.bind.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

a list of subjects to bind to.

---

##### `bindInNamespace` <a name="bindInNamespace" id="cdk8s-plus-32.ClusterRole.bindInNamespace"></a>

```java
public RoleBinding bindInNamespace(java.lang.String namespace, ISubject... subjects)
```

Create a RoleBinding that binds the permissions in this ClusterRole to a list of subjects, that will only apply to the given namespace.

###### `namespace`<sup>Required</sup> <a name="namespace" id="cdk8s-plus-32.ClusterRole.bindInNamespace.parameter.namespace"></a>

- *Type:* java.lang.String

the namespace to limit permissions to.

---

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ClusterRole.bindInNamespace.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

a list of subjects to bind to.

---

##### `combine` <a name="combine" id="cdk8s-plus-32.ClusterRole.combine"></a>

```java
public void combine(ClusterRole rol)
```

Combines the rules of the argument ClusterRole into this ClusterRole using aggregation labels.

###### `rol`<sup>Required</sup> <a name="rol" id="cdk8s-plus-32.ClusterRole.combine.parameter.rol"></a>

- *Type:* <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRole.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.ClusterRole.fromClusterRoleName">fromClusterRoleName</a></code> | Imports a role from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.ClusterRole.isConstruct"></a>

```java
import org.cdk8s.plus32.ClusterRole;

ClusterRole.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.ClusterRole.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromClusterRoleName` <a name="fromClusterRoleName" id="cdk8s-plus-32.ClusterRole.fromClusterRoleName"></a>

```java
import org.cdk8s.plus32.ClusterRole;

ClusterRole.fromClusterRoleName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a role from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ClusterRole.fromClusterRoleName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ClusterRole.fromClusterRoleName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ClusterRole.fromClusterRoleName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ClusterRole.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>></code> | Rules associaated with this Role. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ClusterRole.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ClusterRole.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ClusterRole.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ClusterRole.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRole.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ClusterRole.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.ClusterRole.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ClusterRole.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ClusterRole.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `rules`<sup>Required</sup> <a name="rules" id="cdk8s-plus-32.ClusterRole.property.rules"></a>

```java
public java.util.List<ClusterRolePolicyRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>>

Rules associaated with this Role.

Returns a copy, use `allow` to add rules.

---


### ClusterRoleBinding <a name="ClusterRoleBinding" id="cdk8s-plus-32.ClusterRoleBinding"></a>

A ClusterRoleBinding grants permissions cluster-wide to a user or set of users.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ClusterRoleBinding.Initializer"></a>

```java
import org.cdk8s.plus32.ClusterRoleBinding;

ClusterRoleBinding.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
    .role(IClusterRole)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.role">role</a></code> | <code><a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a></code> | The role to bind to. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.ClusterRoleBinding.Initializer.parameter.role"></a>

- *Type:* <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>

The role to bind to.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.addSubjects">addSubjects</a></code> | Adds a subject to the role. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.ClusterRoleBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.ClusterRoleBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.ClusterRoleBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ClusterRoleBinding.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ClusterRoleBinding.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addSubjects` <a name="addSubjects" id="cdk8s-plus-32.ClusterRoleBinding.addSubjects"></a>

```java
public void addSubjects(ISubject... subjects)
```

Adds a subject to the role.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ClusterRoleBinding.addSubjects.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

The subjects to add.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.ClusterRoleBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.ClusterRoleBinding;

ClusterRoleBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.ClusterRoleBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.role">role</a></code> | <code><a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ClusterRoleBinding.property.subjects">subjects</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ISubject">ISubject</a>></code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ClusterRoleBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ClusterRoleBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ClusterRoleBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ClusterRoleBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRoleBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ClusterRoleBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.ClusterRoleBinding.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ClusterRoleBinding.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ClusterRoleBinding.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.ClusterRoleBinding.property.role"></a>

```java
public IClusterRole getRole();
```

- *Type:* <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>

---

##### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ClusterRoleBinding.property.subjects"></a>

```java
public java.util.List<ISubject> getSubjects();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ISubject">ISubject</a>>

---


### ConfigMap <a name="ConfigMap" id="cdk8s-plus-32.ConfigMap"></a>

- *Implements:* <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

ConfigMap holds configuration data for pods to consume.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ConfigMap.Initializer"></a>

```java
import org.cdk8s.plus32.ConfigMap;

ConfigMap.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .binaryData(java.util.Map<java.lang.String, java.lang.String>)
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.binaryData">binaryData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | BinaryData contains the binary data. |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the configuration data. |
| <code><a href="#cdk8s-plus-32.ConfigMap.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `binaryData`<sup>Optional</sup> <a name="binaryData" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.binaryData"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

BinaryData contains the binary data.

Each key must consist of alphanumeric characters, '-', '_' or '.'.
BinaryData can contain byte sequences that are not in the UTF-8 range. The
keys stored in BinaryData must not overlap with the ones in the Data field,
this is enforced during validation process.

You can also add binary data using `configMap.addBinaryData()`.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.data"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the configuration data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. Values
with non-UTF-8 byte sequences must use the BinaryData field. The keys
stored in Data must not overlap with the keys in the BinaryData field, this
is enforced during validation process.

You can also add data using `configMap.addData()`.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.ConfigMap.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMap.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.ConfigMap.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.ConfigMap.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ConfigMap.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.ConfigMap.addBinaryData">addBinaryData</a></code> | Adds a binary data entry to the config map. |
| <code><a href="#cdk8s-plus-32.ConfigMap.addData">addData</a></code> | Adds a data entry to the config map. |
| <code><a href="#cdk8s-plus-32.ConfigMap.addDirectory">addDirectory</a></code> | Adds a directory to the ConfigMap. |
| <code><a href="#cdk8s-plus-32.ConfigMap.addFile">addFile</a></code> | Adds a file to the ConfigMap. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.ConfigMap.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.ConfigMap.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.ConfigMap.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ConfigMap.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ConfigMap.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addBinaryData` <a name="addBinaryData" id="cdk8s-plus-32.ConfigMap.addBinaryData"></a>

```java
public void addBinaryData(java.lang.String key, java.lang.String value)
```

Adds a binary data entry to the config map.

BinaryData can contain byte
sequences that are not in the UTF-8 range.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ConfigMap.addBinaryData.parameter.key"></a>

- *Type:* java.lang.String

The key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.ConfigMap.addBinaryData.parameter.value"></a>

- *Type:* java.lang.String

The value.

---

##### `addData` <a name="addData" id="cdk8s-plus-32.ConfigMap.addData"></a>

```java
public void addData(java.lang.String key, java.lang.String value)
```

Adds a data entry to the config map.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ConfigMap.addData.parameter.key"></a>

- *Type:* java.lang.String

The key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.ConfigMap.addData.parameter.value"></a>

- *Type:* java.lang.String

The value.

---

##### `addDirectory` <a name="addDirectory" id="cdk8s-plus-32.ConfigMap.addDirectory"></a>

```java
public void addDirectory(java.lang.String localDir)
public void addDirectory(java.lang.String localDir, AddDirectoryOptions options)
```

Adds a directory to the ConfigMap.

###### `localDir`<sup>Required</sup> <a name="localDir" id="cdk8s-plus-32.ConfigMap.addDirectory.parameter.localDir"></a>

- *Type:* java.lang.String

A path to a local directory.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.ConfigMap.addDirectory.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.AddDirectoryOptions">AddDirectoryOptions</a>

Options.

---

##### `addFile` <a name="addFile" id="cdk8s-plus-32.ConfigMap.addFile"></a>

```java
public void addFile(java.lang.String localFile)
public void addFile(java.lang.String localFile, java.lang.String key)
```

Adds a file to the ConfigMap.

###### `localFile`<sup>Required</sup> <a name="localFile" id="cdk8s-plus-32.ConfigMap.addFile.parameter.localFile"></a>

- *Type:* java.lang.String

The path to the local file.

---

###### `key`<sup>Optional</sup> <a name="key" id="cdk8s-plus-32.ConfigMap.addFile.parameter.key"></a>

- *Type:* java.lang.String

The ConfigMap key (default to the file name).

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMap.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.ConfigMap.fromConfigMapName">fromConfigMapName</a></code> | Represents a ConfigMap created elsewhere. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.ConfigMap.isConstruct"></a>

```java
import org.cdk8s.plus32.ConfigMap;

ConfigMap.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.ConfigMap.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromConfigMapName` <a name="fromConfigMapName" id="cdk8s-plus-32.ConfigMap.fromConfigMapName"></a>

```java
import org.cdk8s.plus32.ConfigMap;

ConfigMap.fromConfigMapName(Construct scope, java.lang.String id, java.lang.String name)
```

Represents a ConfigMap created elsewhere.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ConfigMap.fromConfigMapName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ConfigMap.fromConfigMapName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ConfigMap.fromConfigMapName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.binaryData">binaryData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The binary data associated with this config map. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The data associated with this config map. |
| <code><a href="#cdk8s-plus-32.ConfigMap.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not this config map is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ConfigMap.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ConfigMap.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ConfigMap.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ConfigMap.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.ConfigMap.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ConfigMap.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.ConfigMap.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ConfigMap.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ConfigMap.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `binaryData`<sup>Required</sup> <a name="binaryData" id="cdk8s-plus-32.ConfigMap.property.binaryData"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getBinaryData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The binary data associated with this config map.

Returns a copy. To add data records, use `addBinaryData()` or `addData()`.

---

##### `data`<sup>Required</sup> <a name="data" id="cdk8s-plus-32.ConfigMap.property.data"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The data associated with this config map.

Returns an copy. To add data records, use `addData()` or `addBinaryData()`.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.ConfigMap.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not this config map is immutable.

---


### CronJob <a name="CronJob" id="cdk8s-plus-32.CronJob"></a>

A CronJob is responsible for creating a Job and scheduling it based on provided cron schedule.

This helps running Jobs in a recurring manner.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.CronJob.Initializer"></a>

```java
import org.cdk8s.plus32.CronJob;

CronJob.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .activeDeadline(Duration)
//  .backoffLimit(java.lang.Number)
//  .ttlAfterFinished(Duration)
    .schedule(Cron)
//  .concurrencyPolicy(ConcurrencyPolicy)
//  .failedJobsRetained(java.lang.Number)
//  .startingDeadline(Duration)
//  .successfulJobsRetained(java.lang.Number)
//  .suspend(java.lang.Boolean)
//  .timeZone(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.activeDeadline">activeDeadline</a></code> | <code>org.cdk8s.Duration</code> | Specifies the duration the job may be active before the system tries to terminate it. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Specifies the number of retries before marking this job failed. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.ttlAfterFinished">ttlAfterFinished</a></code> | <code>org.cdk8s.Duration</code> | Limits the lifetime of a Job that has finished execution (either Complete or Failed). |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.schedule">schedule</a></code> | <code>org.cdk8s.Cron</code> | Specifies the time in which the job would run again. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.concurrencyPolicy">concurrencyPolicy</a></code> | <code><a href="#cdk8s-plus-32.ConcurrencyPolicy">ConcurrencyPolicy</a></code> | Specifies the concurrency policy for the job. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.failedJobsRetained">failedJobsRetained</a></code> | <code>java.lang.Number</code> | Specifies the number of failed jobs history retained. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.startingDeadline">startingDeadline</a></code> | <code>org.cdk8s.Duration</code> | Kubernetes attempts to start cron jobs at its schedule time, but this is not guaranteed. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.successfulJobsRetained">successfulJobsRetained</a></code> | <code>java.lang.Number</code> | Specifies the number of successful jobs history retained. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.suspend">suspend</a></code> | <code>java.lang.Boolean</code> | Specifies if the cron job should be suspended. |
| <code><a href="#cdk8s-plus-32.CronJob.Initializer.parameter.timeZone">timeZone</a></code> | <code>java.lang.String</code> | Specifies the timezone for the job. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.CronJob.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.CronJob.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.CronJob.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.CronJob.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.CronJob.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.CronJob.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.CronJob.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.CronJob.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.CronJob.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.CronJob.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.CronJob.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.CronJob.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.CronJob.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.CronJob.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.CronJob.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.CronJob.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.CronJob.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.CronJob.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.CronJob.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.CronJob.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.CronJob.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `activeDeadline`<sup>Optional</sup> <a name="activeDeadline" id="cdk8s-plus-32.CronJob.Initializer.parameter.activeDeadline"></a>

- *Type:* org.cdk8s.Duration
- *Default:* If unset, then there is no deadline.

Specifies the duration the job may be active before the system tries to terminate it.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.CronJob.Initializer.parameter.backoffLimit"></a>

- *Type:* java.lang.Number
- *Default:* If not set, system defaults to 6.

Specifies the number of retries before marking this job failed.

---

##### `ttlAfterFinished`<sup>Optional</sup> <a name="ttlAfterFinished" id="cdk8s-plus-32.CronJob.Initializer.parameter.ttlAfterFinished"></a>

- *Type:* org.cdk8s.Duration
- *Default:* If this field is unset, the Job won't be automatically deleted.

Limits the lifetime of a Job that has finished execution (either Complete or Failed).

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.

---

##### `schedule`<sup>Required</sup> <a name="schedule" id="cdk8s-plus-32.CronJob.Initializer.parameter.schedule"></a>

- *Type:* org.cdk8s.Cron

Specifies the time in which the job would run again.

This is defined as a cron expression in the CronJob resource.

---

##### `concurrencyPolicy`<sup>Optional</sup> <a name="concurrencyPolicy" id="cdk8s-plus-32.CronJob.Initializer.parameter.concurrencyPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.ConcurrencyPolicy">ConcurrencyPolicy</a>
- *Default:* ConcurrencyPolicy.Forbid

Specifies the concurrency policy for the job.

---

##### `failedJobsRetained`<sup>Optional</sup> <a name="failedJobsRetained" id="cdk8s-plus-32.CronJob.Initializer.parameter.failedJobsRetained"></a>

- *Type:* java.lang.Number
- *Default:* 1

Specifies the number of failed jobs history retained.

This would retain the Job and the associated Pod resource and can be useful for debugging.

---

##### `startingDeadline`<sup>Optional</sup> <a name="startingDeadline" id="cdk8s-plus-32.CronJob.Initializer.parameter.startingDeadline"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10)

Kubernetes attempts to start cron jobs at its schedule time, but this is not guaranteed.

This deadline specifies
how much time can pass after a schedule point, for which kubernetes can still start the job.
For example, if this is set to 100 seconds, kubernetes is allowed to start the job at a maximum 100 seconds after
the scheduled time.

Note that the Kubernetes CronJobController checks for things every 10 seconds, for this reason, a deadline below 10
seconds is not allowed, as it may cause your job to never be scheduled.

In addition, kubernetes will stop scheduling jobs if more than 100 schedules were missed (for any reason).
This property also controls what time interval should kubernetes consider when counting for missed schedules.

For example, suppose a CronJob is set to schedule a new Job every one minute beginning at 08:30:00,
and its `startingDeadline` field is not set. If the CronJob controller happens to be down from 08:29:00 to 10:21:00,
the job will not start as the number of missed jobs which missed their schedule is greater than 100.
However, if `startingDeadline` is set to 200 seconds, kubernetes will only count 3 missed schedules, and thus
start a new execution at 10:22:00.

---

##### `successfulJobsRetained`<sup>Optional</sup> <a name="successfulJobsRetained" id="cdk8s-plus-32.CronJob.Initializer.parameter.successfulJobsRetained"></a>

- *Type:* java.lang.Number
- *Default:* 3

Specifies the number of successful jobs history retained.

This would retain the Job and the associated Pod resource and can be useful for debugging.

---

##### `suspend`<sup>Optional</sup> <a name="suspend" id="cdk8s-plus-32.CronJob.Initializer.parameter.suspend"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Specifies if the cron job should be suspended.

Only applies to future executions, current ones are remained untouched.

---

##### `timeZone`<sup>Optional</sup> <a name="timeZone" id="cdk8s-plus-32.CronJob.Initializer.parameter.timeZone"></a>

- *Type:* java.lang.String
- *Default:* Timezone of kube-controller-manager process.

Specifies the timezone for the job.

This helps aligining the schedule to follow the specified timezone.

> [{@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones} for list of valid timezone values.]({@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones} for list of valid timezone values.)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.CronJob.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.CronJob.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.CronJob.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.CronJob.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.CronJob.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.CronJob.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.CronJob.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.CronJob.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.CronJob.select">select</a></code> | Configure selectors for this workload. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.CronJob.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.CronJob.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.CronJob.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.CronJob.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.CronJob.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.CronJob.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.CronJob.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.CronJob.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.CronJob.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.CronJob.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.CronJob.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.CronJob.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.CronJob.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.CronJob.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.CronJob.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.CronJob.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.CronJob.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.CronJob.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.CronJob.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.CronJob.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.CronJob.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.CronJob.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.CronJob.isConstruct"></a>

```java
import org.cdk8s.plus32.CronJob;

CronJob.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.CronJob.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CronJob.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.CronJob.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.CronJob.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.CronJob.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.CronJob.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.CronJob.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | Represents the resource type. |
| <code><a href="#cdk8s-plus-32.CronJob.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.CronJob.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.CronJob.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.CronJob.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.CronJob.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CronJob.property.concurrencyPolicy">concurrencyPolicy</a></code> | <code>java.lang.String</code> | The policy used by this cron job to determine the concurrency mode in which to schedule jobs. |
| <code><a href="#cdk8s-plus-32.CronJob.property.failedJobsRetained">failedJobsRetained</a></code> | <code>java.lang.Number</code> | The number of failed jobs retained by this cron job. |
| <code><a href="#cdk8s-plus-32.CronJob.property.schedule">schedule</a></code> | <code>org.cdk8s.Cron</code> | The schedule this cron job is scheduled to run in. |
| <code><a href="#cdk8s-plus-32.CronJob.property.startingDeadline">startingDeadline</a></code> | <code>org.cdk8s.Duration</code> | The time by which the running cron job needs to schedule the next job execution. |
| <code><a href="#cdk8s-plus-32.CronJob.property.successfulJobsRetained">successfulJobsRetained</a></code> | <code>java.lang.Number</code> | The number of successful jobs retained by this cron job. |
| <code><a href="#cdk8s-plus-32.CronJob.property.suspend">suspend</a></code> | <code>java.lang.Boolean</code> | Whether or not the cron job is currently suspended or not. |
| <code><a href="#cdk8s-plus-32.CronJob.property.timeZone">timeZone</a></code> | <code>java.lang.String</code> | The timezone which this cron job would follow to schedule jobs. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.CronJob.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.CronJob.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.CronJob.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.CronJob.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.CronJob.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.CronJob.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.CronJob.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.CronJob.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

Represents the resource type.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.CronJob.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.CronJob.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.CronJob.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.CronJob.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.CronJob.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.CronJob.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.CronJob.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.CronJob.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.CronJob.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.CronJob.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.CronJob.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.CronJob.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.CronJob.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.CronJob.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.CronJob.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.CronJob.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.CronJob.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.CronJob.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.CronJob.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.CronJob.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---

##### `concurrencyPolicy`<sup>Required</sup> <a name="concurrencyPolicy" id="cdk8s-plus-32.CronJob.property.concurrencyPolicy"></a>

```java
public java.lang.String getConcurrencyPolicy();
```

- *Type:* java.lang.String

The policy used by this cron job to determine the concurrency mode in which to schedule jobs.

---

##### `failedJobsRetained`<sup>Required</sup> <a name="failedJobsRetained" id="cdk8s-plus-32.CronJob.property.failedJobsRetained"></a>

```java
public java.lang.Number getFailedJobsRetained();
```

- *Type:* java.lang.Number

The number of failed jobs retained by this cron job.

---

##### `schedule`<sup>Required</sup> <a name="schedule" id="cdk8s-plus-32.CronJob.property.schedule"></a>

```java
public Cron getSchedule();
```

- *Type:* org.cdk8s.Cron

The schedule this cron job is scheduled to run in.

---

##### `startingDeadline`<sup>Required</sup> <a name="startingDeadline" id="cdk8s-plus-32.CronJob.property.startingDeadline"></a>

```java
public Duration getStartingDeadline();
```

- *Type:* org.cdk8s.Duration

The time by which the running cron job needs to schedule the next job execution.

The job is considered as failed if it misses this deadline.

---

##### `successfulJobsRetained`<sup>Required</sup> <a name="successfulJobsRetained" id="cdk8s-plus-32.CronJob.property.successfulJobsRetained"></a>

```java
public java.lang.Number getSuccessfulJobsRetained();
```

- *Type:* java.lang.Number

The number of successful jobs retained by this cron job.

---

##### `suspend`<sup>Required</sup> <a name="suspend" id="cdk8s-plus-32.CronJob.property.suspend"></a>

```java
public java.lang.Boolean getSuspend();
```

- *Type:* java.lang.Boolean

Whether or not the cron job is currently suspended or not.

---

##### `timeZone`<sup>Optional</sup> <a name="timeZone" id="cdk8s-plus-32.CronJob.property.timeZone"></a>

```java
public java.lang.String getTimeZone();
```

- *Type:* java.lang.String

The timezone which this cron job would follow to schedule jobs.

---


### DaemonSet <a name="DaemonSet" id="cdk8s-plus-32.DaemonSet"></a>

A DaemonSet ensures that all (or some) Nodes run a copy of a Pod.

As nodes are added to the cluster, Pods are added to them.
As nodes are removed from the cluster, those Pods are garbage collected.
Deleting a DaemonSet will clean up the Pods it created.

Some typical uses of a DaemonSet are:

* running a cluster storage daemon on every node
* running a logs collection daemon on every node
* running a node monitoring daemon on every node

In a simple case, one DaemonSet, covering all nodes, would be used for each type of daemon.
A more complex setup might use multiple DaemonSets for a single type of daemon,
but with different flags and/or different memory and cpu requests for different hardware types.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.DaemonSet.Initializer"></a>

```java
import org.cdk8s.plus32.DaemonSet;

DaemonSet.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReadySeconds(java.lang.Number)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.DaemonSet.Initializer.parameter.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.DaemonSet.Initializer.parameter.minReadySeconds"></a>

- *Type:* java.lang.Number
- *Default:* 0

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DaemonSet.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.DaemonSet.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.DaemonSet.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.DaemonSet.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.DaemonSet.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.DaemonSet.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.DaemonSet.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.DaemonSet.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.DaemonSet.select">select</a></code> | Configure selectors for this workload. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.DaemonSet.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.DaemonSet.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.DaemonSet.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.DaemonSet.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.DaemonSet.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.DaemonSet.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.DaemonSet.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.DaemonSet.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.DaemonSet.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.DaemonSet.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.DaemonSet.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.DaemonSet.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.DaemonSet.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.DaemonSet.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.DaemonSet.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.DaemonSet.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.DaemonSet.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.DaemonSet.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.DaemonSet.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.DaemonSet.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.DaemonSet.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DaemonSet.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.DaemonSet.isConstruct"></a>

```java
import org.cdk8s.plus32.DaemonSet;

DaemonSet.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.DaemonSet.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DaemonSet.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.DaemonSet.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.DaemonSet.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.DaemonSet.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.DaemonSet.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.DaemonSet.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.DaemonSet.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.DaemonSet.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.DaemonSet.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.DaemonSet.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.DaemonSet.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.DaemonSet.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.DaemonSet.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.DaemonSet.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.DaemonSet.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.DaemonSet.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.DaemonSet.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.DaemonSet.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.DaemonSet.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.DaemonSet.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.DaemonSet.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.DaemonSet.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.DaemonSet.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.DaemonSet.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.DaemonSet.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.DaemonSet.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.DaemonSet.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.DaemonSet.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.DaemonSet.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---

##### `minReadySeconds`<sup>Required</sup> <a name="minReadySeconds" id="cdk8s-plus-32.DaemonSet.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number

---


### Deployment <a name="Deployment" id="cdk8s-plus-32.Deployment"></a>

- *Implements:* <a href="#cdk8s-plus-32.IScalable">IScalable</a>

A Deployment provides declarative updates for Pods and ReplicaSets.

You describe a desired state in a Deployment, and the Deployment Controller changes the actual
state to the desired state at a controlled rate. You can define Deployments to create new ReplicaSets, or to remove
existing Deployments and adopt all their resources with new Deployments.

> Note: Do not manage ReplicaSets owned by a Deployment. Consider opening an issue in the main Kubernetes repository if your use case is not covered below.

Use Case

The following are typical use cases for Deployments:

* Create a Deployment to rollout a ReplicaSet. The ReplicaSet creates Pods in the background.
  Check the status of the rollout to see if it succeeds or not.
* Declare the new state of the Pods by updating the PodTemplateSpec of the Deployment.
  A new ReplicaSet is created and the Deployment manages moving the Pods from the old ReplicaSet to the new one at a controlled rate.
  Each new ReplicaSet updates the revision of the Deployment.
* Rollback to an earlier Deployment revision if the current state of the Deployment is not stable.
  Each rollback updates the revision of the Deployment.
* Scale up the Deployment to facilitate more load.
* Pause the Deployment to apply multiple fixes to its PodTemplateSpec and then resume it to start a new rollout.
* Use the status of the Deployment as an indicator that a rollout has stuck.
* Clean up older ReplicaSets that you don't need anymore.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Deployment.Initializer"></a>

```java
import org.cdk8s.plus32.Deployment;

Deployment.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReady(Duration)
//  .progressDeadline(Duration)
//  .replicas(java.lang.Number)
//  .revisionHistoryLimit(java.lang.Number)
//  .strategy(DeploymentStrategy)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.progressDeadline">progressDeadline</a></code> | <code>org.cdk8s.Duration</code> | The maximum duration for a deployment to make progress before it is considered to be failed. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | Specify how many old ReplicaSets for this Deployment you want to retain. |
| <code><a href="#cdk8s-plus-32.Deployment.Initializer.parameter.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a></code> | Specifies the strategy used to replace old Pods by new ones. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Deployment.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Deployment.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Deployment.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Deployment.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.Deployment.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.Deployment.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Deployment.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Deployment.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.Deployment.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Deployment.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.Deployment.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.Deployment.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Deployment.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.Deployment.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Deployment.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Deployment.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Deployment.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.Deployment.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.Deployment.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.Deployment.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.Deployment.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReady`<sup>Optional</sup> <a name="minReady" id="cdk8s-plus-32.Deployment.Initializer.parameter.minReady"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(0)

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Zero means the pod will be considered available as soon as it is ready.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)

---

##### `progressDeadline`<sup>Optional</sup> <a name="progressDeadline" id="cdk8s-plus-32.Deployment.Initializer.parameter.progressDeadline"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(600)

The maximum duration for a deployment to make progress before it is considered to be failed.

The deployment controller will continue
to process failed deployments and a condition with a ProgressDeadlineExceeded
reason will be surfaced in the deployment status.

Note that progress will not be estimated during the time a deployment is paused.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds)

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.Deployment.Initializer.parameter.replicas"></a>

- *Type:* java.lang.Number
- *Default:* 2

Number of desired pods.

---

##### `revisionHistoryLimit`<sup>Optional</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.Deployment.Initializer.parameter.revisionHistoryLimit"></a>

- *Type:* java.lang.Number
- *Default:* 10

Specify how many old ReplicaSets for this Deployment you want to retain.

The rest will be garbage-collected in the background. By default, it is 10.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.Deployment.Initializer.parameter.strategy"></a>

- *Type:* <a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a>
- *Default:* RollingUpdate with maxSurge and maxUnavailable set to 25%.

Specifies the strategy used to replace old Pods by new ones.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Deployment.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Deployment.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Deployment.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Deployment.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Deployment.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Deployment.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.Deployment.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Deployment.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.Deployment.select">select</a></code> | Configure selectors for this workload. |
| <code><a href="#cdk8s-plus-32.Deployment.exposeViaIngress">exposeViaIngress</a></code> | Expose a deployment via an ingress. |
| <code><a href="#cdk8s-plus-32.Deployment.exposeViaService">exposeViaService</a></code> | Expose a deployment via a service. |
| <code><a href="#cdk8s-plus-32.Deployment.markHasAutoscaler">markHasAutoscaler</a></code> | Called on all IScalable targets when they are associated with an autoscaler. |
| <code><a href="#cdk8s-plus-32.Deployment.toScalingTarget">toScalingTarget</a></code> | Return the target spec properties of this Scalable. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Deployment.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Deployment.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Deployment.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Deployment.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Deployment.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.Deployment.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Deployment.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.Deployment.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.Deployment.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.Deployment.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Deployment.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.Deployment.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.Deployment.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.Deployment.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Deployment.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Deployment.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Deployment.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.Deployment.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.Deployment.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.Deployment.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.Deployment.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

##### `exposeViaIngress` <a name="exposeViaIngress" id="cdk8s-plus-32.Deployment.exposeViaIngress"></a>

```java
public Ingress exposeViaIngress(java.lang.String path)
public Ingress exposeViaIngress(java.lang.String path, ExposeDeploymentViaIngressOptions options)
```

Expose a deployment via an ingress.

This will first expose the deployment with a service, and then expose the service via an ingress.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Deployment.exposeViaIngress.parameter.path"></a>

- *Type:* java.lang.String

The ingress path to register under.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Deployment.exposeViaIngress.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions">ExposeDeploymentViaIngressOptions</a>

Additional options.

---

##### `exposeViaService` <a name="exposeViaService" id="cdk8s-plus-32.Deployment.exposeViaService"></a>

```java
public Service exposeViaService()
public Service exposeViaService(DeploymentExposeViaServiceOptions options)
```

Expose a deployment via a service.

This is equivalent to running `kubectl expose deployment <deployment-name>`.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Deployment.exposeViaService.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.DeploymentExposeViaServiceOptions">DeploymentExposeViaServiceOptions</a>

Options to determine details of the service and port exposed.

---

##### `markHasAutoscaler` <a name="markHasAutoscaler" id="cdk8s-plus-32.Deployment.markHasAutoscaler"></a>

```java
public void markHasAutoscaler()
```

Called on all IScalable targets when they are associated with an autoscaler.

> [IScalable.markHasAutoscaler ()](IScalable.markHasAutoscaler ())

##### `toScalingTarget` <a name="toScalingTarget" id="cdk8s-plus-32.Deployment.toScalingTarget"></a>

```java
public ScalingTarget toScalingTarget()
```

Return the target spec properties of this Scalable.

> [IScalable.toScalingTarget ()](IScalable.toScalingTarget ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Deployment.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Deployment.isConstruct"></a>

```java
import org.cdk8s.plus32.Deployment;

Deployment.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Deployment.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Deployment.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Deployment.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Deployment.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Deployment.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Deployment.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Deployment.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Deployment.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Deployment.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.Deployment.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Deployment.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Deployment.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.Deployment.property.progressDeadline">progressDeadline</a></code> | <code>org.cdk8s.Duration</code> | The maximum duration for a deployment to make progress before it is considered to be failed. |
| <code><a href="#cdk8s-plus-32.Deployment.property.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | Number of desired replicasets history. |
| <code><a href="#cdk8s-plus-32.Deployment.property.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Deployment.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.Deployment.property.hasAutoscaler">hasAutoscaler</a></code> | <code>java.lang.Boolean</code> | If this is a target of an autoscaler. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Deployment.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Deployment.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Deployment.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Deployment.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Deployment.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Deployment.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Deployment.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Deployment.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Deployment.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Deployment.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.Deployment.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.Deployment.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.Deployment.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.Deployment.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.Deployment.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.Deployment.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Deployment.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.Deployment.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Deployment.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Deployment.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Deployment.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Deployment.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Deployment.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Deployment.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.Deployment.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.Deployment.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.Deployment.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.Deployment.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---

##### `minReady`<sup>Required</sup> <a name="minReady" id="cdk8s-plus-32.Deployment.property.minReady"></a>

```java
public Duration getMinReady();
```

- *Type:* org.cdk8s.Duration

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

---

##### `progressDeadline`<sup>Required</sup> <a name="progressDeadline" id="cdk8s-plus-32.Deployment.property.progressDeadline"></a>

```java
public Duration getProgressDeadline();
```

- *Type:* org.cdk8s.Duration

The maximum duration for a deployment to make progress before it is considered to be failed.

---

##### `revisionHistoryLimit`<sup>Required</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.Deployment.property.revisionHistoryLimit"></a>

```java
public java.lang.Number getRevisionHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 10

Number of desired replicasets history.

---

##### `strategy`<sup>Required</sup> <a name="strategy" id="cdk8s-plus-32.Deployment.property.strategy"></a>

```java
public DeploymentStrategy getStrategy();
```

- *Type:* <a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a>

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.Deployment.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number

Number of desired pods.

---

##### `hasAutoscaler`<sup>Required</sup> <a name="hasAutoscaler" id="cdk8s-plus-32.Deployment.property.hasAutoscaler"></a>

```java
public java.lang.Boolean getHasAutoscaler();
```

- *Type:* java.lang.Boolean

If this is a target of an autoscaler.

---


### DockerConfigSecret <a name="DockerConfigSecret" id="cdk8s-plus-32.DockerConfigSecret"></a>

Create a secret for storing credentials for accessing a container image registry.

> [https://kubernetes.io/docs/concepts/configuration/secret/#docker-config-secrets](https://kubernetes.io/docs/concepts/configuration/secret/#docker-config-secrets)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.DockerConfigSecret.Initializer"></a>

```java
import org.cdk8s.plus32.DockerConfigSecret;

DockerConfigSecret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .data(java.util.Map<java.lang.String, java.lang.Object>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.Object></code> | JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `data`<sup>Required</sup> <a name="data" id="cdk8s-plus-32.DockerConfigSecret.Initializer.parameter.data"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.Object>

JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData.

> [https://docs.docker.com/engine/reference/commandline/cli/#sample-configuration-file](https://docs.docker.com/engine/reference/commandline/cli/#sample-configuration-file)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.DockerConfigSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.DockerConfigSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.DockerConfigSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.DockerConfigSecret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.DockerConfigSecret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.DockerConfigSecret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.DockerConfigSecret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.DockerConfigSecret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.DockerConfigSecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.DockerConfigSecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.DockerConfigSecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.DockerConfigSecret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.DockerConfigSecret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.DockerConfigSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.DockerConfigSecret;

DockerConfigSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.DockerConfigSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.DockerConfigSecret.fromSecretName"></a>

```java
import org.cdk8s.plus32.DockerConfigSecret;

DockerConfigSecret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.DockerConfigSecret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.DockerConfigSecret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.DockerConfigSecret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.DockerConfigSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.DockerConfigSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.DockerConfigSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.DockerConfigSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.DockerConfigSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.DockerConfigSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.DockerConfigSecret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.DockerConfigSecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.DockerConfigSecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.DockerConfigSecret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### GCEPersistentDiskPersistentVolume <a name="GCEPersistentDiskPersistentVolume" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume"></a>

GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Provisioned by an admin.

> [https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk](https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer"></a>

```java
import org.cdk8s.plus32.GCEPersistentDiskPersistentVolume;

GCEPersistentDiskPersistentVolume.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .pdName(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.pdName">pdName</a></code> | <code>java.lang.String</code> | Unique name of the PD resource in GCE. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.accessModes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.mountOptions"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.reclaimPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.storage"></a>

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.volumeMode"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `pdName`<sup>Required</sup> <a name="pdName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.pdName"></a>

- *Type:* java.lang.String

Unique name of the PD resource in GCE.

Used to identify the disk in GCE.

> [https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk](https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk)

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.fsType"></a>

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.partition"></a>

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.Initializer.parameter.readOnly"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.bind">bind</a></code> | Bind a volume to a specific claim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.reserve">reserve</a></code> | Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

##### `bind` <a name="bind" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.bind"></a>

```java
public void bind(IPersistentVolumeClaim claim)
```

Bind a volume to a specific claim.

Note that you must also bind the claim to the volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding)

###### `claim`<sup>Required</sup> <a name="claim" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.bind.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

The PVC to bind to.

---

##### `reserve` <a name="reserve" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.reserve"></a>

```java
public PersistentVolumeClaim reserve()
```

Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume.

Note that this method will throw in case the volume is already claimed.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume)

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.fromPersistentVolumeName">fromPersistentVolumeName</a></code> | Imports a pv from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.isConstruct"></a>

```java
import org.cdk8s.plus32.GCEPersistentDiskPersistentVolume;

GCEPersistentDiskPersistentVolume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromPersistentVolumeName` <a name="fromPersistentVolumeName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.fromPersistentVolumeName"></a>

```java
import org.cdk8s.plus32.GCEPersistentDiskPersistentVolume;

GCEPersistentDiskPersistentVolume.fromPersistentVolumeName(Construct scope, java.lang.String id, java.lang.String volumeName)
```

Imports a pv from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.fromPersistentVolumeName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.fromPersistentVolumeName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `volumeName`<sup>Required</sup> <a name="volumeName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.fromPersistentVolumeName.parameter.volumeName"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.mode">mode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Volume mode of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | Reclaim policy of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Access modes requirement of this claim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | PVC this volume is bound to. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | Mount options of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Storage size of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Storage class this volume belongs to. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.fsType">fsType</a></code> | <code>java.lang.String</code> | File system type of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.pdName">pdName</a></code> | <code>java.lang.String</code> | PD resource in GCE of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Whether or not it is mounted as a read-only volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.partition">partition</a></code> | <code>java.lang.Number</code> | Partition of this volume. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `mode`<sup>Required</sup> <a name="mode" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.mode"></a>

```java
public PersistentVolumeMode getMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>

Volume mode of this volume.

---

##### `reclaimPolicy`<sup>Required</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>

Reclaim policy of this volume.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>

Access modes requirement of this claim.

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

PVC this volume is bound to.

Undefined means this volume is not yet
claimed by any PVC.

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

Mount options of this volume.

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size

Storage size of this volume.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

Storage class this volume belongs to.

---

##### `fsType`<sup>Required</sup> <a name="fsType" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

File system type of this volume.

---

##### `pdName`<sup>Required</sup> <a name="pdName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.pdName"></a>

```java
public java.lang.String getPdName();
```

- *Type:* java.lang.String

PD resource in GCE of this volume.

---

##### `readOnly`<sup>Required</sup> <a name="readOnly" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

Whether or not it is mounted as a read-only volume.

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolume.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number

Partition of this volume.

---


### Group <a name="Group" id="cdk8s-plus-32.Group"></a>

- *Implements:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>

Represents a group.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Group.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Group.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Group.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Group.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Group.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Group.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.Group.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Group.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Group.fromName">fromName</a></code> | Reference a group by name. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Group.isConstruct"></a>

```java
import org.cdk8s.plus32.Group;

Group.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Group.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromName` <a name="fromName" id="cdk8s-plus-32.Group.fromName"></a>

```java
import org.cdk8s.plus32.Group;

Group.fromName(Construct scope, java.lang.String id, java.lang.String name)
```

Reference a group by name.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Group.fromName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Group.fromName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Group.fromName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Group.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Group.property.kind">kind</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Group.property.name">name</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Group.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Group.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Group.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Group.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.Group.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

---


### HorizontalPodAutoscaler <a name="HorizontalPodAutoscaler" id="cdk8s-plus-32.HorizontalPodAutoscaler"></a>

A HorizontalPodAutoscaler scales a workload up or down in response to a metric change.

This allows your services to scale up when demand is high and scale down
when they are no longer needed.

Typical use cases for HorizontalPodAutoscaler:

* When Memory usage is above 70%, scale up the number of replicas to meet the demand.
* When CPU usage is below 30%, scale down the number of replicas to save resources.
* When a service is experiencing a spike in traffic, scale up the number of replicas
  to meet the demand. Then, when the traffic subsides, scale down the number of
  replicas to save resources.

The autoscaler uses the following algorithm to determine the number of replicas to scale:

`desiredReplicas = ceil[currentReplicas * ( currentMetricValue / desiredMetricValue )]`

HorizontalPodAutoscaler's can be used to with any `Scalable` workload:

* Deployment
* StatefulSet

**Targets that already have a replica count defined:**

Remove any replica counts from the target resource before associating with a
HorizontalPodAutoscaler. If this isn't done, then any time a change to that object is applied,
Kubernetes will scale the current number of Pods to the value of the target.replicas key. This
may not be desired and could lead to unexpected behavior.

> [https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#implicit-maintenance-mode-deactivation](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#implicit-maintenance-mode-deactivation)

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
Object backend = new Deployment(this, "Backend", ...);

Object hpa = HorizontalPodAutoscaler.Builder.create(chart, "Hpa")
        .target(backend)
        .maxReplicas(10)
        .scaleUp(Map.of(
                "policies", List.of(Map.of(
                        "replicas", kplus.Replicas.absolute(3),
                        "duration", Duration.minutes(5)))))
        .build();
```


#### Initializers <a name="Initializers" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer"></a>

```java
import org.cdk8s.plus32.HorizontalPodAutoscaler;

HorizontalPodAutoscaler.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
    .maxReplicas(java.lang.Number)
    .target(IScalable)
//  .metrics(java.util.List<Metric>)
//  .minReplicas(java.lang.Number)
//  .scaleDown(ScalingRules)
//  .scaleUp(ScalingRules)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.maxReplicas">maxReplicas</a></code> | <code>java.lang.Number</code> | The maximum number of replicas that can be scaled up to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.target">target</a></code> | <code><a href="#cdk8s-plus-32.IScalable">IScalable</a></code> | The workload to scale up or down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.metrics">metrics</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>></code> | The metric conditions that trigger a scale up or scale down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.minReplicas">minReplicas</a></code> | <code>java.lang.Number</code> | The minimum number of replicas that can be scaled down to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scaleDown">scaleDown</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scaleUp">scaleUp</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling up. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `maxReplicas`<sup>Required</sup> <a name="maxReplicas" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.maxReplicas"></a>

- *Type:* java.lang.Number

The maximum number of replicas that can be scaled up to.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.target"></a>

- *Type:* <a href="#cdk8s-plus-32.IScalable">IScalable</a>

The workload to scale up or down.

Scalable workload types:

* Deployment
* StatefulSet

---

##### `metrics`<sup>Optional</sup> <a name="metrics" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.metrics"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>>
- *Default:* If metrics are not provided, then the target resource constraints (e.g. cpu limit) will be used as scaling metrics.

The metric conditions that trigger a scale up or scale down.

---

##### `minReplicas`<sup>Optional</sup> <a name="minReplicas" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.minReplicas"></a>

- *Type:* java.lang.Number
- *Default:* 1

The minimum number of replicas that can be scaled down to.

Can be set to 0 if the alpha feature gate `HPAScaleToZero` is enabled and
at least one Object or External metric is configured.

---

##### `scaleDown`<sup>Optional</sup> <a name="scaleDown" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scaleDown"></a>

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>
- *Default:* Scale down to minReplica count with a 5 minute stabilization window.

The scaling behavior when scaling down.

---

##### `scaleUp`<sup>Optional</sup> <a name="scaleUp" id="cdk8s-plus-32.HorizontalPodAutoscaler.Initializer.parameter.scaleUp"></a>

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>
- *Default:* Is the higher of: * Increase no more than 4 pods per 60 seconds * Double the number of pods per 60 seconds

The scaling behavior when scaling up.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.HorizontalPodAutoscaler.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.HorizontalPodAutoscaler.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.HorizontalPodAutoscaler.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.HorizontalPodAutoscaler.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.HorizontalPodAutoscaler.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.HorizontalPodAutoscaler.isConstruct"></a>

```java
import org.cdk8s.plus32.HorizontalPodAutoscaler;

HorizontalPodAutoscaler.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.HorizontalPodAutoscaler.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.maxReplicas">maxReplicas</a></code> | <code>java.lang.Number</code> | The maximum number of replicas that can be scaled up to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.minReplicas">minReplicas</a></code> | <code>java.lang.Number</code> | The minimum number of replicas that can be scaled down to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.scaleDown">scaleDown</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.scaleUp">scaleUp</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling up. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.target">target</a></code> | <code><a href="#cdk8s-plus-32.IScalable">IScalable</a></code> | The workload to scale up or down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscaler.property.metrics">metrics</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>></code> | The metric conditions that trigger a scale up or scale down. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `maxReplicas`<sup>Required</sup> <a name="maxReplicas" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.maxReplicas"></a>

```java
public java.lang.Number getMaxReplicas();
```

- *Type:* java.lang.Number

The maximum number of replicas that can be scaled up to.

---

##### `minReplicas`<sup>Required</sup> <a name="minReplicas" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.minReplicas"></a>

```java
public java.lang.Number getMinReplicas();
```

- *Type:* java.lang.Number

The minimum number of replicas that can be scaled down to.

---

##### `scaleDown`<sup>Required</sup> <a name="scaleDown" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.scaleDown"></a>

```java
public ScalingRules getScaleDown();
```

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>

The scaling behavior when scaling down.

---

##### `scaleUp`<sup>Required</sup> <a name="scaleUp" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.scaleUp"></a>

```java
public ScalingRules getScaleUp();
```

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>

The scaling behavior when scaling up.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.target"></a>

```java
public IScalable getTarget();
```

- *Type:* <a href="#cdk8s-plus-32.IScalable">IScalable</a>

The workload to scale up or down.

---

##### `metrics`<sup>Optional</sup> <a name="metrics" id="cdk8s-plus-32.HorizontalPodAutoscaler.property.metrics"></a>

```java
public java.util.List<Metric> getMetrics();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>>

The metric conditions that trigger a scale up or scale down.

---


### Ingress <a name="Ingress" id="cdk8s-plus-32.Ingress"></a>

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.

An Ingress can be configured to give services
externally-reachable urls, load balance traffic, terminate SSL, offer name
based virtual hosting etc.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Ingress.Initializer"></a>

```java
import org.cdk8s.plus32.Ingress;

Ingress.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .className(java.lang.String)
//  .defaultBackend(IngressBackend)
//  .rules(java.util.List<IngressRule>)
//  .tls(java.util.List<IngressTls>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.className">className</a></code> | <code>java.lang.String</code> | Class Name for this ingress. |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.defaultBackend">defaultBackend</a></code> | <code><a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a></code> | The default backend services requests that do not match any rule. |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IngressRule">IngressRule</a>></code> | Routing rules for this ingress. |
| <code><a href="#cdk8s-plus-32.Ingress.Initializer.parameter.tls">tls</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IngressTls">IngressTls</a>></code> | TLS settings for this ingress. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Ingress.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Ingress.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Ingress.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `className`<sup>Optional</sup> <a name="className" id="cdk8s-plus-32.Ingress.Initializer.parameter.className"></a>

- *Type:* java.lang.String

Class Name for this ingress.

This field is a reference to an IngressClass resource that contains
additional Ingress configuration, including the name of the Ingress controller.

---

##### `defaultBackend`<sup>Optional</sup> <a name="defaultBackend" id="cdk8s-plus-32.Ingress.Initializer.parameter.defaultBackend"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The default backend services requests that do not match any rule.

Using this option or the `addDefaultBackend()` method is equivalent to
adding a rule with both `path` and `host` undefined.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.Ingress.Initializer.parameter.rules"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IngressRule">IngressRule</a>>

Routing rules for this ingress.

Each rule must define an `IngressBackend` that will receive the requests
that match this rule. If both `host` and `path` are not specifiec, this
backend will be used as the default backend of the ingress.

You can also add rules later using `addRule()`, `addHostRule()`,
`addDefaultBackend()` and `addHostDefaultBackend()`.

---

##### `tls`<sup>Optional</sup> <a name="tls" id="cdk8s-plus-32.Ingress.Initializer.parameter.tls"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IngressTls">IngressTls</a>>

TLS settings for this ingress.

Using this option tells the ingress controller to expose a TLS endpoint.
Currently the Ingress only supports a single TLS port, 443. If multiple
members of this list specify different hosts, they will be multiplexed on
the same port according to the hostname specified through the SNI TLS
extension, if the ingress controller fulfilling the ingress supports SNI.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Ingress.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Ingress.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Ingress.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Ingress.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Ingress.addDefaultBackend">addDefaultBackend</a></code> | Defines the default backend for this ingress. |
| <code><a href="#cdk8s-plus-32.Ingress.addHostDefaultBackend">addHostDefaultBackend</a></code> | Specify a default backend for a specific host name. |
| <code><a href="#cdk8s-plus-32.Ingress.addHostRule">addHostRule</a></code> | Adds an ingress rule applied to requests to a specific host and a specific HTTP path (the `Host` header matches this value). |
| <code><a href="#cdk8s-plus-32.Ingress.addRule">addRule</a></code> | Adds an ingress rule applied to requests sent to a specific HTTP path. |
| <code><a href="#cdk8s-plus-32.Ingress.addRules">addRules</a></code> | Adds rules to this ingress. |
| <code><a href="#cdk8s-plus-32.Ingress.addTls">addTls</a></code> | *No description.* |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Ingress.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Ingress.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Ingress.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Ingress.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Ingress.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addDefaultBackend` <a name="addDefaultBackend" id="cdk8s-plus-32.Ingress.addDefaultBackend"></a>

```java
public void addDefaultBackend(IngressBackend backend)
```

Defines the default backend for this ingress.

A default backend capable of
servicing requests that don't match any rule.

###### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.Ingress.addDefaultBackend.parameter.backend"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The backend to use for requests that do not match any rule.

---

##### `addHostDefaultBackend` <a name="addHostDefaultBackend" id="cdk8s-plus-32.Ingress.addHostDefaultBackend"></a>

```java
public void addHostDefaultBackend(java.lang.String host, IngressBackend backend)
```

Specify a default backend for a specific host name.

This backend will be used as a catch-all for requests
targeted to this host name (the `Host` header matches this value).

###### `host`<sup>Required</sup> <a name="host" id="cdk8s-plus-32.Ingress.addHostDefaultBackend.parameter.host"></a>

- *Type:* java.lang.String

The host name to match.

---

###### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.Ingress.addHostDefaultBackend.parameter.backend"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The backend to route to.

---

##### `addHostRule` <a name="addHostRule" id="cdk8s-plus-32.Ingress.addHostRule"></a>

```java
public void addHostRule(java.lang.String host, java.lang.String path, IngressBackend backend)
public void addHostRule(java.lang.String host, java.lang.String path, IngressBackend backend, HttpIngressPathType pathType)
```

Adds an ingress rule applied to requests to a specific host and a specific HTTP path (the `Host` header matches this value).

###### `host`<sup>Required</sup> <a name="host" id="cdk8s-plus-32.Ingress.addHostRule.parameter.host"></a>

- *Type:* java.lang.String

The host name.

---

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Ingress.addHostRule.parameter.path"></a>

- *Type:* java.lang.String

The HTTP path.

---

###### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.Ingress.addHostRule.parameter.backend"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The backend to route requests to.

---

###### `pathType`<sup>Optional</sup> <a name="pathType" id="cdk8s-plus-32.Ingress.addHostRule.parameter.pathType"></a>

- *Type:* <a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a>

How the path is matched against request paths.

---

##### `addRule` <a name="addRule" id="cdk8s-plus-32.Ingress.addRule"></a>

```java
public void addRule(java.lang.String path, IngressBackend backend)
public void addRule(java.lang.String path, IngressBackend backend, HttpIngressPathType pathType)
```

Adds an ingress rule applied to requests sent to a specific HTTP path.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Ingress.addRule.parameter.path"></a>

- *Type:* java.lang.String

The HTTP path.

---

###### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.Ingress.addRule.parameter.backend"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The backend to route requests to.

---

###### `pathType`<sup>Optional</sup> <a name="pathType" id="cdk8s-plus-32.Ingress.addRule.parameter.pathType"></a>

- *Type:* <a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a>

How the path is matched against request paths.

---

##### `addRules` <a name="addRules" id="cdk8s-plus-32.Ingress.addRules"></a>

```java
public void addRules(IngressRule... rules)
```

Adds rules to this ingress.

###### `rules`<sup>Required</sup> <a name="rules" id="cdk8s-plus-32.Ingress.addRules.parameter.rules"></a>

- *Type:* <a href="#cdk8s-plus-32.IngressRule">IngressRule</a>...

The rules to add.

---

##### `addTls` <a name="addTls" id="cdk8s-plus-32.Ingress.addTls"></a>

```java
public void addTls(java.util.List<IngressTls> tls)
```

###### `tls`<sup>Required</sup> <a name="tls" id="cdk8s-plus-32.Ingress.addTls.parameter.tls"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IngressTls">IngressTls</a>>

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Ingress.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Ingress.isConstruct"></a>

```java
import org.cdk8s.plus32.Ingress;

Ingress.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Ingress.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Ingress.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Ingress.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Ingress.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Ingress.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Ingress.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Ingress.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Ingress.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Ingress.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Ingress.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Ingress.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Ingress.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Ingress.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Ingress.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Ingress.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Ingress.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Ingress.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Ingress.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Ingress.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---


### Job <a name="Job" id="cdk8s-plus-32.Job"></a>

A Job creates one or more Pods and ensures that a specified number of them successfully terminate.

As pods successfully complete,
the Job tracks the successful completions. When a specified number of successful completions is reached, the task (ie, Job) is complete.
Deleting a Job will clean up the Pods it created. A simple case is to create one Job object in order to reliably run one Pod to completion.
The Job object will start a new Pod if the first Pod fails or is deleted (for example due to a node hardware failure or a node reboot).
You can also use a Job to run multiple Pods in parallel.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Job.Initializer"></a>

```java
import org.cdk8s.plus32.Job;

Job.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .activeDeadline(Duration)
//  .backoffLimit(java.lang.Number)
//  .ttlAfterFinished(Duration)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.activeDeadline">activeDeadline</a></code> | <code>org.cdk8s.Duration</code> | Specifies the duration the job may be active before the system tries to terminate it. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Specifies the number of retries before marking this job failed. |
| <code><a href="#cdk8s-plus-32.Job.Initializer.parameter.ttlAfterFinished">ttlAfterFinished</a></code> | <code>org.cdk8s.Duration</code> | Limits the lifetime of a Job that has finished execution (either Complete or Failed). |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Job.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Job.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Job.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Job.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.Job.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.Job.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Job.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Job.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.Job.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Job.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.Job.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.Job.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Job.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.Job.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Job.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Job.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Job.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.Job.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.Job.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.Job.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.Job.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `activeDeadline`<sup>Optional</sup> <a name="activeDeadline" id="cdk8s-plus-32.Job.Initializer.parameter.activeDeadline"></a>

- *Type:* org.cdk8s.Duration
- *Default:* If unset, then there is no deadline.

Specifies the duration the job may be active before the system tries to terminate it.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.Job.Initializer.parameter.backoffLimit"></a>

- *Type:* java.lang.Number
- *Default:* If not set, system defaults to 6.

Specifies the number of retries before marking this job failed.

---

##### `ttlAfterFinished`<sup>Optional</sup> <a name="ttlAfterFinished" id="cdk8s-plus-32.Job.Initializer.parameter.ttlAfterFinished"></a>

- *Type:* org.cdk8s.Duration
- *Default:* If this field is unset, the Job won't be automatically deleted.

Limits the lifetime of a Job that has finished execution (either Complete or Failed).

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.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Job.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Job.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Job.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Job.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Job.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Job.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.Job.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Job.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.Job.select">select</a></code> | Configure selectors for this workload. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Job.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Job.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Job.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Job.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Job.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.Job.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Job.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.Job.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.Job.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.Job.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Job.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.Job.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.Job.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.Job.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Job.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Job.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Job.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.Job.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.Job.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.Job.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.Job.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Job.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Job.isConstruct"></a>

```java
import org.cdk8s.plus32.Job;

Job.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Job.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Job.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Job.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Job.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Job.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Job.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Job.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Job.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Job.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.Job.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Job.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Job.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Job.property.activeDeadline">activeDeadline</a></code> | <code>org.cdk8s.Duration</code> | Duration before job is terminated. |
| <code><a href="#cdk8s-plus-32.Job.property.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Number of retries before marking failed. |
| <code><a href="#cdk8s-plus-32.Job.property.ttlAfterFinished">ttlAfterFinished</a></code> | <code>org.cdk8s.Duration</code> | TTL before the job is deleted after it is finished. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Job.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Job.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Job.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Job.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Job.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Job.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Job.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Job.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Job.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Job.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.Job.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.Job.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.Job.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.Job.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.Job.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.Job.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Job.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.Job.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Job.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Job.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Job.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Job.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Job.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Job.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.Job.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.Job.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.Job.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.Job.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---

##### `activeDeadline`<sup>Optional</sup> <a name="activeDeadline" id="cdk8s-plus-32.Job.property.activeDeadline"></a>

```java
public Duration getActiveDeadline();
```

- *Type:* org.cdk8s.Duration

Duration before job is terminated.

If undefined, there is no deadline.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.Job.property.backoffLimit"></a>

```java
public java.lang.Number getBackoffLimit();
```

- *Type:* java.lang.Number

Number of retries before marking failed.

---

##### `ttlAfterFinished`<sup>Optional</sup> <a name="ttlAfterFinished" id="cdk8s-plus-32.Job.property.ttlAfterFinished"></a>

```java
public Duration getTtlAfterFinished();
```

- *Type:* org.cdk8s.Duration

TTL before the job is deleted after it is finished.

---


### KubeApiService <a name="KubeApiService" id="cdk8s-plus-32.k8s.KubeApiService"></a>

APIService represents a server for a particular GroupVersion.

Name must be "version.group".

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeApiService.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiService;

KubeApiService.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ApiServiceSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ApiServiceSpec</code> | Spec contains information for locating and communicating with a server. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeApiService.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ApiServiceSpec

Spec contains information for locating and communicating with a server.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeApiService.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeApiService.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeApiService.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeApiService.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeApiService.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeApiService.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeApiService.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeApiService.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeApiService.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiService;

KubeApiService.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeApiService.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeApiService.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiService;

KubeApiService.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeApiService.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeApiService.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiService;

KubeApiService.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeApiService.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeApiService.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiService;

KubeApiService.manifest(),KubeApiService.manifest(KubeApiServiceProps props)
```

Renders a Kubernetes manifest for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeApiService.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeApiServiceProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeApiService.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeApiService.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeApiService.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeApiService.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeApiService.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiService.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeApiService.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiService.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeApiService.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIService".

---

### KubeApiServiceList <a name="KubeApiServiceList" id="cdk8s-plus-32.k8s.KubeApiServiceList"></a>

APIServiceList is a list of APIService objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeApiServiceList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceList;

KubeApiServiceList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeApiServiceProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeApiServiceProps></code> | Items is the list of APIService. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeApiServiceProps>

Items is the list of APIService.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiServiceList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeApiServiceList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeApiServiceList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeApiServiceList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeApiServiceList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeApiServiceList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeApiServiceList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeApiServiceList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeApiServiceList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeApiServiceList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceList;

KubeApiServiceList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeApiServiceList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeApiServiceList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceList;

KubeApiServiceList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeApiServiceList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeApiServiceList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceList;

KubeApiServiceList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeApiServiceList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeApiServiceList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceList;

KubeApiServiceList.manifest(KubeApiServiceListProps props)
```

Renders a Kubernetes manifest for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeApiServiceList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeApiServiceListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeApiServiceList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList".

---

### KubeBinding <a name="KubeBinding" id="cdk8s-plus-32.k8s.KubeBinding"></a>

Binding ties one object to another;

for example, a pod is bound to a node by a scheduler.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeBinding.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeBinding;

KubeBinding.Builder.create(Construct scope, java.lang.String id)
    .target(ObjectReference)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.target">target</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | The target object that you want to bind to the standard object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.target"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

The target object that you want to bind to the standard object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeBinding.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeBinding.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeBinding.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeBinding.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeBinding.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Binding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeBinding;

KubeBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeBinding.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeBinding;

KubeBinding.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeBinding.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeBinding.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeBinding;

KubeBinding.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeBinding.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeBinding.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeBinding;

KubeBinding.manifest(KubeBindingProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Binding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeBinding.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeBindingProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeBinding.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBinding.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Binding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeBinding.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Binding".

---

### KubeCertificateSigningRequest <a name="KubeCertificateSigningRequest" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest"></a>

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequest;

KubeCertificateSigningRequest.Builder.create(Construct scope, java.lang.String id)
    .spec(CertificateSigningRequestSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CertificateSigningRequestSpec</code> | spec contains the certificate request, and is immutable after creation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.CertificateSigningRequestSpec

spec contains the certificate request, and is immutable after creation.

Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequest". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequest;

KubeCertificateSigningRequest.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequest;

KubeCertificateSigningRequest.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequest;

KubeCertificateSigningRequest.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequest;

KubeCertificateSigningRequest.manifest(KubeCertificateSigningRequestProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequest".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.certificates.v1.CertificateSigningRequest". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequest.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.certificates.v1.CertificateSigningRequest".

---

### KubeCertificateSigningRequestList <a name="KubeCertificateSigningRequestList" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList"></a>

CertificateSigningRequestList is a collection of CertificateSigningRequest objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestList;

KubeCertificateSigningRequestList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCertificateSigningRequestProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps></code> | items is a collection of CertificateSigningRequest objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps>

items is a collection of CertificateSigningRequest objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequestList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestList;

KubeCertificateSigningRequestList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestList;

KubeCertificateSigningRequestList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestList;

KubeCertificateSigningRequestList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestList;

KubeCertificateSigningRequestList.manifest(KubeCertificateSigningRequestListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.certificates.v1.CertificateSigningRequestList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCertificateSigningRequestListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.certificates.v1.CertificateSigningRequestList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.certificates.v1.CertificateSigningRequestList".

---

### KubeClusterRole <a name="KubeClusterRole" id="cdk8s-plus-32.k8s.KubeClusterRole"></a>

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRole;

KubeClusterRole.Builder.create(Construct scope, java.lang.String id)
//  .aggregationRule(AggregationRule)
//  .metadata(ObjectMeta)
//  .rules(java.util.List<PolicyRule>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.aggregationRule">aggregationRule</a></code> | <code>org.cdk8s.plus32.k8s.AggregationRule</code> | AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PolicyRule></code> | Rules holds all the PolicyRules for this ClusterRole. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `aggregationRule`<sup>Optional</sup> <a name="aggregationRule" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.aggregationRule"></a>

- *Type:* org.cdk8s.plus32.k8s.AggregationRule

AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.

If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.KubeClusterRole.Initializer.parameter.rules"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PolicyRule>

Rules holds all the PolicyRules for this ClusterRole.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterRole.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterRole.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterRole.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterRole.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterRole.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterRole.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterRole.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterRole.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRole". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterRole.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRole;

KubeClusterRole.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterRole.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterRole.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRole;

KubeClusterRole.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterRole.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterRole.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRole;

KubeClusterRole.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterRole.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterRole.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRole;

KubeClusterRole.manifest(),KubeClusterRole.manifest(KubeClusterRoleProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRole".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterRole.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterRoleProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterRole.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterRole.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterRole.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterRole.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterRole.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRole.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterRole.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRole.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRole". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterRole.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRole".

---

### KubeClusterRoleBinding <a name="KubeClusterRoleBinding" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding"></a>

ClusterRoleBinding references a ClusterRole, but not contain it.

It can reference a ClusterRole in the global namespace, and adds who information via Subject.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBinding;

KubeClusterRoleBinding.Builder.create(Construct scope, java.lang.String id)
    .roleRef(RoleRef)
//  .metadata(ObjectMeta)
//  .subjects(java.util.List<Subject>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.roleRef">roleRef</a></code> | <code>org.cdk8s.plus32.k8s.RoleRef</code> | RoleRef can only reference a ClusterRole in the global namespace. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.subjects">subjects</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Subject></code> | Subjects holds references to the objects the role applies to. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `roleRef`<sup>Required</sup> <a name="roleRef" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.roleRef"></a>

- *Type:* org.cdk8s.plus32.k8s.RoleRef

RoleRef can only reference a ClusterRole in the global namespace.

If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `subjects`<sup>Optional</sup> <a name="subjects" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.Initializer.parameter.subjects"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Subject>

Subjects holds references to the objects the role applies to.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleBinding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBinding;

KubeClusterRoleBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBinding;

KubeClusterRoleBinding.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBinding;

KubeClusterRoleBinding.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBinding;

KubeClusterRoleBinding.manifest(KubeClusterRoleBindingProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleBinding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleBinding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterRoleBinding.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleBinding".

---

### KubeClusterRoleBindingList <a name="KubeClusterRoleBindingList" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList"></a>

ClusterRoleBindingList is a collection of ClusterRoleBindings.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingList;

KubeClusterRoleBindingList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeClusterRoleBindingProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps></code> | Items is a list of ClusterRoleBindings. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps>

Items is a list of ClusterRoleBindings.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleBindingList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingList;

KubeClusterRoleBindingList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingList;

KubeClusterRoleBindingList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingList;

KubeClusterRoleBindingList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingList;

KubeClusterRoleBindingList.manifest(KubeClusterRoleBindingListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleBindingList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterRoleBindingListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleBindingList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleBindingList".

---

### KubeClusterRoleList <a name="KubeClusterRoleList" id="cdk8s-plus-32.k8s.KubeClusterRoleList"></a>

ClusterRoleList is a collection of ClusterRoles.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleList;

KubeClusterRoleList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeClusterRoleProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleProps></code> | Items is a list of ClusterRoles. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleProps>

Items is a list of ClusterRoles.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterRoleList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterRoleList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterRoleList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterRoleList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterRoleList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterRoleList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterRoleList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterRoleList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterRoleList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleList;

KubeClusterRoleList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterRoleList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterRoleList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleList;

KubeClusterRoleList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterRoleList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterRoleList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleList;

KubeClusterRoleList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterRoleList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterRoleList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleList;

KubeClusterRoleList.manifest(KubeClusterRoleListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterRoleList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterRoleListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterRoleList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.ClusterRoleList".

---

### KubeClusterTrustBundleListV1Alpha1 <a name="KubeClusterTrustBundleListV1Alpha1" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1"></a>

ClusterTrustBundleList is a collection of ClusterTrustBundle objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1;

KubeClusterTrustBundleListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeClusterTrustBundleV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props></code> | items is a collection of ClusterTrustBundle objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | metadata contains the list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props>

items is a collection of ClusterTrustBundle objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

metadata contains the list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundleList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1;

KubeClusterTrustBundleListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1;

KubeClusterTrustBundleListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1;

KubeClusterTrustBundleListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1;

KubeClusterTrustBundleListV1Alpha1.manifest(KubeClusterTrustBundleListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundleList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundleList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundleList".

---

### KubeClusterTrustBundleV1Alpha1 <a name="KubeClusterTrustBundleV1Alpha1" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1"></a>

ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).

ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection.  All service accounts have read access to ClusterTrustBundles by default.  Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.

It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1;

KubeClusterTrustBundleV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .spec(ClusterTrustBundleSpecV1Alpha1)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ClusterTrustBundleSpecV1Alpha1</code> | spec contains the signer (if any) and trust anchors. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | metadata contains the object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ClusterTrustBundleSpecV1Alpha1

spec contains the signer (if any) and trust anchors.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

metadata contains the object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundle". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1;

KubeClusterTrustBundleV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1;

KubeClusterTrustBundleV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1;

KubeClusterTrustBundleV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1;

KubeClusterTrustBundleV1Alpha1.manifest(KubeClusterTrustBundleV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundle".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundle". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.certificates.v1alpha1.ClusterTrustBundle".

---

### KubeComponentStatus <a name="KubeComponentStatus" id="cdk8s-plus-32.k8s.KubeComponentStatus"></a>

ComponentStatus (and ComponentStatusList) holds the cluster validation info.

Deprecated: This API is deprecated in v1.19+

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeComponentStatus.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatus;

KubeComponentStatus.Builder.create(Construct scope, java.lang.String id)
//  .conditions(java.util.List<ComponentCondition>)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.conditions">conditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ComponentCondition></code> | List of component conditions observed. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `conditions`<sup>Optional</sup> <a name="conditions" id="cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.conditions"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ComponentCondition>

List of component conditions observed.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatus.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeComponentStatus.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeComponentStatus.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeComponentStatus.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeComponentStatus.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeComponentStatus.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeComponentStatus.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeComponentStatus.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeComponentStatus.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatus". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeComponentStatus.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatus;

KubeComponentStatus.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeComponentStatus.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeComponentStatus.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatus;

KubeComponentStatus.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeComponentStatus.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeComponentStatus.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatus;

KubeComponentStatus.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeComponentStatus.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeComponentStatus.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatus;

KubeComponentStatus.manifest(),KubeComponentStatus.manifest(KubeComponentStatusProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatus".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeComponentStatus.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeComponentStatusProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatus.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatus". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeComponentStatus.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatus".

---

### KubeComponentStatusList <a name="KubeComponentStatusList" id="cdk8s-plus-32.k8s.KubeComponentStatusList"></a>

Status of all the conditions for the component as a list of ComponentStatus objects.

Deprecated: This API is deprecated in v1.19+

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusList;

KubeComponentStatusList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeComponentStatusProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeComponentStatusProps></code> | List of ComponentStatus objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeComponentStatusProps>

List of ComponentStatus objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatusList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeComponentStatusList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeComponentStatusList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeComponentStatusList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeComponentStatusList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeComponentStatusList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeComponentStatusList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeComponentStatusList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeComponentStatusList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatusList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeComponentStatusList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusList;

KubeComponentStatusList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeComponentStatusList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeComponentStatusList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusList;

KubeComponentStatusList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeComponentStatusList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeComponentStatusList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusList;

KubeComponentStatusList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeComponentStatusList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeComponentStatusList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusList;

KubeComponentStatusList.manifest(KubeComponentStatusListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ComponentStatusList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeComponentStatusList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeComponentStatusListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatusList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeComponentStatusList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ComponentStatusList".

---

### KubeConfigMap <a name="KubeConfigMap" id="cdk8s-plus-32.k8s.KubeConfigMap"></a>

ConfigMap holds configuration data for pods to consume.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMap;

KubeConfigMap.Builder.create(Construct scope, java.lang.String id)
//  .binaryData(java.util.Map<java.lang.String, java.lang.String>)
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.binaryData">binaryData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | BinaryData contains the binary data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the configuration data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `binaryData`<sup>Optional</sup> <a name="binaryData" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.binaryData"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

BinaryData contains the binary data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.data"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the configuration data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean

Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time. Defaulted to nil.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMap.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeConfigMap.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeConfigMap.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeConfigMap.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeConfigMap.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeConfigMap.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeConfigMap.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeConfigMap.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeConfigMap.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMap". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeConfigMap.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMap;

KubeConfigMap.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeConfigMap.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeConfigMap.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMap;

KubeConfigMap.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeConfigMap.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeConfigMap.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMap;

KubeConfigMap.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeConfigMap.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeConfigMap.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMap;

KubeConfigMap.manifest(),KubeConfigMap.manifest(KubeConfigMapProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMap".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeConfigMap.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeConfigMapProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeConfigMap.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeConfigMap.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeConfigMap.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeConfigMap.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeConfigMap.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMap.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeConfigMap.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMap.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMap". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeConfigMap.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMap".

---

### KubeConfigMapList <a name="KubeConfigMapList" id="cdk8s-plus-32.k8s.KubeConfigMapList"></a>

ConfigMapList is a resource containing a list of ConfigMap objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeConfigMapList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapList;

KubeConfigMapList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeConfigMapProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeConfigMapProps></code> | Items is the list of ConfigMaps. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeConfigMapProps>

Items is the list of ConfigMaps.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMapList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeConfigMapList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeConfigMapList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeConfigMapList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeConfigMapList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeConfigMapList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeConfigMapList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeConfigMapList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeConfigMapList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMapList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeConfigMapList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapList;

KubeConfigMapList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeConfigMapList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeConfigMapList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapList;

KubeConfigMapList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeConfigMapList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeConfigMapList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapList;

KubeConfigMapList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeConfigMapList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeConfigMapList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapList;

KubeConfigMapList.manifest(KubeConfigMapListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ConfigMapList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeConfigMapList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeConfigMapListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMapList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeConfigMapList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ConfigMapList".

---

### KubeControllerRevision <a name="KubeControllerRevision" id="cdk8s-plus-32.k8s.KubeControllerRevision"></a>

ControllerRevision implements an immutable snapshot of state data.

Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevision;

KubeControllerRevision.Builder.create(Construct scope, java.lang.String id)
    .revision(java.lang.Number)
//  .data(java.lang.Object)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.revision">revision</a></code> | <code>java.lang.Number</code> | Revision indicates the revision of the state represented by Data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.data">data</a></code> | <code>java.lang.Object</code> | Data is the serialized representation of the state. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `revision`<sup>Required</sup> <a name="revision" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.revision"></a>

- *Type:* java.lang.Number

Revision indicates the revision of the state represented by Data.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.data"></a>

- *Type:* java.lang.Object

Data is the serialized representation of the state.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevision.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeControllerRevision.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeControllerRevision.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeControllerRevision.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeControllerRevision.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeControllerRevision.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeControllerRevision.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeControllerRevision.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeControllerRevision.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevision". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeControllerRevision.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevision;

KubeControllerRevision.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeControllerRevision.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeControllerRevision.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevision;

KubeControllerRevision.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeControllerRevision.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeControllerRevision.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevision;

KubeControllerRevision.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeControllerRevision.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeControllerRevision.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevision;

KubeControllerRevision.manifest(KubeControllerRevisionProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevision".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeControllerRevision.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeControllerRevisionProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevision.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevision". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeControllerRevision.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevision".

---

### KubeControllerRevisionList <a name="KubeControllerRevisionList" id="cdk8s-plus-32.k8s.KubeControllerRevisionList"></a>

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionList;

KubeControllerRevisionList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeControllerRevisionProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeControllerRevisionProps></code> | Items is the list of ControllerRevisions. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeControllerRevisionProps>

Items is the list of ControllerRevisions.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevisionList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionList;

KubeControllerRevisionList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionList;

KubeControllerRevisionList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionList;

KubeControllerRevisionList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionList;

KubeControllerRevisionList.manifest(KubeControllerRevisionListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ControllerRevisionList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeControllerRevisionListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevisionList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeControllerRevisionList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.ControllerRevisionList".

---

### KubeCronJob <a name="KubeCronJob" id="cdk8s-plus-32.k8s.KubeCronJob"></a>

CronJob represents the configuration of a single cron job.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCronJob.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJob;

KubeCronJob.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(CronJobSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CronJobSpec</code> | Specification of the desired behavior of a cron job, including the schedule. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCronJob.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.CronJobSpec

Specification of the desired behavior of a cron job, including the schedule.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCronJob.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCronJob.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCronJob.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCronJob.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCronJob.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCronJob.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCronJob.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCronJob.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJob". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCronJob.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJob;

KubeCronJob.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCronJob.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCronJob.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJob;

KubeCronJob.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCronJob.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCronJob.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJob;

KubeCronJob.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCronJob.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCronJob.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJob;

KubeCronJob.manifest(),KubeCronJob.manifest(KubeCronJobProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJob".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCronJob.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCronJobProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCronJob.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCronJob.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCronJob.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCronJob.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCronJob.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJob.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCronJob.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJob.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJob". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCronJob.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJob".

---

### KubeCronJobList <a name="KubeCronJobList" id="cdk8s-plus-32.k8s.KubeCronJobList"></a>

CronJobList is a collection of cron jobs.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCronJobList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobList;

KubeCronJobList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCronJobProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCronJobProps></code> | items is the list of CronJobs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCronJobProps>

items is the list of CronJobs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJobList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCronJobList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCronJobList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCronJobList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCronJobList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCronJobList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCronJobList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCronJobList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCronJobList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJobList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCronJobList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobList;

KubeCronJobList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCronJobList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCronJobList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobList;

KubeCronJobList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCronJobList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCronJobList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobList;

KubeCronJobList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCronJobList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCronJobList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobList;

KubeCronJobList.manifest(KubeCronJobListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.batch.v1.CronJobList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCronJobList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCronJobListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCronJobList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCronJobList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCronJobList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCronJobList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCronJobList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJobList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCronJobList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJobList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCronJobList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.batch.v1.CronJobList".

---

### KubeCsiDriver <a name="KubeCsiDriver" id="cdk8s-plus-32.k8s.KubeCsiDriver"></a>

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.

Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiDriver.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriver;

KubeCsiDriver.Builder.create(Construct scope, java.lang.String id)
    .spec(CsiDriverSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CsiDriverSpec</code> | spec represents the specification of the CSI Driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.CsiDriverSpec

spec represents the specification of the CSI Driver.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriver.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiDriver.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiDriver.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiDriver.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiDriver.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiDriver.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiDriver.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiDriver.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiDriver.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiDriver.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriver;

KubeCsiDriver.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiDriver.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiDriver.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriver;

KubeCsiDriver.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiDriver.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiDriver.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriver;

KubeCsiDriver.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiDriver.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiDriver.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriver;

KubeCsiDriver.manifest(KubeCsiDriverProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiDriver.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiDriverProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriver.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIDriver". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiDriver.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIDriver".

---

### KubeCsiDriverList <a name="KubeCsiDriverList" id="cdk8s-plus-32.k8s.KubeCsiDriverList"></a>

CSIDriverList is a collection of CSIDriver objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverList;

KubeCsiDriverList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCsiDriverProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiDriverProps></code> | items is the list of CSIDriver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiDriverProps>

items is the list of CSIDriver.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriverList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiDriverList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiDriverList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiDriverList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiDriverList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiDriverList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiDriverList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiDriverList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiDriverList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriverList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiDriverList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverList;

KubeCsiDriverList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiDriverList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiDriverList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverList;

KubeCsiDriverList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiDriverList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiDriverList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverList;

KubeCsiDriverList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiDriverList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiDriverList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverList;

KubeCsiDriverList.manifest(KubeCsiDriverListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriverList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiDriverList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiDriverListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIDriverList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiDriverList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIDriverList".

---

### KubeCsiNode <a name="KubeCsiNode" id="cdk8s-plus-32.k8s.KubeCsiNode"></a>

CSINode holds information about all CSI drivers installed on a node.

CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiNode.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNode;

KubeCsiNode.Builder.create(Construct scope, java.lang.String id)
    .spec(CsiNodeSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CsiNodeSpec</code> | spec is the specification of CSINode. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.CsiNodeSpec

spec is the specification of CSINode.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNode.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

metadata.name must be the Kubernetes node name.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiNode.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiNode.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiNode.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiNode.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiNode.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiNode.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiNode.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiNode.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINode". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiNode.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNode;

KubeCsiNode.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiNode.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiNode.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNode;

KubeCsiNode.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiNode.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiNode.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNode;

KubeCsiNode.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiNode.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiNode.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNode;

KubeCsiNode.manifest(KubeCsiNodeProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINode".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiNode.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiNodeProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiNode.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiNode.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiNode.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiNode.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiNode.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNode.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiNode.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNode.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINode". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiNode.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINode".

---

### KubeCsiNodeList <a name="KubeCsiNodeList" id="cdk8s-plus-32.k8s.KubeCsiNodeList"></a>

CSINodeList is a collection of CSINode objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeList;

KubeCsiNodeList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCsiNodeProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiNodeProps></code> | items is the list of CSINode. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiNodeProps>

items is the list of CSINode.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNodeList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiNodeList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiNodeList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiNodeList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiNodeList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiNodeList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiNodeList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiNodeList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiNodeList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINodeList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiNodeList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeList;

KubeCsiNodeList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiNodeList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiNodeList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeList;

KubeCsiNodeList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiNodeList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiNodeList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeList;

KubeCsiNodeList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiNodeList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiNodeList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeList;

KubeCsiNodeList.manifest(KubeCsiNodeListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSINodeList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiNodeList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiNodeListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINodeList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiNodeList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSINodeList".

---

### KubeCsiStorageCapacity <a name="KubeCsiStorageCapacity" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity"></a>

CSIStorageCapacity stores the result of one CSI GetCapacity call.

For a given StorageClass, this describes the available capacity in a particular topology segment.  This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacity;

KubeCsiStorageCapacity.Builder.create(Construct scope, java.lang.String id)
    .storageClassName(java.lang.String)
//  .capacity(Quantity)
//  .maximumVolumeSize(Quantity)
//  .metadata(ObjectMeta)
//  .nodeTopology(LabelSelector)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | storageClassName represents the name of the StorageClass that the reported capacity applies to. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.capacity">capacity</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.maximumVolumeSize">maximumVolumeSize</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.nodeTopology">nodeTopology</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | nodeTopology defines which nodes have access to the storage for which capacity was reported. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `storageClassName`<sup>Required</sup> <a name="storageClassName" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String

storageClassName represents the name of the StorageClass that the reported capacity applies to.

It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.

---

##### `capacity`<sup>Optional</sup> <a name="capacity" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.capacity"></a>

- *Type:* org.cdk8s.plus32.k8s.Quantity

capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.

---

##### `maximumVolumeSize`<sup>Optional</sup> <a name="maximumVolumeSize" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.maximumVolumeSize"></a>

- *Type:* org.cdk8s.plus32.k8s.Quantity

maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.

Objects are namespaced.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `nodeTopology`<sup>Optional</sup> <a name="nodeTopology" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.Initializer.parameter.nodeTopology"></a>

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

nodeTopology defines which nodes have access to the storage for which capacity was reported.

If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIStorageCapacity". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacity;

KubeCsiStorageCapacity.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacity;

KubeCsiStorageCapacity.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacity;

KubeCsiStorageCapacity.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacity;

KubeCsiStorageCapacity.manifest(KubeCsiStorageCapacityProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIStorageCapacity".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIStorageCapacity". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacity.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIStorageCapacity".

---

### KubeCsiStorageCapacityList <a name="KubeCsiStorageCapacityList" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList"></a>

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityList;

KubeCsiStorageCapacityList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCsiStorageCapacityProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps></code> | items is the list of CSIStorageCapacity objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps>

items is the list of CSIStorageCapacity objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIStorageCapacityList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityList;

KubeCsiStorageCapacityList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityList;

KubeCsiStorageCapacityList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityList;

KubeCsiStorageCapacityList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityList;

KubeCsiStorageCapacityList.manifest(KubeCsiStorageCapacityListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIStorageCapacityList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCsiStorageCapacityListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIStorageCapacityList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIStorageCapacityList".

---

### KubeCustomResourceDefinition <a name="KubeCustomResourceDefinition" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition"></a>

CustomResourceDefinition represents a resource that should be exposed on the API server.

Its name MUST be in the format <.spec.name>.<.spec.group>.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinition;

KubeCustomResourceDefinition.Builder.create(Construct scope, java.lang.String id)
    .spec(CustomResourceDefinitionSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceDefinitionSpec</code> | spec describes how the user wants the resources to appear. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.CustomResourceDefinitionSpec

spec describes how the user wants the resources to appear.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinition;

KubeCustomResourceDefinition.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinition;

KubeCustomResourceDefinition.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinition;

KubeCustomResourceDefinition.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinition;

KubeCustomResourceDefinition.manifest(KubeCustomResourceDefinitionProps props)
```

Renders a Kubernetes manifest for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinition.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition".

---

### KubeCustomResourceDefinitionList <a name="KubeCustomResourceDefinitionList" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList"></a>

CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionList;

KubeCustomResourceDefinitionList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeCustomResourceDefinitionProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps></code> | items list individual CustomResourceDefinition objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps>

items list individual CustomResourceDefinition objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionList;

KubeCustomResourceDefinitionList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionList;

KubeCustomResourceDefinitionList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionList;

KubeCustomResourceDefinitionList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionList;

KubeCustomResourceDefinitionList.manifest(KubeCustomResourceDefinitionListProps props)
```

Renders a Kubernetes manifest for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionList".

---

### KubeDaemonSet <a name="KubeDaemonSet" id="cdk8s-plus-32.k8s.KubeDaemonSet"></a>

DaemonSet represents the configuration of a daemon set.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDaemonSet.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSet;

KubeDaemonSet.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(DaemonSetSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DaemonSetSpec</code> | The desired behavior of this daemon set. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDaemonSet.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.DaemonSetSpec

The desired behavior of this daemon set.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDaemonSet.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDaemonSet.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDaemonSet.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDaemonSet.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDaemonSet.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDaemonSet.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDaemonSet.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDaemonSet.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSet". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDaemonSet.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSet;

KubeDaemonSet.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDaemonSet.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDaemonSet.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSet;

KubeDaemonSet.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDaemonSet.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDaemonSet.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSet;

KubeDaemonSet.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDaemonSet.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDaemonSet.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSet;

KubeDaemonSet.manifest(),KubeDaemonSet.manifest(KubeDaemonSetProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSet".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDaemonSet.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDaemonSetProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSet.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSet". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDaemonSet.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSet".

---

### KubeDaemonSetList <a name="KubeDaemonSetList" id="cdk8s-plus-32.k8s.KubeDaemonSetList"></a>

DaemonSetList is a collection of daemon sets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetList;

KubeDaemonSetList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeDaemonSetProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDaemonSetProps></code> | A list of daemon sets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDaemonSetProps>

A list of daemon sets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSetList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDaemonSetList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDaemonSetList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDaemonSetList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDaemonSetList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDaemonSetList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDaemonSetList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDaemonSetList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDaemonSetList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSetList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDaemonSetList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetList;

KubeDaemonSetList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDaemonSetList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDaemonSetList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetList;

KubeDaemonSetList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDaemonSetList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDaemonSetList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetList;

KubeDaemonSetList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDaemonSetList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDaemonSetList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetList;

KubeDaemonSetList.manifest(KubeDaemonSetListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DaemonSetList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDaemonSetList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDaemonSetListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSetList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDaemonSetList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.DaemonSetList".

---

### KubeDeployment <a name="KubeDeployment" id="cdk8s-plus-32.k8s.KubeDeployment"></a>

Deployment enables declarative updates for Pods and ReplicaSets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeployment.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeployment;

KubeDeployment.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(DeploymentSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeploymentSpec</code> | Specification of the desired behavior of the Deployment. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeployment.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.DeploymentSpec

Specification of the desired behavior of the Deployment.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeployment.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeployment.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeployment.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeployment.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeployment.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeployment.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeployment.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeployment.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.Deployment". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeployment.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeployment;

KubeDeployment.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeployment.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeployment.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeployment;

KubeDeployment.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeployment.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeployment.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeployment;

KubeDeployment.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeployment.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeployment.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeployment;

KubeDeployment.manifest(),KubeDeployment.manifest(KubeDeploymentProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.Deployment".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeployment.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeploymentProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeployment.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeployment.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeployment.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeployment.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeployment.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeployment.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeployment.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeployment.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.Deployment". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeployment.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.Deployment".

---

### KubeDeploymentList <a name="KubeDeploymentList" id="cdk8s-plus-32.k8s.KubeDeploymentList"></a>

DeploymentList is a list of Deployments.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeploymentList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentList;

KubeDeploymentList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeDeploymentProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeploymentProps></code> | Items is the list of Deployments. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeploymentProps>

Items is the list of Deployments.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeploymentList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeploymentList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeploymentList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeploymentList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeploymentList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeploymentList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeploymentList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeploymentList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeploymentList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DeploymentList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeploymentList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentList;

KubeDeploymentList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeploymentList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeploymentList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentList;

KubeDeploymentList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeploymentList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeploymentList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentList;

KubeDeploymentList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeploymentList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeploymentList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentList;

KubeDeploymentList.manifest(KubeDeploymentListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.DeploymentList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeploymentList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeploymentListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.DeploymentList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeploymentList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.DeploymentList".

---

### KubeDeviceClassListV1Alpha3 <a name="KubeDeviceClassListV1Alpha3" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3"></a>

DeviceClassList is a collection of classes.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3;

KubeDeviceClassListV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeDeviceClassV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props></code> | Items is the list of resource classes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props>

Items is the list of resource classes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.DeviceClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3;

KubeDeviceClassListV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3;

KubeDeviceClassListV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3;

KubeDeviceClassListV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3;

KubeDeviceClassListV1Alpha3.manifest(KubeDeviceClassListV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.DeviceClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.DeviceClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.DeviceClassList".

---

### KubeDeviceClassListV1Beta1 <a name="KubeDeviceClassListV1Beta1" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1"></a>

DeviceClassList is a collection of classes.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1;

KubeDeviceClassListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeDeviceClassV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props></code> | Items is the list of resource classes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props>

Items is the list of resource classes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.DeviceClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1;

KubeDeviceClassListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1;

KubeDeviceClassListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1;

KubeDeviceClassListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1;

KubeDeviceClassListV1Beta1.manifest(KubeDeviceClassListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.DeviceClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.DeviceClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.DeviceClassList".

---

### KubeDeviceClassV1Alpha3 <a name="KubeDeviceClassV1Alpha3" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3"></a>

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.

It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3;

KubeDeviceClassV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .spec(DeviceClassSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClassSpecV1Alpha3</code> | Spec defines what can be allocated and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.DeviceClassSpecV1Alpha3

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.DeviceClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3;

KubeDeviceClassV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3;

KubeDeviceClassV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3;

KubeDeviceClassV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3;

KubeDeviceClassV1Alpha3.manifest(KubeDeviceClassV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.DeviceClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.DeviceClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.DeviceClass".

---

### KubeDeviceClassV1Beta1 <a name="KubeDeviceClassV1Beta1" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1"></a>

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.

It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1;

KubeDeviceClassV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .spec(DeviceClassSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClassSpecV1Beta1</code> | Spec defines what can be allocated and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.DeviceClassSpecV1Beta1

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.DeviceClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1;

KubeDeviceClassV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1;

KubeDeviceClassV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1;

KubeDeviceClassV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1;

KubeDeviceClassV1Beta1.manifest(KubeDeviceClassV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.DeviceClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.DeviceClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.DeviceClass".

---

### KubeEndpoints <a name="KubeEndpoints" id="cdk8s-plus-32.k8s.KubeEndpoints"></a>

Endpoints is a collection of endpoints that implement the actual service. Example:.

Name: "mysvc",
Subsets: [
{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
},
{
Addresses: [{"ip": "10.10.3.3"}],
Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
},
]

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEndpoints.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpoints;

KubeEndpoints.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .subsets(java.util.List<EndpointSubset>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.subsets">subsets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointSubset></code> | The set of all endpoints is the union of all subsets. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `subsets`<sup>Optional</sup> <a name="subsets" id="cdk8s-plus-32.k8s.KubeEndpoints.Initializer.parameter.subsets"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointSubset>

The set of all endpoints is the union of all subsets.

Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEndpoints.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEndpoints.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEndpoints.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEndpoints.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEndpoints.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEndpoints.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEndpoints.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEndpoints.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Endpoints". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEndpoints.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpoints;

KubeEndpoints.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEndpoints.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEndpoints.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpoints;

KubeEndpoints.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEndpoints.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEndpoints.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpoints;

KubeEndpoints.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEndpoints.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEndpoints.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpoints;

KubeEndpoints.manifest(),KubeEndpoints.manifest(KubeEndpointsProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Endpoints".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEndpoints.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEndpointsProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEndpoints.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEndpoints.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEndpoints.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEndpoints.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEndpoints.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpoints.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEndpoints.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpoints.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Endpoints". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEndpoints.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Endpoints".

---

### KubeEndpointSlice <a name="KubeEndpointSlice" id="cdk8s-plus-32.k8s.KubeEndpointSlice"></a>

EndpointSlice represents a subset of the endpoints that implement a service.

For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSlice;

KubeEndpointSlice.Builder.create(Construct scope, java.lang.String id)
    .addressType(java.lang.String)
    .endpoints(java.util.List<Endpoint>)
//  .metadata(ObjectMeta)
//  .ports(java.util.List<EndpointPort>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.addressType">addressType</a></code> | <code>java.lang.String</code> | addressType specifies the type of address carried by this EndpointSlice. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.endpoints">endpoints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Endpoint></code> | endpoints is a list of unique endpoints in this slice. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointPort></code> | ports specifies the list of network ports exposed by each endpoint in this slice. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `addressType`<sup>Required</sup> <a name="addressType" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.addressType"></a>

- *Type:* java.lang.String

addressType specifies the type of address carried by this EndpointSlice.

All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.

---

##### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.endpoints"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Endpoint>

endpoints is a list of unique endpoints in this slice.

Each slice may include a maximum of 1000 endpoints.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.KubeEndpointSlice.Initializer.parameter.ports"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointPort>

ports specifies the list of network ports exposed by each endpoint in this slice.

Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEndpointSlice.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEndpointSlice.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEndpointSlice.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEndpointSlice.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEndpointSlice.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEndpointSlice.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEndpointSlice.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEndpointSlice.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.discovery.v1.EndpointSlice". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEndpointSlice.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSlice;

KubeEndpointSlice.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEndpointSlice.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEndpointSlice.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSlice;

KubeEndpointSlice.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEndpointSlice.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEndpointSlice.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSlice;

KubeEndpointSlice.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEndpointSlice.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEndpointSlice.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSlice;

KubeEndpointSlice.manifest(KubeEndpointSliceProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.discovery.v1.EndpointSlice".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEndpointSlice.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEndpointSliceProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSlice.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.discovery.v1.EndpointSlice". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEndpointSlice.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.discovery.v1.EndpointSlice".

---

### KubeEndpointSliceList <a name="KubeEndpointSliceList" id="cdk8s-plus-32.k8s.KubeEndpointSliceList"></a>

EndpointSliceList represents a list of endpoint slices.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceList;

KubeEndpointSliceList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeEndpointSliceProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEndpointSliceProps></code> | items is the list of endpoint slices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEndpointSliceProps>

items is the list of endpoint slices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.discovery.v1.EndpointSliceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceList;

KubeEndpointSliceList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceList;

KubeEndpointSliceList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceList;

KubeEndpointSliceList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceList;

KubeEndpointSliceList.manifest(KubeEndpointSliceListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.discovery.v1.EndpointSliceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEndpointSliceListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.discovery.v1.EndpointSliceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEndpointSliceList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.discovery.v1.EndpointSliceList".

---

### KubeEndpointsList <a name="KubeEndpointsList" id="cdk8s-plus-32.k8s.KubeEndpointsList"></a>

EndpointsList is a list of endpoints.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEndpointsList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsList;

KubeEndpointsList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeEndpointsProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEndpointsProps></code> | List of endpoints. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEndpointsProps>

List of endpoints.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointsList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEndpointsList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEndpointsList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEndpointsList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEndpointsList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEndpointsList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEndpointsList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEndpointsList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEndpointsList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.EndpointsList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEndpointsList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsList;

KubeEndpointsList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEndpointsList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEndpointsList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsList;

KubeEndpointsList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEndpointsList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEndpointsList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsList;

KubeEndpointsList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEndpointsList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEndpointsList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsList;

KubeEndpointsList.manifest(KubeEndpointsListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.EndpointsList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEndpointsList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEndpointsListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.EndpointsList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEndpointsList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.EndpointsList".

---

### KubeEvent <a name="KubeEvent" id="cdk8s-plus-32.k8s.KubeEvent"></a>

Event is a report of an event somewhere in the cluster.

It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time.  Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason.  Events should be treated as informative, best-effort, supplemental data.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEvent.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvent;

KubeEvent.Builder.create(Construct scope, java.lang.String id)
    .eventTime(java.time.Instant)
//  .action(java.lang.String)
//  .deprecatedCount(java.lang.Number)
//  .deprecatedFirstTimestamp(java.time.Instant)
//  .deprecatedLastTimestamp(java.time.Instant)
//  .deprecatedSource(EventSource)
//  .metadata(ObjectMeta)
//  .note(java.lang.String)
//  .reason(java.lang.String)
//  .regarding(ObjectReference)
//  .related(ObjectReference)
//  .reportingController(java.lang.String)
//  .reportingInstance(java.lang.String)
//  .series(EventSeries)
//  .type(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.eventTime">eventTime</a></code> | <code>java.time.Instant</code> | eventTime is the time when this Event was first observed. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.action">action</a></code> | <code>java.lang.String</code> | action is what action was taken/failed regarding to the regarding object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedCount">deprecatedCount</a></code> | <code>java.lang.Number</code> | deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedFirstTimestamp">deprecatedFirstTimestamp</a></code> | <code>java.time.Instant</code> | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedLastTimestamp">deprecatedLastTimestamp</a></code> | <code>java.time.Instant</code> | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedSource">deprecatedSource</a></code> | <code>org.cdk8s.plus32.k8s.EventSource</code> | deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.note">note</a></code> | <code>java.lang.String</code> | note is a human-readable description of the status of this operation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reason">reason</a></code> | <code>java.lang.String</code> | reason is why the action was taken. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.regarding">regarding</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | regarding contains the object this Event is about. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.related">related</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | related is the optional secondary object for more complex actions. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reportingController">reportingController</a></code> | <code>java.lang.String</code> | reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reportingInstance">reportingInstance</a></code> | <code>java.lang.String</code> | reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.series">series</a></code> | <code>org.cdk8s.plus32.k8s.EventSeries</code> | series is data about the Event series this event represents or nil if it's a singleton Event. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.type">type</a></code> | <code>java.lang.String</code> | type is the type of this event (Normal, Warning), new types could be added in the future. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `eventTime`<sup>Required</sup> <a name="eventTime" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.eventTime"></a>

- *Type:* java.time.Instant

eventTime is the time when this Event was first observed.

It is required.

---

##### `action`<sup>Optional</sup> <a name="action" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.action"></a>

- *Type:* java.lang.String

action is what action was taken/failed regarding to the regarding object.

It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `deprecatedCount`<sup>Optional</sup> <a name="deprecatedCount" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedCount"></a>

- *Type:* java.lang.Number

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedFirstTimestamp`<sup>Optional</sup> <a name="deprecatedFirstTimestamp" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedFirstTimestamp"></a>

- *Type:* java.time.Instant

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedLastTimestamp`<sup>Optional</sup> <a name="deprecatedLastTimestamp" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedLastTimestamp"></a>

- *Type:* java.time.Instant

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedSource`<sup>Optional</sup> <a name="deprecatedSource" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.deprecatedSource"></a>

- *Type:* org.cdk8s.plus32.k8s.EventSource

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `note`<sup>Optional</sup> <a name="note" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.note"></a>

- *Type:* java.lang.String

note is a human-readable description of the status of this operation.

Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reason"></a>

- *Type:* java.lang.String

reason is why the action was taken.

It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `regarding`<sup>Optional</sup> <a name="regarding" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.regarding"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

regarding contains the object this Event is about.

In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

---

##### `related`<sup>Optional</sup> <a name="related" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.related"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

related is the optional secondary object for more complex actions.

E.g. when regarding object triggers a creation or deletion of related object.

---

##### `reportingController`<sup>Optional</sup> <a name="reportingController" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reportingController"></a>

- *Type:* java.lang.String

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

---

##### `reportingInstance`<sup>Optional</sup> <a name="reportingInstance" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.reportingInstance"></a>

- *Type:* java.lang.String

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `series`<sup>Optional</sup> <a name="series" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.series"></a>

- *Type:* org.cdk8s.plus32.k8s.EventSeries

series is data about the Event series this event represents or nil if it's a singleton Event.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.KubeEvent.Initializer.parameter.type"></a>

- *Type:* java.lang.String

type is the type of this event (Normal, Warning), new types could be added in the future.

It is machine-readable. This field cannot be empty for new Events.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEvent.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEvent.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEvent.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEvent.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEvent.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEvent.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEvent.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEvent.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.events.v1.Event". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEvent.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvent;

KubeEvent.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEvent.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEvent.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvent;

KubeEvent.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEvent.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEvent.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvent;

KubeEvent.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEvent.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEvent.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvent;

KubeEvent.manifest(KubeEventProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.events.v1.Event".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEvent.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEventProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEvent.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEvent.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEvent.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEvent.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEvent.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEvent.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEvent.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvent.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.events.v1.Event". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEvent.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.events.v1.Event".

---

### KubeEventList <a name="KubeEventList" id="cdk8s-plus-32.k8s.KubeEventList"></a>

EventList is a list of Event objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEventList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventList;

KubeEventList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeEventProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEventProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEventProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEventList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEventList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEventList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEventList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEventList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEventList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEventList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEventList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEventList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.events.v1.EventList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEventList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventList;

KubeEventList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEventList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEventList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventList;

KubeEventList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEventList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEventList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventList;

KubeEventList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEventList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEventList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventList;

KubeEventList.manifest(KubeEventListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.events.v1.EventList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEventList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEventListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEventList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEventList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEventList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEventList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEventList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEventList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEventList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.events.v1.EventList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEventList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.events.v1.EventList".

---

### KubeEviction <a name="KubeEviction" id="cdk8s-plus-32.k8s.KubeEviction"></a>

Eviction evicts a pod from its node subject to certain policies and safety constraints.

This is a subresource of Pod.  A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeEviction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEviction;

KubeEviction.Builder.create(Construct scope, java.lang.String id)
//  .deleteOptions(DeleteOptions)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.deleteOptions">deleteOptions</a></code> | <code>org.cdk8s.plus32.k8s.DeleteOptions</code> | DeleteOptions may be provided. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | ObjectMeta describes the pod that is being evicted. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `deleteOptions`<sup>Optional</sup> <a name="deleteOptions" id="cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.deleteOptions"></a>

- *Type:* org.cdk8s.plus32.k8s.DeleteOptions

DeleteOptions may be provided.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEviction.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

ObjectMeta describes the pod that is being evicted.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeEviction.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeEviction.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeEviction.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeEviction.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeEviction.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeEviction.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeEviction.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeEviction.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.policy.v1.Eviction". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeEviction.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeEviction;

KubeEviction.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeEviction.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeEviction.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeEviction;

KubeEviction.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeEviction.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeEviction.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeEviction;

KubeEviction.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeEviction.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeEviction.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeEviction;

KubeEviction.manifest(),KubeEviction.manifest(KubeEvictionProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.policy.v1.Eviction".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeEviction.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeEvictionProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeEviction.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeEviction.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeEviction.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeEviction.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeEviction.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEviction.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeEviction.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEviction.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.policy.v1.Eviction". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeEviction.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.policy.v1.Eviction".

---

### KubeFlowSchema <a name="KubeFlowSchema" id="cdk8s-plus-32.k8s.KubeFlowSchema"></a>

FlowSchema defines the schema of a group of flows.

Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeFlowSchema.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchema;

KubeFlowSchema.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(FlowSchemaSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | `metadata` is the standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.FlowSchemaSpec</code> | `spec` is the specification of the desired behavior of a FlowSchema. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeFlowSchema.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.FlowSchemaSpec

`spec` is the specification of the desired behavior of a FlowSchema.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeFlowSchema.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeFlowSchema.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeFlowSchema.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeFlowSchema.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeFlowSchema.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeFlowSchema.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeFlowSchema.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeFlowSchema.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.FlowSchema". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeFlowSchema.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchema;

KubeFlowSchema.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeFlowSchema.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeFlowSchema.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchema;

KubeFlowSchema.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeFlowSchema.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeFlowSchema.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchema;

KubeFlowSchema.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeFlowSchema.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeFlowSchema.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchema;

KubeFlowSchema.manifest(),KubeFlowSchema.manifest(KubeFlowSchemaProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.FlowSchema".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeFlowSchema.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeFlowSchemaProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchema.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.FlowSchema". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeFlowSchema.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.FlowSchema".

---

### KubeFlowSchemaList <a name="KubeFlowSchemaList" id="cdk8s-plus-32.k8s.KubeFlowSchemaList"></a>

FlowSchemaList is a list of FlowSchema objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaList;

KubeFlowSchemaList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeFlowSchemaProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeFlowSchemaProps></code> | `items` is a list of FlowSchemas. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | `metadata` is the standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeFlowSchemaProps>

`items` is a list of FlowSchemas.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

`metadata` is the standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.FlowSchemaList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaList;

KubeFlowSchemaList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaList;

KubeFlowSchemaList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaList;

KubeFlowSchemaList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaList;

KubeFlowSchemaList.manifest(KubeFlowSchemaListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.FlowSchemaList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeFlowSchemaListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.FlowSchemaList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeFlowSchemaList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.FlowSchemaList".

---

### KubeHorizontalPodAutoscaler <a name="KubeHorizontalPodAutoscaler" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler"></a>

configuration of a horizontal pod autoscaler.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscaler;

KubeHorizontalPodAutoscaler.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(HorizontalPodAutoscalerSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpec</code> | spec defines the behaviour of autoscaler. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpec

spec defines the behaviour of autoscaler.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscaler;

KubeHorizontalPodAutoscaler.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscaler;

KubeHorizontalPodAutoscaler.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscaler;

KubeHorizontalPodAutoscaler.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscaler;

KubeHorizontalPodAutoscaler.manifest(),KubeHorizontalPodAutoscaler.manifest(KubeHorizontalPodAutoscalerProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscaler.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler".

---

### KubeHorizontalPodAutoscalerList <a name="KubeHorizontalPodAutoscalerList" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList"></a>

list of horizontal pod autoscaler objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerList;

KubeHorizontalPodAutoscalerList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeHorizontalPodAutoscalerProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps></code> | items is the list of horizontal pod autoscaler objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps>

items is the list of horizontal pod autoscaler objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerList;

KubeHorizontalPodAutoscalerList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerList;

KubeHorizontalPodAutoscalerList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerList;

KubeHorizontalPodAutoscalerList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerList;

KubeHorizontalPodAutoscalerList.manifest(KubeHorizontalPodAutoscalerListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.HorizontalPodAutoscalerList".

---

### KubeHorizontalPodAutoscalerListV2 <a name="KubeHorizontalPodAutoscalerListV2" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2"></a>

HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2;

KubeHorizontalPodAutoscalerListV2.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeHorizontalPodAutoscalerV2Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props></code> | items is the list of horizontal pod autoscaler objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | metadata is the standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props>

items is the list of horizontal pod autoscaler objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

metadata is the standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2;

KubeHorizontalPodAutoscalerListV2.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2;

KubeHorizontalPodAutoscalerListV2.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2;

KubeHorizontalPodAutoscalerListV2.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2;

KubeHorizontalPodAutoscalerListV2.manifest(KubeHorizontalPodAutoscalerListV2Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerList".

---

### KubeHorizontalPodAutoscalerV2 <a name="KubeHorizontalPodAutoscalerV2" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2"></a>

HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2;

KubeHorizontalPodAutoscalerV2.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(HorizontalPodAutoscalerSpecV2)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | metadata is the standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpecV2</code> | spec is the specification for the behaviour of the autoscaler. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

metadata is the standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpecV2

spec is the specification for the behaviour of the autoscaler.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2;

KubeHorizontalPodAutoscalerV2.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2;

KubeHorizontalPodAutoscalerV2.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2;

KubeHorizontalPodAutoscalerV2.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2;

KubeHorizontalPodAutoscalerV2.manifest(),KubeHorizontalPodAutoscalerV2.manifest(KubeHorizontalPodAutoscalerV2Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.autoscaling.v2.HorizontalPodAutoscaler".

---

### KubeIngress <a name="KubeIngress" id="cdk8s-plus-32.k8s.KubeIngress"></a>

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.

An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIngress.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngress;

KubeIngress.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(IngressSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IngressSpec</code> | spec is the desired state of the Ingress. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIngress.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.IngressSpec

spec is the desired state of the Ingress.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIngress.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIngress.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIngress.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIngress.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIngress.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIngress.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIngress.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIngress.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIngress.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngress;

KubeIngress.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIngress.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIngress.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngress;

KubeIngress.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIngress.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIngress.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngress;

KubeIngress.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIngress.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIngress.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngress;

KubeIngress.manifest(),KubeIngress.manifest(KubeIngressProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.Ingress".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIngress.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIngressProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIngress.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIngress.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIngress.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIngress.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIngress.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngress.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIngress.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngress.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.Ingress". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIngress.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.Ingress".

---

### KubeIngressClass <a name="KubeIngressClass" id="cdk8s-plus-32.k8s.KubeIngressClass"></a>

IngressClass represents the class of the Ingress, referenced by the Ingress Spec.

The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIngressClass.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClass;

KubeIngressClass.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(IngressClassSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IngressClassSpec</code> | spec is the desired state of the IngressClass. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIngressClass.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.IngressClassSpec

spec is the desired state of the IngressClass.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIngressClass.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIngressClass.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIngressClass.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIngressClass.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIngressClass.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIngressClass.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIngressClass.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIngressClass.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIngressClass.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClass;

KubeIngressClass.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIngressClass.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIngressClass.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClass;

KubeIngressClass.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIngressClass.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIngressClass.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClass;

KubeIngressClass.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIngressClass.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIngressClass.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClass;

KubeIngressClass.manifest(),KubeIngressClass.manifest(KubeIngressClassProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIngressClass.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIngressClassProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIngressClass.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIngressClass.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIngressClass.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIngressClass.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIngressClass.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClass.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIngressClass.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClass.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIngressClass.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressClass".

---

### KubeIngressClassList <a name="KubeIngressClassList" id="cdk8s-plus-32.k8s.KubeIngressClassList"></a>

IngressClassList is a collection of IngressClasses.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIngressClassList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassList;

KubeIngressClassList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeIngressClassProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIngressClassProps></code> | items is the list of IngressClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIngressClassProps>

items is the list of IngressClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClassList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIngressClassList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIngressClassList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIngressClassList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIngressClassList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIngressClassList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIngressClassList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIngressClassList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIngressClassList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIngressClassList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassList;

KubeIngressClassList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIngressClassList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIngressClassList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassList;

KubeIngressClassList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIngressClassList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIngressClassList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassList;

KubeIngressClassList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIngressClassList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIngressClassList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassList;

KubeIngressClassList.manifest(KubeIngressClassListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIngressClassList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIngressClassListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIngressClassList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressClassList".

---

### KubeIngressList <a name="KubeIngressList" id="cdk8s-plus-32.k8s.KubeIngressList"></a>

IngressList is a collection of Ingress.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIngressList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressList;

KubeIngressList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeIngressProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIngressProps></code> | items is the list of Ingress. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIngressProps>

items is the list of Ingress.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIngressList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIngressList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIngressList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIngressList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIngressList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIngressList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIngressList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIngressList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIngressList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressList;

KubeIngressList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIngressList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIngressList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressList;

KubeIngressList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIngressList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIngressList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressList;

KubeIngressList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIngressList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIngressList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressList;

KubeIngressList.manifest(KubeIngressListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.IngressList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIngressList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIngressListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIngressList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIngressList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIngressList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIngressList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIngressList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIngressList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIngressList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.IngressList".

---

### KubeIpAddressListV1Beta1 <a name="KubeIpAddressListV1Beta1" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1"></a>

IPAddressList contains a list of IPAddress.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1;

KubeIpAddressListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeIpAddressV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props></code> | items is the list of IPAddresses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props>

items is the list of IPAddresses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.IPAddressList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1;

KubeIpAddressListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1;

KubeIpAddressListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1;

KubeIpAddressListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1;

KubeIpAddressListV1Beta1.manifest(KubeIpAddressListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.IPAddressList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.IPAddressList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.IPAddressList".

---

### KubeIpAddressV1Beta1 <a name="KubeIpAddressV1Beta1" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1"></a>

IPAddress represents a single IP of a single IP Family.

The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1;

KubeIpAddressV1Beta1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(IpAddressSpecV1Beta1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IpAddressSpecV1Beta1</code> | spec is the desired state of the IPAddress. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.IpAddressSpecV1Beta1

spec is the desired state of the IPAddress.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.IPAddress". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1;

KubeIpAddressV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1;

KubeIpAddressV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1;

KubeIpAddressV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1;

KubeIpAddressV1Beta1.manifest(),KubeIpAddressV1Beta1.manifest(KubeIpAddressV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.IPAddress".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.IPAddress". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.IPAddress".

---

### KubeJob <a name="KubeJob" id="cdk8s-plus-32.k8s.KubeJob"></a>

Job represents the configuration of a single job.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeJob.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeJob;

KubeJob.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(JobSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.JobSpec</code> | Specification of the desired behavior of a job. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeJob.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.JobSpec

Specification of the desired behavior of a job.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeJob.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeJob.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeJob.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeJob.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeJob.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeJob.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeJob.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeJob.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.batch.v1.Job". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeJob.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeJob;

KubeJob.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeJob.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeJob.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeJob;

KubeJob.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeJob.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeJob.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeJob;

KubeJob.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeJob.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeJob.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeJob;

KubeJob.manifest(),KubeJob.manifest(KubeJobProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.batch.v1.Job".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeJob.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeJobProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeJob.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeJob.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeJob.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeJob.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeJob.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJob.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeJob.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJob.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.batch.v1.Job". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeJob.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.batch.v1.Job".

---

### KubeJobList <a name="KubeJobList" id="cdk8s-plus-32.k8s.KubeJobList"></a>

JobList is a collection of jobs.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeJobList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobList;

KubeJobList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeJobProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeJobProps></code> | items is the list of Jobs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeJobProps>

items is the list of Jobs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJobList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeJobList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeJobList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeJobList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeJobList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeJobList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeJobList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeJobList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeJobList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.batch.v1.JobList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeJobList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobList;

KubeJobList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeJobList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeJobList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobList;

KubeJobList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeJobList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeJobList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobList;

KubeJobList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeJobList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeJobList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobList;

KubeJobList.manifest(KubeJobListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.batch.v1.JobList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeJobList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeJobListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeJobList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeJobList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeJobList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeJobList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeJobList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJobList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeJobList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.batch.v1.JobList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeJobList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.batch.v1.JobList".

---

### KubeLease <a name="KubeLease" id="cdk8s-plus-32.k8s.KubeLease"></a>

Lease defines a lease concept.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLease.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLease;

KubeLease.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(LeaseSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LeaseSpec</code> | spec contains the specification of the Lease. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLease.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.LeaseSpec

spec contains the specification of the Lease.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLease.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLease.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLease.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLease.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLease.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLease.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLease.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLease.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.Lease". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLease.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLease;

KubeLease.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLease.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLease.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLease;

KubeLease.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLease.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLease.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLease;

KubeLease.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLease.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLease.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLease;

KubeLease.manifest(),KubeLease.manifest(KubeLeaseProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.Lease".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLease.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLeaseProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLease.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLease.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLease.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLease.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLease.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLease.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLease.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLease.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.coordination.v1.Lease". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLease.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.coordination.v1.Lease".

---

### KubeLeaseCandidateListV1Alpha2 <a name="KubeLeaseCandidateListV1Alpha2" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2"></a>

LeaseCandidateList is a list of Lease objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2;

KubeLeaseCandidateListV1Alpha2.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeLeaseCandidateV1Alpha2Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.coordination.v1alpha2.LeaseCandidateList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2;

KubeLeaseCandidateListV1Alpha2.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2;

KubeLeaseCandidateListV1Alpha2.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2;

KubeLeaseCandidateListV1Alpha2.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2;

KubeLeaseCandidateListV1Alpha2.manifest(KubeLeaseCandidateListV1Alpha2Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.coordination.v1alpha2.LeaseCandidateList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.coordination.v1alpha2.LeaseCandidateList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.coordination.v1alpha2.LeaseCandidateList".

---

### KubeLeaseCandidateV1Alpha2 <a name="KubeLeaseCandidateV1Alpha2" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2"></a>

LeaseCandidate defines a candidate for a Lease object.

Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2;

KubeLeaseCandidateV1Alpha2.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(LeaseCandidateSpecV1Alpha2)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LeaseCandidateSpecV1Alpha2</code> | spec contains the specification of the Lease. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.LeaseCandidateSpecV1Alpha2

spec contains the specification of the Lease.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.coordination.v1alpha2.LeaseCandidate". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2;

KubeLeaseCandidateV1Alpha2.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2;

KubeLeaseCandidateV1Alpha2.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2;

KubeLeaseCandidateV1Alpha2.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2;

KubeLeaseCandidateV1Alpha2.manifest(),KubeLeaseCandidateV1Alpha2.manifest(KubeLeaseCandidateV1Alpha2Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.coordination.v1alpha2.LeaseCandidate".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.coordination.v1alpha2.LeaseCandidate". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.coordination.v1alpha2.LeaseCandidate".

---

### KubeLeaseList <a name="KubeLeaseList" id="cdk8s-plus-32.k8s.KubeLeaseList"></a>

LeaseList is a list of Lease objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLeaseList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseList;

KubeLeaseList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeLeaseProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLeaseProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLeaseProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLeaseList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLeaseList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLeaseList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLeaseList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLeaseList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLeaseList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLeaseList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLeaseList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.LeaseList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLeaseList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseList;

KubeLeaseList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLeaseList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLeaseList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseList;

KubeLeaseList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLeaseList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLeaseList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseList;

KubeLeaseList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLeaseList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLeaseList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseList;

KubeLeaseList.manifest(KubeLeaseListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.coordination.v1.LeaseList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLeaseList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLeaseListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLeaseList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLeaseList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLeaseList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLeaseList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLeaseList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLeaseList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.coordination.v1.LeaseList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLeaseList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.coordination.v1.LeaseList".

---

### KubeLimitRange <a name="KubeLimitRange" id="cdk8s-plus-32.k8s.KubeLimitRange"></a>

LimitRange sets resource usage limits for each kind of resource in a Namespace.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLimitRange.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRange;

KubeLimitRange.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(LimitRangeSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LimitRangeSpec</code> | Spec defines the limits enforced. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLimitRange.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.LimitRangeSpec

Spec defines the limits enforced.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLimitRange.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLimitRange.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLimitRange.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLimitRange.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLimitRange.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLimitRange.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLimitRange.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLimitRange.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLimitRange.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRange;

KubeLimitRange.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLimitRange.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLimitRange.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRange;

KubeLimitRange.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLimitRange.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLimitRange.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRange;

KubeLimitRange.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLimitRange.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLimitRange.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRange;

KubeLimitRange.manifest(),KubeLimitRange.manifest(KubeLimitRangeProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLimitRange.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLimitRangeProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLimitRange.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLimitRange.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLimitRange.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLimitRange.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLimitRange.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRange.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLimitRange.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRange.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.LimitRange". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLimitRange.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.LimitRange".

---

### KubeLimitRangeList <a name="KubeLimitRangeList" id="cdk8s-plus-32.k8s.KubeLimitRangeList"></a>

LimitRangeList is a list of LimitRange items.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeList;

KubeLimitRangeList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeLimitRangeProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLimitRangeProps></code> | Items is a list of LimitRange objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLimitRangeProps>

Items is a list of LimitRange objects.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRangeList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLimitRangeList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLimitRangeList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLimitRangeList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLimitRangeList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLimitRangeList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLimitRangeList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLimitRangeList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLimitRangeList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRangeList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLimitRangeList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeList;

KubeLimitRangeList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLimitRangeList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLimitRangeList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeList;

KubeLimitRangeList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLimitRangeList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLimitRangeList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeList;

KubeLimitRangeList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLimitRangeList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLimitRangeList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeList;

KubeLimitRangeList.manifest(KubeLimitRangeListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRangeList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLimitRangeList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLimitRangeListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.LimitRangeList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLimitRangeList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.LimitRangeList".

---

### KubeLocalSubjectAccessReview <a name="KubeLocalSubjectAccessReview" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview"></a>

LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.

Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReview;

KubeLocalSubjectAccessReview.Builder.create(Construct scope, java.lang.String id)
    .spec(SubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.SubjectAccessReviewSpec

Spec holds information about the request being evaluated.

spec.namespace must be equal to the namespace you made the request against.  If empty, it is defaulted.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.LocalSubjectAccessReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReview;

KubeLocalSubjectAccessReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReview;

KubeLocalSubjectAccessReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReview;

KubeLocalSubjectAccessReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReview;

KubeLocalSubjectAccessReview.manifest(KubeLocalSubjectAccessReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.LocalSubjectAccessReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authorization.v1.LocalSubjectAccessReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authorization.v1.LocalSubjectAccessReview".

---

### KubeMutatingAdmissionPolicyBindingListV1Alpha1 <a name="KubeMutatingAdmissionPolicyBindingListV1Alpha1" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1"></a>

MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1;

KubeMutatingAdmissionPolicyBindingListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeMutatingAdmissionPolicyBindingV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1;

KubeMutatingAdmissionPolicyBindingListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1;

KubeMutatingAdmissionPolicyBindingListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1;

KubeMutatingAdmissionPolicyBindingListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1;

KubeMutatingAdmissionPolicyBindingListV1Alpha1.manifest(KubeMutatingAdmissionPolicyBindingListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBindingList".

---

### KubeMutatingAdmissionPolicyBindingV1Alpha1 <a name="KubeMutatingAdmissionPolicyBindingV1Alpha1" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1"></a>

MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.

MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).

Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1;

KubeMutatingAdmissionPolicyBindingV1Alpha1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(MutatingAdmissionPolicyBindingSpecV1Alpha1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1</code> | Specification of the desired behavior of the MutatingAdmissionPolicyBinding. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1

Specification of the desired behavior of the MutatingAdmissionPolicyBinding.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1;

KubeMutatingAdmissionPolicyBindingV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1;

KubeMutatingAdmissionPolicyBindingV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1;

KubeMutatingAdmissionPolicyBindingV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1;

KubeMutatingAdmissionPolicyBindingV1Alpha1.manifest(),KubeMutatingAdmissionPolicyBindingV1Alpha1.manifest(KubeMutatingAdmissionPolicyBindingV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyBinding".

---

### KubeMutatingAdmissionPolicyListV1Alpha1 <a name="KubeMutatingAdmissionPolicyListV1Alpha1" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1"></a>

MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1;

KubeMutatingAdmissionPolicyListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeMutatingAdmissionPolicyV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1;

KubeMutatingAdmissionPolicyListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1;

KubeMutatingAdmissionPolicyListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1;

KubeMutatingAdmissionPolicyListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1;

KubeMutatingAdmissionPolicyListV1Alpha1.manifest(KubeMutatingAdmissionPolicyListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicyList".

---

### KubeMutatingAdmissionPolicyV1Alpha1 <a name="KubeMutatingAdmissionPolicyV1Alpha1" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1"></a>

MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1;

KubeMutatingAdmissionPolicyV1Alpha1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(MutatingAdmissionPolicySpecV1Alpha1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.MutatingAdmissionPolicySpecV1Alpha1</code> | Specification of the desired behavior of the MutatingAdmissionPolicy. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.MutatingAdmissionPolicySpecV1Alpha1

Specification of the desired behavior of the MutatingAdmissionPolicy.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1;

KubeMutatingAdmissionPolicyV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1;

KubeMutatingAdmissionPolicyV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1;

KubeMutatingAdmissionPolicyV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1;

KubeMutatingAdmissionPolicyV1Alpha1.manifest(),KubeMutatingAdmissionPolicyV1Alpha1.manifest(KubeMutatingAdmissionPolicyV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1alpha1.MutatingAdmissionPolicy".

---

### KubeMutatingWebhookConfiguration <a name="KubeMutatingWebhookConfiguration" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration"></a>

MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfiguration;

KubeMutatingWebhookConfiguration.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .webhooks(java.util.List<MutatingWebhook>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.webhooks">webhooks</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MutatingWebhook></code> | Webhooks is a list of webhooks and the affected resources and operations. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `webhooks`<sup>Optional</sup> <a name="webhooks" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.Initializer.parameter.webhooks"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MutatingWebhook>

Webhooks is a list of webhooks and the affected resources and operations.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfiguration;

KubeMutatingWebhookConfiguration.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfiguration;

KubeMutatingWebhookConfiguration.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfiguration;

KubeMutatingWebhookConfiguration.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfiguration;

KubeMutatingWebhookConfiguration.manifest(),KubeMutatingWebhookConfiguration.manifest(KubeMutatingWebhookConfigurationProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfiguration.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration".

---

### KubeMutatingWebhookConfigurationList <a name="KubeMutatingWebhookConfigurationList" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList"></a>

MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationList;

KubeMutatingWebhookConfigurationList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeMutatingWebhookConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps></code> | List of MutatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps>

List of MutatingWebhookConfiguration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationList;

KubeMutatingWebhookConfigurationList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationList;

KubeMutatingWebhookConfigurationList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationList;

KubeMutatingWebhookConfigurationList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationList;

KubeMutatingWebhookConfigurationList.manifest(KubeMutatingWebhookConfigurationListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.MutatingWebhookConfigurationList".

---

### KubeNamespace <a name="KubeNamespace" id="cdk8s-plus-32.k8s.KubeNamespace"></a>

Namespace provides a scope for Names.

Use of multiple namespaces is optional.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNamespace.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespace;

KubeNamespace.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(NamespaceSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NamespaceSpec</code> | Spec defines the behavior of the Namespace. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNamespace.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.NamespaceSpec

Spec defines the behavior of the Namespace.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNamespace.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNamespace.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNamespace.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNamespace.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNamespace.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNamespace.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNamespace.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNamespace.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Namespace". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNamespace.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespace;

KubeNamespace.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNamespace.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNamespace.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespace;

KubeNamespace.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNamespace.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNamespace.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespace;

KubeNamespace.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNamespace.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNamespace.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespace;

KubeNamespace.manifest(),KubeNamespace.manifest(KubeNamespaceProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Namespace".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNamespace.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNamespaceProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNamespace.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNamespace.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNamespace.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNamespace.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNamespace.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespace.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNamespace.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespace.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Namespace". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNamespace.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Namespace".

---

### KubeNamespaceList <a name="KubeNamespaceList" id="cdk8s-plus-32.k8s.KubeNamespaceList"></a>

NamespaceList is a list of Namespaces.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNamespaceList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceList;

KubeNamespaceList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeNamespaceProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNamespaceProps></code> | Items is the list of Namespace objects in the list. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNamespaceProps>

Items is the list of Namespace objects in the list.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespaceList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNamespaceList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNamespaceList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNamespaceList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNamespaceList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNamespaceList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNamespaceList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNamespaceList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNamespaceList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.NamespaceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNamespaceList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceList;

KubeNamespaceList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNamespaceList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNamespaceList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceList;

KubeNamespaceList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNamespaceList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNamespaceList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceList;

KubeNamespaceList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNamespaceList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNamespaceList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceList;

KubeNamespaceList.manifest(KubeNamespaceListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.NamespaceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNamespaceList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNamespaceListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.NamespaceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNamespaceList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.NamespaceList".

---

### KubeNetworkPolicy <a name="KubeNetworkPolicy" id="cdk8s-plus-32.k8s.KubeNetworkPolicy"></a>

NetworkPolicy describes what network traffic is allowed for a set of Pods.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicy;

KubeNetworkPolicy.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(NetworkPolicySpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NetworkPolicySpec</code> | spec represents the specification of the desired behavior for this NetworkPolicy. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.NetworkPolicySpec

spec represents the specification of the desired behavior for this NetworkPolicy.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.NetworkPolicy". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicy;

KubeNetworkPolicy.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicy;

KubeNetworkPolicy.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicy;

KubeNetworkPolicy.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicy;

KubeNetworkPolicy.manifest(),KubeNetworkPolicy.manifest(KubeNetworkPolicyProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.NetworkPolicy".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNetworkPolicyProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicy.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.NetworkPolicy". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNetworkPolicy.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.NetworkPolicy".

---

### KubeNetworkPolicyList <a name="KubeNetworkPolicyList" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList"></a>

NetworkPolicyList is a list of NetworkPolicy objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyList;

KubeNetworkPolicyList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeNetworkPolicyProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNetworkPolicyProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNetworkPolicyProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1.NetworkPolicyList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyList;

KubeNetworkPolicyList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyList;

KubeNetworkPolicyList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyList;

KubeNetworkPolicyList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyList;

KubeNetworkPolicyList.manifest(KubeNetworkPolicyListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1.NetworkPolicyList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNetworkPolicyListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1.NetworkPolicyList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNetworkPolicyList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1.NetworkPolicyList".

---

### KubeNode <a name="KubeNode" id="cdk8s-plus-32.k8s.KubeNode"></a>

Node is a worker node in Kubernetes.

Each node will have a unique identifier in the cache (i.e. in etcd).

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNode.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNode;

KubeNode.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(NodeSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NodeSpec</code> | Spec defines the behavior of a node. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNode.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.NodeSpec

Spec defines the behavior of a node.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNode.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNode.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNode.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNode.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNode.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNode.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNode.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNode.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Node". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNode.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNode;

KubeNode.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNode.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNode.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNode;

KubeNode.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNode.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNode.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNode;

KubeNode.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNode.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNode.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNode;

KubeNode.manifest(),KubeNode.manifest(KubeNodeProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Node".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNode.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNodeProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNode.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNode.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNode.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNode.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNode.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNode.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNode.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNode.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Node". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNode.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Node".

---

### KubeNodeList <a name="KubeNodeList" id="cdk8s-plus-32.k8s.KubeNodeList"></a>

NodeList is the whole list of all Nodes which have been registered with master.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeNodeList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeList;

KubeNodeList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeNodeProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNodeProps></code> | List of nodes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNodeProps>

List of nodes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNodeList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeNodeList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeNodeList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeNodeList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeNodeList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeNodeList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeNodeList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeNodeList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeNodeList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.NodeList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeNodeList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeList;

KubeNodeList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeNodeList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeNodeList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeList;

KubeNodeList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeNodeList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeNodeList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeList;

KubeNodeList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeNodeList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeNodeList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeList;

KubeNodeList.manifest(KubeNodeListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.NodeList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeNodeList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeNodeListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeNodeList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeNodeList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeNodeList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeNodeList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeNodeList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNodeList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeNodeList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.NodeList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeNodeList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.NodeList".

---

### KubePersistentVolume <a name="KubePersistentVolume" id="cdk8s-plus-32.k8s.KubePersistentVolume"></a>

PersistentVolume (PV) is a storage resource provisioned by an administrator.

It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePersistentVolume.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolume;

KubePersistentVolume.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(PersistentVolumeSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeSpec</code> | spec defines a specification of a persistent volume owned by the cluster. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePersistentVolume.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeSpec

spec defines a specification of a persistent volume owned by the cluster.

Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePersistentVolume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePersistentVolume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePersistentVolume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePersistentVolume.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePersistentVolume.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePersistentVolume.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePersistentVolume.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePersistentVolume.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolume". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePersistentVolume.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolume;

KubePersistentVolume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePersistentVolume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePersistentVolume.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolume;

KubePersistentVolume.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePersistentVolume.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePersistentVolume.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolume;

KubePersistentVolume.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePersistentVolume.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePersistentVolume.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolume;

KubePersistentVolume.manifest(),KubePersistentVolume.manifest(KubePersistentVolumeProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolume".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePersistentVolume.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePersistentVolumeProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolume.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolume". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePersistentVolume.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolume".

---

### KubePersistentVolumeClaim <a name="KubePersistentVolumeClaim" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim"></a>

PersistentVolumeClaim is a user's request for and claim to a persistent volume.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaim;

KubePersistentVolumeClaim.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(PersistentVolumeClaimSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec</code> | spec defines the desired characteristics of a volume requested by a pod author. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec

spec defines the desired characteristics of a volume requested by a pod author.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeClaim". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaim;

KubePersistentVolumeClaim.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaim;

KubePersistentVolumeClaim.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaim;

KubePersistentVolumeClaim.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaim;

KubePersistentVolumeClaim.manifest(),KubePersistentVolumeClaim.manifest(KubePersistentVolumeClaimProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeClaim".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeClaim". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaim.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeClaim".

---

### KubePersistentVolumeClaimList <a name="KubePersistentVolumeClaimList" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList"></a>

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimList;

KubePersistentVolumeClaimList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePersistentVolumeClaimProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps></code> | items is a list of persistent volume claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps>

items is a list of persistent volume claims.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeClaimList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimList;

KubePersistentVolumeClaimList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimList;

KubePersistentVolumeClaimList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimList;

KubePersistentVolumeClaimList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimList;

KubePersistentVolumeClaimList.manifest(KubePersistentVolumeClaimListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeClaimList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePersistentVolumeClaimListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeClaimList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeClaimList".

---

### KubePersistentVolumeList <a name="KubePersistentVolumeList" id="cdk8s-plus-32.k8s.KubePersistentVolumeList"></a>

PersistentVolumeList is a list of PersistentVolume items.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeList;

KubePersistentVolumeList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePersistentVolumeProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeProps></code> | items is a list of persistent volumes. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeProps>

items is a list of persistent volumes.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeList;

KubePersistentVolumeList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeList;

KubePersistentVolumeList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeList;

KubePersistentVolumeList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeList;

KubePersistentVolumeList.manifest(KubePersistentVolumeListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PersistentVolumeList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePersistentVolumeListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePersistentVolumeList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PersistentVolumeList".

---

### KubePod <a name="KubePod" id="cdk8s-plus-32.k8s.KubePod"></a>

Pod is a collection of containers that can run on a host.

This resource is created by clients and scheduled onto hosts.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePod.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePod;

KubePod.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(PodSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PodSpec</code> | Specification of the desired behavior of the pod. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePod.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePod.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePod.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePod.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.PodSpec

Specification of the desired behavior of the pod.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePod.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePod.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePod.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePod.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePod.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePod.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePod.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePod.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePod.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePod;

KubePod.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePod.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePod.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePod;

KubePod.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePod.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePod.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePod;

KubePod.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePod.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePod.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePod;

KubePod.manifest(),KubePod.manifest(KubePodProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePod.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePod.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePod.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePod.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePod.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePod.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePod.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePod.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePod.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Pod". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePod.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Pod".

---

### KubePodDisruptionBudget <a name="KubePodDisruptionBudget" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget"></a>

PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudget;

KubePodDisruptionBudget.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(PodDisruptionBudgetSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PodDisruptionBudgetSpec</code> | Specification of the desired behavior of the PodDisruptionBudget. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.PodDisruptionBudgetSpec

Specification of the desired behavior of the PodDisruptionBudget.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.policy.v1.PodDisruptionBudget". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudget;

KubePodDisruptionBudget.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudget;

KubePodDisruptionBudget.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudget;

KubePodDisruptionBudget.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudget;

KubePodDisruptionBudget.manifest(),KubePodDisruptionBudget.manifest(KubePodDisruptionBudgetProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.policy.v1.PodDisruptionBudget".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.policy.v1.PodDisruptionBudget". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePodDisruptionBudget.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.policy.v1.PodDisruptionBudget".

---

### KubePodDisruptionBudgetList <a name="KubePodDisruptionBudgetList" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList"></a>

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetList;

KubePodDisruptionBudgetList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePodDisruptionBudgetProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps></code> | Items is a list of PodDisruptionBudgets. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps>

Items is a list of PodDisruptionBudgets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.policy.v1.PodDisruptionBudgetList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetList;

KubePodDisruptionBudgetList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetList;

KubePodDisruptionBudgetList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetList;

KubePodDisruptionBudgetList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetList;

KubePodDisruptionBudgetList.manifest(KubePodDisruptionBudgetListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.policy.v1.PodDisruptionBudgetList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodDisruptionBudgetListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.policy.v1.PodDisruptionBudgetList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.policy.v1.PodDisruptionBudgetList".

---

### KubePodList <a name="KubePodList" id="cdk8s-plus-32.k8s.KubePodList"></a>

PodList is a list of Pods.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePodList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodList;

KubePodList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePodProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodProps></code> | List of pods. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodProps>

List of pods.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePodList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePodList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePodList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePodList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePodList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePodList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePodList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePodList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePodList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePodList;

KubePodList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePodList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePodList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePodList;

KubePodList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePodList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePodList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePodList;

KubePodList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePodList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePodList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePodList;

KubePodList.manifest(KubePodListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePodList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePodList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePodList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePodList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePodList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePodList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePodList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PodList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePodList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PodList".

---

### KubePodTemplate <a name="KubePodTemplate" id="cdk8s-plus-32.k8s.KubePodTemplate"></a>

PodTemplate describes a template for creating copies of a predefined pod.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePodTemplate.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplate;

KubePodTemplate.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .template(PodTemplateSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Template defines the pods that will be created from this pod template. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `template`<sup>Optional</sup> <a name="template" id="cdk8s-plus-32.k8s.KubePodTemplate.Initializer.parameter.template"></a>

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Template defines the pods that will be created from this pod template.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePodTemplate.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePodTemplate.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePodTemplate.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePodTemplate.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePodTemplate.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePodTemplate.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePodTemplate.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePodTemplate.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodTemplate". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePodTemplate.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplate;

KubePodTemplate.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePodTemplate.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePodTemplate.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplate;

KubePodTemplate.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePodTemplate.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePodTemplate.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplate;

KubePodTemplate.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePodTemplate.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePodTemplate.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplate;

KubePodTemplate.manifest(),KubePodTemplate.manifest(KubePodTemplateProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodTemplate".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePodTemplate.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodTemplateProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePodTemplate.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePodTemplate.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePodTemplate.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePodTemplate.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePodTemplate.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplate.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePodTemplate.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplate.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PodTemplate". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePodTemplate.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PodTemplate".

---

### KubePodTemplateList <a name="KubePodTemplateList" id="cdk8s-plus-32.k8s.KubePodTemplateList"></a>

PodTemplateList is a list of PodTemplates.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePodTemplateList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateList;

KubePodTemplateList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePodTemplateProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodTemplateProps></code> | List of pod templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodTemplateProps>

List of pod templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplateList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePodTemplateList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePodTemplateList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePodTemplateList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePodTemplateList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePodTemplateList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePodTemplateList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePodTemplateList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePodTemplateList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodTemplateList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePodTemplateList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateList;

KubePodTemplateList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePodTemplateList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePodTemplateList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateList;

KubePodTemplateList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePodTemplateList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePodTemplateList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateList;

KubePodTemplateList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePodTemplateList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePodTemplateList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateList;

KubePodTemplateList.manifest(KubePodTemplateListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.PodTemplateList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePodTemplateList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePodTemplateListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.PodTemplateList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePodTemplateList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.PodTemplateList".

---

### KubePriorityClass <a name="KubePriorityClass" id="cdk8s-plus-32.k8s.KubePriorityClass"></a>

PriorityClass defines mapping from a priority class name to the priority integer value.

The value can be any valid integer.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClass;

KubePriorityClass.Builder.create(Construct scope, java.lang.String id)
    .value(java.lang.Number)
//  .description(java.lang.String)
//  .globalDefault(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .preemptionPolicy(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.value">value</a></code> | <code>java.lang.Number</code> | value represents the integer value of this priority class. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.description">description</a></code> | <code>java.lang.String</code> | description is an arbitrary string that usually provides guidelines on when this priority class should be used. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.globalDefault">globalDefault</a></code> | <code>java.lang.Boolean</code> | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.preemptionPolicy">preemptionPolicy</a></code> | <code>java.lang.String</code> | preemptionPolicy is the Policy for preempting pods with lower priority. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.value"></a>

- *Type:* java.lang.Number

value represents the integer value of this priority class.

This is the actual priority that pods receive when they have the name of this class in their pod spec.

---

##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.description"></a>

- *Type:* java.lang.String

description is an arbitrary string that usually provides guidelines on when this priority class should be used.

---

##### `globalDefault`<sup>Optional</sup> <a name="globalDefault" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.globalDefault"></a>

- *Type:* java.lang.Boolean

globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.

Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `preemptionPolicy`<sup>Optional</sup> <a name="preemptionPolicy" id="cdk8s-plus-32.k8s.KubePriorityClass.Initializer.parameter.preemptionPolicy"></a>

- *Type:* java.lang.String
- *Default:* PreemptLowerPriority if unset.

preemptionPolicy is the Policy for preempting pods with lower priority.

One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePriorityClass.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePriorityClass.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePriorityClass.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePriorityClass.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePriorityClass.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePriorityClass.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePriorityClass.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePriorityClass.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.scheduling.v1.PriorityClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePriorityClass.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClass;

KubePriorityClass.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePriorityClass.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePriorityClass.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClass;

KubePriorityClass.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePriorityClass.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePriorityClass.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClass;

KubePriorityClass.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePriorityClass.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePriorityClass.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClass;

KubePriorityClass.manifest(KubePriorityClassProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.scheduling.v1.PriorityClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePriorityClass.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePriorityClassProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePriorityClass.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePriorityClass.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePriorityClass.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePriorityClass.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePriorityClass.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClass.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePriorityClass.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClass.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.scheduling.v1.PriorityClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePriorityClass.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.scheduling.v1.PriorityClass".

---

### KubePriorityClassList <a name="KubePriorityClassList" id="cdk8s-plus-32.k8s.KubePriorityClassList"></a>

PriorityClassList is a collection of priority classes.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePriorityClassList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassList;

KubePriorityClassList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePriorityClassProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePriorityClassProps></code> | items is the list of PriorityClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePriorityClassProps>

items is the list of PriorityClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClassList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePriorityClassList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePriorityClassList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePriorityClassList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePriorityClassList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePriorityClassList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePriorityClassList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePriorityClassList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePriorityClassList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.scheduling.v1.PriorityClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePriorityClassList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassList;

KubePriorityClassList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePriorityClassList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePriorityClassList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassList;

KubePriorityClassList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePriorityClassList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePriorityClassList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassList;

KubePriorityClassList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePriorityClassList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePriorityClassList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassList;

KubePriorityClassList.manifest(KubePriorityClassListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.scheduling.v1.PriorityClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePriorityClassList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePriorityClassListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.scheduling.v1.PriorityClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePriorityClassList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.scheduling.v1.PriorityClassList".

---

### KubePriorityLevelConfiguration <a name="KubePriorityLevelConfiguration" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration"></a>

PriorityLevelConfiguration represents the configuration of a priority level.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfiguration;

KubePriorityLevelConfiguration.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(PriorityLevelConfigurationSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | `metadata` is the standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PriorityLevelConfigurationSpec</code> | `spec` is the specification of the desired behavior of a "request-priority". |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.PriorityLevelConfigurationSpec

`spec` is the specification of the desired behavior of a "request-priority".

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfiguration;

KubePriorityLevelConfiguration.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfiguration;

KubePriorityLevelConfiguration.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfiguration;

KubePriorityLevelConfiguration.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfiguration;

KubePriorityLevelConfiguration.manifest(),KubePriorityLevelConfiguration.manifest(KubePriorityLevelConfigurationProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePriorityLevelConfiguration.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration".

---

### KubePriorityLevelConfigurationList <a name="KubePriorityLevelConfigurationList" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList"></a>

PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationList;

KubePriorityLevelConfigurationList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubePriorityLevelConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps></code> | `items` is a list of request-priorities. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | `metadata` is the standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps>

`items` is a list of request-priorities.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationList;

KubePriorityLevelConfigurationList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationList;

KubePriorityLevelConfigurationList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationList;

KubePriorityLevelConfigurationList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationList;

KubePriorityLevelConfigurationList.manifest(KubePriorityLevelConfigurationListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList".

---

### KubeReplicaSet <a name="KubeReplicaSet" id="cdk8s-plus-32.k8s.KubeReplicaSet"></a>

ReplicaSet ensures that a specified number of pod replicas are running at any given time.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeReplicaSet.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSet;

KubeReplicaSet.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ReplicaSetSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ReplicaSetSpec</code> | Spec defines the specification of the desired behavior of the ReplicaSet. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages.

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeReplicaSet.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ReplicaSetSpec

Spec defines the specification of the desired behavior of the ReplicaSet.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeReplicaSet.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeReplicaSet.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeReplicaSet.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeReplicaSet.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeReplicaSet.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeReplicaSet.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeReplicaSet.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeReplicaSet.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSet". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeReplicaSet.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSet;

KubeReplicaSet.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeReplicaSet.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeReplicaSet.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSet;

KubeReplicaSet.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeReplicaSet.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeReplicaSet.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSet;

KubeReplicaSet.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeReplicaSet.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeReplicaSet.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSet;

KubeReplicaSet.manifest(),KubeReplicaSet.manifest(KubeReplicaSetProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSet".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeReplicaSet.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeReplicaSetProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSet.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSet". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeReplicaSet.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSet".

---

### KubeReplicaSetList <a name="KubeReplicaSetList" id="cdk8s-plus-32.k8s.KubeReplicaSetList"></a>

ReplicaSetList is a collection of ReplicaSets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetList;

KubeReplicaSetList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeReplicaSetProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeReplicaSetProps></code> | List of ReplicaSets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeReplicaSetProps>

List of ReplicaSets.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSetList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeReplicaSetList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeReplicaSetList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeReplicaSetList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeReplicaSetList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeReplicaSetList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeReplicaSetList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeReplicaSetList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeReplicaSetList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSetList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeReplicaSetList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetList;

KubeReplicaSetList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeReplicaSetList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeReplicaSetList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetList;

KubeReplicaSetList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeReplicaSetList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeReplicaSetList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetList;

KubeReplicaSetList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeReplicaSetList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeReplicaSetList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetList;

KubeReplicaSetList.manifest(KubeReplicaSetListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.ReplicaSetList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeReplicaSetList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeReplicaSetListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSetList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeReplicaSetList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.ReplicaSetList".

---

### KubeReplicationController <a name="KubeReplicationController" id="cdk8s-plus-32.k8s.KubeReplicationController"></a>

ReplicationController represents the configuration of a replication controller.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeReplicationController.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationController;

KubeReplicationController.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ReplicationControllerSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ReplicationControllerSpec</code> | Spec defines the specification of the desired behavior of the replication controller. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages.

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeReplicationController.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ReplicationControllerSpec

Spec defines the specification of the desired behavior of the replication controller.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeReplicationController.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeReplicationController.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeReplicationController.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeReplicationController.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeReplicationController.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeReplicationController.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeReplicationController.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeReplicationController.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ReplicationController". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeReplicationController.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationController;

KubeReplicationController.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeReplicationController.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeReplicationController.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationController;

KubeReplicationController.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeReplicationController.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeReplicationController.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationController;

KubeReplicationController.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeReplicationController.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeReplicationController.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationController;

KubeReplicationController.manifest(),KubeReplicationController.manifest(KubeReplicationControllerProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ReplicationController".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeReplicationController.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeReplicationControllerProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeReplicationController.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeReplicationController.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeReplicationController.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeReplicationController.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeReplicationController.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationController.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeReplicationController.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationController.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ReplicationController". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeReplicationController.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ReplicationController".

---

### KubeReplicationControllerList <a name="KubeReplicationControllerList" id="cdk8s-plus-32.k8s.KubeReplicationControllerList"></a>

ReplicationControllerList is a collection of replication controllers.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerList;

KubeReplicationControllerList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeReplicationControllerProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeReplicationControllerProps></code> | List of replication controllers. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeReplicationControllerProps>

List of replication controllers.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ReplicationControllerList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerList;

KubeReplicationControllerList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerList;

KubeReplicationControllerList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerList;

KubeReplicationControllerList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerList;

KubeReplicationControllerList.manifest(KubeReplicationControllerListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ReplicationControllerList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeReplicationControllerListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ReplicationControllerList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeReplicationControllerList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ReplicationControllerList".

---

### KubeResourceClaimListV1Alpha3 <a name="KubeResourceClaimListV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3"></a>

ResourceClaimList is a collection of claims.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3;

KubeResourceClaimListV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceClaimV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props></code> | Items is the list of resource claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props>

Items is the list of resource claims.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3;

KubeResourceClaimListV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3;

KubeResourceClaimListV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3;

KubeResourceClaimListV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3;

KubeResourceClaimListV1Alpha3.manifest(KubeResourceClaimListV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimList".

---

### KubeResourceClaimListV1Beta1 <a name="KubeResourceClaimListV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1"></a>

ResourceClaimList is a collection of claims.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1;

KubeResourceClaimListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceClaimV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props></code> | Items is the list of resource claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props>

Items is the list of resource claims.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1;

KubeResourceClaimListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1;

KubeResourceClaimListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1;

KubeResourceClaimListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1;

KubeResourceClaimListV1Beta1.manifest(KubeResourceClaimListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimList".

---

### KubeResourceClaimTemplateListV1Alpha3 <a name="KubeResourceClaimTemplateListV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3"></a>

ResourceClaimTemplateList is a collection of claim templates.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3;

KubeResourceClaimTemplateListV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceClaimTemplateV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props></code> | Items is the list of resource claim templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props>

Items is the list of resource claim templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3;

KubeResourceClaimTemplateListV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3;

KubeResourceClaimTemplateListV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3;

KubeResourceClaimTemplateListV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3;

KubeResourceClaimTemplateListV1Alpha3.manifest(KubeResourceClaimTemplateListV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplateList".

---

### KubeResourceClaimTemplateListV1Beta1 <a name="KubeResourceClaimTemplateListV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1"></a>

ResourceClaimTemplateList is a collection of claim templates.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1;

KubeResourceClaimTemplateListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceClaimTemplateV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props></code> | Items is the list of resource claim templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props>

Items is the list of resource claim templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimTemplateList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1;

KubeResourceClaimTemplateListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1;

KubeResourceClaimTemplateListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1;

KubeResourceClaimTemplateListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1;

KubeResourceClaimTemplateListV1Beta1.manifest(KubeResourceClaimTemplateListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimTemplateList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimTemplateList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimTemplateList".

---

### KubeResourceClaimTemplateV1Alpha3 <a name="KubeResourceClaimTemplateV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3"></a>

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3;

KubeResourceClaimTemplateV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceClaimTemplateSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Alpha3</code> | Describes the ResourceClaim that is to be generated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Alpha3

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3;

KubeResourceClaimTemplateV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3;

KubeResourceClaimTemplateV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3;

KubeResourceClaimTemplateV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3;

KubeResourceClaimTemplateV1Alpha3.manifest(KubeResourceClaimTemplateV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaimTemplate".

---

### KubeResourceClaimTemplateV1Beta1 <a name="KubeResourceClaimTemplateV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1"></a>

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1;

KubeResourceClaimTemplateV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceClaimTemplateSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Beta1</code> | Describes the ResourceClaim that is to be generated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Beta1

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimTemplate". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1;

KubeResourceClaimTemplateV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1;

KubeResourceClaimTemplateV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1;

KubeResourceClaimTemplateV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1;

KubeResourceClaimTemplateV1Beta1.manifest(KubeResourceClaimTemplateV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaimTemplate".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimTemplate". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaimTemplate".

---

### KubeResourceClaimV1Alpha3 <a name="KubeResourceClaimV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3"></a>

ResourceClaim describes a request for access to resources in the cluster, for use by workloads.

For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3;

KubeResourceClaimV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceClaimSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3</code> | Spec describes what is being requested and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3

Spec describes what is being requested and how to configure it.

The spec is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaim". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3;

KubeResourceClaimV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3;

KubeResourceClaimV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3;

KubeResourceClaimV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3;

KubeResourceClaimV1Alpha3.manifest(KubeResourceClaimV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceClaim".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaim". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceClaim".

---

### KubeResourceClaimV1Beta1 <a name="KubeResourceClaimV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1"></a>

ResourceClaim describes a request for access to resources in the cluster, for use by workloads.

For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1;

KubeResourceClaimV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceClaimSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1</code> | Spec describes what is being requested and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1

Spec describes what is being requested and how to configure it.

The spec is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaim". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1;

KubeResourceClaimV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1;

KubeResourceClaimV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1;

KubeResourceClaimV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1;

KubeResourceClaimV1Beta1.manifest(KubeResourceClaimV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceClaim".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaim". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceClaim".

---

### KubeResourceQuota <a name="KubeResourceQuota" id="cdk8s-plus-32.k8s.KubeResourceQuota"></a>

ResourceQuota sets aggregate quota restrictions enforced per namespace.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceQuota.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuota;

KubeResourceQuota.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ResourceQuotaSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceQuotaSpec</code> | Spec defines the desired quota. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceQuota.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceQuotaSpec

Spec defines the desired quota.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceQuota.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceQuota.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceQuota.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceQuota.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceQuota.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceQuota.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceQuota.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceQuota.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuota". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceQuota.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuota;

KubeResourceQuota.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceQuota.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceQuota.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuota;

KubeResourceQuota.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceQuota.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceQuota.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuota;

KubeResourceQuota.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceQuota.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceQuota.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuota;

KubeResourceQuota.manifest(),KubeResourceQuota.manifest(KubeResourceQuotaProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuota".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceQuota.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceQuotaProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuota.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuota". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceQuota.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuota".

---

### KubeResourceQuotaList <a name="KubeResourceQuotaList" id="cdk8s-plus-32.k8s.KubeResourceQuotaList"></a>

ResourceQuotaList is a list of ResourceQuota items.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaList;

KubeResourceQuotaList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceQuotaProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceQuotaProps></code> | Items is a list of ResourceQuota objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceQuotaProps>

Items is a list of ResourceQuota objects.

More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuotaList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaList;

KubeResourceQuotaList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaList;

KubeResourceQuotaList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaList;

KubeResourceQuotaList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaList;

KubeResourceQuotaList.manifest(KubeResourceQuotaListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuotaList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceQuotaListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuotaList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceQuotaList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuotaList".

---

### KubeResourceSliceListV1Alpha3 <a name="KubeResourceSliceListV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3"></a>

ResourceSliceList is a collection of ResourceSlices.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3;

KubeResourceSliceListV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceSliceV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props></code> | Items is the list of resource ResourceSlices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props>

Items is the list of resource ResourceSlices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceSliceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3;

KubeResourceSliceListV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3;

KubeResourceSliceListV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3;

KubeResourceSliceListV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3;

KubeResourceSliceListV1Alpha3.manifest(KubeResourceSliceListV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceSliceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceSliceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceSliceList".

---

### KubeResourceSliceListV1Beta1 <a name="KubeResourceSliceListV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1"></a>

ResourceSliceList is a collection of ResourceSlices.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1;

KubeResourceSliceListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeResourceSliceV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props></code> | Items is the list of resource ResourceSlices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props>

Items is the list of resource ResourceSlices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceSliceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1;

KubeResourceSliceListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1;

KubeResourceSliceListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1;

KubeResourceSliceListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1;

KubeResourceSliceListV1Beta1.manifest(KubeResourceSliceListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceSliceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceSliceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceSliceList".

---

### KubeResourceSliceV1Alpha3 <a name="KubeResourceSliceV1Alpha3" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3"></a>

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.

A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.

At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.

Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.

When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.

For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3;

KubeResourceSliceV1Alpha3.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceSliceSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceSliceSpecV1Alpha3</code> | Contains the information published by the driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceSliceSpecV1Alpha3

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceSlice". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3;

KubeResourceSliceV1Alpha3.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3;

KubeResourceSliceV1Alpha3.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3;

KubeResourceSliceV1Alpha3.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3;

KubeResourceSliceV1Alpha3.manifest(KubeResourceSliceV1Alpha3Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1alpha3.ResourceSlice".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceSlice". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1alpha3.ResourceSlice".

---

### KubeResourceSliceV1Beta1 <a name="KubeResourceSliceV1Beta1" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1"></a>

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.

A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.

At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.

Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.

When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.

For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1;

KubeResourceSliceV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .spec(ResourceSliceSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceSliceSpecV1Beta1</code> | Contains the information published by the driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ResourceSliceSpecV1Beta1

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceSlice". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1;

KubeResourceSliceV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1;

KubeResourceSliceV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1;

KubeResourceSliceV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1;

KubeResourceSliceV1Beta1.manifest(KubeResourceSliceV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.resource.v1beta1.ResourceSlice".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceSlice". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.resource.v1beta1.ResourceSlice".

---

### KubeRole <a name="KubeRole" id="cdk8s-plus-32.k8s.KubeRole"></a>

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRole.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRole;

KubeRole.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .rules(java.util.List<PolicyRule>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PolicyRule></code> | Rules holds all the PolicyRules for this Role. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.KubeRole.Initializer.parameter.rules"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PolicyRule>

Rules holds all the PolicyRules for this Role.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRole.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRole.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRole.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRole.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRole.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRole.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRole.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRole.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.Role". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRole.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRole;

KubeRole.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRole.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRole.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRole;

KubeRole.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRole.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRole.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRole;

KubeRole.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRole.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRole.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRole;

KubeRole.manifest(),KubeRole.manifest(KubeRoleProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.Role".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRole.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRoleProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRole.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRole.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRole.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRole.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRole.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRole.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRole.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRole.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.Role". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRole.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.Role".

---

### KubeRoleBinding <a name="KubeRoleBinding" id="cdk8s-plus-32.k8s.KubeRoleBinding"></a>

RoleBinding references a role, but does not contain it.

It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given namespace only have effect in that namespace.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBinding;

KubeRoleBinding.Builder.create(Construct scope, java.lang.String id)
    .roleRef(RoleRef)
//  .metadata(ObjectMeta)
//  .subjects(java.util.List<Subject>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.roleRef">roleRef</a></code> | <code>org.cdk8s.plus32.k8s.RoleRef</code> | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.subjects">subjects</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Subject></code> | Subjects holds references to the objects the role applies to. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `roleRef`<sup>Required</sup> <a name="roleRef" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.roleRef"></a>

- *Type:* org.cdk8s.plus32.k8s.RoleRef

RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.

If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `subjects`<sup>Optional</sup> <a name="subjects" id="cdk8s-plus-32.k8s.KubeRoleBinding.Initializer.parameter.subjects"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Subject>

Subjects holds references to the objects the role applies to.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRoleBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRoleBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRoleBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRoleBinding.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRoleBinding.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRoleBinding.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRoleBinding.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRoleBinding.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleBinding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRoleBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBinding;

KubeRoleBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRoleBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRoleBinding.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBinding;

KubeRoleBinding.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRoleBinding.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRoleBinding.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBinding;

KubeRoleBinding.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRoleBinding.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRoleBinding.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBinding;

KubeRoleBinding.manifest(KubeRoleBindingProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleBinding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRoleBinding.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRoleBindingProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBinding.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleBinding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRoleBinding.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleBinding".

---

### KubeRoleBindingList <a name="KubeRoleBindingList" id="cdk8s-plus-32.k8s.KubeRoleBindingList"></a>

RoleBindingList is a collection of RoleBindings.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingList;

KubeRoleBindingList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeRoleBindingProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRoleBindingProps></code> | Items is a list of RoleBindings. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRoleBindingProps>

Items is a list of RoleBindings.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBindingList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRoleBindingList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRoleBindingList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRoleBindingList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRoleBindingList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRoleBindingList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRoleBindingList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRoleBindingList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRoleBindingList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleBindingList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRoleBindingList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingList;

KubeRoleBindingList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRoleBindingList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRoleBindingList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingList;

KubeRoleBindingList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRoleBindingList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRoleBindingList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingList;

KubeRoleBindingList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRoleBindingList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRoleBindingList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingList;

KubeRoleBindingList.manifest(KubeRoleBindingListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleBindingList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRoleBindingList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRoleBindingListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleBindingList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRoleBindingList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleBindingList".

---

### KubeRoleList <a name="KubeRoleList" id="cdk8s-plus-32.k8s.KubeRoleList"></a>

RoleList is a collection of Roles.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRoleList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleList;

KubeRoleList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeRoleProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRoleProps></code> | Items is a list of Roles. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRoleProps>

Items is a list of Roles.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRoleList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRoleList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRoleList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRoleList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRoleList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRoleList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRoleList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRoleList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRoleList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleList;

KubeRoleList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRoleList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRoleList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleList;

KubeRoleList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRoleList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRoleList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleList;

KubeRoleList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRoleList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRoleList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleList;

KubeRoleList.manifest(KubeRoleListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.RoleList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRoleList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRoleListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRoleList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRoleList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRoleList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRoleList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRoleList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRoleList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRoleList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.rbac.v1.RoleList".

---

### KubeRuntimeClass <a name="KubeRuntimeClass" id="cdk8s-plus-32.k8s.KubeRuntimeClass"></a>

RuntimeClass defines a class of container runtime supported in the cluster.

The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod.  For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClass;

KubeRuntimeClass.Builder.create(Construct scope, java.lang.String id)
    .handler(java.lang.String)
//  .metadata(ObjectMeta)
//  .overhead(Overhead)
//  .scheduling(Scheduling)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.handler">handler</a></code> | <code>java.lang.String</code> | handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.overhead">overhead</a></code> | <code>org.cdk8s.plus32.k8s.Overhead</code> | overhead represents the resource overhead associated with running a pod for a given RuntimeClass. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.scheduling">scheduling</a></code> | <code>org.cdk8s.plus32.k8s.Scheduling</code> | scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `handler`<sup>Required</sup> <a name="handler" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.handler"></a>

- *Type:* java.lang.String

handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.

The possible values are specific to the node & CRI configuration.  It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `overhead`<sup>Optional</sup> <a name="overhead" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.overhead"></a>

- *Type:* org.cdk8s.plus32.k8s.Overhead

overhead represents the resource overhead associated with running a pod for a given RuntimeClass.

For more details, see
https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/

---

##### `scheduling`<sup>Optional</sup> <a name="scheduling" id="cdk8s-plus-32.k8s.KubeRuntimeClass.Initializer.parameter.scheduling"></a>

- *Type:* org.cdk8s.plus32.k8s.Scheduling

scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it.

If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRuntimeClass.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRuntimeClass.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRuntimeClass.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRuntimeClass.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRuntimeClass.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRuntimeClass.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRuntimeClass.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRuntimeClass.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.node.v1.RuntimeClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRuntimeClass.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClass;

KubeRuntimeClass.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRuntimeClass.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRuntimeClass.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClass;

KubeRuntimeClass.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRuntimeClass.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRuntimeClass.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClass;

KubeRuntimeClass.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRuntimeClass.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRuntimeClass.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClass;

KubeRuntimeClass.manifest(KubeRuntimeClassProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.node.v1.RuntimeClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRuntimeClass.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRuntimeClassProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClass.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.node.v1.RuntimeClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRuntimeClass.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.node.v1.RuntimeClass".

---

### KubeRuntimeClassList <a name="KubeRuntimeClassList" id="cdk8s-plus-32.k8s.KubeRuntimeClassList"></a>

RuntimeClassList is a list of RuntimeClass objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassList;

KubeRuntimeClassList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeRuntimeClassProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRuntimeClassProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRuntimeClassProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.node.v1.RuntimeClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassList;

KubeRuntimeClassList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassList;

KubeRuntimeClassList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassList;

KubeRuntimeClassList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassList;

KubeRuntimeClassList.manifest(KubeRuntimeClassListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.node.v1.RuntimeClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeRuntimeClassListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.node.v1.RuntimeClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeRuntimeClassList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.node.v1.RuntimeClassList".

---

### KubeScale <a name="KubeScale" id="cdk8s-plus-32.k8s.KubeScale"></a>

Scale represents a scaling request for a resource.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeScale.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeScale;

KubeScale.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ScaleSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ScaleSpec</code> | spec defines the behavior of the scale. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeScale.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ScaleSpec

spec defines the behavior of the scale.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeScale.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeScale.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeScale.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeScale.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeScale.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeScale.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeScale.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeScale.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.Scale". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeScale.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeScale;

KubeScale.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeScale.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeScale.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeScale;

KubeScale.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeScale.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeScale.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeScale;

KubeScale.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeScale.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeScale.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeScale;

KubeScale.manifest(),KubeScale.manifest(KubeScaleProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.autoscaling.v1.Scale".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeScale.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeScaleProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeScale.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeScale.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeScale.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeScale.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeScale.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeScale.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeScale.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScale.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.Scale". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeScale.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.autoscaling.v1.Scale".

---

### KubeSecret <a name="KubeSecret" id="cdk8s-plus-32.k8s.KubeSecret"></a>

Secret holds secret data of a certain type.

The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSecret.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecret;

KubeSecret.Builder.create(Construct scope, java.lang.String id)
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .stringData(java.util.Map<java.lang.String, java.lang.String>)
//  .type(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the secret data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.stringData">stringData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | stringData allows specifying non-binary secret data in string form. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.type">type</a></code> | <code>java.lang.String</code> | Used to facilitate programmatic handling of secret data. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.data"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the secret data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean

Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time. Defaulted to nil.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `stringData`<sup>Optional</sup> <a name="stringData" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.stringData"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

stringData allows specifying non-binary secret data in string form.

It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.KubeSecret.Initializer.parameter.type"></a>

- *Type:* java.lang.String

Used to facilitate programmatic handling of secret data.

More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSecret.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSecret.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSecret.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSecret.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSecret.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Secret". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecret;

KubeSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSecret.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecret;

KubeSecret.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSecret.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSecret.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecret;

KubeSecret.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSecret.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSecret.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecret;

KubeSecret.manifest(),KubeSecret.manifest(KubeSecretProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Secret".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSecret.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSecretProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSecret.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecret.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Secret". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSecret.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Secret".

---

### KubeSecretList <a name="KubeSecretList" id="cdk8s-plus-32.k8s.KubeSecretList"></a>

SecretList is a list of Secret.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSecretList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretList;

KubeSecretList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeSecretProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeSecretProps></code> | Items is a list of secret objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeSecretProps>

Items is a list of secret objects.

More info: https://kubernetes.io/docs/concepts/configuration/secret

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecretList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSecretList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSecretList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSecretList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSecretList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSecretList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSecretList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSecretList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSecretList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.SecretList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSecretList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretList;

KubeSecretList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSecretList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSecretList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretList;

KubeSecretList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSecretList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSecretList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretList;

KubeSecretList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSecretList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSecretList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretList;

KubeSecretList.manifest(KubeSecretListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.SecretList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSecretList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSecretListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSecretList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSecretList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSecretList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSecretList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSecretList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecretList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSecretList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.SecretList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSecretList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.SecretList".

---

### KubeSelfSubjectAccessReview <a name="KubeSelfSubjectAccessReview" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview"></a>

SelfSubjectAccessReview checks whether or the current user can perform an action.

Not filling in a spec.namespace means "in all namespaces".  Self is a special case, because users should always be able to check whether they can perform an action

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReview;

KubeSelfSubjectAccessReview.Builder.create(Construct scope, java.lang.String id)
    .spec(SelfSubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SelfSubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.SelfSubjectAccessReviewSpec

Spec holds information about the request being evaluated.

user and groups must be empty

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectAccessReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReview;

KubeSelfSubjectAccessReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReview;

KubeSelfSubjectAccessReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReview;

KubeSelfSubjectAccessReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReview;

KubeSelfSubjectAccessReview.manifest(KubeSelfSubjectAccessReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectAccessReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectAccessReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectAccessReview".

---

### KubeSelfSubjectReview <a name="KubeSelfSubjectReview" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview"></a>

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

When using impersonation, users will receive the user info of the user being impersonated.  If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReview;

KubeSelfSubjectReview.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.SelfSubjectReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReview;

KubeSelfSubjectReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReview;

KubeSelfSubjectReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReview;

KubeSelfSubjectReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReview;

KubeSelfSubjectReview.manifest(),KubeSelfSubjectReview.manifest(KubeSelfSubjectReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.SelfSubjectReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSelfSubjectReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authentication.v1.SelfSubjectReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSelfSubjectReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authentication.v1.SelfSubjectReview".

---

### KubeSelfSubjectReviewV1Beta1 <a name="KubeSelfSubjectReviewV1Beta1" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1"></a>

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

When using impersonation, users will receive the user info of the user being impersonated.  If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1;

KubeSelfSubjectReviewV1Beta1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authentication.v1beta1.SelfSubjectReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1;

KubeSelfSubjectReviewV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1;

KubeSelfSubjectReviewV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1;

KubeSelfSubjectReviewV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1;

KubeSelfSubjectReviewV1Beta1.manifest(),KubeSelfSubjectReviewV1Beta1.manifest(KubeSelfSubjectReviewV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.authentication.v1beta1.SelfSubjectReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authentication.v1beta1.SelfSubjectReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authentication.v1beta1.SelfSubjectReview".

---

### KubeSelfSubjectRulesReview <a name="KubeSelfSubjectRulesReview" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview"></a>

SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.

The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReview;

KubeSelfSubjectRulesReview.Builder.create(Construct scope, java.lang.String id)
    .spec(SelfSubjectRulesReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SelfSubjectRulesReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.SelfSubjectRulesReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectRulesReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReview;

KubeSelfSubjectRulesReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReview;

KubeSelfSubjectRulesReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReview;

KubeSelfSubjectRulesReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReview;

KubeSelfSubjectRulesReview.manifest(KubeSelfSubjectRulesReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SelfSubjectRulesReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectRulesReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SelfSubjectRulesReview".

---

### KubeService <a name="KubeService" id="cdk8s-plus-32.k8s.KubeService"></a>

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeService.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeService;

KubeService.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ServiceSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ServiceSpec</code> | Spec defines the behavior of a service. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeService.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeService.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeService.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeService.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ServiceSpec

Spec defines the behavior of a service.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeService.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeService.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeService.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeService.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeService.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeService.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeService.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeService.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.Service". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeService.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeService;

KubeService.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeService.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeService.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeService;

KubeService.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeService.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeService.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeService;

KubeService.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeService.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeService.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeService;

KubeService.manifest(),KubeService.manifest(KubeServiceProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.Service".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeService.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeService.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeService.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeService.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeService.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeService.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeService.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeService.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeService.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.Service". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeService.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.Service".

---

### KubeServiceAccount <a name="KubeServiceAccount" id="cdk8s-plus-32.k8s.KubeServiceAccount"></a>

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccount;

KubeServiceAccount.Builder.create(Construct scope, java.lang.String id)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .imagePullSecrets(java.util.List<LocalObjectReference>)
//  .metadata(ObjectMeta)
//  .secrets(java.util.List<ObjectReference>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.imagePullSecrets">imagePullSecrets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference></code> | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.secrets">secrets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ObjectReference></code> | Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean

AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.

Can be overridden at the pod level.

---

##### `imagePullSecrets`<sup>Optional</sup> <a name="imagePullSecrets" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.imagePullSecrets"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference>

ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.

ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `secrets`<sup>Optional</sup> <a name="secrets" id="cdk8s-plus-32.k8s.KubeServiceAccount.Initializer.parameter.secrets"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ObjectReference>

Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.

Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeServiceAccount.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeServiceAccount.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeServiceAccount.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeServiceAccount.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeServiceAccount.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeServiceAccount.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeServiceAccount.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeServiceAccount.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceAccount". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeServiceAccount.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccount;

KubeServiceAccount.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeServiceAccount.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeServiceAccount.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccount;

KubeServiceAccount.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeServiceAccount.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeServiceAccount.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccount;

KubeServiceAccount.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeServiceAccount.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeServiceAccount.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccount;

KubeServiceAccount.manifest(),KubeServiceAccount.manifest(KubeServiceAccountProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceAccount".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeServiceAccount.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceAccountProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccount.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceAccount". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeServiceAccount.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceAccount".

---

### KubeServiceAccountList <a name="KubeServiceAccountList" id="cdk8s-plus-32.k8s.KubeServiceAccountList"></a>

ServiceAccountList is a list of ServiceAccount objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountList;

KubeServiceAccountList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeServiceAccountProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceAccountProps></code> | List of ServiceAccounts. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceAccountProps>

List of ServiceAccounts.

More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccountList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeServiceAccountList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeServiceAccountList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeServiceAccountList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeServiceAccountList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeServiceAccountList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeServiceAccountList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeServiceAccountList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeServiceAccountList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceAccountList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeServiceAccountList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountList;

KubeServiceAccountList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeServiceAccountList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeServiceAccountList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountList;

KubeServiceAccountList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeServiceAccountList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeServiceAccountList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountList;

KubeServiceAccountList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeServiceAccountList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeServiceAccountList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountList;

KubeServiceAccountList.manifest(KubeServiceAccountListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceAccountList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeServiceAccountList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceAccountListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceAccountList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeServiceAccountList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceAccountList".

---

### KubeServiceCidrListV1Beta1 <a name="KubeServiceCidrListV1Beta1" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1"></a>

ServiceCIDRList contains a list of ServiceCIDR objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1;

KubeServiceCidrListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeServiceCidrv1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props></code> | items is the list of ServiceCIDRs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props>

items is the list of ServiceCIDRs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.ServiceCIDRList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1;

KubeServiceCidrListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1;

KubeServiceCidrListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1;

KubeServiceCidrListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1;

KubeServiceCidrListV1Beta1.manifest(KubeServiceCidrListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.ServiceCIDRList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.ServiceCIDRList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.ServiceCIDRList".

---

### KubeServiceCidrv1Beta1 <a name="KubeServiceCidrv1Beta1" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1"></a>

ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1;

KubeServiceCidrv1Beta1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ServiceCidrSpecV1Beta1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ServiceCidrSpecV1Beta1</code> | spec is the desired state of the ServiceCIDR. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ServiceCidrSpecV1Beta1

spec is the desired state of the ServiceCIDR.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.ServiceCIDR". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1;

KubeServiceCidrv1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1;

KubeServiceCidrv1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1;

KubeServiceCidrv1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1;

KubeServiceCidrv1Beta1.manifest(),KubeServiceCidrv1Beta1.manifest(KubeServiceCidrv1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.networking.v1beta1.ServiceCIDR".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.ServiceCIDR". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.networking.v1beta1.ServiceCIDR".

---

### KubeServiceList <a name="KubeServiceList" id="cdk8s-plus-32.k8s.KubeServiceList"></a>

ServiceList holds a list of services.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeServiceList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceList;

KubeServiceList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeServiceProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceProps></code> | List of services. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceProps>

List of services.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeServiceList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeServiceList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeServiceList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeServiceList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeServiceList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeServiceList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeServiceList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeServiceList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeServiceList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceList;

KubeServiceList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeServiceList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeServiceList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceList;

KubeServiceList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeServiceList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeServiceList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceList;

KubeServiceList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeServiceList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeServiceList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceList;

KubeServiceList.manifest(KubeServiceListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.core.v1.ServiceList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeServiceList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeServiceListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeServiceList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeServiceList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeServiceList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeServiceList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeServiceList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeServiceList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeServiceList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.core.v1.ServiceList".

---

### KubeStatefulSet <a name="KubeStatefulSet" id="cdk8s-plus-32.k8s.KubeStatefulSet"></a>

StatefulSet represents a set of pods with consistent identities.

Identities are defined as:

* Network: A single stable DNS and hostname.
* Storage: As many VolumeClaims as requested.

The StatefulSet guarantees that a given network identity will always map to the same storage identity.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStatefulSet.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSet;

KubeStatefulSet.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(StatefulSetSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.StatefulSetSpec</code> | Spec defines the desired identities of pods in this set. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStatefulSet.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.StatefulSetSpec

Spec defines the desired identities of pods in this set.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStatefulSet.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStatefulSet.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStatefulSet.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStatefulSet.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStatefulSet.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStatefulSet.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStatefulSet.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStatefulSet.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSet". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStatefulSet.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSet;

KubeStatefulSet.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStatefulSet.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStatefulSet.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSet;

KubeStatefulSet.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStatefulSet.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStatefulSet.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSet;

KubeStatefulSet.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStatefulSet.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStatefulSet.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSet;

KubeStatefulSet.manifest(),KubeStatefulSet.manifest(KubeStatefulSetProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSet".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStatefulSet.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStatefulSetProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSet.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSet". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStatefulSet.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSet".

---

### KubeStatefulSetList <a name="KubeStatefulSetList" id="cdk8s-plus-32.k8s.KubeStatefulSetList"></a>

StatefulSetList is a collection of StatefulSets.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetList;

KubeStatefulSetList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeStatefulSetProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStatefulSetProps></code> | Items is the list of stateful sets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStatefulSetProps>

Items is the list of stateful sets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSetList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStatefulSetList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStatefulSetList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStatefulSetList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStatefulSetList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStatefulSetList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStatefulSetList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStatefulSetList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStatefulSetList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSetList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStatefulSetList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetList;

KubeStatefulSetList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStatefulSetList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStatefulSetList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetList;

KubeStatefulSetList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStatefulSetList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStatefulSetList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetList;

KubeStatefulSetList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStatefulSetList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStatefulSetList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetList;

KubeStatefulSetList.manifest(KubeStatefulSetListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.apps.v1.StatefulSetList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStatefulSetList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStatefulSetListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSetList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStatefulSetList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apps.v1.StatefulSetList".

---

### KubeStatus <a name="KubeStatus" id="cdk8s-plus-32.k8s.KubeStatus"></a>

Status is a return value for calls that don't return other objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStatus.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatus;

KubeStatus.Builder.create(Construct scope, java.lang.String id)
//  .code(java.lang.Number)
//  .details(StatusDetails)
//  .message(java.lang.String)
//  .metadata(ListMeta)
//  .reason(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.code">code</a></code> | <code>java.lang.Number</code> | Suggested HTTP return code for this status, 0 if not set. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.details">details</a></code> | <code>org.cdk8s.plus32.k8s.StatusDetails</code> | Extended data associated with the reason. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.message">message</a></code> | <code>java.lang.String</code> | A human-readable description of the status of this operation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.reason">reason</a></code> | <code>java.lang.String</code> | A machine-readable description of why this operation is in the "Failure" status. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `code`<sup>Optional</sup> <a name="code" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.code"></a>

- *Type:* java.lang.Number

Suggested HTTP return code for this status, 0 if not set.

---

##### `details`<sup>Optional</sup> <a name="details" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.details"></a>

- *Type:* org.cdk8s.plus32.k8s.StatusDetails

Extended data associated with the reason.

Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.message"></a>

- *Type:* java.lang.String

A human-readable description of the status of this operation.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.KubeStatus.Initializer.parameter.reason"></a>

- *Type:* java.lang.String

A machine-readable description of why this operation is in the "Failure" status.

If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStatus.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStatus.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStatus.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStatus.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStatus.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStatus.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStatus.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStatus.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.apimachinery.pkg.apis.meta.v1.Status". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStatus.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatus;

KubeStatus.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStatus.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStatus.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatus;

KubeStatus.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStatus.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStatus.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatus;

KubeStatus.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStatus.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStatus.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatus;

KubeStatus.manifest(),KubeStatus.manifest(KubeStatusProps props)
```

Renders a Kubernetes manifest for "io.k8s.apimachinery.pkg.apis.meta.v1.Status".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStatus.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStatusProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStatus.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStatus.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStatus.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStatus.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStatus.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatus.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStatus.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatus.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.apimachinery.pkg.apis.meta.v1.Status". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStatus.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.apimachinery.pkg.apis.meta.v1.Status".

---

### KubeStorageClass <a name="KubeStorageClass" id="cdk8s-plus-32.k8s.KubeStorageClass"></a>

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClass;

KubeStorageClass.Builder.create(Construct scope, java.lang.String id)
    .provisioner(java.lang.String)
//  .allowedTopologies(java.util.List<TopologySelectorTerm>)
//  .allowVolumeExpansion(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .mountOptions(java.util.List<java.lang.String>)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
//  .reclaimPolicy(java.lang.String)
//  .volumeBindingMode(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.provisioner">provisioner</a></code> | <code>java.lang.String</code> | provisioner indicates the type of the provisioner. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.allowedTopologies">allowedTopologies</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.TopologySelectorTerm></code> | allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.allowVolumeExpansion">allowVolumeExpansion</a></code> | <code>java.lang.Boolean</code> | allowVolumeExpansion shows whether the storage class allow volume expand. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters holds the parameters for the provisioner that should create volumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.reclaimPolicy">reclaimPolicy</a></code> | <code>java.lang.String</code> | reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.volumeBindingMode">volumeBindingMode</a></code> | <code>java.lang.String</code> | volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `provisioner`<sup>Required</sup> <a name="provisioner" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.provisioner"></a>

- *Type:* java.lang.String

provisioner indicates the type of the provisioner.

---

##### `allowedTopologies`<sup>Optional</sup> <a name="allowedTopologies" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.allowedTopologies"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.TopologySelectorTerm>

allowedTopologies restrict the node topologies where volumes can be dynamically provisioned.

Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

---

##### `allowVolumeExpansion`<sup>Optional</sup> <a name="allowVolumeExpansion" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.allowVolumeExpansion"></a>

- *Type:* java.lang.Boolean

allowVolumeExpansion shows whether the storage class allow volume expand.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.mountOptions"></a>

- *Type:* java.util.List<java.lang.String>

mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class.

e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.parameters"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters holds the parameters for the provisioner that should create volumes of this storage class.

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.reclaimPolicy"></a>

- *Type:* java.lang.String
- *Default:* Delete.

reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class.

Defaults to Delete.

---

##### `volumeBindingMode`<sup>Optional</sup> <a name="volumeBindingMode" id="cdk8s-plus-32.k8s.KubeStorageClass.Initializer.parameter.volumeBindingMode"></a>

- *Type:* java.lang.String

volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.

When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageClass.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageClass.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageClass.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageClass.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageClass.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageClass.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageClass.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageClass.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.StorageClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageClass.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClass;

KubeStorageClass.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageClass.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageClass.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClass;

KubeStorageClass.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageClass.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageClass.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClass;

KubeStorageClass.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageClass.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageClass.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClass;

KubeStorageClass.manifest(KubeStorageClassProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.StorageClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageClass.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageClassProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageClass.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageClass.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageClass.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageClass.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageClass.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClass.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageClass.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClass.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.StorageClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageClass.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.StorageClass".

---

### KubeStorageClassList <a name="KubeStorageClassList" id="cdk8s-plus-32.k8s.KubeStorageClassList"></a>

StorageClassList is a collection of storage classes.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageClassList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassList;

KubeStorageClassList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeStorageClassProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageClassProps></code> | items is the list of StorageClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageClassProps>

items is the list of StorageClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClassList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageClassList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageClassList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageClassList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageClassList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageClassList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageClassList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageClassList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageClassList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.StorageClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageClassList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassList;

KubeStorageClassList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageClassList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageClassList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassList;

KubeStorageClassList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageClassList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageClassList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassList;

KubeStorageClassList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageClassList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageClassList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassList;

KubeStorageClassList.manifest(KubeStorageClassListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.StorageClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageClassList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageClassListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.StorageClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageClassList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.StorageClassList".

---

### KubeStorageVersionListV1Alpha1 <a name="KubeStorageVersionListV1Alpha1" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1"></a>

A list of StorageVersions.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1;

KubeStorageVersionListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeStorageVersionV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props></code> | Items holds a list of StorageVersion. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props>

Items holds a list of StorageVersion.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1;

KubeStorageVersionListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1;

KubeStorageVersionListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1;

KubeStorageVersionListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1;

KubeStorageVersionListV1Alpha1.manifest(KubeStorageVersionListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersionList".

---

### KubeStorageVersionMigrationListV1Alpha1 <a name="KubeStorageVersionMigrationListV1Alpha1" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1"></a>

StorageVersionMigrationList is a collection of storage version migrations.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1;

KubeStorageVersionMigrationListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeStorageVersionMigrationV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props></code> | Items is the list of StorageVersionMigration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props>

Items is the list of StorageVersionMigration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigrationList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1;

KubeStorageVersionMigrationListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1;

KubeStorageVersionMigrationListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1;

KubeStorageVersionMigrationListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1;

KubeStorageVersionMigrationListV1Alpha1.manifest(KubeStorageVersionMigrationListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigrationList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigrationList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigrationList".

---

### KubeStorageVersionMigrationV1Alpha1 <a name="KubeStorageVersionMigrationV1Alpha1" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1"></a>

StorageVersionMigration represents a migration of stored data to the latest storage version.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1;

KubeStorageVersionMigrationV1Alpha1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(StorageVersionMigrationSpecV1Alpha1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.StorageVersionMigrationSpecV1Alpha1</code> | Specification of the migration. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.StorageVersionMigrationSpecV1Alpha1

Specification of the migration.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigration". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1;

KubeStorageVersionMigrationV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1;

KubeStorageVersionMigrationV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1;

KubeStorageVersionMigrationV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1;

KubeStorageVersionMigrationV1Alpha1.manifest(),KubeStorageVersionMigrationV1Alpha1.manifest(KubeStorageVersionMigrationV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigration".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigration". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storagemigration.v1alpha1.StorageVersionMigration".

---

### KubeStorageVersionV1Alpha1 <a name="KubeStorageVersionV1Alpha1" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1"></a>

Storage version of a specific resource.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1;

KubeStorageVersionV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .spec(java.lang.Object)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.spec">spec</a></code> | <code>java.lang.Object</code> | Spec is an empty spec. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | The name is <group>.<resource>. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.spec"></a>

- *Type:* java.lang.Object

Spec is an empty spec.

It is here to comply with Kubernetes API style.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

The name is <group>.<resource>.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1;

KubeStorageVersionV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1;

KubeStorageVersionV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1;

KubeStorageVersionV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1;

KubeStorageVersionV1Alpha1.manifest(KubeStorageVersionV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.apiserverinternal.v1alpha1.StorageVersion".

---

### KubeSubjectAccessReview <a name="KubeSubjectAccessReview" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview"></a>

SubjectAccessReview checks whether or not a user or group can perform an action.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReview;

KubeSubjectAccessReview.Builder.create(Construct scope, java.lang.String id)
    .spec(SubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.SubjectAccessReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SubjectAccessReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReview;

KubeSubjectAccessReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReview;

KubeSubjectAccessReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReview;

KubeSubjectAccessReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReview;

KubeSubjectAccessReview.manifest(KubeSubjectAccessReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authorization.v1.SubjectAccessReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeSubjectAccessReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SubjectAccessReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeSubjectAccessReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authorization.v1.SubjectAccessReview".

---

### KubeTokenRequest <a name="KubeTokenRequest" id="cdk8s-plus-32.k8s.KubeTokenRequest"></a>

TokenRequest requests a token for a given service account.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeTokenRequest.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequest;

KubeTokenRequest.Builder.create(Construct scope, java.lang.String id)
    .spec(TokenRequestSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.TokenRequestSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.TokenRequestSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenRequest.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeTokenRequest.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeTokenRequest.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeTokenRequest.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeTokenRequest.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeTokenRequest.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeTokenRequest.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeTokenRequest.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeTokenRequest.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenRequest". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeTokenRequest.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequest;

KubeTokenRequest.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeTokenRequest.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeTokenRequest.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequest;

KubeTokenRequest.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeTokenRequest.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeTokenRequest.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequest;

KubeTokenRequest.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeTokenRequest.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeTokenRequest.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequest;

KubeTokenRequest.manifest(KubeTokenRequestProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenRequest".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeTokenRequest.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeTokenRequestProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequest.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenRequest". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeTokenRequest.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenRequest".

---

### KubeTokenReview <a name="KubeTokenReview" id="cdk8s-plus-32.k8s.KubeTokenReview"></a>

TokenReview attempts to authenticate a token to a known user.

Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeTokenReview.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReview;

KubeTokenReview.Builder.create(Construct scope, java.lang.String id)
    .spec(TokenReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.TokenReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.TokenReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenReview.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeTokenReview.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeTokenReview.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeTokenReview.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeTokenReview.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeTokenReview.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeTokenReview.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeTokenReview.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeTokenReview.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenReview". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeTokenReview.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReview;

KubeTokenReview.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeTokenReview.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeTokenReview.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReview;

KubeTokenReview.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeTokenReview.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeTokenReview.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReview;

KubeTokenReview.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeTokenReview.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeTokenReview.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReview;

KubeTokenReview.manifest(KubeTokenReviewProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.authentication.v1.TokenReview".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeTokenReview.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeTokenReviewProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeTokenReview.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeTokenReview.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeTokenReview.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeTokenReview.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeTokenReview.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenReview.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeTokenReview.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReview.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenReview". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeTokenReview.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.authentication.v1.TokenReview".

---

### KubeValidatingAdmissionPolicy <a name="KubeValidatingAdmissionPolicy" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy"></a>

ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicy;

KubeValidatingAdmissionPolicy.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicySpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpec</code> | Specification of the desired behavior of the ValidatingAdmissionPolicy. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpec

Specification of the desired behavior of the ValidatingAdmissionPolicy.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicy;

KubeValidatingAdmissionPolicy.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicy;

KubeValidatingAdmissionPolicy.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicy;

KubeValidatingAdmissionPolicy.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicy;

KubeValidatingAdmissionPolicy.manifest(),KubeValidatingAdmissionPolicy.manifest(KubeValidatingAdmissionPolicyProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicy.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicy".

---

### KubeValidatingAdmissionPolicyBinding <a name="KubeValidatingAdmissionPolicyBinding" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding"></a>

ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.

ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.

The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBinding;

KubeValidatingAdmissionPolicyBinding.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicyBindingSpec)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpec</code> | Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpec

Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBinding;

KubeValidatingAdmissionPolicyBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBinding;

KubeValidatingAdmissionPolicyBinding.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBinding;

KubeValidatingAdmissionPolicyBinding.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBinding;

KubeValidatingAdmissionPolicyBinding.manifest(),KubeValidatingAdmissionPolicyBinding.manifest(KubeValidatingAdmissionPolicyBindingProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBinding.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding".

---

### KubeValidatingAdmissionPolicyBindingList <a name="KubeValidatingAdmissionPolicyBindingList" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList"></a>

ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingList;

KubeValidatingAdmissionPolicyBindingList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeValidatingAdmissionPolicyBindingProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingList;

KubeValidatingAdmissionPolicyBindingList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingList;

KubeValidatingAdmissionPolicyBindingList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingList;

KubeValidatingAdmissionPolicyBindingList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingList;

KubeValidatingAdmissionPolicyBindingList.manifest(KubeValidatingAdmissionPolicyBindingListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList".

---

### KubeValidatingAdmissionPolicyBindingListV1Beta1 <a name="KubeValidatingAdmissionPolicyBindingListV1Beta1" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1"></a>

ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1;

KubeValidatingAdmissionPolicyBindingListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeValidatingAdmissionPolicyBindingV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1;

KubeValidatingAdmissionPolicyBindingListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1;

KubeValidatingAdmissionPolicyBindingListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1;

KubeValidatingAdmissionPolicyBindingListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1;

KubeValidatingAdmissionPolicyBindingListV1Beta1.manifest(KubeValidatingAdmissionPolicyBindingListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBindingList".

---

### KubeValidatingAdmissionPolicyBindingV1Beta1 <a name="KubeValidatingAdmissionPolicyBindingV1Beta1" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1"></a>

ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.

ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.

The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1;

KubeValidatingAdmissionPolicyBindingV1Beta1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicyBindingSpecV1Beta1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1</code> | Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1

Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1;

KubeValidatingAdmissionPolicyBindingV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1;

KubeValidatingAdmissionPolicyBindingV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1;

KubeValidatingAdmissionPolicyBindingV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1;

KubeValidatingAdmissionPolicyBindingV1Beta1.manifest(),KubeValidatingAdmissionPolicyBindingV1Beta1.manifest(KubeValidatingAdmissionPolicyBindingV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyBinding".

---

### KubeValidatingAdmissionPolicyList <a name="KubeValidatingAdmissionPolicyList" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList"></a>

ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyList;

KubeValidatingAdmissionPolicyList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeValidatingAdmissionPolicyProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyList;

KubeValidatingAdmissionPolicyList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyList;

KubeValidatingAdmissionPolicyList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyList;

KubeValidatingAdmissionPolicyList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyList;

KubeValidatingAdmissionPolicyList.manifest(KubeValidatingAdmissionPolicyListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingAdmissionPolicyList".

---

### KubeValidatingAdmissionPolicyListV1Beta1 <a name="KubeValidatingAdmissionPolicyListV1Beta1" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1"></a>

ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1;

KubeValidatingAdmissionPolicyListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeValidatingAdmissionPolicyV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1;

KubeValidatingAdmissionPolicyListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1;

KubeValidatingAdmissionPolicyListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1;

KubeValidatingAdmissionPolicyListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1;

KubeValidatingAdmissionPolicyListV1Beta1.manifest(KubeValidatingAdmissionPolicyListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicyList".

---

### KubeValidatingAdmissionPolicyV1Beta1 <a name="KubeValidatingAdmissionPolicyV1Beta1" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1"></a>

ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1;

KubeValidatingAdmissionPolicyV1Beta1.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicySpecV1Beta1)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpecV1Beta1</code> | Specification of the desired behavior of the ValidatingAdmissionPolicy. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpecV1Beta1

Specification of the desired behavior of the ValidatingAdmissionPolicy.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicy". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1;

KubeValidatingAdmissionPolicyV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1;

KubeValidatingAdmissionPolicyV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1;

KubeValidatingAdmissionPolicyV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1;

KubeValidatingAdmissionPolicyV1Beta1.manifest(),KubeValidatingAdmissionPolicyV1Beta1.manifest(KubeValidatingAdmissionPolicyV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicy".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicy". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1beta1.ValidatingAdmissionPolicy".

---

### KubeValidatingWebhookConfiguration <a name="KubeValidatingWebhookConfiguration" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration"></a>

ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfiguration;

KubeValidatingWebhookConfiguration.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ObjectMeta)
//  .webhooks(java.util.List<ValidatingWebhook>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.webhooks">webhooks</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ValidatingWebhook></code> | Webhooks is a list of webhooks and the affected resources and operations. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `webhooks`<sup>Optional</sup> <a name="webhooks" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.Initializer.parameter.webhooks"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ValidatingWebhook>

Webhooks is a list of webhooks and the affected resources and operations.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfiguration;

KubeValidatingWebhookConfiguration.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfiguration;

KubeValidatingWebhookConfiguration.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfiguration;

KubeValidatingWebhookConfiguration.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfiguration;

KubeValidatingWebhookConfiguration.manifest(),KubeValidatingWebhookConfiguration.manifest(KubeValidatingWebhookConfigurationProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Optional</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfiguration.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration".

---

### KubeValidatingWebhookConfigurationList <a name="KubeValidatingWebhookConfigurationList" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList"></a>

ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationList;

KubeValidatingWebhookConfigurationList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeValidatingWebhookConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps></code> | List of ValidatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps>

List of ValidatingWebhookConfiguration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationList;

KubeValidatingWebhookConfigurationList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationList;

KubeValidatingWebhookConfigurationList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationList;

KubeValidatingWebhookConfigurationList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationList;

KubeValidatingWebhookConfigurationList.manifest(KubeValidatingWebhookConfigurationListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.admissionregistration.v1.ValidatingWebhookConfigurationList".

---

### KubeVolumeAttachment <a name="KubeVolumeAttachment" id="cdk8s-plus-32.k8s.KubeVolumeAttachment"></a>

VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.

VolumeAttachment objects are non-namespaced.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachment;

KubeVolumeAttachment.Builder.create(Construct scope, java.lang.String id)
    .spec(VolumeAttachmentSpec)
//  .metadata(ObjectMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.VolumeAttachmentSpec</code> | spec represents specification of the desired attach/detach volume behavior. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.spec"></a>

- *Type:* org.cdk8s.plus32.k8s.VolumeAttachmentSpec

spec represents specification of the desired attach/detach volume behavior.

Populated by the Kubernetes system.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.VolumeAttachment". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachment;

KubeVolumeAttachment.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachment;

KubeVolumeAttachment.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachment;

KubeVolumeAttachment.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachment;

KubeVolumeAttachment.manifest(KubeVolumeAttachmentProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.VolumeAttachment".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachment.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.VolumeAttachment". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttachment.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.VolumeAttachment".

---

### KubeVolumeAttachmentList <a name="KubeVolumeAttachmentList" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList"></a>

VolumeAttachmentList is a collection of VolumeAttachment objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentList;

KubeVolumeAttachmentList.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeVolumeAttachmentProps>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps></code> | items is the list of VolumeAttachments. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps>

items is the list of VolumeAttachments.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1.VolumeAttachmentList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentList;

KubeVolumeAttachmentList.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentList;

KubeVolumeAttachmentList.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentList;

KubeVolumeAttachmentList.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentList;

KubeVolumeAttachmentList.manifest(KubeVolumeAttachmentListProps props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1.VolumeAttachmentList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttachmentListProps

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1.VolumeAttachmentList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentList.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1.VolumeAttachmentList".

---

### KubeVolumeAttributesClassListV1Alpha1 <a name="KubeVolumeAttributesClassListV1Alpha1" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1"></a>

VolumeAttributesClassList is a collection of VolumeAttributesClass objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1;

KubeVolumeAttributesClassListV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeVolumeAttributesClassV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props></code> | items is the list of VolumeAttributesClass objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props>

items is the list of VolumeAttributesClass objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1alpha1.VolumeAttributesClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1;

KubeVolumeAttributesClassListV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1;

KubeVolumeAttributesClassListV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1;

KubeVolumeAttributesClassListV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1;

KubeVolumeAttributesClassListV1Alpha1.manifest(KubeVolumeAttributesClassListV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1alpha1.VolumeAttributesClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1alpha1.VolumeAttributesClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1alpha1.VolumeAttributesClassList".

---

### KubeVolumeAttributesClassListV1Beta1 <a name="KubeVolumeAttributesClassListV1Beta1" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1"></a>

VolumeAttributesClassList is a collection of VolumeAttributesClass objects.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1;

KubeVolumeAttributesClassListV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .items(java.util.List<KubeVolumeAttributesClassV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props></code> | items is the list of VolumeAttributesClass objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.items"></a>

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props>

items is the list of VolumeAttributesClass objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1beta1.VolumeAttributesClassList". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1;

KubeVolumeAttributesClassListV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1;

KubeVolumeAttributesClassListV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1;

KubeVolumeAttributesClassListV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1;

KubeVolumeAttributesClassListV1Beta1.manifest(KubeVolumeAttributesClassListV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1beta1.VolumeAttributesClassList".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1beta1.VolumeAttributesClassList". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1beta1.VolumeAttributesClassList".

---

### KubeVolumeAttributesClassV1Alpha1 <a name="KubeVolumeAttributesClassV1Alpha1" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1"></a>

VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.

The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1;

KubeVolumeAttributesClassV1Alpha1.Builder.create(Construct scope, java.lang.String id)
    .driverName(java.lang.String)
//  .metadata(ObjectMeta)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.driverName">driverName</a></code> | <code>java.lang.String</code> | Name of the CSI driver This field is immutable. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters hold volume attributes defined by the CSI driver. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `driverName`<sup>Required</sup> <a name="driverName" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.driverName"></a>

- *Type:* java.lang.String

Name of the CSI driver This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.Initializer.parameter.parameters"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters hold volume attributes defined by the CSI driver.

These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.

This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1alpha1.VolumeAttributesClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1;

KubeVolumeAttributesClassV1Alpha1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1;

KubeVolumeAttributesClassV1Alpha1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1;

KubeVolumeAttributesClassV1Alpha1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1;

KubeVolumeAttributesClassV1Alpha1.manifest(KubeVolumeAttributesClassV1Alpha1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1alpha1.VolumeAttributesClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1alpha1.VolumeAttributesClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1alpha1.VolumeAttributesClass".

---

### KubeVolumeAttributesClassV1Beta1 <a name="KubeVolumeAttributesClassV1Beta1" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1"></a>

VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.

The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1;

KubeVolumeAttributesClassV1Beta1.Builder.create(Construct scope, java.lang.String id)
    .driverName(java.lang.String)
//  .metadata(ObjectMeta)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | the scope in which to define this object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | a scope-local name for the object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.driverName">driverName</a></code> | <code>java.lang.String</code> | Name of the CSI driver This field is immutable. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters hold volume attributes defined by the CSI driver. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

the scope in which to define this object.

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.id"></a>

- *Type:* java.lang.String

a scope-local name for the object.

---

##### `driverName`<sup>Required</sup> <a name="driverName" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.driverName"></a>

- *Type:* java.lang.String

Name of the CSI driver This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.Initializer.parameter.parameters"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters hold volume attributes defined by the CSI driver.

These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.

This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addDependency">addDependency</a></code> | Create a dependency between this ApiObject and other constructs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addJsonPatch">addJsonPatch</a></code> | Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.toJson">toJson</a></code> | Renders the object to Kubernetes JSON. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `addDependency` <a name="addDependency" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addDependency"></a>

```java
public void addDependency(IConstruct... dependencies)
```

Create a dependency between this ApiObject and other constructs.

These can be other ApiObjects, Charts, or custom.

###### `dependencies`<sup>Required</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addDependency.parameter.dependencies"></a>

- *Type:* software.constructs.IConstruct...

the dependencies to add.

---

##### `addJsonPatch` <a name="addJsonPatch" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addJsonPatch"></a>

```java
public void addJsonPatch(JsonPatch... ops)
```

Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.

*Example*

```java
  kubePod.addJsonPatch(JsonPatch.replace('/spec/enableServiceLinks', true));
```


###### `ops`<sup>Required</sup> <a name="ops" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.addJsonPatch.parameter.ops"></a>

- *Type:* org.cdk8s.JsonPatch...

The JSON-Patch operations to apply.

---

##### `toJson` <a name="toJson" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.toJson"></a>

```java
public java.lang.Object toJson()
```

Renders the object to Kubernetes JSON.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isApiObject">isApiObject</a></code> | Return whether the given object is an `ApiObject`. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.of">of</a></code> | Returns the `ApiObject` named `Resource` which is a child of the given construct. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.manifest">manifest</a></code> | Renders a Kubernetes manifest for "io.k8s.api.storage.v1beta1.VolumeAttributesClass". |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isConstruct"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1;

KubeVolumeAttributesClassV1Beta1.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `isApiObject` <a name="isApiObject" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isApiObject"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1;

KubeVolumeAttributesClassV1Beta1.isApiObject(java.lang.Object o)
```

Return whether the given object is an `ApiObject`.

We do attribute detection since we can't reliably use 'instanceof'.

###### `o`<sup>Required</sup> <a name="o" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.isApiObject.parameter.o"></a>

- *Type:* java.lang.Object

The object to check.

---

##### `of` <a name="of" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.of"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1;

KubeVolumeAttributesClassV1Beta1.of(IConstruct c)
```

Returns the `ApiObject` named `Resource` which is a child of the given construct.

If `c` is an `ApiObject`, it is returned directly. Throws an
exception if the construct does not have a child named `Default` _or_ if
this child is not an `ApiObject`.

###### `c`<sup>Required</sup> <a name="c" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.of.parameter.c"></a>

- *Type:* software.constructs.IConstruct

The higher-level construct.

---

##### `manifest` <a name="manifest" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.manifest"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1;

KubeVolumeAttributesClassV1Beta1.manifest(KubeVolumeAttributesClassV1Beta1Props props)
```

Renders a Kubernetes manifest for "io.k8s.api.storage.v1beta1.VolumeAttributesClass".

This can be used to inline resource manifests inside other objects (e.g. as templates).

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.manifest.parameter.props"></a>

- *Type:* org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props

initialization props.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. `authorization.k8s.io/v1`). |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.chart">chart</a></code> | <code>org.cdk8s.Chart</code> | The chart in which this object is defined. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | Metadata associated with this API object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | The name of the API object. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. `authorization.k8s.io/v1`).

---

##### `chart`<sup>Required</sup> <a name="chart" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.chart"></a>

```java
public Chart getChart();
```

- *Type:* org.cdk8s.Chart

The chart in which this object is defined.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind.

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

Metadata associated with this API object.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the API object.

If a name is specified in `metadata.name` this will be the name returned.
Otherwise, a name will be generated by calling
`Chart.of(this).generatedObjectName(this)`, which by default uses the
construct path to generate a DNS-compatible name for the resource.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.GVK">GVK</a></code> | <code>org.cdk8s.GroupVersionKind</code> | Returns the apiVersion and kind for "io.k8s.api.storage.v1beta1.VolumeAttributesClass". |

---

##### `GVK`<sup>Required</sup> <a name="GVK" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1.property.GVK"></a>

```java
public GroupVersionKind getGvk();
```

- *Type:* org.cdk8s.GroupVersionKind

Returns the apiVersion and kind for "io.k8s.api.storage.v1beta1.VolumeAttributesClass".

---

### Namespace <a name="Namespace" id="cdk8s-plus-32.Namespace"></a>

- *Implements:* <a href="#cdk8s-plus-32.INamespaceSelector">INamespaceSelector</a>, <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

In Kubernetes, namespaces provides a mechanism for isolating groups of resources within a single cluster.

Names of resources need to be unique within a namespace, but not across namespaces.
Namespace-based scoping is applicable only for namespaced objects (e.g. Deployments, Services, etc) and
not for cluster-wide objects (e.g. StorageClass, Nodes, PersistentVolumes, etc).

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Namespace.Initializer"></a>

```java
import org.cdk8s.plus32.Namespace;

Namespace.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Namespace.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespace.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespace.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Namespace.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Namespace.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Namespace.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Namespace.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Namespace.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Namespace.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Namespace.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Namespace.toNamespaceSelectorConfig">toNamespaceSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Namespace.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Namespace.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Namespace.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Namespace.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Namespace.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Namespace.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Namespace.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `toNamespaceSelectorConfig` <a name="toNamespaceSelectorConfig" id="cdk8s-plus-32.Namespace.toNamespaceSelectorConfig"></a>

```java
public NamespaceSelectorConfig toNamespaceSelectorConfig()
```

Return the configuration of this selector.

> [INamespaceSelector.toNamespaceSelectorConfig ()](INamespaceSelector.toNamespaceSelectorConfig ())

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Namespace.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Namespace.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Namespace.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Namespace.isConstruct"></a>

```java
import org.cdk8s.plus32.Namespace;

Namespace.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Namespace.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Namespace.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Namespace.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Namespace.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Namespace.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Namespace.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespace.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Namespace.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespace.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Namespace.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Namespace.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Namespace.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Namespace.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Namespace.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Namespace.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Namespace.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Namespace.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Namespace.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Namespace.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Namespace.property.NAME_LABEL">NAME_LABEL</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `NAME_LABEL`<sup>Required</sup> <a name="NAME_LABEL" id="cdk8s-plus-32.Namespace.property.NAME_LABEL"></a>

```java
public java.lang.String getNameLabel();
```

- *Type:* java.lang.String

> [https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#automatic-labelling](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#automatic-labelling)

---

### Namespaces <a name="Namespaces" id="cdk8s-plus-32.Namespaces"></a>

- *Implements:* <a href="#cdk8s-plus-32.INamespaceSelector">INamespaceSelector</a>, <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

Represents a group of namespaces.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Namespaces.Initializer"></a>

```java
import org.cdk8s.plus32.Namespaces;

new Namespaces(Construct scope, java.lang.String id);,new Namespaces(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions);,new Namespaces(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions, java.util.List<java.lang.String> names);,new Namespaces(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions, java.util.List<java.lang.String> names, java.util.Map<java.lang.String, java.lang.String> labels);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Namespaces.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespaces.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespaces.Initializer.parameter.expressions">expressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespaces.Initializer.parameter.names">names</a></code> | <code>java.util.List<java.lang.String></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Namespaces.Initializer.parameter.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Namespaces.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Namespaces.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `expressions`<sup>Optional</sup> <a name="expressions" id="cdk8s-plus-32.Namespaces.Initializer.parameter.expressions"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>>

---

##### `names`<sup>Optional</sup> <a name="names" id="cdk8s-plus-32.Namespaces.Initializer.parameter.names"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.Namespaces.Initializer.parameter.labels"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Namespaces.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Namespaces.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Namespaces.toNamespaceSelectorConfig">toNamespaceSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Namespaces.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Namespaces.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Namespaces.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Namespaces.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Namespaces.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `toNamespaceSelectorConfig` <a name="toNamespaceSelectorConfig" id="cdk8s-plus-32.Namespaces.toNamespaceSelectorConfig"></a>

```java
public NamespaceSelectorConfig toNamespaceSelectorConfig()
```

Return the configuration of this selector.

> [INamespaceSelector.toNamespaceSelectorConfig ()](INamespaceSelector.toNamespaceSelectorConfig ())

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Namespaces.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Namespaces.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Namespaces.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Namespaces.all">all</a></code> | Select all namespaces. |
| <code><a href="#cdk8s-plus-32.Namespaces.select">select</a></code> | Select specific namespaces. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Namespaces.isConstruct"></a>

```java
import org.cdk8s.plus32.Namespaces;

Namespaces.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Namespaces.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `all` <a name="all" id="cdk8s-plus-32.Namespaces.all"></a>

```java
import org.cdk8s.plus32.Namespaces;

Namespaces.all(Construct scope, java.lang.String id)
```

Select all namespaces.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Namespaces.all.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Namespaces.all.parameter.id"></a>

- *Type:* java.lang.String

---

##### `select` <a name="select" id="cdk8s-plus-32.Namespaces.select"></a>

```java
import org.cdk8s.plus32.Namespaces;

Namespaces.select(Construct scope, java.lang.String id, NamespacesSelectOptions options)
```

Select specific namespaces.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Namespaces.select.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Namespaces.select.parameter.id"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Namespaces.select.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.NamespacesSelectOptions">NamespacesSelectOptions</a>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Namespaces.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Namespaces.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---


### NetworkPolicy <a name="NetworkPolicy" id="cdk8s-plus-32.NetworkPolicy"></a>

Control traffic flow at the IP address or port level (OSI layer 3 or 4), network policies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network peers.

* Outgoing traffic is allowed if there are no network policies selecting
  the pod (and cluster policy otherwise allows the traffic),
  OR if the traffic matches at least one egress rule across all of the
  network policies that select the pod.
* Incoming traffic is allowed to a pod if there are no network policies
  selecting the pod (and cluster policy otherwise allows the traffic),
  OR if the traffic source is the pod's local node,
  OR if the traffic matches at least one ingress rule across all of
  the network policies that select the pod.

Network policies do not conflict; they are additive.
If any policy or policies apply to a given pod for a given
direction, the connections allowed in that direction from
that pod is the union of what the applicable policies allow.
Thus, order of evaluation does not affect the policy result.

For a connection from a source pod to a destination pod to be allowed,
both the egress policy on the source pod and the ingress policy on the
destination pod need to allow the connection.
If either side does not allow the connection, it will not happen.

> [https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource](https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.NetworkPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicy;

NetworkPolicy.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .egress(NetworkPolicyTraffic)
//  .ingress(NetworkPolicyTraffic)
//  .selector(IPodSelector)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.egress">egress</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a></code> | Egress traffic configuration. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.ingress">ingress</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a></code> | Ingress traffic configuration. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.Initializer.parameter.selector">selector</a></code> | <code><a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a></code> | Which pods does this policy object applies to. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `egress`<sup>Optional</sup> <a name="egress" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.egress"></a>

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a>
- *Default:* the policy doesn't change egress behavior of the pods it selects.

Egress traffic configuration.

---

##### `ingress`<sup>Optional</sup> <a name="ingress" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.ingress"></a>

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a>
- *Default:* the policy doesn't change ingress behavior of the pods it selects.

Ingress traffic configuration.

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.NetworkPolicy.Initializer.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>
- *Default:* will select all pods in the namespace of the policy.

Which pods does this policy object applies to.

This can either be a single pod / workload, or a grouping of pods selected
via the `Pods.select` function. Rules is applied to any pods selected by this property.
Multiple network policies can select the same set of pods.
In this case, the rules for each are combined additively.

Note that

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.addEgressRule">addEgressRule</a></code> | Allow outgoing traffic to the peer. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.addIngressRule">addIngressRule</a></code> | Allow incoming traffic from the peer. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.NetworkPolicy.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.NetworkPolicy.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.NetworkPolicy.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.NetworkPolicy.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.NetworkPolicy.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addEgressRule` <a name="addEgressRule" id="cdk8s-plus-32.NetworkPolicy.addEgressRule"></a>

```java
public void addEgressRule(INetworkPolicyPeer peer)
public void addEgressRule(INetworkPolicyPeer peer, java.util.List<NetworkPolicyPort> ports)
```

Allow outgoing traffic to the peer.

If ports are not passed, traffic will be allowed on all ports.

###### `peer`<sup>Required</sup> <a name="peer" id="cdk8s-plus-32.NetworkPolicy.addEgressRule.parameter.peer"></a>

- *Type:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

---

###### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.NetworkPolicy.addEgressRule.parameter.ports"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>

---

##### `addIngressRule` <a name="addIngressRule" id="cdk8s-plus-32.NetworkPolicy.addIngressRule"></a>

```java
public void addIngressRule(INetworkPolicyPeer peer)
public void addIngressRule(INetworkPolicyPeer peer, java.util.List<NetworkPolicyPort> ports)
```

Allow incoming traffic from the peer.

If ports are not passed, traffic will be allowed on all ports.

###### `peer`<sup>Required</sup> <a name="peer" id="cdk8s-plus-32.NetworkPolicy.addIngressRule.parameter.peer"></a>

- *Type:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

---

###### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.NetworkPolicy.addIngressRule.parameter.ports"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.NetworkPolicy.isConstruct"></a>

```java
import org.cdk8s.plus32.NetworkPolicy;

NetworkPolicy.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.NetworkPolicy.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.NetworkPolicy.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.NetworkPolicy.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.NetworkPolicy.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.NetworkPolicy.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.NetworkPolicy.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.NetworkPolicy.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.NetworkPolicy.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.NetworkPolicy.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.NetworkPolicy.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.NetworkPolicy.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---


### NetworkPolicyIpBlock <a name="NetworkPolicyIpBlock" id="cdk8s-plus-32.NetworkPolicyIpBlock"></a>

- *Implements:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

Describes a particular CIDR (Ex.

"192.168.1.1/24","2001:db9::/64") that is
allowed to the pods matched by a network policy selector.
The except entry describes CIDRs that should not be included within this rule.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.NetworkPolicyIpBlock.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.NetworkPolicyIpBlock.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.NetworkPolicyIpBlock.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.NetworkPolicyIpBlock.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.NetworkPolicyIpBlock.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv4">anyIpv4</a></code> | Any IPv4 address. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv6">anyIpv6</a></code> | Any IPv6 address. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.ipv4">ipv4</a></code> | Create an IPv4 peer from a CIDR. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.ipv6">ipv6</a></code> | Create an IPv6 peer from a CIDR. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.NetworkPolicyIpBlock.isConstruct"></a>

```java
import org.cdk8s.plus32.NetworkPolicyIpBlock;

NetworkPolicyIpBlock.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.NetworkPolicyIpBlock.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `anyIpv4` <a name="anyIpv4" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv4"></a>

```java
import org.cdk8s.plus32.NetworkPolicyIpBlock;

NetworkPolicyIpBlock.anyIpv4(Construct scope, java.lang.String id)
```

Any IPv4 address.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv4.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv4.parameter.id"></a>

- *Type:* java.lang.String

---

##### `anyIpv6` <a name="anyIpv6" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv6"></a>

```java
import org.cdk8s.plus32.NetworkPolicyIpBlock;

NetworkPolicyIpBlock.anyIpv6(Construct scope, java.lang.String id)
```

Any IPv6 address.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv6.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.NetworkPolicyIpBlock.anyIpv6.parameter.id"></a>

- *Type:* java.lang.String

---

##### `ipv4` <a name="ipv4" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv4"></a>

```java
import org.cdk8s.plus32.NetworkPolicyIpBlock;

NetworkPolicyIpBlock.ipv4(Construct scope, java.lang.String id, java.lang.String cidrIp),NetworkPolicyIpBlock.ipv4(Construct scope, java.lang.String id, java.lang.String cidrIp, java.util.List<java.lang.String> except)
```

Create an IPv4 peer from a CIDR.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv4.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv4.parameter.id"></a>

- *Type:* java.lang.String

---

###### `cidrIp`<sup>Required</sup> <a name="cidrIp" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv4.parameter.cidrIp"></a>

- *Type:* java.lang.String

---

###### `except`<sup>Optional</sup> <a name="except" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv4.parameter.except"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `ipv6` <a name="ipv6" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv6"></a>

```java
import org.cdk8s.plus32.NetworkPolicyIpBlock;

NetworkPolicyIpBlock.ipv6(Construct scope, java.lang.String id, java.lang.String cidrIp),NetworkPolicyIpBlock.ipv6(Construct scope, java.lang.String id, java.lang.String cidrIp, java.util.List<java.lang.String> except)
```

Create an IPv6 peer from a CIDR.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv6.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv6.parameter.id"></a>

- *Type:* java.lang.String

---

###### `cidrIp`<sup>Required</sup> <a name="cidrIp" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv6.parameter.cidrIp"></a>

- *Type:* java.lang.String

---

###### `except`<sup>Optional</sup> <a name="except" id="cdk8s-plus-32.NetworkPolicyIpBlock.ipv6.parameter.except"></a>

- *Type:* java.util.List<java.lang.String>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.property.cidr">cidr</a></code> | <code>java.lang.String</code> | A string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64". |
| <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock.property.except">except</a></code> | <code>java.util.List<java.lang.String></code> | A slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64". Except values will be rejected if they are outside the CIDR range. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.NetworkPolicyIpBlock.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `cidr`<sup>Required</sup> <a name="cidr" id="cdk8s-plus-32.NetworkPolicyIpBlock.property.cidr"></a>

```java
public java.lang.String getCidr();
```

- *Type:* java.lang.String

A string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64".

---

##### `except`<sup>Optional</sup> <a name="except" id="cdk8s-plus-32.NetworkPolicyIpBlock.property.except"></a>

```java
public java.util.List<java.lang.String> getExcept();
```

- *Type:* java.util.List<java.lang.String>

A slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64". Except values will be rejected if they are outside the CIDR range.

---


### PersistentVolume <a name="PersistentVolume" id="cdk8s-plus-32.PersistentVolume"></a>

- *Implements:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>, <a href="#cdk8s-plus-32.IStorage">IStorage</a>

A PersistentVolume (PV) is a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes.

It is a resource in the cluster just like a node is a cluster resource.
PVs are volume plugins like Volumes, but have a lifecycle independent of any
individual Pod that uses the PV. This API object captures the details of the
implementation of the storage, be that NFS, iSCSI, or a
cloud-provider-specific storage system.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PersistentVolume.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolume;

PersistentVolume.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.Initializer.parameter.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.accessModes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.mountOptions"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.reclaimPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.storage"></a>

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolume.Initializer.parameter.volumeMode"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.bind">bind</a></code> | Bind a volume to a specific claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.reserve">reserve</a></code> | Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.PersistentVolume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.PersistentVolume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.PersistentVolume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.PersistentVolume.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.PersistentVolume.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.PersistentVolume.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

##### `bind` <a name="bind" id="cdk8s-plus-32.PersistentVolume.bind"></a>

```java
public void bind(IPersistentVolumeClaim claim)
```

Bind a volume to a specific claim.

Note that you must also bind the claim to the volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding)

###### `claim`<sup>Required</sup> <a name="claim" id="cdk8s-plus-32.PersistentVolume.bind.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

The PVC to bind to.

---

##### `reserve` <a name="reserve" id="cdk8s-plus-32.PersistentVolume.reserve"></a>

```java
public PersistentVolumeClaim reserve()
```

Reserve a `PersistentVolume` by creating a `PersistentVolumeClaim` that is wired to claim this volume.

Note that this method will throw in case the volume is already claimed.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reserving-a-persistentvolume)

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.fromPersistentVolumeName">fromPersistentVolumeName</a></code> | Imports a pv from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.PersistentVolume.isConstruct"></a>

```java
import org.cdk8s.plus32.PersistentVolume;

PersistentVolume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.PersistentVolume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromPersistentVolumeName` <a name="fromPersistentVolumeName" id="cdk8s-plus-32.PersistentVolume.fromPersistentVolumeName"></a>

```java
import org.cdk8s.plus32.PersistentVolume;

PersistentVolume.fromPersistentVolumeName(Construct scope, java.lang.String id, java.lang.String volumeName)
```

Imports a pv from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.PersistentVolume.fromPersistentVolumeName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.PersistentVolume.fromPersistentVolumeName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `volumeName`<sup>Required</sup> <a name="volumeName" id="cdk8s-plus-32.PersistentVolume.fromPersistentVolumeName.parameter.volumeName"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.mode">mode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Volume mode of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | Reclaim policy of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Access modes requirement of this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | PVC this volume is bound to. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | Mount options of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Storage size of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolume.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Storage class this volume belongs to. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.PersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.PersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.PersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.PersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolume.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.PersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.PersistentVolume.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.PersistentVolume.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.PersistentVolume.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `mode`<sup>Required</sup> <a name="mode" id="cdk8s-plus-32.PersistentVolume.property.mode"></a>

```java
public PersistentVolumeMode getMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>

Volume mode of this volume.

---

##### `reclaimPolicy`<sup>Required</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.PersistentVolume.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>

Reclaim policy of this volume.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolume.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>

Access modes requirement of this claim.

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.PersistentVolume.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

PVC this volume is bound to.

Undefined means this volume is not yet
claimed by any PVC.

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.PersistentVolume.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

Mount options of this volume.

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolume.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size

Storage size of this volume.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolume.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

Storage class this volume belongs to.

---


### PersistentVolumeClaim <a name="PersistentVolumeClaim" id="cdk8s-plus-32.PersistentVolumeClaim"></a>

- *Implements:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

A PersistentVolumeClaim (PVC) is a request for storage by a user.

It is similar to a Pod. Pods consume node resources and PVCs consume PV resources.
Pods can request specific levels of resources (CPU and Memory).
Claims can request specific size and access modes

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaim;

PersistentVolumeClaim.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volume(IPersistentVolume)
//  .volumeMode(PersistentVolumeMode)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains the access modes the volume should support. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Minimum storage size the volume should have. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.volume">volume</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a></code> | The PersistentVolume backing this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.accessModes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes requirement.

Contains the access modes the volume should support.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.storage"></a>

- *Type:* org.cdk8s.Size
- *Default:* No storage requirement.

Minimum storage size the volume should have.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.storageClassName"></a>

- *Type:* java.lang.String
- *Default:* Not set.

Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:.

* If the admission plugin is turned on, the storage class marked as default will be used.
* If the admission plugin is turned off, the pvc can only be bound to volumes without a storage class.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1)

---

##### `volume`<sup>Optional</sup> <a name="volume" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.volume"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>
- *Default:* No specific volume binding.

The PersistentVolume backing this claim.

The control plane still checks that storage class, access modes,
and requested storage size on the volume are valid.

Note that in order to guarantee a proper binding, the volume should
also define a `claimRef` referring to this claim. Otherwise, the volume may be
claimed be other pvc's before it gets a chance to bind to this one.

If the volume is managed (i.e not imported), you can use `pv.claim()` to easily
create a bi-directional bounded claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.)

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolumeClaim.Initializer.parameter.volumeMode"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.bind">bind</a></code> | Bind a claim to a specific volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.PersistentVolumeClaim.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.PersistentVolumeClaim.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.PersistentVolumeClaim.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.PersistentVolumeClaim.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.PersistentVolumeClaim.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `bind` <a name="bind" id="cdk8s-plus-32.PersistentVolumeClaim.bind"></a>

```java
public void bind(IPersistentVolume vol)
```

Bind a claim to a specific volume.

Note that you must also bind the volume to the claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding)

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.PersistentVolumeClaim.bind.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>

The PV to bind to.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.fromClaimName">fromClaimName</a></code> | Imports a pvc from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.PersistentVolumeClaim.isConstruct"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaim;

PersistentVolumeClaim.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.PersistentVolumeClaim.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromClaimName` <a name="fromClaimName" id="cdk8s-plus-32.PersistentVolumeClaim.fromClaimName"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaim;

PersistentVolumeClaim.fromClaimName(Construct scope, java.lang.String id, java.lang.String claimName)
```

Imports a pvc from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.PersistentVolumeClaim.fromClaimName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.PersistentVolumeClaim.fromClaimName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `claimName`<sup>Required</sup> <a name="claimName" id="cdk8s-plus-32.PersistentVolumeClaim.fromClaimName.parameter.claimName"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Volume mode requirement of this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Access modes requirement of this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Storage requirement of this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Storage class requirment of this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaim.property.volume">volume</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a></code> | PV this claim is bound to. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.PersistentVolumeClaim.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.PersistentVolumeClaim.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.PersistentVolumeClaim.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.PersistentVolumeClaim.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolumeClaim.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.PersistentVolumeClaim.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.PersistentVolumeClaim.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.PersistentVolumeClaim.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.PersistentVolumeClaim.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `volumeMode`<sup>Required</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolumeClaim.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>

Volume mode requirement of this claim.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolumeClaim.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>

Access modes requirement of this claim.

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolumeClaim.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size

Storage requirement of this claim.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolumeClaim.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

Storage class requirment of this claim.

---

##### `volume`<sup>Optional</sup> <a name="volume" id="cdk8s-plus-32.PersistentVolumeClaim.property.volume"></a>

```java
public IPersistentVolume getVolume();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>

PV this claim is bound to.

Undefined means the claim is not bound
to any specific volume.

---


### Pod <a name="Pod" id="cdk8s-plus-32.Pod"></a>

Pod is a collection of containers that can run on a host.

This resource is
created by clients and scheduled onto hosts.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Pod.Initializer"></a>

```java
import org.cdk8s.plus32.Pod;

Pod.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.Pod.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Pod.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Pod.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Pod.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Pod.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.Pod.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.Pod.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Pod.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Pod.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.Pod.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Pod.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.Pod.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.Pod.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Pod.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.Pod.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Pod.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Pod.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Pod.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.Pod.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Pod.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Pod.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Pod.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Pod.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Pod.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Pod.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.Pod.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Pod.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Pod.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Pod.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Pod.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Pod.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Pod.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.Pod.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Pod.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.Pod.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.Pod.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.Pod.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Pod.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.Pod.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.Pod.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.Pod.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Pod.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Pod.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Pod.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.Pod.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.Pod.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Pod.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Pod.isConstruct"></a>

```java
import org.cdk8s.plus32.Pod;

Pod.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Pod.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Pod.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Pod.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Pod.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Pod.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Pod.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Pod.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Pod.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Pod.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pod.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.PodScheduling">PodScheduling</a></code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Pod.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Pod.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Pod.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Pod.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Pod.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Pod.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Pod.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Pod.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Pod.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Pod.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.Pod.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.Pod.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.Pod.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.Pod.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.Pod.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.Pod.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Pod.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.Pod.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Pod.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Pod.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Pod.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Pod.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Pod.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Pod.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.Pod.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.Pod.property.scheduling"></a>

```java
public PodScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.PodScheduling">PodScheduling</a>

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Pod.property.ADDRESS_LABEL">ADDRESS_LABEL</a></code> | <code>java.lang.String</code> | This label is autoamtically added by cdk8s to any pod. |

---

##### `ADDRESS_LABEL`<sup>Required</sup> <a name="ADDRESS_LABEL" id="cdk8s-plus-32.Pod.property.ADDRESS_LABEL"></a>

```java
public java.lang.String getAddressLabel();
```

- *Type:* java.lang.String

This label is autoamtically added by cdk8s to any pod.

It provides
a unique and stable identifier for the pod.

---

### Pods <a name="Pods" id="cdk8s-plus-32.Pods"></a>

- *Implements:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

Represents a group of pods.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Pods.Initializer"></a>

```java
import org.cdk8s.plus32.Pods;

new Pods(Construct scope, java.lang.String id);,new Pods(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions);,new Pods(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions, java.util.Map<java.lang.String, java.lang.String> labels);,new Pods(Construct scope, java.lang.String id, java.util.List<LabelExpression> expressions, java.util.Map<java.lang.String, java.lang.String> labels, INamespaceSelector namespaces);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Pods.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.Initializer.parameter.expressions">expressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.Initializer.parameter.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.Initializer.parameter.namespaces">namespaces</a></code> | <code><a href="#cdk8s-plus-32.INamespaceSelector">INamespaceSelector</a></code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Pods.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Pods.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `expressions`<sup>Optional</sup> <a name="expressions" id="cdk8s-plus-32.Pods.Initializer.parameter.expressions"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>>

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.Pods.Initializer.parameter.labels"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.Pods.Initializer.parameter.namespaces"></a>

- *Type:* <a href="#cdk8s-plus-32.INamespaceSelector">INamespaceSelector</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Pods.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Pods.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Pods.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.toPodSelector">toPodSelector</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Pods.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Pods.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Pods.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Pods.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Pods.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Pods.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.Pods.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Pods.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Pods.all">all</a></code> | Select all pods. |
| <code><a href="#cdk8s-plus-32.Pods.select">select</a></code> | Select pods in the cluster with various selectors. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Pods.isConstruct"></a>

```java
import org.cdk8s.plus32.Pods;

Pods.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Pods.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `all` <a name="all" id="cdk8s-plus-32.Pods.all"></a>

```java
import org.cdk8s.plus32.Pods;

Pods.all(Construct scope, java.lang.String id),Pods.all(Construct scope, java.lang.String id, PodsAllOptions options)
```

Select all pods.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Pods.all.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Pods.all.parameter.id"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Pods.all.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodsAllOptions">PodsAllOptions</a>

---

##### `select` <a name="select" id="cdk8s-plus-32.Pods.select"></a>

```java
import org.cdk8s.plus32.Pods;

Pods.select(Construct scope, java.lang.String id, PodsSelectOptions options)
```

Select pods in the cluster with various selectors.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Pods.select.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Pods.select.parameter.id"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Pods.select.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodsSelectOptions">PodsSelectOptions</a>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Pods.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Pods.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---


### Resource <a name="Resource" id="cdk8s-plus-32.Resource"></a>

- *Implements:* <a href="#cdk8s-plus-32.IResource">IResource</a>, <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>, <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>

Base class for all Kubernetes objects in stdk8s.

Represents a single
resource.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Resource.Initializer"></a>

```java
import org.cdk8s.plus32.Resource;

new Resource(Construct scope, java.lang.String id);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Resource.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Resource.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Resource.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Resource.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Resource.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Resource.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Resource.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Resource.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Resource.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Resource.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Resource.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Resource.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Resource.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Resource.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Resource.isConstruct"></a>

```java
import org.cdk8s.plus32.Resource;

Resource.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Resource.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Resource.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Resource.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Resource.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Resource.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Resource.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Resource.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Resource.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Resource.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Resource.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Resource.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Resource.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Resource.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Resource.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Resource.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Resource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Resource.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Resource.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Resource.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---


### Role <a name="Role" id="cdk8s-plus-32.Role"></a>

- *Implements:* <a href="#cdk8s-plus-32.IRole">IRole</a>

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Role.Initializer"></a>

```java
import org.cdk8s.plus32.Role;

Role.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .rules(java.util.List<RolePolicyRule>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Role.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Role.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Role.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Role.Initializer.parameter.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>></code> | A list of rules the role should allow. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Role.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Role.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Role.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.Role.Initializer.parameter.rules"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>>
- *Default:* []

A list of rules the role should allow.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Role.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Role.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Role.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Role.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Role.allow">allow</a></code> | Add permission to perform a list of HTTP verbs on a collection of resources. |
| <code><a href="#cdk8s-plus-32.Role.allowCreate">allowCreate</a></code> | Add "create" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowDelete">allowDelete</a></code> | Add "delete" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowDeleteCollection">allowDeleteCollection</a></code> | Add "deletecollection" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowGet">allowGet</a></code> | Add "get" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowList">allowList</a></code> | Add "list" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowPatch">allowPatch</a></code> | Add "patch" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowRead">allowRead</a></code> | Add "get", "list", and "watch" permissions for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowReadWrite">allowReadWrite</a></code> | Add "get", "list", "watch", "create", "update", "patch", "delete", and "deletecollection" permissions for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowUpdate">allowUpdate</a></code> | Add "update" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.allowWatch">allowWatch</a></code> | Add "watch" permission for the resources. |
| <code><a href="#cdk8s-plus-32.Role.bind">bind</a></code> | Create a RoleBinding that binds the permissions in this Role to a list of subjects, that will only apply this role's namespace. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Role.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Role.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Role.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Role.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Role.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `allow` <a name="allow" id="cdk8s-plus-32.Role.allow"></a>

```java
public void allow(java.util.List<java.lang.String> verbs, IApiResource... resources)
```

Add permission to perform a list of HTTP verbs on a collection of resources.

> [https://kubernetes.io/docs/reference/access-authn-authz/authorization/#determine-the-request-verb](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#determine-the-request-verb)

###### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.Role.allow.parameter.verbs"></a>

- *Type:* java.util.List<java.lang.String>

---

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allow.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowCreate` <a name="allowCreate" id="cdk8s-plus-32.Role.allowCreate"></a>

```java
public void allowCreate(IApiResource... resources)
```

Add "create" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowCreate.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowDelete` <a name="allowDelete" id="cdk8s-plus-32.Role.allowDelete"></a>

```java
public void allowDelete(IApiResource... resources)
```

Add "delete" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowDelete.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowDeleteCollection` <a name="allowDeleteCollection" id="cdk8s-plus-32.Role.allowDeleteCollection"></a>

```java
public void allowDeleteCollection(IApiResource... resources)
```

Add "deletecollection" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowDeleteCollection.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowGet` <a name="allowGet" id="cdk8s-plus-32.Role.allowGet"></a>

```java
public void allowGet(IApiResource... resources)
```

Add "get" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowGet.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowList` <a name="allowList" id="cdk8s-plus-32.Role.allowList"></a>

```java
public void allowList(IApiResource... resources)
```

Add "list" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowList.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowPatch` <a name="allowPatch" id="cdk8s-plus-32.Role.allowPatch"></a>

```java
public void allowPatch(IApiResource... resources)
```

Add "patch" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowPatch.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowRead` <a name="allowRead" id="cdk8s-plus-32.Role.allowRead"></a>

```java
public void allowRead(IApiResource... resources)
```

Add "get", "list", and "watch" permissions for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowRead.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowReadWrite` <a name="allowReadWrite" id="cdk8s-plus-32.Role.allowReadWrite"></a>

```java
public void allowReadWrite(IApiResource... resources)
```

Add "get", "list", "watch", "create", "update", "patch", "delete", and "deletecollection" permissions for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowReadWrite.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowUpdate` <a name="allowUpdate" id="cdk8s-plus-32.Role.allowUpdate"></a>

```java
public void allowUpdate(IApiResource... resources)
```

Add "update" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowUpdate.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `allowWatch` <a name="allowWatch" id="cdk8s-plus-32.Role.allowWatch"></a>

```java
public void allowWatch(IApiResource... resources)
```

Add "watch" permission for the resources.

###### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.Role.allowWatch.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>...

The resource(s) to apply to.

---

##### `bind` <a name="bind" id="cdk8s-plus-32.Role.bind"></a>

```java
public RoleBinding bind(ISubject... subjects)
```

Create a RoleBinding that binds the permissions in this Role to a list of subjects, that will only apply this role's namespace.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.Role.bind.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

a list of subjects to bind to.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Role.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Role.fromRoleName">fromRoleName</a></code> | Imports a role from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Role.isConstruct"></a>

```java
import org.cdk8s.plus32.Role;

Role.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Role.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromRoleName` <a name="fromRoleName" id="cdk8s-plus-32.Role.fromRoleName"></a>

```java
import org.cdk8s.plus32.Role;

Role.fromRoleName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a role from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Role.fromRoleName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Role.fromRoleName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Role.fromRoleName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Role.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Role.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Role.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Role.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Role.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Role.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Role.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Role.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Role.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Role.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>></code> | Rules associaated with this Role. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Role.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Role.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Role.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Role.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Role.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Role.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Role.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Role.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Role.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `rules`<sup>Required</sup> <a name="rules" id="cdk8s-plus-32.Role.property.rules"></a>

```java
public java.util.List<RolePolicyRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>>

Rules associaated with this Role.

Returns a copy, use `allow` to add rules.

---


### RoleBinding <a name="RoleBinding" id="cdk8s-plus-32.RoleBinding"></a>

A RoleBinding grants permissions within a specific namespace to a user or set of users.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.RoleBinding.Initializer"></a>

```java
import org.cdk8s.plus32.RoleBinding;

RoleBinding.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
    .role(IRole)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.RoleBinding.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.RoleBinding.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.RoleBinding.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.RoleBinding.Initializer.parameter.role">role</a></code> | <code><a href="#cdk8s-plus-32.IRole">IRole</a></code> | The role to bind to. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.RoleBinding.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.RoleBinding.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.RoleBinding.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.RoleBinding.Initializer.parameter.role"></a>

- *Type:* <a href="#cdk8s-plus-32.IRole">IRole</a>

The role to bind to.

A RoleBinding can reference a Role or a ClusterRole.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.RoleBinding.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.RoleBinding.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.RoleBinding.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.RoleBinding.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.RoleBinding.addSubjects">addSubjects</a></code> | Adds a subject to the role. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.RoleBinding.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.RoleBinding.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.RoleBinding.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.RoleBinding.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.RoleBinding.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addSubjects` <a name="addSubjects" id="cdk8s-plus-32.RoleBinding.addSubjects"></a>

```java
public void addSubjects(ISubject... subjects)
```

Adds a subject to the role.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.RoleBinding.addSubjects.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

The subjects to add.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.RoleBinding.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.RoleBinding.isConstruct"></a>

```java
import org.cdk8s.plus32.RoleBinding;

RoleBinding.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.RoleBinding.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.role">role</a></code> | <code><a href="#cdk8s-plus-32.IRole">IRole</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.RoleBinding.property.subjects">subjects</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ISubject">ISubject</a>></code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.RoleBinding.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.RoleBinding.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.RoleBinding.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.RoleBinding.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.RoleBinding.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.RoleBinding.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.RoleBinding.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.RoleBinding.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.RoleBinding.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.RoleBinding.property.role"></a>

```java
public IRole getRole();
```

- *Type:* <a href="#cdk8s-plus-32.IRole">IRole</a>

---

##### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.RoleBinding.property.subjects"></a>

```java
public java.util.List<ISubject> getSubjects();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ISubject">ISubject</a>>

---


### Secret <a name="Secret" id="cdk8s-plus-32.Secret"></a>

- *Implements:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

Kubernetes Secrets let you store and manage sensitive information, such as passwords, OAuth tokens, and ssh keys.

Storing confidential information in a
Secret is safer and more flexible than putting it verbatim in a Pod
definition or in a container image.

> [https://kubernetes.io/docs/concepts/configuration/secret](https://kubernetes.io/docs/concepts/configuration/secret)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Secret.Initializer"></a>

```java
import org.cdk8s.plus32.Secret;

Secret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
//  .stringData(java.util.Map<java.lang.String, java.lang.String>)
//  .type(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.stringData">stringData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | stringData allows specifying non-binary secret data in string form. |
| <code><a href="#cdk8s-plus-32.Secret.Initializer.parameter.type">type</a></code> | <code>java.lang.String</code> | Optional type associated with the secret. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Secret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Secret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Secret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.Secret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `stringData`<sup>Optional</sup> <a name="stringData" id="cdk8s-plus-32.Secret.Initializer.parameter.stringData"></a>

- *Type:* java.util.Map<java.lang.String, java.lang.String>

stringData allows specifying non-binary secret data in string form.

It is
provided as a write-only convenience method. All keys and values are merged
into the data field on write, overwriting any existing values. It is never
output when reading from the API.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.Secret.Initializer.parameter.type"></a>

- *Type:* java.lang.String
- *Default:* undefined - Don't set a type.

Optional type associated with the secret.

Used to facilitate programmatic
handling of secret data by various controllers.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Secret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Secret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Secret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Secret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Secret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.Secret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.Secret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Secret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Secret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Secret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Secret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Secret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.Secret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Secret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Secret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.Secret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Secret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Secret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.Secret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Secret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Secret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Secret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Secret.isConstruct"></a>

```java
import org.cdk8s.plus32.Secret;

Secret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Secret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.Secret.fromSecretName"></a>

```java
import org.cdk8s.plus32.Secret;

Secret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Secret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Secret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Secret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Secret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Secret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Secret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Secret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Secret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Secret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Secret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Secret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Secret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Secret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Secret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Secret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Secret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Secret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Secret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Secret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Secret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Secret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Secret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.Secret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### Service <a name="Service" id="cdk8s-plus-32.Service"></a>

An abstract way to expose an application running on a set of Pods as a network service.

With Kubernetes you don't need to modify your application to use an unfamiliar service discovery mechanism.
Kubernetes gives Pods their own IP addresses and a single DNS name for a set of Pods, and can load-balance across them.

For example, consider a stateless image-processing backend which is running with 3 replicas. Those replicas are fungible—frontends do not care which backend they use.
While the actual Pods that compose the backend set may change, the frontend clients should not need to be aware of that,
nor should they need to keep track of the set of backends themselves.
The Service abstraction enables this decoupling.

If you're able to use Kubernetes APIs for service discovery in your application, you can query the API server for Endpoints,
that get updated whenever the set of Pods in a Service changes. For non-native applications, Kubernetes offers ways to place a network port
or load balancer in between your application and the backend Pods.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Service.Initializer"></a>

```java
import org.cdk8s.plus32.Service;

Service.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .clusterIP(java.lang.String)
//  .externalIPs(java.util.List<java.lang.String>)
//  .externalName(java.lang.String)
//  .loadBalancerSourceRanges(java.util.List<java.lang.String>)
//  .ports(java.util.List<ServicePort>)
//  .publishNotReadyAddresses(java.lang.Boolean)
//  .selector(IPodSelector)
//  .type(ServiceType)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.clusterIP">clusterIP</a></code> | <code>java.lang.String</code> | The IP address of the service and is usually assigned randomly by the master. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.externalIPs">externalIPs</a></code> | <code>java.util.List<java.lang.String></code> | A list of IP addresses for which nodes in the cluster will also accept traffic for this service. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.externalName">externalName</a></code> | <code>java.lang.String</code> | The externalName to be used when ServiceType.EXTERNAL_NAME is set. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.loadBalancerSourceRanges">loadBalancerSourceRanges</a></code> | <code>java.util.List<java.lang.String></code> | A list of CIDR IP addresses, if specified and supported by the platform, will restrict traffic through the cloud-provider load-balancer to the specified client IPs. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>></code> | The ports this service binds to. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.publishNotReadyAddresses">publishNotReadyAddresses</a></code> | <code>java.lang.Boolean</code> | The publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.selector">selector</a></code> | <code><a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a></code> | Which pods should the service select and route to. |
| <code><a href="#cdk8s-plus-32.Service.Initializer.parameter.type">type</a></code> | <code><a href="#cdk8s-plus-32.ServiceType">ServiceType</a></code> | Determines how the Service is exposed. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Service.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Service.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Service.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `clusterIP`<sup>Optional</sup> <a name="clusterIP" id="cdk8s-plus-32.Service.Initializer.parameter.clusterIP"></a>

- *Type:* java.lang.String
- *Default:* Automatically assigned.

The IP address of the service and is usually assigned randomly by the master.

If an address is specified manually and is not in use by others, it
will be allocated to the service; otherwise, creation of the service will
fail. This field can not be changed through updates. Valid values are
"None", empty string (""), or a valid IP address. "None" can be specified
for headless services when proxying is not required. Only applies to types
ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName.

> [https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies](https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies)

---

##### `externalIPs`<sup>Optional</sup> <a name="externalIPs" id="cdk8s-plus-32.Service.Initializer.parameter.externalIPs"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* No external IPs.

A list of IP addresses for which nodes in the cluster will also accept traffic for this service.

These IPs are not managed by Kubernetes. The user
is responsible for ensuring that traffic arrives at a node with this IP. A
common example is external load-balancers that are not part of the
Kubernetes system.

---

##### `externalName`<sup>Optional</sup> <a name="externalName" id="cdk8s-plus-32.Service.Initializer.parameter.externalName"></a>

- *Type:* java.lang.String
- *Default:* No external name.

The externalName to be used when ServiceType.EXTERNAL_NAME is set.

---

##### `loadBalancerSourceRanges`<sup>Optional</sup> <a name="loadBalancerSourceRanges" id="cdk8s-plus-32.Service.Initializer.parameter.loadBalancerSourceRanges"></a>

- *Type:* java.util.List<java.lang.String>

A list of CIDR IP addresses, if specified and supported by the platform, will restrict traffic through the cloud-provider load-balancer to the specified client IPs.

More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.Service.Initializer.parameter.ports"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>>
- *Default:* either the selector ports, or none.

The ports this service binds to.

If the selector of the service is a managed pod / workload,
its ports will are automatically extracted and used as the default value.
Otherwise, no ports are bound.

---

##### `publishNotReadyAddresses`<sup>Optional</sup> <a name="publishNotReadyAddresses" id="cdk8s-plus-32.Service.Initializer.parameter.publishNotReadyAddresses"></a>

- *Type:* java.lang.Boolean
- *Default:* false

The publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready.

More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#servicespec-v1-core

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.Service.Initializer.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>
- *Default:* unset, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify.

Which pods should the service select and route to.

You can pass one of the following:

* An instance of `Pod` or any workload resource (e.g `Deployment`, `StatefulSet`, ...)
* Pods selected by the `Pods.select` function. Note that in this case only labels can be specified.

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
// select the pods of a specific deployment
Object backend = new Deployment(this, "Backend", ...);
Service.Builder.create(this, "Service").selector(backend).build();

// select all pods labeled with the `tier=backend` label
Object backend = kplus.Pod.labeled(Map.of("tier", "backend"));
Service.Builder.create(this, "Service").selector(backend).build();
```


##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.Service.Initializer.parameter.type"></a>

- *Type:* <a href="#cdk8s-plus-32.ServiceType">ServiceType</a>
- *Default:* ServiceType.ClusterIP

Determines how the Service is exposed.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Service.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Service.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Service.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Service.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Service.bind">bind</a></code> | Configure a port the service will bind to. |
| <code><a href="#cdk8s-plus-32.Service.exposeViaIngress">exposeViaIngress</a></code> | Expose a service via an ingress using the specified path. |
| <code><a href="#cdk8s-plus-32.Service.select">select</a></code> | Require this service to select pods matching the selector. |
| <code><a href="#cdk8s-plus-32.Service.selectLabel">selectLabel</a></code> | Require this service to select pods with this label. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Service.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Service.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Service.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Service.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Service.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `bind` <a name="bind" id="cdk8s-plus-32.Service.bind"></a>

```java
public void bind(java.lang.Number port)
public void bind(java.lang.Number port, ServiceBindOptions options)
```

Configure a port the service will bind to.

This method can be called multiple times.

###### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.Service.bind.parameter.port"></a>

- *Type:* java.lang.Number

The port definition.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Service.bind.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ServiceBindOptions">ServiceBindOptions</a>

---

##### `exposeViaIngress` <a name="exposeViaIngress" id="cdk8s-plus-32.Service.exposeViaIngress"></a>

```java
public Ingress exposeViaIngress(java.lang.String path)
public Ingress exposeViaIngress(java.lang.String path, ExposeServiceViaIngressOptions options)
```

Expose a service via an ingress using the specified path.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Service.exposeViaIngress.parameter.path"></a>

- *Type:* java.lang.String

The path to expose the service under.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Service.exposeViaIngress.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ExposeServiceViaIngressOptions">ExposeServiceViaIngressOptions</a>

Additional options.

---

##### `select` <a name="select" id="cdk8s-plus-32.Service.select"></a>

```java
public void select(IPodSelector selector)
```

Require this service to select pods matching the selector.

Note that invoking this method multiple times acts as an AND operator
on the resulting labels.

###### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.Service.select.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

---

##### `selectLabel` <a name="selectLabel" id="cdk8s-plus-32.Service.selectLabel"></a>

```java
public void selectLabel(java.lang.String key, java.lang.String value)
```

Require this service to select pods with this label.

Note that invoking this method multiple times acts as an AND operator
on the resulting labels.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Service.selectLabel.parameter.key"></a>

- *Type:* java.lang.String

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Service.selectLabel.parameter.value"></a>

- *Type:* java.lang.String

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Service.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Service.isConstruct"></a>

```java
import org.cdk8s.plus32.Service;

Service.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Service.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Service.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Service.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Service.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Service.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Service.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Service.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Service.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Service.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Service.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Service.property.port">port</a></code> | <code>java.lang.Number</code> | Return the first port of the service. |
| <code><a href="#cdk8s-plus-32.Service.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>></code> | Ports for this service. |
| <code><a href="#cdk8s-plus-32.Service.property.type">type</a></code> | <code><a href="#cdk8s-plus-32.ServiceType">ServiceType</a></code> | Determines how the Service is exposed. |
| <code><a href="#cdk8s-plus-32.Service.property.clusterIP">clusterIP</a></code> | <code>java.lang.String</code> | The IP address of the service and is usually assigned randomly by the master. |
| <code><a href="#cdk8s-plus-32.Service.property.externalName">externalName</a></code> | <code>java.lang.String</code> | The externalName to be used for EXTERNAL_NAME types. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Service.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Service.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Service.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Service.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Service.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Service.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Service.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Service.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Service.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.Service.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

Return the first port of the service.

---

##### `ports`<sup>Required</sup> <a name="ports" id="cdk8s-plus-32.Service.property.ports"></a>

```java
public java.util.List<ServicePort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>>

Ports for this service.

Use `bind()` to bind additional service ports.

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.Service.property.type"></a>

```java
public ServiceType getType();
```

- *Type:* <a href="#cdk8s-plus-32.ServiceType">ServiceType</a>

Determines how the Service is exposed.

---

##### `clusterIP`<sup>Optional</sup> <a name="clusterIP" id="cdk8s-plus-32.Service.property.clusterIP"></a>

```java
public java.lang.String getClusterIP();
```

- *Type:* java.lang.String

The IP address of the service and is usually assigned randomly by the master.

---

##### `externalName`<sup>Optional</sup> <a name="externalName" id="cdk8s-plus-32.Service.property.externalName"></a>

```java
public java.lang.String getExternalName();
```

- *Type:* java.lang.String

The externalName to be used for EXTERNAL_NAME types.

---


### ServiceAccount <a name="ServiceAccount" id="cdk8s-plus-32.ServiceAccount"></a>

- *Implements:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>, <a href="#cdk8s-plus-32.ISubject">ISubject</a>

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the apiserver.
When they do, they are authenticated as a particular Service Account (for
example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ServiceAccount.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceAccount;

ServiceAccount.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountToken(java.lang.Boolean)
//  .secrets(java.util.List<ISecret>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccount.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccount.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccount.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.Initializer.parameter.automountToken">automountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether pods running as this service account should have an API token automatically mounted. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.Initializer.parameter.secrets">secrets</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>></code> | List of secrets allowed to be used by pods running using this ServiceAccount. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ServiceAccount.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ServiceAccount.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccount.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountToken`<sup>Optional</sup> <a name="automountToken" id="cdk8s-plus-32.ServiceAccount.Initializer.parameter.automountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether pods running as this service account should have an API token automatically mounted.

Can be overridden at the pod level.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `secrets`<sup>Optional</sup> <a name="secrets" id="cdk8s-plus-32.ServiceAccount.Initializer.parameter.secrets"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>>

List of secrets allowed to be used by pods running using this ServiceAccount.

> [https://kubernetes.io/docs/concepts/configuration/secret](https://kubernetes.io/docs/concepts/configuration/secret)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccount.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.addSecret">addSecret</a></code> | Allow a secret to be accessed by pods using this service account. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.ServiceAccount.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.ServiceAccount.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.ServiceAccount.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ServiceAccount.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ServiceAccount.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addSecret` <a name="addSecret" id="cdk8s-plus-32.ServiceAccount.addSecret"></a>

```java
public void addSecret(ISecret secr)
```

Allow a secret to be accessed by pods using this service account.

###### `secr`<sup>Required</sup> <a name="secr" id="cdk8s-plus-32.ServiceAccount.addSecret.parameter.secr"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

The secret.

---

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.ServiceAccount.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccount.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.fromServiceAccountName">fromServiceAccountName</a></code> | Imports a service account from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.ServiceAccount.isConstruct"></a>

```java
import org.cdk8s.plus32.ServiceAccount;

ServiceAccount.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.ServiceAccount.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromServiceAccountName` <a name="fromServiceAccountName" id="cdk8s-plus-32.ServiceAccount.fromServiceAccountName"></a>

```java
import org.cdk8s.plus32.ServiceAccount;

ServiceAccount.fromServiceAccountName(Construct scope, java.lang.String id, java.lang.String name),ServiceAccount.fromServiceAccountName(Construct scope, java.lang.String id, java.lang.String name, FromServiceAccountNameOptions options)
```

Imports a service account from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ServiceAccount.fromServiceAccountName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ServiceAccount.fromServiceAccountName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ServiceAccount.fromServiceAccountName.parameter.name"></a>

- *Type:* java.lang.String

The name of the service account resource.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.ServiceAccount.fromServiceAccountName.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.FromServiceAccountNameOptions">FromServiceAccountNameOptions</a>

additional options.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.automountToken">automountToken</a></code> | <code>java.lang.Boolean</code> | Whether or not a token is automatically mounted for this service account. |
| <code><a href="#cdk8s-plus-32.ServiceAccount.property.secrets">secrets</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>></code> | List of secrets allowed to be used by pods running using this service account. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ServiceAccount.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ServiceAccount.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ServiceAccount.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ServiceAccount.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccount.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ServiceAccount.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.ServiceAccount.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ServiceAccount.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ServiceAccount.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountToken`<sup>Required</sup> <a name="automountToken" id="cdk8s-plus-32.ServiceAccount.property.automountToken"></a>

```java
public java.lang.Boolean getAutomountToken();
```

- *Type:* java.lang.Boolean

Whether or not a token is automatically mounted for this service account.

---

##### `secrets`<sup>Required</sup> <a name="secrets" id="cdk8s-plus-32.ServiceAccount.property.secrets"></a>

```java
public java.util.List<ISecret> getSecrets();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>>

List of secrets allowed to be used by pods running using this service account.

Returns a copy. To add a secret, use `addSecret()`.

---


### ServiceAccountTokenSecret <a name="ServiceAccountTokenSecret" id="cdk8s-plus-32.ServiceAccountTokenSecret"></a>

Create a secret for a service account token.

> [https://kubernetes.io/docs/concepts/configuration/secret/#service-account-token-secrets](https://kubernetes.io/docs/concepts/configuration/secret/#service-account-token-secrets)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceAccountTokenSecret;

ServiceAccountTokenSecret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .serviceAccount(IServiceAccount)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | The service account to store a secret for. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `serviceAccount`<sup>Required</sup> <a name="serviceAccount" id="cdk8s-plus-32.ServiceAccountTokenSecret.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

The service account to store a secret for.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.ServiceAccountTokenSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.ServiceAccountTokenSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.ServiceAccountTokenSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ServiceAccountTokenSecret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ServiceAccountTokenSecret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.ServiceAccountTokenSecret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ServiceAccountTokenSecret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.ServiceAccountTokenSecret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.ServiceAccountTokenSecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ServiceAccountTokenSecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.ServiceAccountTokenSecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.ServiceAccountTokenSecret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ServiceAccountTokenSecret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.ServiceAccountTokenSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.ServiceAccountTokenSecret;

ServiceAccountTokenSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.ServiceAccountTokenSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.ServiceAccountTokenSecret.fromSecretName"></a>

```java
import org.cdk8s.plus32.ServiceAccountTokenSecret;

ServiceAccountTokenSecret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.ServiceAccountTokenSecret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.ServiceAccountTokenSecret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ServiceAccountTokenSecret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.ServiceAccountTokenSecret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### SshAuthSecret <a name="SshAuthSecret" id="cdk8s-plus-32.SshAuthSecret"></a>

Create a secret for ssh authentication.

> [https://kubernetes.io/docs/concepts/configuration/secret/#ssh-authentication-secrets](https://kubernetes.io/docs/concepts/configuration/secret/#ssh-authentication-secrets)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.SshAuthSecret.Initializer"></a>

```java
import org.cdk8s.plus32.SshAuthSecret;

SshAuthSecret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .sshPrivateKey(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.Initializer.parameter.sshPrivateKey">sshPrivateKey</a></code> | <code>java.lang.String</code> | The SSH private key to use. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.SshAuthSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.SshAuthSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.SshAuthSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.SshAuthSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `sshPrivateKey`<sup>Required</sup> <a name="sshPrivateKey" id="cdk8s-plus-32.SshAuthSecret.Initializer.parameter.sshPrivateKey"></a>

- *Type:* java.lang.String

The SSH private key to use.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.SshAuthSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.SshAuthSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.SshAuthSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.SshAuthSecret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.SshAuthSecret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.SshAuthSecret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.SshAuthSecret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.SshAuthSecret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.SshAuthSecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.SshAuthSecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.SshAuthSecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.SshAuthSecret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.SshAuthSecret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.SshAuthSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.SshAuthSecret;

SshAuthSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.SshAuthSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.SshAuthSecret.fromSecretName"></a>

```java
import org.cdk8s.plus32.SshAuthSecret;

SshAuthSecret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.SshAuthSecret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.SshAuthSecret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.SshAuthSecret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.SshAuthSecret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.SshAuthSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.SshAuthSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.SshAuthSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.SshAuthSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.SshAuthSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.SshAuthSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.SshAuthSecret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.SshAuthSecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.SshAuthSecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.SshAuthSecret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### StatefulSet <a name="StatefulSet" id="cdk8s-plus-32.StatefulSet"></a>

- *Implements:* <a href="#cdk8s-plus-32.IScalable">IScalable</a>

StatefulSet is the workload API object used to manage stateful applications.

Manages the deployment and scaling of a set of Pods, and provides guarantees
about the ordering and uniqueness of these Pods.

Like a Deployment, a StatefulSet manages Pods that are based on an identical
container spec. Unlike a Deployment, a StatefulSet maintains a sticky identity
for each of their Pods. These pods are created from the same spec, but are not
interchangeable: each has a persistent identifier that it maintains across any
rescheduling.

If you want to use storage volumes to provide persistence for your workload, you
can use a StatefulSet as part of the solution. Although individual Pods in a StatefulSet
are susceptible to failure, the persistent Pod identifiers make it easier to match existing
volumes to the new Pods that replace any that have failed.

## Using StatefulSets

StatefulSets are valuable for applications that require one or more of the following.

* Stable, unique network identifiers.
* Stable, persistent storage.
* Ordered, graceful deployment and scaling.
* Ordered, automated rolling updates.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.StatefulSet.Initializer"></a>

```java
import org.cdk8s.plus32.StatefulSet;

StatefulSet.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReady(Duration)
//  .podManagementPolicy(PodManagementPolicy)
//  .replicas(java.lang.Number)
//  .service(Service)
//  .strategy(StatefulSetUpdateStrategy)
//  .volumeClaimTemplates(java.util.List<PersistentVolumeClaimTemplateProps>)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.podManagementPolicy">podManagementPolicy</a></code> | <code><a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a></code> | Pod management policy to use for this statefulset. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.service">service</a></code> | <code><a href="#cdk8s-plus-32.Service">Service</a></code> | Service to associate with the statefulset. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a></code> | Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. |
| <code><a href="#cdk8s-plus-32.StatefulSet.Initializer.parameter.volumeClaimTemplates">volumeClaimTemplates</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>></code> | A list of PersistentVolumeClaim templates that will be created for each pod in the StatefulSet. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReady`<sup>Optional</sup> <a name="minReady" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.minReady"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(0)

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Zero means the pod will be considered available as soon as it is ready.

This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)

---

##### `podManagementPolicy`<sup>Optional</sup> <a name="podManagementPolicy" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.podManagementPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a>
- *Default:* PodManagementPolicy.ORDERED_READY

Pod management policy to use for this statefulset.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.replicas"></a>

- *Type:* java.lang.Number
- *Default:* 1

Number of desired pods.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.service"></a>

- *Type:* <a href="#cdk8s-plus-32.Service">Service</a>
- *Default:* A new headless service will be created.

Service to associate with the statefulset.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.strategy"></a>

- *Type:* <a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a>
- *Default:* RollingUpdate with partition set to 0

Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

---

##### `volumeClaimTemplates`<sup>Optional</sup> <a name="volumeClaimTemplates" id="cdk8s-plus-32.StatefulSet.Initializer.parameter.volumeClaimTemplates"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>>
- *Default:* No volume claim templates will be created.

A list of PersistentVolumeClaim templates that will be created for each pod in the StatefulSet.

The StatefulSet controller creates a PVC and a PV for each template based on the pod's ordinal index,
ensuring stable storage across pod restarts and rescheduling.

Each claim in this list must have at least one matching (by name) volumeMount in one of the containers.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSet.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.StatefulSet.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.StatefulSet.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.StatefulSet.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.StatefulSet.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.StatefulSet.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.StatefulSet.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.StatefulSet.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.StatefulSet.select">select</a></code> | Configure selectors for this workload. |
| <code><a href="#cdk8s-plus-32.StatefulSet.addVolumeClaimTemplate">addVolumeClaimTemplate</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.markHasAutoscaler">markHasAutoscaler</a></code> | Called on all IScalable targets when they are associated with an autoscaler. |
| <code><a href="#cdk8s-plus-32.StatefulSet.toScalingTarget">toScalingTarget</a></code> | Return the target spec properties of this Scalable. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.StatefulSet.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.StatefulSet.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.StatefulSet.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.StatefulSet.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.StatefulSet.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.StatefulSet.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.StatefulSet.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.StatefulSet.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.StatefulSet.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.StatefulSet.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.StatefulSet.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.StatefulSet.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.StatefulSet.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.StatefulSet.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.StatefulSet.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.StatefulSet.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.StatefulSet.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.StatefulSet.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.StatefulSet.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.StatefulSet.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.StatefulSet.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

##### `addVolumeClaimTemplate` <a name="addVolumeClaimTemplate" id="cdk8s-plus-32.StatefulSet.addVolumeClaimTemplate"></a>

```java
public void addVolumeClaimTemplate(PersistentVolumeClaimTemplateProps template)
```

###### `template`<sup>Required</sup> <a name="template" id="cdk8s-plus-32.StatefulSet.addVolumeClaimTemplate.parameter.template"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>

---

##### `markHasAutoscaler` <a name="markHasAutoscaler" id="cdk8s-plus-32.StatefulSet.markHasAutoscaler"></a>

```java
public void markHasAutoscaler()
```

Called on all IScalable targets when they are associated with an autoscaler.

> [IScalable.markHasAutoscaler ()](IScalable.markHasAutoscaler ())

##### `toScalingTarget` <a name="toScalingTarget" id="cdk8s-plus-32.StatefulSet.toScalingTarget"></a>

```java
public ScalingTarget toScalingTarget()
```

Return the target spec properties of this Scalable.

> [IScalable.toScalingTarget ()](IScalable.toScalingTarget ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSet.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.StatefulSet.isConstruct"></a>

```java
import org.cdk8s.plus32.StatefulSet;

StatefulSet.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.StatefulSet.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.podManagementPolicy">podManagementPolicy</a></code> | <code><a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a></code> | Management policy to use for the set. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.service">service</a></code> | <code><a href="#cdk8s-plus-32.Service">Service</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a></code> | The update startegy of this stateful set. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.hasAutoscaler">hasAutoscaler</a></code> | <code>java.lang.Boolean</code> | If this is a target of an autoscaler. |
| <code><a href="#cdk8s-plus-32.StatefulSet.property.volumeClaimTemplates">volumeClaimTemplates</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>></code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.StatefulSet.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.StatefulSet.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.StatefulSet.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.StatefulSet.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.StatefulSet.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.StatefulSet.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.StatefulSet.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.StatefulSet.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.StatefulSet.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.StatefulSet.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.StatefulSet.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.StatefulSet.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.StatefulSet.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.StatefulSet.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.StatefulSet.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.StatefulSet.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.StatefulSet.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.StatefulSet.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.StatefulSet.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.StatefulSet.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.StatefulSet.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.StatefulSet.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.StatefulSet.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.StatefulSet.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.StatefulSet.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.StatefulSet.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.StatefulSet.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.StatefulSet.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---

##### `minReady`<sup>Required</sup> <a name="minReady" id="cdk8s-plus-32.StatefulSet.property.minReady"></a>

```java
public Duration getMinReady();
```

- *Type:* org.cdk8s.Duration

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

---

##### `podManagementPolicy`<sup>Required</sup> <a name="podManagementPolicy" id="cdk8s-plus-32.StatefulSet.property.podManagementPolicy"></a>

```java
public PodManagementPolicy getPodManagementPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a>

Management policy to use for the set.

---

##### `service`<sup>Required</sup> <a name="service" id="cdk8s-plus-32.StatefulSet.property.service"></a>

```java
public Service getService();
```

- *Type:* <a href="#cdk8s-plus-32.Service">Service</a>

---

##### `strategy`<sup>Required</sup> <a name="strategy" id="cdk8s-plus-32.StatefulSet.property.strategy"></a>

```java
public StatefulSetUpdateStrategy getStrategy();
```

- *Type:* <a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a>

The update startegy of this stateful set.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.StatefulSet.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number

Number of desired pods.

---

##### `hasAutoscaler`<sup>Required</sup> <a name="hasAutoscaler" id="cdk8s-plus-32.StatefulSet.property.hasAutoscaler"></a>

```java
public java.lang.Boolean getHasAutoscaler();
```

- *Type:* java.lang.Boolean

If this is a target of an autoscaler.

---

##### `volumeClaimTemplates`<sup>Optional</sup> <a name="volumeClaimTemplates" id="cdk8s-plus-32.StatefulSet.property.volumeClaimTemplates"></a>

```java
public java.util.List<PersistentVolumeClaimTemplateProps> getVolumeClaimTemplates();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>>

---


### TlsSecret <a name="TlsSecret" id="cdk8s-plus-32.TlsSecret"></a>

Create a secret for storing a TLS certificate and its associated key.

> [https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets](https://kubernetes.io/docs/concepts/configuration/secret/#tls-secrets)

#### Initializers <a name="Initializers" id="cdk8s-plus-32.TlsSecret.Initializer"></a>

```java
import org.cdk8s.plus32.TlsSecret;

TlsSecret.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .tlsCert(java.lang.String)
    .tlsKey(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.tlsCert">tlsCert</a></code> | <code>java.lang.String</code> | The TLS cert. |
| <code><a href="#cdk8s-plus-32.TlsSecret.Initializer.parameter.tlsKey">tlsKey</a></code> | <code>java.lang.String</code> | The TLS key. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.immutable"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `tlsCert`<sup>Required</sup> <a name="tlsCert" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.tlsCert"></a>

- *Type:* java.lang.String

The TLS cert.

---

##### `tlsKey`<sup>Required</sup> <a name="tlsKey" id="cdk8s-plus-32.TlsSecret.Initializer.parameter.tlsKey"></a>

- *Type:* java.lang.String

The TLS key.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.TlsSecret.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.TlsSecret.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.TlsSecret.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.TlsSecret.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.TlsSecret.addStringData">addStringData</a></code> | Adds a string data field to the secret. |
| <code><a href="#cdk8s-plus-32.TlsSecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |
| <code><a href="#cdk8s-plus-32.TlsSecret.getStringData">getStringData</a></code> | Gets a string data by key or undefined. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.TlsSecret.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.TlsSecret.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.TlsSecret.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.TlsSecret.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.TlsSecret.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addStringData` <a name="addStringData" id="cdk8s-plus-32.TlsSecret.addStringData"></a>

```java
public void addStringData(java.lang.String key, java.lang.String value)
```

Adds a string data field to the secret.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.TlsSecret.addStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.TlsSecret.addStringData.parameter.value"></a>

- *Type:* java.lang.String

Value.

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.TlsSecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.TlsSecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.TlsSecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

---

##### `getStringData` <a name="getStringData" id="cdk8s-plus-32.TlsSecret.getStringData"></a>

```java
public java.lang.String getStringData(java.lang.String key)
```

Gets a string data by key or undefined.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.TlsSecret.getStringData.parameter.key"></a>

- *Type:* java.lang.String

Key.

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.TlsSecret.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.TlsSecret.fromSecretName">fromSecretName</a></code> | Imports a secret from the cluster as a reference. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.TlsSecret.isConstruct"></a>

```java
import org.cdk8s.plus32.TlsSecret;

TlsSecret.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.TlsSecret.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromSecretName` <a name="fromSecretName" id="cdk8s-plus-32.TlsSecret.fromSecretName"></a>

```java
import org.cdk8s.plus32.TlsSecret;

TlsSecret.fromSecretName(Construct scope, java.lang.String id, java.lang.String name)
```

Imports a secret from the cluster as a reference.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.TlsSecret.fromSecretName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.TlsSecret.fromSecretName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.TlsSecret.fromSecretName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.TlsSecret.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Whether or not the secret is immutable. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.TlsSecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.TlsSecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.TlsSecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.TlsSecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.TlsSecret.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.TlsSecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.TlsSecret.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.TlsSecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.TlsSecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `immutable`<sup>Required</sup> <a name="immutable" id="cdk8s-plus-32.TlsSecret.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Whether or not the secret is immutable.

---


### User <a name="User" id="cdk8s-plus-32.User"></a>

- *Implements:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>

Represents a user.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.User.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.User.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.User.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.User.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.User.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.User.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.User.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.User.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.User.fromName">fromName</a></code> | Reference a user in the cluster by name. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.User.isConstruct"></a>

```java
import org.cdk8s.plus32.User;

User.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.User.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromName` <a name="fromName" id="cdk8s-plus-32.User.fromName"></a>

```java
import org.cdk8s.plus32.User;

User.fromName(Construct scope, java.lang.String id, java.lang.String name)
```

Reference a user in the cluster by name.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.User.fromName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.User.fromName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.User.fromName.parameter.name"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.User.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.User.property.kind">kind</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.User.property.name">name</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.User.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.User.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.User.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.User.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.User.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

---


### Volume <a name="Volume" id="cdk8s-plus-32.Volume"></a>

- *Implements:* <a href="#cdk8s-plus-32.IStorage">IStorage</a>

Volume represents a named volume in a pod that may be accessed by any container in the pod.

Docker also has a concept of volumes, though it is somewhat looser and less
managed. In Docker, a volume is simply a directory on disk or in another
Container. Lifetimes are not managed and until very recently there were only
local-disk-backed volumes. Docker now provides volume drivers, but the
functionality is very limited for now (e.g. as of Docker 1.7 only one volume
driver is allowed per Container and there is no way to pass parameters to
volumes).

A Kubernetes volume, on the other hand, has an explicit lifetime - the same
as the Pod that encloses it. Consequently, a volume outlives any Containers
that run within the Pod, and data is preserved across Container restarts. Of
course, when a Pod ceases to exist, the volume will cease to exist, too.
Perhaps more importantly than this, Kubernetes supports many types of
volumes, and a Pod can use any number of them simultaneously.

At its core, a volume is just a directory, possibly with some data in it,
which is accessible to the Containers in a Pod. How that directory comes to
be, the medium that backs it, and the contents of it are determined by the
particular volume type used.

To use a volume, a Pod specifies what volumes to provide for the Pod (the
.spec.volumes field) and where to mount those into Containers (the
.spec.containers[*].volumeMounts field).

A process in a container sees a filesystem view composed from their Docker
image and volumes. The Docker image is at the root of the filesystem
hierarchy, and any volumes are mounted at the specified paths within the
image. Volumes can not mount onto other volumes

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Volume.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Volume.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Volume.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Volume.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Volume.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Volume.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.Volume.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Volume.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
| <code><a href="#cdk8s-plus-32.Volume.fromAwsElasticBlockStore">fromAwsElasticBlockStore</a></code> | Mounts an Amazon Web Services (AWS) EBS volume into your pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromAzureDisk">fromAzureDisk</a></code> | Mounts a Microsoft Azure Data Disk into a pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromConfigMap">fromConfigMap</a></code> | Populate the volume from a ConfigMap. |
| <code><a href="#cdk8s-plus-32.Volume.fromCsi">fromCsi</a></code> | Populate the volume from a CSI driver, for example the Secrets Store CSI Driver: https://secrets-store-csi-driver.sigs.k8s.io/introduction.html. Which in turn needs an associated provider to source the secrets, such as the AWS Secrets Manager and Systems Manager Parameter Store provider: https://aws.github.io/secrets-store-csi-driver-provider-aws/. |
| <code><a href="#cdk8s-plus-32.Volume.fromEmptyDir">fromEmptyDir</a></code> | An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. |
| <code><a href="#cdk8s-plus-32.Volume.fromGcePersistentDisk">fromGcePersistentDisk</a></code> | Mounts a Google Compute Engine (GCE) persistent disk (PD) into your Pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromHostPath">fromHostPath</a></code> | Used to mount a file or directory from the host node's filesystem into a Pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromName">fromName</a></code> | Create a volume with an arbitrary name and no configuration. |
| <code><a href="#cdk8s-plus-32.Volume.fromNfs">fromNfs</a></code> | Used to mount an NFS share into a Pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromPersistentVolumeClaim">fromPersistentVolumeClaim</a></code> | Used to mount a PersistentVolume into a Pod. |
| <code><a href="#cdk8s-plus-32.Volume.fromSecret">fromSecret</a></code> | Populate the volume from a Secret. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Volume.isConstruct"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Volume.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

##### `fromAwsElasticBlockStore` <a name="fromAwsElasticBlockStore" id="cdk8s-plus-32.Volume.fromAwsElasticBlockStore"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromAwsElasticBlockStore(Construct scope, java.lang.String id, java.lang.String volumeId),Volume.fromAwsElasticBlockStore(Construct scope, java.lang.String id, java.lang.String volumeId, AwsElasticBlockStoreVolumeOptions options)
```

Mounts an Amazon Web Services (AWS) EBS volume into your pod.

Unlike emptyDir, which is erased when a pod is removed, the contents of an EBS volume are
persisted and the volume is unmounted. This means that an EBS volume can be pre-populated with data,
and that data can be shared between pods.

There are some restrictions when using an awsElasticBlockStore volume:

* the nodes on which pods are running must be AWS EC2 instances.
* those instances need to be in the same region and availability zone as the EBS volume.
* EBS only supports a single EC2 instance mounting a volume.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromAwsElasticBlockStore.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromAwsElasticBlockStore.parameter.id"></a>

- *Type:* java.lang.String

---

###### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.Volume.fromAwsElasticBlockStore.parameter.volumeId"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromAwsElasticBlockStore.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions">AwsElasticBlockStoreVolumeOptions</a>

---

##### `fromAzureDisk` <a name="fromAzureDisk" id="cdk8s-plus-32.Volume.fromAzureDisk"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromAzureDisk(Construct scope, java.lang.String id, java.lang.String diskName, java.lang.String diskUri),Volume.fromAzureDisk(Construct scope, java.lang.String id, java.lang.String diskName, java.lang.String diskUri, AzureDiskVolumeOptions options)
```

Mounts a Microsoft Azure Data Disk into a pod.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromAzureDisk.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromAzureDisk.parameter.id"></a>

- *Type:* java.lang.String

---

###### `diskName`<sup>Required</sup> <a name="diskName" id="cdk8s-plus-32.Volume.fromAzureDisk.parameter.diskName"></a>

- *Type:* java.lang.String

---

###### `diskUri`<sup>Required</sup> <a name="diskUri" id="cdk8s-plus-32.Volume.fromAzureDisk.parameter.diskUri"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromAzureDisk.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.AzureDiskVolumeOptions">AzureDiskVolumeOptions</a>

---

##### `fromConfigMap` <a name="fromConfigMap" id="cdk8s-plus-32.Volume.fromConfigMap"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromConfigMap(Construct scope, java.lang.String id, IConfigMap configMap),Volume.fromConfigMap(Construct scope, java.lang.String id, IConfigMap configMap, ConfigMapVolumeOptions options)
```

Populate the volume from a ConfigMap.

The configMap resource provides a way to inject configuration data into
Pods. The data stored in a ConfigMap object can be referenced in a volume
of type configMap and then consumed by containerized applications running
in a Pod.

When referencing a configMap object, you can simply provide its name in the
volume to reference it. You can also customize the path to use for a
specific entry in the ConfigMap.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromConfigMap.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromConfigMap.parameter.id"></a>

- *Type:* java.lang.String

---

###### `configMap`<sup>Required</sup> <a name="configMap" id="cdk8s-plus-32.Volume.fromConfigMap.parameter.configMap"></a>

- *Type:* <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

The config map to use to populate the volume.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromConfigMap.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ConfigMapVolumeOptions">ConfigMapVolumeOptions</a>

Options.

---

##### `fromCsi` <a name="fromCsi" id="cdk8s-plus-32.Volume.fromCsi"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromCsi(Construct scope, java.lang.String id, java.lang.String driver),Volume.fromCsi(Construct scope, java.lang.String id, java.lang.String driver, CsiVolumeOptions options)
```

Populate the volume from a CSI driver, for example the Secrets Store CSI Driver: https://secrets-store-csi-driver.sigs.k8s.io/introduction.html. Which in turn needs an associated provider to source the secrets, such as the AWS Secrets Manager and Systems Manager Parameter Store provider: https://aws.github.io/secrets-store-csi-driver-provider-aws/.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromCsi.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromCsi.parameter.id"></a>

- *Type:* java.lang.String

---

###### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.Volume.fromCsi.parameter.driver"></a>

- *Type:* java.lang.String

The name of the CSI driver to use to populate the volume.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromCsi.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.CsiVolumeOptions">CsiVolumeOptions</a>

Options for the CSI volume, including driver-specific ones.

---

##### `fromEmptyDir` <a name="fromEmptyDir" id="cdk8s-plus-32.Volume.fromEmptyDir"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromEmptyDir(Construct scope, java.lang.String id, java.lang.String name),Volume.fromEmptyDir(Construct scope, java.lang.String id, java.lang.String name, EmptyDirVolumeOptions options)
```

An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node.

As the name says, it is
initially empty. Containers in the Pod can all read and write the same
files in the emptyDir volume, though that volume can be mounted at the same
or different paths in each Container. When a Pod is removed from a node for
any reason, the data in the emptyDir is deleted forever.

> [http://kubernetes.io/docs/user-guide/volumes#emptydir](http://kubernetes.io/docs/user-guide/volumes#emptydir)

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromEmptyDir.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromEmptyDir.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Volume.fromEmptyDir.parameter.name"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromEmptyDir.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EmptyDirVolumeOptions">EmptyDirVolumeOptions</a>

Additional options.

---

##### `fromGcePersistentDisk` <a name="fromGcePersistentDisk" id="cdk8s-plus-32.Volume.fromGcePersistentDisk"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromGcePersistentDisk(Construct scope, java.lang.String id, java.lang.String pdName),Volume.fromGcePersistentDisk(Construct scope, java.lang.String id, java.lang.String pdName, GCEPersistentDiskVolumeOptions options)
```

Mounts a Google Compute Engine (GCE) persistent disk (PD) into your Pod.

Unlike emptyDir, which is erased when a pod is removed, the contents of a PD are
preserved and the volume is merely unmounted. This means that a PD can be pre-populated
with data, and that data can be shared between pods.

There are some restrictions when using a gcePersistentDisk:

* the nodes on which Pods are running must be GCE VMs
* those VMs need to be in the same GCE project and zone as the persistent disk

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromGcePersistentDisk.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromGcePersistentDisk.parameter.id"></a>

- *Type:* java.lang.String

---

###### `pdName`<sup>Required</sup> <a name="pdName" id="cdk8s-plus-32.Volume.fromGcePersistentDisk.parameter.pdName"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromGcePersistentDisk.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.GCEPersistentDiskVolumeOptions">GCEPersistentDiskVolumeOptions</a>

---

##### `fromHostPath` <a name="fromHostPath" id="cdk8s-plus-32.Volume.fromHostPath"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromHostPath(Construct scope, java.lang.String id, java.lang.String name, HostPathVolumeOptions options)
```

Used to mount a file or directory from the host node's filesystem into a Pod.

This is not something that most Pods will need, but it offers a powerful
escape hatch for some applications.

> [https://kubernetes.io/docs/concepts/storage/volumes/#hostpath](https://kubernetes.io/docs/concepts/storage/volumes/#hostpath)

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromHostPath.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromHostPath.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Volume.fromHostPath.parameter.name"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Volume.fromHostPath.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.HostPathVolumeOptions">HostPathVolumeOptions</a>

---

##### `fromName` <a name="fromName" id="cdk8s-plus-32.Volume.fromName"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromName(Construct scope, java.lang.String id, java.lang.String name)
```

Create a volume with an arbitrary name and no configuration.

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromName.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromName.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Volume.fromName.parameter.name"></a>

- *Type:* java.lang.String

---

##### `fromNfs` <a name="fromNfs" id="cdk8s-plus-32.Volume.fromNfs"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromNfs(Construct scope, java.lang.String id, java.lang.String name, NfsVolumeOptions options)
```

Used to mount an NFS share into a Pod.

> [https://kubernetes.io/docs/concepts/storage/volumes/#nfs](https://kubernetes.io/docs/concepts/storage/volumes/#nfs)

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromNfs.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromNfs.parameter.id"></a>

- *Type:* java.lang.String

---

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Volume.fromNfs.parameter.name"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Volume.fromNfs.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.NfsVolumeOptions">NfsVolumeOptions</a>

---

##### `fromPersistentVolumeClaim` <a name="fromPersistentVolumeClaim" id="cdk8s-plus-32.Volume.fromPersistentVolumeClaim"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromPersistentVolumeClaim(Construct scope, java.lang.String id, IPersistentVolumeClaim claim),Volume.fromPersistentVolumeClaim(Construct scope, java.lang.String id, IPersistentVolumeClaim claim, PersistentVolumeClaimVolumeOptions options)
```

Used to mount a PersistentVolume into a Pod.

PersistentVolumeClaims are a way for users to "claim" durable storage (such as a GCE PersistentDisk or an iSCSI volume)
without knowing the details of the particular cloud environment.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/](https://kubernetes.io/docs/concepts/storage/persistent-volumes/)

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromPersistentVolumeClaim.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromPersistentVolumeClaim.parameter.id"></a>

- *Type:* java.lang.String

---

###### `claim`<sup>Required</sup> <a name="claim" id="cdk8s-plus-32.Volume.fromPersistentVolumeClaim.parameter.claim"></a>

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromPersistentVolumeClaim.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeClaimVolumeOptions">PersistentVolumeClaimVolumeOptions</a>

---

##### `fromSecret` <a name="fromSecret" id="cdk8s-plus-32.Volume.fromSecret"></a>

```java
import org.cdk8s.plus32.Volume;

Volume.fromSecret(Construct scope, java.lang.String id, ISecret secr),Volume.fromSecret(Construct scope, java.lang.String id, ISecret secr, SecretVolumeOptions options)
```

Populate the volume from a Secret.

A secret volume is used to pass sensitive information, such as passwords, to Pods.
You can store secrets in the Kubernetes API and mount them as files for use by pods
without coupling to Kubernetes directly.

secret volumes are backed by tmpfs (a RAM-backed filesystem)
so they are never written to non-volatile storage.

> [https://kubernetes.io/docs/concepts/storage/volumes/#secret](https://kubernetes.io/docs/concepts/storage/volumes/#secret)

###### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Volume.fromSecret.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

###### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Volume.fromSecret.parameter.id"></a>

- *Type:* java.lang.String

---

###### `secr`<sup>Required</sup> <a name="secr" id="cdk8s-plus-32.Volume.fromSecret.parameter.secr"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

The secret to use to populate the volume.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Volume.fromSecret.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.SecretVolumeOptions">SecretVolumeOptions</a>

Options.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Volume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Volume.property.name">name</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Volume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Volume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

---


### Workload <a name="Workload" id="cdk8s-plus-32.Workload"></a>

A workload is an application running on Kubernetes.

Whether your workload is a single
component or several that work together, on Kubernetes you run it inside a set of pods.
In Kubernetes, a Pod represents a set of running containers on your cluster.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Workload.Initializer"></a>

```java
import org.cdk8s.plus32.Workload;

Workload.Builder.create(Construct scope, java.lang.String id)
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.scope">scope</a></code> | <code>software.constructs.Construct</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.Workload.Initializer.parameter.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.Workload.Initializer.parameter.scope"></a>

- *Type:* software.constructs.Construct

---

##### `id`<sup>Required</sup> <a name="id" id="cdk8s-plus-32.Workload.Initializer.parameter.id"></a>

- *Type:* java.lang.String

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.Workload.Initializer.parameter.metadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Workload.Initializer.parameter.automountServiceAccountToken"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.Workload.Initializer.parameter.containers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.Workload.Initializer.parameter.dns"></a>

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Workload.Initializer.parameter.dockerRegistryAuth"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Workload.Initializer.parameter.enableServiceLinks"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.Workload.Initializer.parameter.hostAliases"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Workload.Initializer.parameter.hostNetwork"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.Workload.Initializer.parameter.initContainers"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.Workload.Initializer.parameter.isolate"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Workload.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.Workload.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Workload.Initializer.parameter.serviceAccount"></a>

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Workload.Initializer.parameter.shareProcessNamespace"></a>

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Workload.Initializer.parameter.terminationGracePeriod"></a>

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.Workload.Initializer.parameter.volumes"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.Workload.Initializer.parameter.podMetadata"></a>

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.Workload.Initializer.parameter.select"></a>

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.Workload.Initializer.parameter.spread"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Workload.toString">toString</a></code> | Returns a string representation of this construct. |
| <code><a href="#cdk8s-plus-32.Workload.with">with</a></code> | Applies one or more mixins to this construct. |
| <code><a href="#cdk8s-plus-32.Workload.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.Workload.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |
| <code><a href="#cdk8s-plus-32.Workload.addContainer">addContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.addHostAlias">addHostAlias</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.addInitContainer">addInitContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.addVolume">addVolume</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.attachContainer">attachContainer</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.Workload.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |
| <code><a href="#cdk8s-plus-32.Workload.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |
| <code><a href="#cdk8s-plus-32.Workload.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |
| <code><a href="#cdk8s-plus-32.Workload.select">select</a></code> | Configure selectors for this workload. |

---

##### `toString` <a name="toString" id="cdk8s-plus-32.Workload.toString"></a>

```java
public java.lang.String toString()
```

Returns a string representation of this construct.

##### `with` <a name="with" id="cdk8s-plus-32.Workload.with"></a>

```java
public IConstruct with(IMixin... mixins)
```

Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple `with()` calls if subsequent mixins should apply to added
constructs.

###### `mixins`<sup>Required</sup> <a name="mixins" id="cdk8s-plus-32.Workload.with.parameter.mixins"></a>

- *Type:* software.constructs.IMixin...

The mixins to apply.

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.Workload.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.Workload.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

##### `addContainer` <a name="addContainer" id="cdk8s-plus-32.Workload.addContainer"></a>

```java
public Container addContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Workload.addContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addHostAlias` <a name="addHostAlias" id="cdk8s-plus-32.Workload.addHostAlias"></a>

```java
public void addHostAlias(HostAlias hostAlias)
```

###### `hostAlias`<sup>Required</sup> <a name="hostAlias" id="cdk8s-plus-32.Workload.addHostAlias.parameter.hostAlias"></a>

- *Type:* <a href="#cdk8s-plus-32.HostAlias">HostAlias</a>

---

##### `addInitContainer` <a name="addInitContainer" id="cdk8s-plus-32.Workload.addInitContainer"></a>

```java
public Container addInitContainer(ContainerProps cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Workload.addInitContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>

---

##### `addVolume` <a name="addVolume" id="cdk8s-plus-32.Workload.addVolume"></a>

```java
public void addVolume(Volume vol)
```

###### `vol`<sup>Required</sup> <a name="vol" id="cdk8s-plus-32.Workload.addVolume.parameter.vol"></a>

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

---

##### `attachContainer` <a name="attachContainer" id="cdk8s-plus-32.Workload.attachContainer"></a>

```java
public void attachContainer(Container cont)
```

###### `cont`<sup>Required</sup> <a name="cont" id="cdk8s-plus-32.Workload.attachContainer.parameter.cont"></a>

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.Workload.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

> [INetworkPolicyPeer.toNetworkPolicyPeerConfig ()](INetworkPolicyPeer.toNetworkPolicyPeerConfig ())

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.Workload.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

> [INetworkPolicyPeer.toPodSelector ()](INetworkPolicyPeer.toPodSelector ())

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.Workload.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

> [IPodSelector.toPodSelectorConfig ()](IPodSelector.toPodSelectorConfig ())

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.Workload.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

> [ISubect.toSubjectConfiguration ()](ISubect.toSubjectConfiguration ())

##### `select` <a name="select" id="cdk8s-plus-32.Workload.select"></a>

```java
public void select(LabelSelector... selectors)
```

Configure selectors for this workload.

###### `selectors`<sup>Required</sup> <a name="selectors" id="cdk8s-plus-32.Workload.select.parameter.selectors"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>...

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Workload.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |

---

##### `isConstruct` <a name="isConstruct" id="cdk8s-plus-32.Workload.isConstruct"></a>

```java
import org.cdk8s.plus32.Workload;

Workload.isConstruct(java.lang.Object x)
```

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct`
instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on
disk are seen as independent, completely different libraries. As a
consequence, the class `Construct` in each copy of the `constructs` library
is seen as a different class, and an instance of one class will not test as
`instanceof` the other class. `npm install` will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the `constructs`
library can be accidentally installed, and `instanceof` will behave
unpredictably. It is safest to avoid using `instanceof`, and using
this type-testing method instead.

###### `x`<sup>Required</sup> <a name="x" id="cdk8s-plus-32.Workload.isConstruct.parameter.x"></a>

- *Type:* java.lang.Object

Any object.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Workload.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.Workload.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. "authorization.k8s.io"). |
| <code><a href="#cdk8s-plus-32.Workload.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.Workload.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.Workload.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.name">name</a></code> | <code>java.lang.String</code> | The name of this API object. |
| <code><a href="#cdk8s-plus-32.Workload.property.permissions">permissions</a></code> | <code><a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.Workload.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.Workload.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDns">PodDns</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadataDefinition</code> | The metadata of pods in this workload. |
| <code><a href="#cdk8s-plus-32.Workload.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.connections">connections</a></code> | <code><a href="#cdk8s-plus-32.PodConnections">PodConnections</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Workload.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>></code> | The expression matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Workload.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | The label matchers this workload will use in order to select pods. |
| <code><a href="#cdk8s-plus-32.Workload.property.scheduling">scheduling</a></code> | <code><a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a></code> | *No description.* |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.Workload.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.Workload.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. "authorization.k8s.io").

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.Workload.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.Workload.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `metadata`<sup>Required</sup> <a name="metadata" id="cdk8s-plus-32.Workload.property.metadata"></a>

```java
public ApiObjectMetadataDefinition getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Workload.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this API object.

---

##### `permissions`<sup>Required</sup> <a name="permissions" id="cdk8s-plus-32.Workload.property.permissions"></a>

```java
public ResourcePermissions getPermissions();
```

- *Type:* <a href="#cdk8s-plus-32.ResourcePermissions">ResourcePermissions</a>

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.Workload.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

---

##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.Workload.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `automountServiceAccountToken`<sup>Required</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.Workload.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.Workload.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `dns`<sup>Required</sup> <a name="dns" id="cdk8s-plus-32.Workload.property.dns"></a>

```java
public PodDns getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDns">PodDns</a>

---

##### `hostAliases`<sup>Required</sup> <a name="hostAliases" id="cdk8s-plus-32.Workload.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

---

##### `initContainers`<sup>Required</sup> <a name="initContainers" id="cdk8s-plus-32.Workload.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

---

##### `podMetadata`<sup>Required</sup> <a name="podMetadata" id="cdk8s-plus-32.Workload.property.podMetadata"></a>

```java
public ApiObjectMetadataDefinition getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadataDefinition

The metadata of pods in this workload.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.Workload.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContext">PodSecurityContext</a>

---

##### `shareProcessNamespace`<sup>Required</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.Workload.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean

---

##### `volumes`<sup>Required</sup> <a name="volumes" id="cdk8s-plus-32.Workload.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.Workload.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.Workload.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.Workload.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Workload.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.Workload.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.Workload.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration

---

##### `connections`<sup>Required</sup> <a name="connections" id="cdk8s-plus-32.Workload.property.connections"></a>

```java
public PodConnections getConnections();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnections">PodConnections</a>

---

##### `matchExpressions`<sup>Required</sup> <a name="matchExpressions" id="cdk8s-plus-32.Workload.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelSelectorRequirement">LabelSelectorRequirement</a>>

The expression matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add expression matchers.

---

##### `matchLabels`<sup>Required</sup> <a name="matchLabels" id="cdk8s-plus-32.Workload.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

The label matchers this workload will use in order to select pods.

Returns a a copy. Use `select()` to add label matchers.

---

##### `scheduling`<sup>Required</sup> <a name="scheduling" id="cdk8s-plus-32.Workload.property.scheduling"></a>

```java
public WorkloadScheduling getScheduling();
```

- *Type:* <a href="#cdk8s-plus-32.WorkloadScheduling">WorkloadScheduling</a>

---


## Structs <a name="Structs" id="Structs"></a>

### AbstractPodProps <a name="AbstractPodProps" id="cdk8s-plus-32.AbstractPodProps"></a>

Properties for `AbstractPod`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AbstractPodProps.Initializer"></a>

```java
import org.cdk8s.plus32.AbstractPodProps;

AbstractPodProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.AbstractPodProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AbstractPodProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.AbstractPodProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.AbstractPodProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.AbstractPodProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.AbstractPodProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.AbstractPodProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.AbstractPodProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.AbstractPodProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.AbstractPodProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.AbstractPodProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.AbstractPodProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.AbstractPodProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.AbstractPodProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.AbstractPodProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.AbstractPodProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.AbstractPodProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

### AddDeploymentOptions <a name="AddDeploymentOptions" id="cdk8s-plus-32.AddDeploymentOptions"></a>

Options to add a deployment to a service.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AddDeploymentOptions.Initializer"></a>

```java
import org.cdk8s.plus32.AddDeploymentOptions;

AddDeploymentOptions.builder()
//  .name(java.lang.String)
//  .nodePort(java.lang.Number)
//  .protocol(Protocol)
//  .targetPort(java.lang.Number)
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AddDeploymentOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of this port within the service. |
| <code><a href="#cdk8s-plus-32.AddDeploymentOptions.property.nodePort">nodePort</a></code> | <code>java.lang.Number</code> | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. |
| <code><a href="#cdk8s-plus-32.AddDeploymentOptions.property.protocol">protocol</a></code> | <code><a href="#cdk8s-plus-32.Protocol">Protocol</a></code> | The IP protocol for this port. |
| <code><a href="#cdk8s-plus-32.AddDeploymentOptions.property.targetPort">targetPort</a></code> | <code>java.lang.Number</code> | The port number the service will redirect to. |
| <code><a href="#cdk8s-plus-32.AddDeploymentOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The port number the service will bind to. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.AddDeploymentOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this port within the service.

This must be a DNS_LABEL. All
ports within a ServiceSpec must have unique names. This maps to the 'Name'
field in EndpointPort objects. Optional if only one ServicePort is defined
on this service.

---

##### `nodePort`<sup>Optional</sup> <a name="nodePort" id="cdk8s-plus-32.AddDeploymentOptions.property.nodePort"></a>

```java
public java.lang.Number getNodePort();
```

- *Type:* java.lang.Number
- *Default:* auto-allocate a port if the ServiceType of this Service requires one.

The port on each node on which this service is exposed when type=NodePort or LoadBalancer.

Usually assigned by the system. If specified, it will be
allocated to the service if unused or else creation of the service will
fail. Default is to auto-allocate a port if the ServiceType of this Service
requires one.

> [https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.AddDeploymentOptions.property.protocol"></a>

```java
public Protocol getProtocol();
```

- *Type:* <a href="#cdk8s-plus-32.Protocol">Protocol</a>
- *Default:* Protocol.TCP

The IP protocol for this port.

Supports "TCP", "UDP", and "SCTP". Default is TCP.

---

##### `targetPort`<sup>Optional</sup> <a name="targetPort" id="cdk8s-plus-32.AddDeploymentOptions.property.targetPort"></a>

```java
public java.lang.Number getTargetPort();
```

- *Type:* java.lang.Number
- *Default:* The value of `port` will be used.

The port number the service will redirect to.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.AddDeploymentOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* Copied from the first container of the deployment.

The port number the service will bind to.

---

### AddDirectoryOptions <a name="AddDirectoryOptions" id="cdk8s-plus-32.AddDirectoryOptions"></a>

Options for `configmap.addDirectory()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AddDirectoryOptions.Initializer"></a>

```java
import org.cdk8s.plus32.AddDirectoryOptions;

AddDirectoryOptions.builder()
//  .exclude(java.util.List<java.lang.String>)
//  .keyPrefix(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AddDirectoryOptions.property.exclude">exclude</a></code> | <code>java.util.List<java.lang.String></code> | Glob patterns to exclude when adding files. |
| <code><a href="#cdk8s-plus-32.AddDirectoryOptions.property.keyPrefix">keyPrefix</a></code> | <code>java.lang.String</code> | A prefix to add to all keys in the config map. |

---

##### `exclude`<sup>Optional</sup> <a name="exclude" id="cdk8s-plus-32.AddDirectoryOptions.property.exclude"></a>

```java
public java.util.List<java.lang.String> getExclude();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* include all files

Glob patterns to exclude when adding files.

---

##### `keyPrefix`<sup>Optional</sup> <a name="keyPrefix" id="cdk8s-plus-32.AddDirectoryOptions.property.keyPrefix"></a>

```java
public java.lang.String getKeyPrefix();
```

- *Type:* java.lang.String
- *Default:* ""

A prefix to add to all keys in the config map.

---

### Affinity <a name="Affinity" id="cdk8s-plus-32.k8s.Affinity"></a>

Affinity is a group of affinity scheduling rules.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Affinity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Affinity;

Affinity.builder()
//  .nodeAffinity(NodeAffinity)
//  .podAffinity(PodAffinity)
//  .podAntiAffinity(PodAntiAffinity)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Affinity.property.nodeAffinity">nodeAffinity</a></code> | <code>org.cdk8s.plus32.k8s.NodeAffinity</code> | Describes node affinity scheduling rules for the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Affinity.property.podAffinity">podAffinity</a></code> | <code>org.cdk8s.plus32.k8s.PodAffinity</code> | Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). |
| <code><a href="#cdk8s-plus-32.k8s.Affinity.property.podAntiAffinity">podAntiAffinity</a></code> | <code>org.cdk8s.plus32.k8s.PodAntiAffinity</code> | Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). |

---

##### `nodeAffinity`<sup>Optional</sup> <a name="nodeAffinity" id="cdk8s-plus-32.k8s.Affinity.property.nodeAffinity"></a>

```java
public NodeAffinity getNodeAffinity();
```

- *Type:* org.cdk8s.plus32.k8s.NodeAffinity

Describes node affinity scheduling rules for the pod.

---

##### `podAffinity`<sup>Optional</sup> <a name="podAffinity" id="cdk8s-plus-32.k8s.Affinity.property.podAffinity"></a>

```java
public PodAffinity getPodAffinity();
```

- *Type:* org.cdk8s.plus32.k8s.PodAffinity

Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).

---

##### `podAntiAffinity`<sup>Optional</sup> <a name="podAntiAffinity" id="cdk8s-plus-32.k8s.Affinity.property.podAntiAffinity"></a>

```java
public PodAntiAffinity getPodAntiAffinity();
```

- *Type:* org.cdk8s.plus32.k8s.PodAntiAffinity

Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).

---

### AggregationRule <a name="AggregationRule" id="cdk8s-plus-32.k8s.AggregationRule"></a>

AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AggregationRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AggregationRule;

AggregationRule.builder()
//  .clusterRoleSelectors(java.util.List<LabelSelector>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AggregationRule.property.clusterRoleSelectors">clusterRoleSelectors</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LabelSelector></code> | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. |

---

##### `clusterRoleSelectors`<sup>Optional</sup> <a name="clusterRoleSelectors" id="cdk8s-plus-32.k8s.AggregationRule.property.clusterRoleSelectors"></a>

```java
public java.util.List<LabelSelector> getClusterRoleSelectors();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LabelSelector>

ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.

If any of the selectors match, then the ClusterRole's permissions will be added

---

### ApiResourceOptions <a name="ApiResourceOptions" id="cdk8s-plus-32.ApiResourceOptions"></a>

Options for `ApiResource`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ApiResourceOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ApiResourceOptions;

ApiResourceOptions.builder()
    .apiGroup(java.lang.String)
    .resourceType(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ApiResourceOptions.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.ApiResourceOptions.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of the resource type as it appears in the relevant API endpoint. |

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ApiResourceOptions.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ApiResourceOptions.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of the resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


### ApiServiceSpec <a name="ApiServiceSpec" id="cdk8s-plus-32.k8s.ApiServiceSpec"></a>

APIServiceSpec contains information for locating and communicating with a server.

Only https is supported, though you are able to disable certificate verification.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ApiServiceSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ApiServiceSpec;

ApiServiceSpec.builder()
    .groupPriorityMinimum(java.lang.Number)
    .versionPriority(java.lang.Number)
//  .caBundle(java.lang.String)
//  .group(java.lang.String)
//  .insecureSkipTlsVerify(java.lang.Boolean)
//  .service(ServiceReference)
//  .version(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.groupPriorityMinimum">groupPriorityMinimum</a></code> | <code>java.lang.Number</code> | GroupPriorityMinimum is the priority this group should have at least. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.versionPriority">versionPriority</a></code> | <code>java.lang.Number</code> | VersionPriority controls the ordering of this API version inside of its group. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.caBundle">caBundle</a></code> | <code>java.lang.String</code> | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.group">group</a></code> | <code>java.lang.String</code> | Group is the API group name this server hosts. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.insecureSkipTlsVerify">insecureSkipTlsVerify</a></code> | <code>java.lang.Boolean</code> | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.service">service</a></code> | <code>org.cdk8s.plus32.k8s.ServiceReference</code> | Service is a reference to the service for this API server. |
| <code><a href="#cdk8s-plus-32.k8s.ApiServiceSpec.property.version">version</a></code> | <code>java.lang.String</code> | Version is the API version this server hosts. |

---

##### `groupPriorityMinimum`<sup>Required</sup> <a name="groupPriorityMinimum" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.groupPriorityMinimum"></a>

```java
public java.lang.Number getGroupPriorityMinimum();
```

- *Type:* java.lang.Number

GroupPriorityMinimum is the priority this group should have at least.

Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s

---

##### `versionPriority`<sup>Required</sup> <a name="versionPriority" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.versionPriority"></a>

```java
public java.lang.Number getVersionPriority();
```

- *Type:* java.lang.Number

VersionPriority controls the ordering of this API version inside of its group.

Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.

---

##### `caBundle`<sup>Optional</sup> <a name="caBundle" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.caBundle"></a>

```java
public java.lang.String getCaBundle();
```

- *Type:* java.lang.String

CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.

If unspecified, system trust roots on the apiserver are used.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

Group is the API group name this server hosts.

---

##### `insecureSkipTlsVerify`<sup>Optional</sup> <a name="insecureSkipTlsVerify" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.insecureSkipTlsVerify"></a>

```java
public java.lang.Boolean getInsecureSkipTlsVerify();
```

- *Type:* java.lang.Boolean

InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server.

This is strongly discouraged.  You should use the CABundle instead.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.service"></a>

```java
public ServiceReference getService();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceReference

Service is a reference to the service for this API server.

It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.

---

##### `version`<sup>Optional</sup> <a name="version" id="cdk8s-plus-32.k8s.ApiServiceSpec.property.version"></a>

```java
public java.lang.String getVersion();
```

- *Type:* java.lang.String

Version is the API version this server hosts.

For example, "v1"

---

### AppArmorProfile <a name="AppArmorProfile" id="cdk8s-plus-32.k8s.AppArmorProfile"></a>

AppArmorProfile defines a pod or container's AppArmor settings.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AppArmorProfile.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AppArmorProfile;

AppArmorProfile.builder()
    .type(java.lang.String)
//  .localhostProfile(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AppArmorProfile.property.type">type</a></code> | <code>java.lang.String</code> | type indicates which kind of AppArmor profile will be applied. |
| <code><a href="#cdk8s-plus-32.k8s.AppArmorProfile.property.localhostProfile">localhostProfile</a></code> | <code>java.lang.String</code> | localhostProfile indicates a profile loaded on the node that should be used. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.AppArmorProfile.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type indicates which kind of AppArmor profile will be applied.

Valid options are:
Localhost - a profile pre-loaded on the node.
RuntimeDefault - the container runtime's default profile.
Unconfined - no AppArmor enforcement.

---

##### `localhostProfile`<sup>Optional</sup> <a name="localhostProfile" id="cdk8s-plus-32.k8s.AppArmorProfile.property.localhostProfile"></a>

```java
public java.lang.String getLocalhostProfile();
```

- *Type:* java.lang.String

localhostProfile indicates a profile loaded on the node that should be used.

The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost".

---

### ApplyConfigurationV1Alpha1 <a name="ApplyConfigurationV1Alpha1" id="cdk8s-plus-32.k8s.ApplyConfigurationV1Alpha1"></a>

ApplyConfiguration defines the desired configuration values of an object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ApplyConfigurationV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ApplyConfigurationV1Alpha1;

ApplyConfigurationV1Alpha1.builder()
//  .expression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ApplyConfigurationV1Alpha1.property.expression">expression</a></code> | <code>java.lang.String</code> | expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec. |

---

##### `expression`<sup>Optional</sup> <a name="expression" id="cdk8s-plus-32.k8s.ApplyConfigurationV1Alpha1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec.

Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:

Object{
spec: Object.spec{
serviceAccountName: "example"
}
}

Apply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.

CEL expressions have access to the object types needed to create apply configurations:

* 'Object' - CEL type of the resource object. - 'Object.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - CEL type of nested field (such as 'Object.spec.containers')

CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:

* 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
* 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
* 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
  request resource.

The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.

Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.

---

### AuditAnnotation <a name="AuditAnnotation" id="cdk8s-plus-32.k8s.AuditAnnotation"></a>

AuditAnnotation describes how to produce an audit annotation for an API request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AuditAnnotation.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AuditAnnotation;

AuditAnnotation.builder()
    .key(java.lang.String)
    .valueExpression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AuditAnnotation.property.key">key</a></code> | <code>java.lang.String</code> | key specifies the audit annotation key. |
| <code><a href="#cdk8s-plus-32.k8s.AuditAnnotation.property.valueExpression">valueExpression</a></code> | <code>java.lang.String</code> | valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.AuditAnnotation.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

key specifies the audit annotation key.

The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.

The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".

If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.

Required.

---

##### `valueExpression`<sup>Required</sup> <a name="valueExpression" id="cdk8s-plus-32.k8s.AuditAnnotation.property.valueExpression"></a>

```java
public java.lang.String getValueExpression();
```

- *Type:* java.lang.String

valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value.

The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.

If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.

Required.

---

### AuditAnnotationV1Beta1 <a name="AuditAnnotationV1Beta1" id="cdk8s-plus-32.k8s.AuditAnnotationV1Beta1"></a>

AuditAnnotation describes how to produce an audit annotation for an API request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AuditAnnotationV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AuditAnnotationV1Beta1;

AuditAnnotationV1Beta1.builder()
    .key(java.lang.String)
    .valueExpression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AuditAnnotationV1Beta1.property.key">key</a></code> | <code>java.lang.String</code> | key specifies the audit annotation key. |
| <code><a href="#cdk8s-plus-32.k8s.AuditAnnotationV1Beta1.property.valueExpression">valueExpression</a></code> | <code>java.lang.String</code> | valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.AuditAnnotationV1Beta1.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

key specifies the audit annotation key.

The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.

The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".

If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.

Required.

---

##### `valueExpression`<sup>Required</sup> <a name="valueExpression" id="cdk8s-plus-32.k8s.AuditAnnotationV1Beta1.property.valueExpression"></a>

```java
public java.lang.String getValueExpression();
```

- *Type:* java.lang.String

valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value.

The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.

If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.

Required.

---

### AwsElasticBlockStorePersistentVolumeProps <a name="AwsElasticBlockStorePersistentVolumeProps" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps"></a>

Properties for `AwsElasticBlockStorePersistentVolume`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.Initializer"></a>

```java
import org.cdk8s.plus32.AwsElasticBlockStorePersistentVolumeProps;

AwsElasticBlockStorePersistentVolumeProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

Unique ID of the persistent disk resource in AWS (Amazon EBS volume).

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AwsElasticBlockStorePersistentVolumeProps.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

### AwsElasticBlockStoreVolumeOptions <a name="AwsElasticBlockStoreVolumeOptions" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions"></a>

Options of `Volume.fromAwsElasticBlockStore`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.AwsElasticBlockStoreVolumeOptions;

AwsElasticBlockStoreVolumeOptions.builder()
//  .fsType(java.lang.String)
//  .name(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AwsElasticBlockStoreVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

### AwsElasticBlockStoreVolumeSource <a name="AwsElasticBlockStoreVolumeSource" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource"></a>

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AwsElasticBlockStoreVolumeSource;

AwsElasticBlockStoreVolumeSource.builder()
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). |
| <code><a href="#cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.partition">partition</a></code> | <code>java.lang.Number</code> | partition is the partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly value true will force the readOnly setting in VolumeMounts. |

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number

partition is the partition in the volume that you want to mount.

If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.AwsElasticBlockStoreVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly value true will force the readOnly setting in VolumeMounts.

More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

---

### AzureDiskPersistentVolumeProps <a name="AzureDiskPersistentVolumeProps" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps"></a>

Properties for `AzureDiskPersistentVolume`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.Initializer"></a>

```java
import org.cdk8s.plus32.AzureDiskPersistentVolumeProps;

AzureDiskPersistentVolumeProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .diskName(java.lang.String)
    .diskUri(java.lang.String)
//  .cachingMode(AzureDiskPersistentVolumeCachingMode)
//  .fsType(java.lang.String)
//  .kind(AzureDiskPersistentVolumeKind)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.diskName">diskName</a></code> | <code>java.lang.String</code> | The Name of the data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.diskUri">diskUri</a></code> | <code>java.lang.String</code> | The URI the data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.cachingMode">cachingMode</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a></code> | Host Caching mode. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.kind">kind</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a></code> | Kind of disk. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Force the ReadOnly setting in VolumeMounts. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `diskName`<sup>Required</sup> <a name="diskName" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.diskName"></a>

```java
public java.lang.String getDiskName();
```

- *Type:* java.lang.String

The Name of the data disk in the blob storage.

---

##### `diskUri`<sup>Required</sup> <a name="diskUri" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.diskUri"></a>

```java
public java.lang.String getDiskUri();
```

- *Type:* java.lang.String

The URI the data disk in the blob storage.

---

##### `cachingMode`<sup>Optional</sup> <a name="cachingMode" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.cachingMode"></a>

```java
public AzureDiskPersistentVolumeCachingMode getCachingMode();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a>
- *Default:* AzureDiskPersistentVolumeCachingMode.NONE.

Host Caching mode.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type to mount.

Must be a filesystem type supported by the host operating system.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.kind"></a>

```java
public AzureDiskPersistentVolumeKind getKind();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a>
- *Default:* AzureDiskPersistentVolumeKind.SHARED

Kind of disk.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AzureDiskPersistentVolumeProps.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Force the ReadOnly setting in VolumeMounts.

---

### AzureDiskVolumeOptions <a name="AzureDiskVolumeOptions" id="cdk8s-plus-32.AzureDiskVolumeOptions"></a>

Options of `Volume.fromAzureDisk`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.AzureDiskVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.AzureDiskVolumeOptions;

AzureDiskVolumeOptions.builder()
//  .cachingMode(AzureDiskPersistentVolumeCachingMode)
//  .fsType(java.lang.String)
//  .kind(AzureDiskPersistentVolumeKind)
//  .name(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskVolumeOptions.property.cachingMode">cachingMode</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a></code> | Host Caching mode. |
| <code><a href="#cdk8s-plus-32.AzureDiskVolumeOptions.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.AzureDiskVolumeOptions.property.kind">kind</a></code> | <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a></code> | Kind of disk. |
| <code><a href="#cdk8s-plus-32.AzureDiskVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.AzureDiskVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Force the ReadOnly setting in VolumeMounts. |

---

##### `cachingMode`<sup>Optional</sup> <a name="cachingMode" id="cdk8s-plus-32.AzureDiskVolumeOptions.property.cachingMode"></a>

```java
public AzureDiskPersistentVolumeCachingMode getCachingMode();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode">AzureDiskPersistentVolumeCachingMode</a>
- *Default:* AzureDiskPersistentVolumeCachingMode.NONE.

Host Caching mode.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.AzureDiskVolumeOptions.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type to mount.

Must be a filesystem type supported by the host operating system.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.AzureDiskVolumeOptions.property.kind"></a>

```java
public AzureDiskPersistentVolumeKind getKind();
```

- *Type:* <a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind">AzureDiskPersistentVolumeKind</a>
- *Default:* AzureDiskPersistentVolumeKind.SHARED

Kind of disk.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.AzureDiskVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.AzureDiskVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Force the ReadOnly setting in VolumeMounts.

---

### AzureDiskVolumeSource <a name="AzureDiskVolumeSource" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource"></a>

AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AzureDiskVolumeSource;

AzureDiskVolumeSource.builder()
    .diskName(java.lang.String)
    .diskUri(java.lang.String)
//  .cachingMode(java.lang.String)
//  .fsType(java.lang.String)
//  .kind(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.diskName">diskName</a></code> | <code>java.lang.String</code> | diskName is the Name of the data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.diskUri">diskUri</a></code> | <code>java.lang.String</code> | diskURI is the URI of data disk in the blob storage. |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.cachingMode">cachingMode</a></code> | <code>java.lang.String</code> | cachingMode is the Host Caching mode: None, Read Only, Read Write. |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.kind">kind</a></code> | <code>java.lang.String</code> | kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). |
| <code><a href="#cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly Defaults to false (read/write). |

---

##### `diskName`<sup>Required</sup> <a name="diskName" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.diskName"></a>

```java
public java.lang.String getDiskName();
```

- *Type:* java.lang.String

diskName is the Name of the data disk in the blob storage.

---

##### `diskUri`<sup>Required</sup> <a name="diskUri" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.diskUri"></a>

```java
public java.lang.String getDiskUri();
```

- *Type:* java.lang.String

diskURI is the URI of data disk in the blob storage.

---

##### `cachingMode`<sup>Optional</sup> <a name="cachingMode" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.cachingMode"></a>

```java
public java.lang.String getCachingMode();
```

- *Type:* java.lang.String

cachingMode is the Host Caching mode: None, Read Only, Read Write.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is Filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set).

defaults to shared

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.AzureDiskVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

readOnly Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

### AzureFilePersistentVolumeSource <a name="AzureFilePersistentVolumeSource" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource"></a>

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AzureFilePersistentVolumeSource;

AzureFilePersistentVolumeSource.builder()
    .secretName(java.lang.String)
    .shareName(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretNamespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.secretName">secretName</a></code> | <code>java.lang.String</code> | secretName is the name of secret that contains Azure Storage Account Name and Key. |
| <code><a href="#cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.shareName">shareName</a></code> | <code>java.lang.String</code> | shareName is the azure Share Name. |
| <code><a href="#cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.secretNamespace">secretNamespace</a></code> | <code>java.lang.String</code> | secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod. |

---

##### `secretName`<sup>Required</sup> <a name="secretName" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.secretName"></a>

```java
public java.lang.String getSecretName();
```

- *Type:* java.lang.String

secretName is the name of secret that contains Azure Storage Account Name and Key.

---

##### `shareName`<sup>Required</sup> <a name="shareName" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.shareName"></a>

```java
public java.lang.String getShareName();
```

- *Type:* java.lang.String

shareName is the azure Share Name.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `secretNamespace`<sup>Optional</sup> <a name="secretNamespace" id="cdk8s-plus-32.k8s.AzureFilePersistentVolumeSource.property.secretNamespace"></a>

```java
public java.lang.String getSecretNamespace();
```

- *Type:* java.lang.String

secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod.

---

### AzureFileVolumeSource <a name="AzureFileVolumeSource" id="cdk8s-plus-32.k8s.AzureFileVolumeSource"></a>

AzureFile represents an Azure File Service mount on the host and bind mount to the pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.AzureFileVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.AzureFileVolumeSource;

AzureFileVolumeSource.builder()
    .secretName(java.lang.String)
    .shareName(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.AzureFileVolumeSource.property.secretName">secretName</a></code> | <code>java.lang.String</code> | secretName is the  name of secret that contains Azure Storage Account Name and Key. |
| <code><a href="#cdk8s-plus-32.k8s.AzureFileVolumeSource.property.shareName">shareName</a></code> | <code>java.lang.String</code> | shareName is the azure share Name. |
| <code><a href="#cdk8s-plus-32.k8s.AzureFileVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |

---

##### `secretName`<sup>Required</sup> <a name="secretName" id="cdk8s-plus-32.k8s.AzureFileVolumeSource.property.secretName"></a>

```java
public java.lang.String getSecretName();
```

- *Type:* java.lang.String

secretName is the  name of secret that contains Azure Storage Account Name and Key.

---

##### `shareName`<sup>Required</sup> <a name="shareName" id="cdk8s-plus-32.k8s.AzureFileVolumeSource.property.shareName"></a>

```java
public java.lang.String getShareName();
```

- *Type:* java.lang.String

shareName is the azure share Name.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.AzureFileVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

### BasicAuthSecretProps <a name="BasicAuthSecretProps" id="cdk8s-plus-32.BasicAuthSecretProps"></a>

Options for `BasicAuthSecret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.BasicAuthSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.BasicAuthSecretProps;

BasicAuthSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .password(java.lang.String)
    .username(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.BasicAuthSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.BasicAuthSecretProps.property.password">password</a></code> | <code>java.lang.String</code> | The password or token for authentication. |
| <code><a href="#cdk8s-plus-32.BasicAuthSecretProps.property.username">username</a></code> | <code>java.lang.String</code> | The user name for authentication. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.BasicAuthSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.BasicAuthSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `password`<sup>Required</sup> <a name="password" id="cdk8s-plus-32.BasicAuthSecretProps.property.password"></a>

```java
public java.lang.String getPassword();
```

- *Type:* java.lang.String

The password or token for authentication.

---

##### `username`<sup>Required</sup> <a name="username" id="cdk8s-plus-32.BasicAuthSecretProps.property.username"></a>

```java
public java.lang.String getUsername();
```

- *Type:* java.lang.String

The user name for authentication.

---

### BasicDeviceV1Alpha3 <a name="BasicDeviceV1Alpha3" id="cdk8s-plus-32.k8s.BasicDeviceV1Alpha3"></a>

BasicDevice defines one device instance.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.BasicDeviceV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.BasicDeviceV1Alpha3;

BasicDeviceV1Alpha3.builder()
//  .attributes(java.util.Map<java.lang.String, DeviceAttributeV1Alpha3>)
//  .capacity(java.util.Map<java.lang.String, Quantity>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.BasicDeviceV1Alpha3.property.attributes">attributes</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceAttributeV1Alpha3></code> | Attributes defines the set of attributes for this device. |
| <code><a href="#cdk8s-plus-32.k8s.BasicDeviceV1Alpha3.property.capacity">capacity</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Capacity defines the set of capacities for this device. |

---

##### `attributes`<sup>Optional</sup> <a name="attributes" id="cdk8s-plus-32.k8s.BasicDeviceV1Alpha3.property.attributes"></a>

```java
public java.util.Map<java.lang.String, DeviceAttributeV1Alpha3> getAttributes();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceAttributeV1Alpha3>

Attributes defines the set of attributes for this device.

The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

---

##### `capacity`<sup>Optional</sup> <a name="capacity" id="cdk8s-plus-32.k8s.BasicDeviceV1Alpha3.property.capacity"></a>

```java
public java.util.Map<java.lang.String, Quantity> getCapacity();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Capacity defines the set of capacities for this device.

The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

---

### BasicDeviceV1Beta1 <a name="BasicDeviceV1Beta1" id="cdk8s-plus-32.k8s.BasicDeviceV1Beta1"></a>

BasicDevice defines one device instance.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.BasicDeviceV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.BasicDeviceV1Beta1;

BasicDeviceV1Beta1.builder()
//  .attributes(java.util.Map<java.lang.String, DeviceAttributeV1Beta1>)
//  .capacity(java.util.Map<java.lang.String, DeviceCapacityV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.BasicDeviceV1Beta1.property.attributes">attributes</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceAttributeV1Beta1></code> | Attributes defines the set of attributes for this device. |
| <code><a href="#cdk8s-plus-32.k8s.BasicDeviceV1Beta1.property.capacity">capacity</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceCapacityV1Beta1></code> | Capacity defines the set of capacities for this device. |

---

##### `attributes`<sup>Optional</sup> <a name="attributes" id="cdk8s-plus-32.k8s.BasicDeviceV1Beta1.property.attributes"></a>

```java
public java.util.Map<java.lang.String, DeviceAttributeV1Beta1> getAttributes();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceAttributeV1Beta1>

Attributes defines the set of attributes for this device.

The name of each attribute must be unique in that set.

The maximum number of attributes and capacities combined is 32.

---

##### `capacity`<sup>Optional</sup> <a name="capacity" id="cdk8s-plus-32.k8s.BasicDeviceV1Beta1.property.capacity"></a>

```java
public java.util.Map<java.lang.String, DeviceCapacityV1Beta1> getCapacity();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.DeviceCapacityV1Beta1>

Capacity defines the set of capacities for this device.

The name of each capacity must be unique in that set.

The maximum number of attributes and capacities combined is 32.

---

### BoundObjectReference <a name="BoundObjectReference" id="cdk8s-plus-32.k8s.BoundObjectReference"></a>

BoundObjectReference is a reference to an object that a token is bound to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.BoundObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.BoundObjectReference;

BoundObjectReference.builder()
//  .apiVersion(java.lang.String)
//  .kind(java.lang.String)
//  .name(java.lang.String)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.BoundObjectReference.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | API version of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.BoundObjectReference.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.BoundObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.BoundObjectReference.property.uid">uid</a></code> | <code>java.lang.String</code> | UID of the referent. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.BoundObjectReference.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

API version of the referent.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.BoundObjectReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind of the referent.

Valid kinds are 'Pod' and 'Secret'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.BoundObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.BoundObjectReference.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID of the referent.

---

### Capabilities <a name="Capabilities" id="cdk8s-plus-32.k8s.Capabilities"></a>

Adds and removes POSIX capabilities from running containers.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Capabilities.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Capabilities;

Capabilities.builder()
//  .add(java.util.List<java.lang.String>)
//  .drop(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Capabilities.property.add">add</a></code> | <code>java.util.List<java.lang.String></code> | Added capabilities. |
| <code><a href="#cdk8s-plus-32.k8s.Capabilities.property.drop">drop</a></code> | <code>java.util.List<java.lang.String></code> | Removed capabilities. |

---

##### `add`<sup>Optional</sup> <a name="add" id="cdk8s-plus-32.k8s.Capabilities.property.add"></a>

```java
public java.util.List<java.lang.String> getAdd();
```

- *Type:* java.util.List<java.lang.String>

Added capabilities.

---

##### `drop`<sup>Optional</sup> <a name="drop" id="cdk8s-plus-32.k8s.Capabilities.property.drop"></a>

```java
public java.util.List<java.lang.String> getDrop();
```

- *Type:* java.util.List<java.lang.String>

Removed capabilities.

---

### CelDeviceSelectorV1Alpha3 <a name="CelDeviceSelectorV1Alpha3" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Alpha3"></a>

CELDeviceSelector contains a CEL expression for selecting a device.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CelDeviceSelectorV1Alpha3;

CelDeviceSelectorV1Alpha3.builder()
    .expression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CelDeviceSelectorV1Alpha3.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression is a CEL expression which evaluates a single device. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Alpha3.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression is a CEL expression which evaluates a single device.

It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

* driver (string): the name of the driver which defines this device.
* attributes (map[string]object): the device's attributes, grouped by prefix
  (e.g. device.attributes["dra.example.com"] evaluates to an object with all
  of the attributes which were prefixed by "dra.example.com".
* capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

---

### CelDeviceSelectorV1Beta1 <a name="CelDeviceSelectorV1Beta1" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Beta1"></a>

CELDeviceSelector contains a CEL expression for selecting a device.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CelDeviceSelectorV1Beta1;

CelDeviceSelectorV1Beta1.builder()
    .expression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CelDeviceSelectorV1Beta1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression is a CEL expression which evaluates a single device. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.CelDeviceSelectorV1Beta1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression is a CEL expression which evaluates a single device.

It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.

The expression's input is an object named "device", which carries the following properties:

* driver (string): the name of the driver which defines this device.
* attributes (map[string]object): the device's attributes, grouped by prefix
  (e.g. device.attributes["dra.example.com"] evaluates to an object with all
  of the attributes which were prefixed by "dra.example.com".
* capacity (map[string]object): the device's capacities, grouped by prefix.

Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:

device.driver
device.attributes["dra.example.com"].model
device.attributes["ext.example.com"].family
device.capacity["dra.example.com"].modules

The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.

The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.

If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.

A robust expression should check for the existence of attributes before referencing them.

For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:

cel.bind(dra, device.attributes["dra.example.com"], dra.someBool && dra.anotherBool)

The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.

---

### CephFsPersistentVolumeSource <a name="CephFsPersistentVolumeSource" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource"></a>

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CephFsPersistentVolumeSource;

CephFsPersistentVolumeSource.builder()
    .monitors(java.util.List<java.lang.String>)
//  .path(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretFile(java.lang.String)
//  .secretRef(SecretReference)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.monitors">monitors</a></code> | <code>java.util.List<java.lang.String></code> | monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: Defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.secretFile">secretFile</a></code> | <code>java.lang.String</code> | secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.user">user</a></code> | <code>java.lang.String</code> | user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |

---

##### `monitors`<sup>Required</sup> <a name="monitors" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.monitors"></a>

```java
public java.util.List<java.lang.String> getMonitors();
```

- *Type:* java.util.List<java.lang.String>

monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

readOnly is Optional: Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

---

##### `secretFile`<sup>Optional</sup> <a name="secretFile" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.secretFile"></a>

```java
public java.lang.String getSecretFile();
```

- *Type:* java.lang.String

secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.CephFsPersistentVolumeSource.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String

user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

### CephFsVolumeSource <a name="CephFsVolumeSource" id="cdk8s-plus-32.k8s.CephFsVolumeSource"></a>

Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CephFsVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CephFsVolumeSource;

CephFsVolumeSource.builder()
    .monitors(java.util.List<java.lang.String>)
//  .path(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretFile(java.lang.String)
//  .secretRef(LocalObjectReference)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.monitors">monitors</a></code> | <code>java.util.List<java.lang.String></code> | monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: Defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.secretFile">secretFile</a></code> | <code>java.lang.String</code> | secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. |
| <code><a href="#cdk8s-plus-32.k8s.CephFsVolumeSource.property.user">user</a></code> | <code>java.lang.String</code> | user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it. |

---

##### `monitors`<sup>Required</sup> <a name="monitors" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.monitors"></a>

```java
public java.util.List<java.lang.String> getMonitors();
```

- *Type:* java.util.List<java.lang.String>

monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

readOnly is Optional: Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

---

##### `secretFile`<sup>Optional</sup> <a name="secretFile" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.secretFile"></a>

```java
public java.lang.String getSecretFile();
```

- *Type:* java.lang.String

secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.

More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.CephFsVolumeSource.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String

user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it.

---

### CertificateSigningRequestSpec <a name="CertificateSigningRequestSpec" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec"></a>

CertificateSigningRequestSpec contains the certificate request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CertificateSigningRequestSpec;

CertificateSigningRequestSpec.builder()
    .request(java.lang.String)
    .signerName(java.lang.String)
//  .expirationSeconds(java.lang.Number)
//  .extra(java.util.Map<java.lang.String, java.util.List<java.lang.String>>)
//  .groups(java.util.List<java.lang.String>)
//  .uid(java.lang.String)
//  .usages(java.util.List<java.lang.String>)
//  .username(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.request">request</a></code> | <code>java.lang.String</code> | request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.signerName">signerName</a></code> | <code>java.lang.String</code> | signerName indicates the requested signer, and is a qualified name. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.expirationSeconds">expirationSeconds</a></code> | <code>java.lang.Number</code> | expirationSeconds is the requested duration of validity of the issued certificate. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.extra">extra</a></code> | <code>java.util.Map<java.lang.String, java.util.List<java.lang.String>></code> | extra contains extra attributes of the user that created the CertificateSigningRequest. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.groups">groups</a></code> | <code>java.util.List<java.lang.String></code> | groups contains group membership of the user that created the CertificateSigningRequest. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.uid">uid</a></code> | <code>java.lang.String</code> | uid contains the uid of the user that created the CertificateSigningRequest. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.usages">usages</a></code> | <code>java.util.List<java.lang.String></code> | usages specifies a set of key usages requested in the issued certificate. |
| <code><a href="#cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.username">username</a></code> | <code>java.lang.String</code> | username contains the name of the user that created the CertificateSigningRequest. |

---

##### `request`<sup>Required</sup> <a name="request" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.request"></a>

```java
public java.lang.String getRequest();
```

- *Type:* java.lang.String

request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block.

When serialized as JSON or YAML, the data is additionally base64-encoded.

---

##### `signerName`<sup>Required</sup> <a name="signerName" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.signerName"></a>

```java
public java.lang.String getSignerName();
```

- *Type:* java.lang.String

signerName indicates the requested signer, and is a qualified name.

List/watch requests for CertificateSigningRequests can filter on this field using a "spec.signerName=NAME" fieldSelector.

Well-known Kubernetes signers are:

1. "kubernetes.io/kube-apiserver-client": issues client certificates that can be used to authenticate to kube-apiserver.
   Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the "csrsigning" controller in kube-controller-manager.
2. "kubernetes.io/kube-apiserver-client-kubelet": issues client certificates that kubelets use to authenticate to kube-apiserver.
   Requests for this signer can be auto-approved by the "csrapproving" controller in kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.
3. "kubernetes.io/kubelet-serving" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely.
   Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the "csrsigning" controller in kube-controller-manager.

More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers

Custom signerNames can also be specified. The signer defines:

1. Trust distribution: how trust (CA bundles) are distributed.
2. Permitted subjects: and behavior when a disallowed subject is requested.
3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested.
4. Required, permitted, or forbidden key usages / extended key usages.
5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin.
6. Whether or not requests for CA certificates are allowed.

---

##### `expirationSeconds`<sup>Optional</sup> <a name="expirationSeconds" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.expirationSeconds"></a>

```java
public java.lang.Number getExpirationSeconds();
```

- *Type:* java.lang.Number

expirationSeconds is the requested duration of validity of the issued certificate.

The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration.

The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager.

Certificate signers may not honor this field for various reasons:

1. Old signer that is unaware of the field (such as the in-tree
   implementations prior to v1.22)
2. Signer whose configured maximum is shorter than the requested duration
3. Signer whose configured minimum is longer than the requested duration

The minimum valid value for expirationSeconds is 600, i.e. 10 minutes.

---

##### `extra`<sup>Optional</sup> <a name="extra" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.extra"></a>

```java
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getExtra();
```

- *Type:* java.util.Map<java.lang.String, java.util.List<java.lang.String>>

extra contains extra attributes of the user that created the CertificateSigningRequest.

Populated by the API server on creation and immutable.

---

##### `groups`<sup>Optional</sup> <a name="groups" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.groups"></a>

```java
public java.util.List<java.lang.String> getGroups();
```

- *Type:* java.util.List<java.lang.String>

groups contains group membership of the user that created the CertificateSigningRequest.

Populated by the API server on creation and immutable.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

uid contains the uid of the user that created the CertificateSigningRequest.

Populated by the API server on creation and immutable.

---

##### `usages`<sup>Optional</sup> <a name="usages" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.usages"></a>

```java
public java.util.List<java.lang.String> getUsages();
```

- *Type:* java.util.List<java.lang.String>

usages specifies a set of key usages requested in the issued certificate.

Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".

Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".

Valid values are:
"signing", "digital signature", "content commitment",
"key encipherment", "key agreement", "data encipherment",
"cert sign", "crl sign", "encipher only", "decipher only", "any",
"server auth", "client auth",
"code signing", "email protection", "s/mime",
"ipsec end system", "ipsec tunnel", "ipsec user",
"timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"

---

##### `username`<sup>Optional</sup> <a name="username" id="cdk8s-plus-32.k8s.CertificateSigningRequestSpec.property.username"></a>

```java
public java.lang.String getUsername();
```

- *Type:* java.lang.String

username contains the name of the user that created the CertificateSigningRequest.

Populated by the API server on creation and immutable.

---

### CinderPersistentVolumeSource <a name="CinderPersistentVolumeSource" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource"></a>

Represents a cinder volume resource in Openstack.

A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CinderPersistentVolumeSource;

CinderPersistentVolumeSource.builder()
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(SecretReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | volumeID used to identify the volume in cinder. |
| <code><a href="#cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: Defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack. |

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

volumeID used to identify the volume in cinder.

More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType Filesystem type to mount.

Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

readOnly is Optional: Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.CinderPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.

---

### CinderVolumeSource <a name="CinderVolumeSource" id="cdk8s-plus-32.k8s.CinderVolumeSource"></a>

Represents a cinder volume resource in Openstack.

A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CinderVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CinderVolumeSource;

CinderVolumeSource.builder()
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(LocalObjectReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CinderVolumeSource.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | volumeID used to identify the volume in cinder. |
| <code><a href="#cdk8s-plus-32.k8s.CinderVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.CinderVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.CinderVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef is optional: points to a secret object containing parameters used to connect to OpenStack. |

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.k8s.CinderVolumeSource.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

volumeID used to identify the volume in cinder.

More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.CinderVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CinderVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.CinderVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.

---

### ClientIpConfig <a name="ClientIpConfig" id="cdk8s-plus-32.k8s.ClientIpConfig"></a>

ClientIPConfig represents the configurations of Client IP based session affinity.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ClientIpConfig.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ClientIpConfig;

ClientIpConfig.builder()
//  .timeoutSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ClientIpConfig.property.timeoutSeconds">timeoutSeconds</a></code> | <code>java.lang.Number</code> | timeoutSeconds specifies the seconds of ClientIP type session sticky time. |

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.k8s.ClientIpConfig.property.timeoutSeconds"></a>

```java
public java.lang.Number getTimeoutSeconds();
```

- *Type:* java.lang.Number

timeoutSeconds specifies the seconds of ClientIP type session sticky time.

The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP". Default value is 10800(for 3 hours).

---

### ClusterRoleBindingProps <a name="ClusterRoleBindingProps" id="cdk8s-plus-32.ClusterRoleBindingProps"></a>

Properties for `ClusterRoleBinding`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ClusterRoleBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.ClusterRoleBindingProps;

ClusterRoleBindingProps.builder()
//  .metadata(ApiObjectMetadata)
    .role(IClusterRole)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ClusterRoleBindingProps.property.role">role</a></code> | <code><a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a></code> | The role to bind to. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRoleBindingProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.ClusterRoleBindingProps.property.role"></a>

```java
public IClusterRole getRole();
```

- *Type:* <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>

The role to bind to.

---

### ClusterRolePolicyRule <a name="ClusterRolePolicyRule" id="cdk8s-plus-32.ClusterRolePolicyRule"></a>

Policy rule of a `ClusterRole.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ClusterRolePolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.ClusterRolePolicyRule;

ClusterRolePolicyRule.builder()
    .endpoints(java.util.List<IApiEndpoint>)
    .verbs(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRolePolicyRule.property.endpoints">endpoints</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>></code> | Endpoints this rule applies to. |
| <code><a href="#cdk8s-plus-32.ClusterRolePolicyRule.property.verbs">verbs</a></code> | <code>java.util.List<java.lang.String></code> | Verbs to allow. |

---

##### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.ClusterRolePolicyRule.property.endpoints"></a>

```java
public java.util.List<IApiEndpoint> getEndpoints();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>>

Endpoints this rule applies to.

Can be either api resources
or non api resources.

---

##### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.ClusterRolePolicyRule.property.verbs"></a>

```java
public java.util.List<java.lang.String> getVerbs();
```

- *Type:* java.util.List<java.lang.String>

Verbs to allow.

(e.g ['get', 'watch'])

---

### ClusterRoleProps <a name="ClusterRoleProps" id="cdk8s-plus-32.ClusterRoleProps"></a>

Properties for `ClusterRole`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ClusterRoleProps.Initializer"></a>

```java
import org.cdk8s.plus32.ClusterRoleProps;

ClusterRoleProps.builder()
//  .metadata(ApiObjectMetadata)
//  .aggregationLabels(java.util.Map<java.lang.String, java.lang.String>)
//  .rules(java.util.List<ClusterRolePolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ClusterRoleProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ClusterRoleProps.property.aggregationLabels">aggregationLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules. |
| <code><a href="#cdk8s-plus-32.ClusterRoleProps.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>></code> | A list of rules the role should allow. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ClusterRoleProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `aggregationLabels`<sup>Optional</sup> <a name="aggregationLabels" id="cdk8s-plus-32.ClusterRoleProps.property.aggregationLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getAggregationLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Specify labels that should be used to locate ClusterRoles, whose rules will be automatically filled into this ClusterRole's rules.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.ClusterRoleProps.property.rules"></a>

```java
public java.util.List<ClusterRolePolicyRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ClusterRolePolicyRule">ClusterRolePolicyRule</a>>
- *Default:* []

A list of rules the role should allow.

---

### ClusterTrustBundleProjection <a name="ClusterTrustBundleProjection" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection"></a>

ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ClusterTrustBundleProjection;

ClusterTrustBundleProjection.builder()
    .path(java.lang.String)
//  .labelSelector(LabelSelector)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
//  .signerName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.path">path</a></code> | <code>java.lang.String</code> | Relative path from the volume root to write the bundle. |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.labelSelector">labelSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | Select all ClusterTrustBundles that match this label selector. |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.name">name</a></code> | <code>java.lang.String</code> | Select a single ClusterTrustBundle by object name. |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.signerName">signerName</a></code> | <code>java.lang.String</code> | Select all ClusterTrustBundles that match this signer name. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Relative path from the volume root to write the bundle.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

Select all ClusterTrustBundles that match this label selector.

Only has effect if signerName is set.  Mutually-exclusive with name.  If unset, interpreted as "match nothing".  If set but empty, interpreted as "match everything".

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Select a single ClusterTrustBundle by object name.

Mutually-exclusive with signerName and labelSelector.

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available.

If using name, then the named ClusterTrustBundle is allowed not to exist.  If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.

---

##### `signerName`<sup>Optional</sup> <a name="signerName" id="cdk8s-plus-32.k8s.ClusterTrustBundleProjection.property.signerName"></a>

```java
public java.lang.String getSignerName();
```

- *Type:* java.lang.String

Select all ClusterTrustBundles that match this signer name.

Mutually-exclusive with name.  The contents of all selected ClusterTrustBundles will be unified and deduplicated.

---

### ClusterTrustBundleSpecV1Alpha1 <a name="ClusterTrustBundleSpecV1Alpha1" id="cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1"></a>

ClusterTrustBundleSpec contains the signer and trust anchors.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ClusterTrustBundleSpecV1Alpha1;

ClusterTrustBundleSpecV1Alpha1.builder()
    .trustBundle(java.lang.String)
//  .signerName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1.property.trustBundle">trustBundle</a></code> | <code>java.lang.String</code> | trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates. |
| <code><a href="#cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1.property.signerName">signerName</a></code> | <code>java.lang.String</code> | signerName indicates the associated signer, if any. |

---

##### `trustBundle`<sup>Required</sup> <a name="trustBundle" id="cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1.property.trustBundle"></a>

```java
public java.lang.String getTrustBundle();
```

- *Type:* java.lang.String

trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.

The data must consist only of PEM certificate blocks that parse as valid X.509 certificates.  Each certificate must include a basic constraints extension with the CA bit set.  The API server will reject objects that contain duplicate certificates, or that use PEM block headers.

Users of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.

---

##### `signerName`<sup>Optional</sup> <a name="signerName" id="cdk8s-plus-32.k8s.ClusterTrustBundleSpecV1Alpha1.property.signerName"></a>

```java
public java.lang.String getSignerName();
```

- *Type:* java.lang.String

signerName indicates the associated signer, if any.

In order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.

If signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.

If signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.

List/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector.

---

### CommandProbeOptions <a name="CommandProbeOptions" id="cdk8s-plus-32.CommandProbeOptions"></a>

Options for `Probe.fromCommand()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.CommandProbeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.CommandProbeOptions;

CommandProbeOptions.builder()
//  .failureThreshold(java.lang.Number)
//  .initialDelaySeconds(Duration)
//  .periodSeconds(Duration)
//  .successThreshold(java.lang.Number)
//  .timeoutSeconds(Duration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CommandProbeOptions.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.CommandProbeOptions.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.CommandProbeOptions.property.periodSeconds">periodSeconds</a></code> | <code>org.cdk8s.Duration</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.CommandProbeOptions.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. |
| <code><a href="#cdk8s-plus-32.CommandProbeOptions.property.timeoutSeconds">timeoutSeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after which the probe times out. |

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.CommandProbeOptions.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.CommandProbeOptions.property.initialDelaySeconds"></a>

```java
public Duration getInitialDelaySeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* immediate

Number of seconds after the container has started before liveness probes are initiated.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.CommandProbeOptions.property.periodSeconds"></a>

```java
public Duration getPeriodSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10) Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.CommandProbeOptions.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

Must be 1 for liveness and startup. Minimum value is 1.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.CommandProbeOptions.property.timeoutSeconds"></a>

```java
public Duration getTimeoutSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(1)

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

### CommonSecretProps <a name="CommonSecretProps" id="cdk8s-plus-32.CommonSecretProps"></a>

Common properties for `Secret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.CommonSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.CommonSecretProps;

CommonSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CommonSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.CommonSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.CommonSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.CommonSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

### ComponentCondition <a name="ComponentCondition" id="cdk8s-plus-32.k8s.ComponentCondition"></a>

Information about the condition of a component.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ComponentCondition.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ComponentCondition;

ComponentCondition.builder()
    .status(java.lang.String)
    .type(java.lang.String)
//  .error(java.lang.String)
//  .message(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ComponentCondition.property.status">status</a></code> | <code>java.lang.String</code> | Status of the condition for a component. |
| <code><a href="#cdk8s-plus-32.k8s.ComponentCondition.property.type">type</a></code> | <code>java.lang.String</code> | Type of condition for a component. |
| <code><a href="#cdk8s-plus-32.k8s.ComponentCondition.property.error">error</a></code> | <code>java.lang.String</code> | Condition error code for a component. |
| <code><a href="#cdk8s-plus-32.k8s.ComponentCondition.property.message">message</a></code> | <code>java.lang.String</code> | Message about the condition for a component. |

---

##### `status`<sup>Required</sup> <a name="status" id="cdk8s-plus-32.k8s.ComponentCondition.property.status"></a>

```java
public java.lang.String getStatus();
```

- *Type:* java.lang.String

Status of the condition for a component.

Valid values for "Healthy": "True", "False", or "Unknown".

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.ComponentCondition.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

Type of condition for a component.

Valid value: "Healthy"

---

##### `error`<sup>Optional</sup> <a name="error" id="cdk8s-plus-32.k8s.ComponentCondition.property.error"></a>

```java
public java.lang.String getError();
```

- *Type:* java.lang.String

Condition error code for a component.

For example, a health check error code.

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.ComponentCondition.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

Message about the condition for a component.

For example, information about a health check.

---

### ConfigMapEnvSource <a name="ConfigMapEnvSource" id="cdk8s-plus-32.k8s.ConfigMapEnvSource"></a>

ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ConfigMapEnvSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ConfigMapEnvSource;

ConfigMapEnvSource.builder()
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapEnvSource.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapEnvSource.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the ConfigMap must be defined. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ConfigMapEnvSource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.ConfigMapEnvSource.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

Specify whether the ConfigMap must be defined.

---

### ConfigMapKeySelector <a name="ConfigMapKeySelector" id="cdk8s-plus-32.k8s.ConfigMapKeySelector"></a>

Selects a key from a ConfigMap.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ConfigMapKeySelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ConfigMapKeySelector;

ConfigMapKeySelector.builder()
    .key(java.lang.String)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapKeySelector.property.key">key</a></code> | <code>java.lang.String</code> | The key to select. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapKeySelector.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapKeySelector.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the ConfigMap or its key must be defined. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.ConfigMapKeySelector.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The key to select.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ConfigMapKeySelector.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.ConfigMapKeySelector.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

Specify whether the ConfigMap or its key must be defined.

---

### ConfigMapNodeConfigSource <a name="ConfigMapNodeConfigSource" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource"></a>

ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.

This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ConfigMapNodeConfigSource;

ConfigMapNodeConfigSource.builder()
    .kubeletConfigKey(java.lang.String)
    .name(java.lang.String)
    .namespace(java.lang.String)
//  .resourceVersion(java.lang.String)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.kubeletConfigKey">kubeletConfigKey</a></code> | <code>java.lang.String</code> | KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.name">name</a></code> | <code>java.lang.String</code> | Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.resourceVersion">resourceVersion</a></code> | <code>java.lang.String</code> | ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.uid">uid</a></code> | <code>java.lang.String</code> | UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. |

---

##### `kubeletConfigKey`<sup>Required</sup> <a name="kubeletConfigKey" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.kubeletConfigKey"></a>

```java
public java.lang.String getKubeletConfigKey();
```

- *Type:* java.lang.String

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.

---

##### `namespace`<sup>Required</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.

---

##### `resourceVersion`<sup>Optional</sup> <a name="resourceVersion" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.resourceVersion"></a>

```java
public java.lang.String getResourceVersion();
```

- *Type:* java.lang.String

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.ConfigMapNodeConfigSource.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.

---

### ConfigMapProjection <a name="ConfigMapProjection" id="cdk8s-plus-32.k8s.ConfigMapProjection"></a>

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ConfigMapProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ConfigMapProjection;

ConfigMapProjection.builder()
//  .items(java.util.List<KeyToPath>)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapProjection.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KeyToPath></code> | items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapProjection.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapProjection.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | optional specify whether the ConfigMap or its keys must be defined. |

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.ConfigMapProjection.property.items"></a>

```java
public java.util.List<KeyToPath> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KeyToPath>

items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ConfigMapProjection.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.ConfigMapProjection.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

optional specify whether the ConfigMap or its keys must be defined.

---

### ConfigMapProps <a name="ConfigMapProps" id="cdk8s-plus-32.ConfigMapProps"></a>

Properties for initialization of `ConfigMap`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ConfigMapProps.Initializer"></a>

```java
import org.cdk8s.plus32.ConfigMapProps;

ConfigMapProps.builder()
//  .metadata(ApiObjectMetadata)
//  .binaryData(java.util.Map<java.lang.String, java.lang.String>)
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMapProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ConfigMapProps.property.binaryData">binaryData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | BinaryData contains the binary data. |
| <code><a href="#cdk8s-plus-32.ConfigMapProps.property.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the configuration data. |
| <code><a href="#cdk8s-plus-32.ConfigMapProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ConfigMapProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `binaryData`<sup>Optional</sup> <a name="binaryData" id="cdk8s-plus-32.ConfigMapProps.property.binaryData"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getBinaryData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

BinaryData contains the binary data.

Each key must consist of alphanumeric characters, '-', '_' or '.'.
BinaryData can contain byte sequences that are not in the UTF-8 range. The
keys stored in BinaryData must not overlap with the ones in the Data field,
this is enforced during validation process.

You can also add binary data using `configMap.addBinaryData()`.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.ConfigMapProps.property.data"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the configuration data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. Values
with non-UTF-8 byte sequences must use the BinaryData field. The keys
stored in Data must not overlap with the keys in the BinaryData field, this
is enforced during validation process.

You can also add data using `configMap.addData()`.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.ConfigMapProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

### ConfigMapVolumeOptions <a name="ConfigMapVolumeOptions" id="cdk8s-plus-32.ConfigMapVolumeOptions"></a>

Options for the ConfigMap-based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ConfigMapVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ConfigMapVolumeOptions;

ConfigMapVolumeOptions.builder()
//  .defaultMode(java.lang.Number)
//  .items(java.util.Map<java.lang.String, PathMapping>)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ConfigMapVolumeOptions.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | Mode bits to use on created files by default. |
| <code><a href="#cdk8s-plus-32.ConfigMapVolumeOptions.property.items">items</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.PathMapping">PathMapping</a>></code> | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.ConfigMapVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.ConfigMapVolumeOptions.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the ConfigMap or its keys must be defined. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.ConfigMapVolumeOptions.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number
- *Default:* 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

Mode bits to use on created files by default.

Must be a value between 0 and
0777. Defaults to 0644. Directories within the path are not affected by
this setting. This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.ConfigMapVolumeOptions.property.items"></a>

```java
public java.util.Map<java.lang.String, PathMapping> getItems();
```

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.PathMapping">PathMapping</a>>
- *Default:* no mapping

If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected
into the specified paths, and unlisted keys will not be present. If a key
is specified which is not present in the ConfigMap, the volume setup will
error unless it is marked optional. Paths must be relative and may not
contain the '..' path or start with '..'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ConfigMapVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.ConfigMapVolumeOptions.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean
- *Default:* undocumented

Specify whether the ConfigMap or its keys must be defined.

---

### ConfigMapVolumeSource <a name="ConfigMapVolumeSource" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource"></a>

Adapts a ConfigMap into a volume.

The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ConfigMapVolumeSource;

ConfigMapVolumeSource.builder()
//  .defaultMode(java.lang.Number)
//  .items(java.util.List<KeyToPath>)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | defaultMode is optional: mode bits used to set permissions on created files by default. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KeyToPath></code> | items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | optional specify whether the ConfigMap or its keys must be defined. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number
- *Default:* 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

defaultMode is optional: mode bits used to set permissions on created files by default.

Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.items"></a>

```java
public java.util.List<KeyToPath> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KeyToPath>

items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.ConfigMapVolumeSource.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

optional specify whether the ConfigMap or its keys must be defined.

---

### Container <a name="Container" id="cdk8s-plus-32.k8s.Container"></a>

A single application container that you want to run within a pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Container.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Container;

Container.builder()
    .name(java.lang.String)
//  .args(java.util.List<java.lang.String>)
//  .command(java.util.List<java.lang.String>)
//  .env(java.util.List<EnvVar>)
//  .envFrom(java.util.List<EnvFromSource>)
//  .image(java.lang.String)
//  .imagePullPolicy(java.lang.String)
//  .lifecycle(Lifecycle)
//  .livenessProbe(Probe)
//  .ports(java.util.List<ContainerPort>)
//  .readinessProbe(Probe)
//  .resizePolicy(java.util.List<ContainerResizePolicy>)
//  .resources(ResourceRequirements)
//  .restartPolicy(java.lang.String)
//  .securityContext(SecurityContext)
//  .startupProbe(Probe)
//  .stdin(java.lang.Boolean)
//  .stdinOnce(java.lang.Boolean)
//  .terminationMessagePath(java.lang.String)
//  .terminationMessagePolicy(java.lang.String)
//  .tty(java.lang.Boolean)
//  .volumeDevices(java.util.List<VolumeDevice>)
//  .volumeMounts(java.util.List<VolumeMount>)
//  .workingDir(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.name">name</a></code> | <code>java.lang.String</code> | Name of the container specified as a DNS_LABEL. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.env">env</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EnvVar></code> | List of environment variables to set in the container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.envFrom">envFrom</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EnvFromSource></code> | List of sources to populate environment variables in the container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.image">image</a></code> | <code>java.lang.String</code> | Container image name. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.imagePullPolicy">imagePullPolicy</a></code> | <code>java.lang.String</code> | Image pull policy. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.lifecycle">lifecycle</a></code> | <code>org.cdk8s.plus32.k8s.Lifecycle</code> | Actions that the management system should take in response to container lifecycle events. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.livenessProbe">livenessProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | Periodic probe of container liveness. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ContainerPort></code> | List of ports to expose from the container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.readinessProbe">readinessProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | Periodic probe of container service readiness. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.resizePolicy">resizePolicy</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ContainerResizePolicy></code> | Resources resize policy for the container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.resources">resources</a></code> | <code>org.cdk8s.plus32.k8s.ResourceRequirements</code> | Compute Resources required by this container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.restartPolicy">restartPolicy</a></code> | <code>java.lang.String</code> | RestartPolicy defines the restart behavior of individual containers in a pod. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.securityContext">securityContext</a></code> | <code>org.cdk8s.plus32.k8s.SecurityContext</code> | SecurityContext defines the security options the container should be run with. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.startupProbe">startupProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | StartupProbe indicates that the Pod has successfully initialized. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.stdin">stdin</a></code> | <code>java.lang.Boolean</code> | Whether this container should allocate a buffer for stdin in the container runtime. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.stdinOnce">stdinOnce</a></code> | <code>java.lang.Boolean</code> | Whether the container runtime should close the stdin channel after it has been opened by a single attach. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.terminationMessagePath">terminationMessagePath</a></code> | <code>java.lang.String</code> | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.terminationMessagePolicy">terminationMessagePolicy</a></code> | <code>java.lang.String</code> | Indicate how the termination message should be populated. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.tty">tty</a></code> | <code>java.lang.Boolean</code> | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.volumeDevices">volumeDevices</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VolumeDevice></code> | volumeDevices is the list of block devices to be used by the container. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.volumeMounts">volumeMounts</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VolumeMount></code> | Pod volumes to mount into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.k8s.Container.property.workingDir">workingDir</a></code> | <code>java.lang.String</code> | Container's working directory. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.Container.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the container specified as a DNS_LABEL.

Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.k8s.Container.property.args"></a>

```java
public java.util.List<java.lang.String> getArgs();
```

- *Type:* java.util.List<java.lang.String>

Arguments to the entrypoint.

The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.k8s.Container.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>

Entrypoint array.

Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `env`<sup>Optional</sup> <a name="env" id="cdk8s-plus-32.k8s.Container.property.env"></a>

```java
public java.util.List<EnvVar> getEnv();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EnvVar>

List of environment variables to set in the container.

Cannot be updated.

---

##### `envFrom`<sup>Optional</sup> <a name="envFrom" id="cdk8s-plus-32.k8s.Container.property.envFrom"></a>

```java
public java.util.List<EnvFromSource> getEnvFrom();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EnvFromSource>

List of sources to populate environment variables in the container.

The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

---

##### `image`<sup>Optional</sup> <a name="image" id="cdk8s-plus-32.k8s.Container.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

Container image name.

More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.

---

##### `imagePullPolicy`<sup>Optional</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.k8s.Container.property.imagePullPolicy"></a>

```java
public java.lang.String getImagePullPolicy();
```

- *Type:* java.lang.String
- *Default:* Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

Image pull policy.

One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

---

##### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdk8s-plus-32.k8s.Container.property.lifecycle"></a>

```java
public Lifecycle getLifecycle();
```

- *Type:* org.cdk8s.plus32.k8s.Lifecycle

Actions that the management system should take in response to container lifecycle events.

Cannot be updated.

---

##### `livenessProbe`<sup>Optional</sup> <a name="livenessProbe" id="cdk8s-plus-32.k8s.Container.property.livenessProbe"></a>

```java
public Probe getLivenessProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

Periodic probe of container liveness.

Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.Container.property.ports"></a>

```java
public java.util.List<ContainerPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ContainerPort>

List of ports to expose from the container.

Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.

---

##### `readinessProbe`<sup>Optional</sup> <a name="readinessProbe" id="cdk8s-plus-32.k8s.Container.property.readinessProbe"></a>

```java
public Probe getReadinessProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

Periodic probe of container service readiness.

Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

---

##### `resizePolicy`<sup>Optional</sup> <a name="resizePolicy" id="cdk8s-plus-32.k8s.Container.property.resizePolicy"></a>

```java
public java.util.List<ContainerResizePolicy> getResizePolicy();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ContainerResizePolicy>

Resources resize policy for the container.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.Container.property.resources"></a>

```java
public ResourceRequirements getResources();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceRequirements

Compute Resources required by this container.

Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.k8s.Container.property.restartPolicy"></a>

```java
public java.lang.String getRestartPolicy();
```

- *Type:* java.lang.String

RestartPolicy defines the restart behavior of individual containers in a pod.

This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.k8s.Container.property.securityContext"></a>

```java
public SecurityContext getSecurityContext();
```

- *Type:* org.cdk8s.plus32.k8s.SecurityContext

SecurityContext defines the security options the container should be run with.

If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

---

##### `startupProbe`<sup>Optional</sup> <a name="startupProbe" id="cdk8s-plus-32.k8s.Container.property.startupProbe"></a>

```java
public Probe getStartupProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

StartupProbe indicates that the Pod has successfully initialized.

If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

---

##### `stdin`<sup>Optional</sup> <a name="stdin" id="cdk8s-plus-32.k8s.Container.property.stdin"></a>

```java
public java.lang.Boolean getStdin();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Whether this container should allocate a buffer for stdin in the container runtime.

If this is not set, reads from stdin in the container will always result in EOF. Default is false.

---

##### `stdinOnce`<sup>Optional</sup> <a name="stdinOnce" id="cdk8s-plus-32.k8s.Container.property.stdinOnce"></a>

```java
public java.lang.Boolean getStdinOnce();
```

- *Type:* java.lang.Boolean
- *Default:* false

Whether the container runtime should close the stdin channel after it has been opened by a single attach.

When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false

---

##### `terminationMessagePath`<sup>Optional</sup> <a name="terminationMessagePath" id="cdk8s-plus-32.k8s.Container.property.terminationMessagePath"></a>

```java
public java.lang.String getTerminationMessagePath();
```

- *Type:* java.lang.String
- *Default:* dev/termination-log. Cannot be updated.

Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.

Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

---

##### `terminationMessagePolicy`<sup>Optional</sup> <a name="terminationMessagePolicy" id="cdk8s-plus-32.k8s.Container.property.terminationMessagePolicy"></a>

```java
public java.lang.String getTerminationMessagePolicy();
```

- *Type:* java.lang.String
- *Default:* File. Cannot be updated.

Indicate how the termination message should be populated.

File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.

---

##### `tty`<sup>Optional</sup> <a name="tty" id="cdk8s-plus-32.k8s.Container.property.tty"></a>

```java
public java.lang.Boolean getTty();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.

Default is false.

---

##### `volumeDevices`<sup>Optional</sup> <a name="volumeDevices" id="cdk8s-plus-32.k8s.Container.property.volumeDevices"></a>

```java
public java.util.List<VolumeDevice> getVolumeDevices();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VolumeDevice>

volumeDevices is the list of block devices to be used by the container.

---

##### `volumeMounts`<sup>Optional</sup> <a name="volumeMounts" id="cdk8s-plus-32.k8s.Container.property.volumeMounts"></a>

```java
public java.util.List<VolumeMount> getVolumeMounts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VolumeMount>

Pod volumes to mount into the container's filesystem.

Cannot be updated.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.k8s.Container.property.workingDir"></a>

```java
public java.lang.String getWorkingDir();
```

- *Type:* java.lang.String

Container's working directory.

If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

---

### ContainerLifecycle <a name="ContainerLifecycle" id="cdk8s-plus-32.ContainerLifecycle"></a>

Container lifecycle properties.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerLifecycle.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerLifecycle;

ContainerLifecycle.builder()
//  .postStart(Handler)
//  .preStop(Handler)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerLifecycle.property.postStart">postStart</a></code> | <code><a href="#cdk8s-plus-32.Handler">Handler</a></code> | This hook is executed immediately after a container is created. |
| <code><a href="#cdk8s-plus-32.ContainerLifecycle.property.preStop">preStop</a></code> | <code><a href="#cdk8s-plus-32.Handler">Handler</a></code> | This hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others. |

---

##### `postStart`<sup>Optional</sup> <a name="postStart" id="cdk8s-plus-32.ContainerLifecycle.property.postStart"></a>

```java
public Handler getPostStart();
```

- *Type:* <a href="#cdk8s-plus-32.Handler">Handler</a>
- *Default:* No post start handler.

This hook is executed immediately after a container is created.

However,
there is no guarantee that the hook will execute before the container ENTRYPOINT.

---

##### `preStop`<sup>Optional</sup> <a name="preStop" id="cdk8s-plus-32.ContainerLifecycle.property.preStop"></a>

```java
public Handler getPreStop();
```

- *Type:* <a href="#cdk8s-plus-32.Handler">Handler</a>
- *Default:* No pre stop handler.

This hook is called immediately before a container is terminated due to an API request or management event such as a liveness/startup probe failure, preemption, resource contention and others.

A call to the PreStop hook fails if the container is already in a terminated or completed state
and the hook must complete before the TERM signal to stop the container can be sent.
The Pod's termination grace period countdown begins before the PreStop hook is executed,
so regardless of the outcome of the handler, the container will eventually terminate
within the Pod's termination grace period. No parameters are passed to the handler.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-termination)

---

### ContainerOpts <a name="ContainerOpts" id="cdk8s-plus-32.ContainerOpts"></a>

Optional properties of a container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerOpts.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerOpts;

ContainerOpts.builder()
//  .args(java.util.List<java.lang.String>)
//  .command(java.util.List<java.lang.String>)
//  .envFrom(java.util.List<EnvFrom>)
//  .envVariables(java.util.Map<java.lang.String, EnvValue>)
//  .imagePullPolicy(ImagePullPolicy)
//  .lifecycle(ContainerLifecycle)
//  .liveness(Probe)
//  .name(java.lang.String)
//  .port(java.lang.Number)
//  .portNumber(java.lang.Number)
//  .ports(java.util.List<ContainerPort>)
//  .readiness(Probe)
//  .resources(ContainerResources)
//  .restartPolicy(ContainerRestartPolicy)
//  .securityContext(ContainerSecurityContextProps)
//  .startup(Probe)
//  .volumeMounts(java.util.List<VolumeMount>)
//  .workingDir(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.envFrom">envFrom</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>></code> | List of sources to populate environment variables in the container. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.envVariables">envVariables</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>></code> | Environment variables to set in the container. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.imagePullPolicy">imagePullPolicy</a></code> | <code><a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a></code> | Image pull policy for this container. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.lifecycle">lifecycle</a></code> | <code><a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a></code> | Describes actions that the management system should take in response to container lifecycle events. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.liveness">liveness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Periodic probe of container liveness. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.name">name</a></code> | <code>java.lang.String</code> | Name of the container specified as a DNS_LABEL. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.port">port</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.portNumber">portNumber</a></code> | <code>java.lang.Number</code> | Number of port to expose on the pod's IP address. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>></code> | List of ports to expose from this container. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.readiness">readiness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Determines when the container is ready to serve traffic. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.resources">resources</a></code> | <code><a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a></code> | Compute resources (CPU and memory requests and limits) required by the container. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a></code> | Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a></code> | SecurityContext defines the security options the container should be run with. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.startup">startup</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | StartupProbe indicates that the Pod has successfully initialized. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.volumeMounts">volumeMounts</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>></code> | Pod volumes to mount into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.ContainerOpts.property.workingDir">workingDir</a></code> | <code>java.lang.String</code> | Container's working directory. |

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.ContainerOpts.property.args"></a>

```java
public java.util.List<java.lang.String> getArgs();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* []

Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided.

Variable references $(VAR_NAME) are expanded using the container's
environment. If a variable cannot be resolved, the reference in the input
string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
regardless of whether the variable exists or not.

Cannot be updated.

> [https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell)

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.ContainerOpts.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* The docker image's ENTRYPOINT.

Entrypoint array.

Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment.
If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME).
Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `envFrom`<sup>Optional</sup> <a name="envFrom" id="cdk8s-plus-32.ContainerOpts.property.envFrom"></a>

```java
public java.util.List<EnvFrom> getEnvFrom();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>>
- *Default:* No sources.

List of sources to populate environment variables in the container.

When a key exists in multiple sources, the value associated with
the last source will take precedence. Values defined by the `envVariables` property
with a duplicate key will take precedence.

---

##### `envVariables`<sup>Optional</sup> <a name="envVariables" id="cdk8s-plus-32.ContainerOpts.property.envVariables"></a>

```java
public java.util.Map<java.lang.String, EnvValue> getEnvVariables();
```

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>>
- *Default:* No environment variables.

Environment variables to set in the container.

---

##### `imagePullPolicy`<sup>Optional</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.ContainerOpts.property.imagePullPolicy"></a>

```java
public ImagePullPolicy getImagePullPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a>
- *Default:* ImagePullPolicy.ALWAYS

Image pull policy for this container.

---

##### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdk8s-plus-32.ContainerOpts.property.lifecycle"></a>

```java
public ContainerLifecycle getLifecycle();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a>

Describes actions that the management system should take in response to container lifecycle events.

---

##### `liveness`<sup>Optional</sup> <a name="liveness" id="cdk8s-plus-32.ContainerOpts.property.liveness"></a>

```java
public Probe getLiveness();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no liveness probe is defined

Periodic probe of container liveness.

Container will be restarted if the probe fails.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ContainerOpts.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* 'main'

Name of the container specified as a DNS_LABEL.

Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

---

##### ~~`port`~~<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.ContainerOpts.property.port"></a>

- *Deprecated:* - use `portNumber`.

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

---

##### `portNumber`<sup>Optional</sup> <a name="portNumber" id="cdk8s-plus-32.ContainerOpts.property.portNumber"></a>

```java
public java.lang.Number getPortNumber();
```

- *Type:* java.lang.Number
- *Default:* Only the ports mentiond in the `ports` property are exposed.

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

This is a convinience property if all you need a single TCP numbered port.
In case more advanced configuartion is required, use the `ports` property.

This port is added to the list of ports mentioned in the `ports` property.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.ContainerOpts.property.ports"></a>

```java
public java.util.List<ContainerPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>>
- *Default:* Only the port mentioned in the `portNumber` property is exposed.

List of ports to expose from this container.

---

##### `readiness`<sup>Optional</sup> <a name="readiness" id="cdk8s-plus-32.ContainerOpts.property.readiness"></a>

```java
public Probe getReadiness();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no readiness probe is defined

Determines when the container is ready to serve traffic.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.ContainerOpts.property.resources"></a>

```java
public ContainerResources getResources();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a>
- *Default:* cpu:      request: 1000 millis      limit: 1500 millis    memory:      request: 512 mebibytes      limit: 2048 mebibytes

Compute resources (CPU and memory requests and limits) required by the container.

> [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.ContainerOpts.property.restartPolicy"></a>

```java
public ContainerRestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a>
- *Default:* no restart policy is defined and the pod restart policy is applied

Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always.

> [https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.ContainerOpts.property.securityContext"></a>

```java
public ContainerSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a>
- *Default:* ensureNonRoot: true   privileged: false   readOnlyRootFilesystem: true   allowPrivilegeEscalation: false   user: 25000   group: 26000

SecurityContext defines the security options the container should be run with.

If set, the fields override equivalent fields of the pod's security context.

> [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)

---

##### `startup`<sup>Optional</sup> <a name="startup" id="cdk8s-plus-32.ContainerOpts.property.startup"></a>

```java
public Probe getStartup();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* If a port is provided, then knocks on that port to determine when the container is ready for readiness and liveness probe checks. Otherwise, no startup probe is defined.

StartupProbe indicates that the Pod has successfully initialized.

If specified, no other probes are executed until this completes successfully

---

##### `volumeMounts`<sup>Optional</sup> <a name="volumeMounts" id="cdk8s-plus-32.ContainerOpts.property.volumeMounts"></a>

```java
public java.util.List<VolumeMount> getVolumeMounts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>>

Pod volumes to mount into the container's filesystem.

Cannot be updated.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.ContainerOpts.property.workingDir"></a>

```java
public java.lang.String getWorkingDir();
```

- *Type:* java.lang.String
- *Default:* The container runtime's default.

Container's working directory.

If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

---

### ContainerPort <a name="ContainerPort" id="cdk8s-plus-32.ContainerPort"></a>

Represents a network port in a single container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerPort.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerPort;

ContainerPort.builder()
    .number(java.lang.Number)
//  .hostIp(java.lang.String)
//  .hostPort(java.lang.Number)
//  .name(java.lang.String)
//  .protocol(Protocol)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerPort.property.number">number</a></code> | <code>java.lang.Number</code> | Number of port to expose on the pod's IP address. |
| <code><a href="#cdk8s-plus-32.ContainerPort.property.hostIp">hostIp</a></code> | <code>java.lang.String</code> | What host IP to bind the external port to. |
| <code><a href="#cdk8s-plus-32.ContainerPort.property.hostPort">hostPort</a></code> | <code>java.lang.Number</code> | Number of port to expose on the host. |
| <code><a href="#cdk8s-plus-32.ContainerPort.property.name">name</a></code> | <code>java.lang.String</code> | If specified, this must be an IANA_SVC_NAME and unique within the pod. |
| <code><a href="#cdk8s-plus-32.ContainerPort.property.protocol">protocol</a></code> | <code><a href="#cdk8s-plus-32.Protocol">Protocol</a></code> | Protocol for port. |

---

##### `number`<sup>Required</sup> <a name="number" id="cdk8s-plus-32.ContainerPort.property.number"></a>

```java
public java.lang.Number getNumber();
```

- *Type:* java.lang.Number

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

---

##### `hostIp`<sup>Optional</sup> <a name="hostIp" id="cdk8s-plus-32.ContainerPort.property.hostIp"></a>

```java
public java.lang.String getHostIp();
```

- *Type:* java.lang.String
- *Default:* 127.0.0.1.

What host IP to bind the external port to.

---

##### `hostPort`<sup>Optional</sup> <a name="hostPort" id="cdk8s-plus-32.ContainerPort.property.hostPort"></a>

```java
public java.lang.Number getHostPort();
```

- *Type:* java.lang.Number
- *Default:* auto generated by kubernetes and might change on restarts.

Number of port to expose on the host.

If specified, this must be a valid port number, 0 < x < 65536.
Most containers do not need this.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ContainerPort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* port is not named.

If specified, this must be an IANA_SVC_NAME and unique within the pod.

Each named port in a pod must have a unique name.
Name for the port that can be referred to by services.

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.ContainerPort.property.protocol"></a>

```java
public Protocol getProtocol();
```

- *Type:* <a href="#cdk8s-plus-32.Protocol">Protocol</a>
- *Default:* Protocol.TCP

Protocol for port.

Must be UDP, TCP, or SCTP. Defaults to "TCP".

---

### ContainerPort <a name="ContainerPort" id="cdk8s-plus-32.k8s.ContainerPort"></a>

ContainerPort represents a network port in a single container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ContainerPort.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ContainerPort;

ContainerPort.builder()
    .containerPort(java.lang.Number)
//  .hostIp(java.lang.String)
//  .hostPort(java.lang.Number)
//  .name(java.lang.String)
//  .protocol(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ContainerPort.property.containerPort">containerPort</a></code> | <code>java.lang.Number</code> | Number of port to expose on the pod's IP address. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerPort.property.hostIp">hostIp</a></code> | <code>java.lang.String</code> | What host IP to bind the external port to. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerPort.property.hostPort">hostPort</a></code> | <code>java.lang.Number</code> | Number of port to expose on the host. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerPort.property.name">name</a></code> | <code>java.lang.String</code> | If specified, this must be an IANA_SVC_NAME and unique within the pod. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerPort.property.protocol">protocol</a></code> | <code>java.lang.String</code> | Protocol for port. |

---

##### `containerPort`<sup>Required</sup> <a name="containerPort" id="cdk8s-plus-32.k8s.ContainerPort.property.containerPort"></a>

```java
public java.lang.Number getContainerPort();
```

- *Type:* java.lang.Number

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

---

##### `hostIp`<sup>Optional</sup> <a name="hostIp" id="cdk8s-plus-32.k8s.ContainerPort.property.hostIp"></a>

```java
public java.lang.String getHostIp();
```

- *Type:* java.lang.String

What host IP to bind the external port to.

---

##### `hostPort`<sup>Optional</sup> <a name="hostPort" id="cdk8s-plus-32.k8s.ContainerPort.property.hostPort"></a>

```java
public java.lang.Number getHostPort();
```

- *Type:* java.lang.Number

Number of port to expose on the host.

If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ContainerPort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

If specified, this must be an IANA_SVC_NAME and unique within the pod.

Each named port in a pod must have a unique name. Name for the port that can be referred to by services.

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.k8s.ContainerPort.property.protocol"></a>

```java
public java.lang.String getProtocol();
```

- *Type:* java.lang.String
- *Default:* TCP".

Protocol for port.

Must be UDP, TCP, or SCTP. Defaults to "TCP".

---

### ContainerProps <a name="ContainerProps" id="cdk8s-plus-32.ContainerProps"></a>

Properties for creating a container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerProps.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerProps;

ContainerProps.builder()
//  .args(java.util.List<java.lang.String>)
//  .command(java.util.List<java.lang.String>)
//  .envFrom(java.util.List<EnvFrom>)
//  .envVariables(java.util.Map<java.lang.String, EnvValue>)
//  .imagePullPolicy(ImagePullPolicy)
//  .lifecycle(ContainerLifecycle)
//  .liveness(Probe)
//  .name(java.lang.String)
//  .port(java.lang.Number)
//  .portNumber(java.lang.Number)
//  .ports(java.util.List<ContainerPort>)
//  .readiness(Probe)
//  .resources(ContainerResources)
//  .restartPolicy(ContainerRestartPolicy)
//  .securityContext(ContainerSecurityContextProps)
//  .startup(Probe)
//  .volumeMounts(java.util.List<VolumeMount>)
//  .workingDir(java.lang.String)
    .image(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.envFrom">envFrom</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>></code> | List of sources to populate environment variables in the container. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.envVariables">envVariables</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>></code> | Environment variables to set in the container. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.imagePullPolicy">imagePullPolicy</a></code> | <code><a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a></code> | Image pull policy for this container. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.lifecycle">lifecycle</a></code> | <code><a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a></code> | Describes actions that the management system should take in response to container lifecycle events. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.liveness">liveness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Periodic probe of container liveness. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.name">name</a></code> | <code>java.lang.String</code> | Name of the container specified as a DNS_LABEL. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.port">port</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.portNumber">portNumber</a></code> | <code>java.lang.Number</code> | Number of port to expose on the pod's IP address. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>></code> | List of ports to expose from this container. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.readiness">readiness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Determines when the container is ready to serve traffic. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.resources">resources</a></code> | <code><a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a></code> | Compute resources (CPU and memory requests and limits) required by the container. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a></code> | Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a></code> | SecurityContext defines the security options the container should be run with. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.startup">startup</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | StartupProbe indicates that the Pod has successfully initialized. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.volumeMounts">volumeMounts</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>></code> | Pod volumes to mount into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.workingDir">workingDir</a></code> | <code>java.lang.String</code> | Container's working directory. |
| <code><a href="#cdk8s-plus-32.ContainerProps.property.image">image</a></code> | <code>java.lang.String</code> | Docker image name. |

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.ContainerProps.property.args"></a>

```java
public java.util.List<java.lang.String> getArgs();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* []

Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided.

Variable references $(VAR_NAME) are expanded using the container's
environment. If a variable cannot be resolved, the reference in the input
string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
regardless of whether the variable exists or not.

Cannot be updated.

> [https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell)

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.ContainerProps.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* The docker image's ENTRYPOINT.

Entrypoint array.

Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment.
If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME).
Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `envFrom`<sup>Optional</sup> <a name="envFrom" id="cdk8s-plus-32.ContainerProps.property.envFrom"></a>

```java
public java.util.List<EnvFrom> getEnvFrom();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>>
- *Default:* No sources.

List of sources to populate environment variables in the container.

When a key exists in multiple sources, the value associated with
the last source will take precedence. Values defined by the `envVariables` property
with a duplicate key will take precedence.

---

##### `envVariables`<sup>Optional</sup> <a name="envVariables" id="cdk8s-plus-32.ContainerProps.property.envVariables"></a>

```java
public java.util.Map<java.lang.String, EnvValue> getEnvVariables();
```

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>>
- *Default:* No environment variables.

Environment variables to set in the container.

---

##### `imagePullPolicy`<sup>Optional</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.ContainerProps.property.imagePullPolicy"></a>

```java
public ImagePullPolicy getImagePullPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a>
- *Default:* ImagePullPolicy.ALWAYS

Image pull policy for this container.

---

##### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdk8s-plus-32.ContainerProps.property.lifecycle"></a>

```java
public ContainerLifecycle getLifecycle();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a>

Describes actions that the management system should take in response to container lifecycle events.

---

##### `liveness`<sup>Optional</sup> <a name="liveness" id="cdk8s-plus-32.ContainerProps.property.liveness"></a>

```java
public Probe getLiveness();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no liveness probe is defined

Periodic probe of container liveness.

Container will be restarted if the probe fails.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ContainerProps.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* 'main'

Name of the container specified as a DNS_LABEL.

Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

---

##### ~~`port`~~<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.ContainerProps.property.port"></a>

- *Deprecated:* - use `portNumber`.

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

---

##### `portNumber`<sup>Optional</sup> <a name="portNumber" id="cdk8s-plus-32.ContainerProps.property.portNumber"></a>

```java
public java.lang.Number getPortNumber();
```

- *Type:* java.lang.Number
- *Default:* Only the ports mentiond in the `ports` property are exposed.

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

This is a convinience property if all you need a single TCP numbered port.
In case more advanced configuartion is required, use the `ports` property.

This port is added to the list of ports mentioned in the `ports` property.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.ContainerProps.property.ports"></a>

```java
public java.util.List<ContainerPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>>
- *Default:* Only the port mentioned in the `portNumber` property is exposed.

List of ports to expose from this container.

---

##### `readiness`<sup>Optional</sup> <a name="readiness" id="cdk8s-plus-32.ContainerProps.property.readiness"></a>

```java
public Probe getReadiness();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no readiness probe is defined

Determines when the container is ready to serve traffic.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.ContainerProps.property.resources"></a>

```java
public ContainerResources getResources();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a>
- *Default:* cpu:      request: 1000 millis      limit: 1500 millis    memory:      request: 512 mebibytes      limit: 2048 mebibytes

Compute resources (CPU and memory requests and limits) required by the container.

> [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.ContainerProps.property.restartPolicy"></a>

```java
public ContainerRestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a>
- *Default:* no restart policy is defined and the pod restart policy is applied

Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always.

> [https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.ContainerProps.property.securityContext"></a>

```java
public ContainerSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a>
- *Default:* ensureNonRoot: true   privileged: false   readOnlyRootFilesystem: true   allowPrivilegeEscalation: false   user: 25000   group: 26000

SecurityContext defines the security options the container should be run with.

If set, the fields override equivalent fields of the pod's security context.

> [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)

---

##### `startup`<sup>Optional</sup> <a name="startup" id="cdk8s-plus-32.ContainerProps.property.startup"></a>

```java
public Probe getStartup();
```

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* If a port is provided, then knocks on that port to determine when the container is ready for readiness and liveness probe checks. Otherwise, no startup probe is defined.

StartupProbe indicates that the Pod has successfully initialized.

If specified, no other probes are executed until this completes successfully

---

##### `volumeMounts`<sup>Optional</sup> <a name="volumeMounts" id="cdk8s-plus-32.ContainerProps.property.volumeMounts"></a>

```java
public java.util.List<VolumeMount> getVolumeMounts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>>

Pod volumes to mount into the container's filesystem.

Cannot be updated.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.ContainerProps.property.workingDir"></a>

```java
public java.lang.String getWorkingDir();
```

- *Type:* java.lang.String
- *Default:* The container runtime's default.

Container's working directory.

If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

---

##### `image`<sup>Required</sup> <a name="image" id="cdk8s-plus-32.ContainerProps.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

Docker image name.

---

### ContainerResizePolicy <a name="ContainerResizePolicy" id="cdk8s-plus-32.k8s.ContainerResizePolicy"></a>

ContainerResizePolicy represents resource resize policy for the container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ContainerResizePolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ContainerResizePolicy;

ContainerResizePolicy.builder()
    .resourceName(java.lang.String)
    .restartPolicy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ContainerResizePolicy.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | Name of the resource to which this resource resize policy applies. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerResizePolicy.property.restartPolicy">restartPolicy</a></code> | <code>java.lang.String</code> | Restart policy to apply when specified resource is resized. |

---

##### `resourceName`<sup>Required</sup> <a name="resourceName" id="cdk8s-plus-32.k8s.ContainerResizePolicy.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

Name of the resource to which this resource resize policy applies.

Supported values: cpu, memory.

---

##### `restartPolicy`<sup>Required</sup> <a name="restartPolicy" id="cdk8s-plus-32.k8s.ContainerResizePolicy.property.restartPolicy"></a>

```java
public java.lang.String getRestartPolicy();
```

- *Type:* java.lang.String

Restart policy to apply when specified resource is resized.

If not specified, it defaults to NotRequired.

---

### ContainerResourceMetricSourceV2 <a name="ContainerResourceMetricSourceV2" id="cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2"></a>

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory).  The values will be averaged together before being compared to the target.  Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.  Only one "target" type should be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ContainerResourceMetricSourceV2;

ContainerResourceMetricSourceV2.builder()
    .container(java.lang.String)
    .name(java.lang.String)
    .target(MetricTargetV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.container">container</a></code> | <code>java.lang.String</code> | container is the name of the container in the pods of the scaling target. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the resource in question. |
| <code><a href="#cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.MetricTargetV2</code> | target specifies the target value for the given metric. |

---

##### `container`<sup>Required</sup> <a name="container" id="cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.container"></a>

```java
public java.lang.String getContainer();
```

- *Type:* java.lang.String

container is the name of the container in the pods of the scaling target.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the resource in question.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.ContainerResourceMetricSourceV2.property.target"></a>

```java
public MetricTargetV2 getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.MetricTargetV2

target specifies the target value for the given metric.

---

### ContainerResources <a name="ContainerResources" id="cdk8s-plus-32.ContainerResources"></a>

CPU and memory compute resources.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerResources.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerResources;

ContainerResources.builder()
//  .cpu(CpuResources)
//  .ephemeralStorage(EphemeralStorageResources)
//  .memory(MemoryResources)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerResources.property.cpu">cpu</a></code> | <code><a href="#cdk8s-plus-32.CpuResources">CpuResources</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerResources.property.ephemeralStorage">ephemeralStorage</a></code> | <code><a href="#cdk8s-plus-32.EphemeralStorageResources">EphemeralStorageResources</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerResources.property.memory">memory</a></code> | <code><a href="#cdk8s-plus-32.MemoryResources">MemoryResources</a></code> | *No description.* |

---

##### `cpu`<sup>Optional</sup> <a name="cpu" id="cdk8s-plus-32.ContainerResources.property.cpu"></a>

```java
public CpuResources getCpu();
```

- *Type:* <a href="#cdk8s-plus-32.CpuResources">CpuResources</a>

---

##### `ephemeralStorage`<sup>Optional</sup> <a name="ephemeralStorage" id="cdk8s-plus-32.ContainerResources.property.ephemeralStorage"></a>

```java
public EphemeralStorageResources getEphemeralStorage();
```

- *Type:* <a href="#cdk8s-plus-32.EphemeralStorageResources">EphemeralStorageResources</a>

---

##### `memory`<sup>Optional</sup> <a name="memory" id="cdk8s-plus-32.ContainerResources.property.memory"></a>

```java
public MemoryResources getMemory();
```

- *Type:* <a href="#cdk8s-plus-32.MemoryResources">MemoryResources</a>

---

### ContainerSecurityContextProps <a name="ContainerSecurityContextProps" id="cdk8s-plus-32.ContainerSecurityContextProps"></a>

Properties for `ContainerSecurityContext`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerSecurityContextProps.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerSecurityContextProps;

ContainerSecurityContextProps.builder()
//  .allowPrivilegeEscalation(java.lang.Boolean)
//  .capabilities(ContainerSecutiryContextCapabilities)
//  .ensureNonRoot(java.lang.Boolean)
//  .group(java.lang.Number)
//  .privileged(java.lang.Boolean)
//  .readOnlyRootFilesystem(java.lang.Boolean)
//  .seccompProfile(SeccompProfile)
//  .user(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.allowPrivilegeEscalation">allowPrivilegeEscalation</a></code> | <code>java.lang.Boolean</code> | Whether a process can gain more privileges than its parent process. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.capabilities">capabilities</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a></code> | POSIX capabilities for running containers. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.group">group</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.privileged">privileged</a></code> | <code>java.lang.Boolean</code> | Run container in privileged mode. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.readOnlyRootFilesystem">readOnlyRootFilesystem</a></code> | <code>java.lang.Boolean</code> | Whether this container has a read-only root filesystem. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.seccompProfile">seccompProfile</a></code> | <code><a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a></code> | Container's seccomp profile settings. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps.property.user">user</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |

---

##### `allowPrivilegeEscalation`<sup>Optional</sup> <a name="allowPrivilegeEscalation" id="cdk8s-plus-32.ContainerSecurityContextProps.property.allowPrivilegeEscalation"></a>

```java
public java.lang.Boolean getAllowPrivilegeEscalation();
```

- *Type:* java.lang.Boolean
- *Default:* false

Whether a process can gain more privileges than its parent process.

---

##### `capabilities`<sup>Optional</sup> <a name="capabilities" id="cdk8s-plus-32.ContainerSecurityContextProps.property.capabilities"></a>

```java
public ContainerSecutiryContextCapabilities getCapabilities();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a>
- *Default:* none

POSIX capabilities for running containers.

---

##### `ensureNonRoot`<sup>Optional</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.ContainerSecurityContextProps.property.ensureNonRoot"></a>

```java
public java.lang.Boolean getEnsureNonRoot();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does
not run as UID 0 (root) and fail to start the container if it does.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.ContainerSecurityContextProps.property.group"></a>

```java
public java.lang.Number getGroup();
```

- *Type:* java.lang.Number
- *Default:* 26000. An arbitrary number bigger than 9999 is selected here. This is so that the container is blocked to access host files even if somehow it manages to get access to host file system.

The GID to run the entrypoint of the container process.

---

##### `privileged`<sup>Optional</sup> <a name="privileged" id="cdk8s-plus-32.ContainerSecurityContextProps.property.privileged"></a>

```java
public java.lang.Boolean getPrivileged();
```

- *Type:* java.lang.Boolean
- *Default:* false

Run container in privileged mode.

Processes in privileged containers are essentially equivalent to root on the host.

---

##### `readOnlyRootFilesystem`<sup>Optional</sup> <a name="readOnlyRootFilesystem" id="cdk8s-plus-32.ContainerSecurityContextProps.property.readOnlyRootFilesystem"></a>

```java
public java.lang.Boolean getReadOnlyRootFilesystem();
```

- *Type:* java.lang.Boolean
- *Default:* true

Whether this container has a read-only root filesystem.

---

##### `seccompProfile`<sup>Optional</sup> <a name="seccompProfile" id="cdk8s-plus-32.ContainerSecurityContextProps.property.seccompProfile"></a>

```java
public SeccompProfile getSeccompProfile();
```

- *Type:* <a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a>
- *Default:* none

Container's seccomp profile settings.

Only one profile source may be set

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.ContainerSecurityContextProps.property.user"></a>

```java
public java.lang.Number getUser();
```

- *Type:* java.lang.Number
- *Default:* 25000. An arbitrary number bigger than 9999 is selected here. This is so that the container is blocked to access host files even if somehow it manages to get access to host file system.

The UID to run the entrypoint of the container process.

---

### ContainerSecutiryContextCapabilities <a name="ContainerSecutiryContextCapabilities" id="cdk8s-plus-32.ContainerSecutiryContextCapabilities"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ContainerSecutiryContextCapabilities.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerSecutiryContextCapabilities;

ContainerSecutiryContextCapabilities.builder()
//  .add(java.util.List<Capability>)
//  .drop(java.util.List<Capability>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities.property.add">add</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Capability">Capability</a>></code> | Added capabilities. |
| <code><a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities.property.drop">drop</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Capability">Capability</a>></code> | Removed capabilities. |

---

##### `add`<sup>Optional</sup> <a name="add" id="cdk8s-plus-32.ContainerSecutiryContextCapabilities.property.add"></a>

```java
public java.util.List<Capability> getAdd();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Capability">Capability</a>>

Added capabilities.

---

##### `drop`<sup>Optional</sup> <a name="drop" id="cdk8s-plus-32.ContainerSecutiryContextCapabilities.property.drop"></a>

```java
public java.util.List<Capability> getDrop();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Capability">Capability</a>>

Removed capabilities.

---

### CpuResources <a name="CpuResources" id="cdk8s-plus-32.CpuResources"></a>

CPU request and limit.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.CpuResources.Initializer"></a>

```java
import org.cdk8s.plus32.CpuResources;

CpuResources.builder()
//  .limit(Cpu)
//  .request(Cpu)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CpuResources.property.limit">limit</a></code> | <code><a href="#cdk8s-plus-32.Cpu">Cpu</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.CpuResources.property.request">request</a></code> | <code><a href="#cdk8s-plus-32.Cpu">Cpu</a></code> | *No description.* |

---

##### `limit`<sup>Optional</sup> <a name="limit" id="cdk8s-plus-32.CpuResources.property.limit"></a>

```java
public Cpu getLimit();
```

- *Type:* <a href="#cdk8s-plus-32.Cpu">Cpu</a>

---

##### `request`<sup>Optional</sup> <a name="request" id="cdk8s-plus-32.CpuResources.property.request"></a>

```java
public Cpu getRequest();
```

- *Type:* <a href="#cdk8s-plus-32.Cpu">Cpu</a>

---

### CronJobProps <a name="CronJobProps" id="cdk8s-plus-32.CronJobProps"></a>

Properties for `CronJob`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.CronJobProps.Initializer"></a>

```java
import org.cdk8s.plus32.CronJobProps;

CronJobProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .activeDeadline(Duration)
//  .backoffLimit(java.lang.Number)
//  .ttlAfterFinished(Duration)
    .schedule(Cron)
//  .concurrencyPolicy(ConcurrencyPolicy)
//  .failedJobsRetained(java.lang.Number)
//  .startingDeadline(Duration)
//  .successfulJobsRetained(java.lang.Number)
//  .suspend(java.lang.Boolean)
//  .timeZone(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.activeDeadline">activeDeadline</a></code> | <code>org.cdk8s.Duration</code> | Specifies the duration the job may be active before the system tries to terminate it. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Specifies the number of retries before marking this job failed. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.ttlAfterFinished">ttlAfterFinished</a></code> | <code>org.cdk8s.Duration</code> | Limits the lifetime of a Job that has finished execution (either Complete or Failed). |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.schedule">schedule</a></code> | <code>org.cdk8s.Cron</code> | Specifies the time in which the job would run again. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.concurrencyPolicy">concurrencyPolicy</a></code> | <code><a href="#cdk8s-plus-32.ConcurrencyPolicy">ConcurrencyPolicy</a></code> | Specifies the concurrency policy for the job. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.failedJobsRetained">failedJobsRetained</a></code> | <code>java.lang.Number</code> | Specifies the number of failed jobs history retained. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.startingDeadline">startingDeadline</a></code> | <code>org.cdk8s.Duration</code> | Kubernetes attempts to start cron jobs at its schedule time, but this is not guaranteed. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.successfulJobsRetained">successfulJobsRetained</a></code> | <code>java.lang.Number</code> | Specifies the number of successful jobs history retained. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.suspend">suspend</a></code> | <code>java.lang.Boolean</code> | Specifies if the cron job should be suspended. |
| <code><a href="#cdk8s-plus-32.CronJobProps.property.timeZone">timeZone</a></code> | <code>java.lang.String</code> | Specifies the timezone for the job. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.CronJobProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.CronJobProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.CronJobProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.CronJobProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.CronJobProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.CronJobProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.CronJobProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.CronJobProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.CronJobProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.CronJobProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.CronJobProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.CronJobProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.CronJobProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.CronJobProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.CronJobProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.CronJobProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.CronJobProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.CronJobProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.CronJobProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `activeDeadline`<sup>Optional</sup> <a name="activeDeadline" id="cdk8s-plus-32.CronJobProps.property.activeDeadline"></a>

```java
public Duration getActiveDeadline();
```

- *Type:* org.cdk8s.Duration
- *Default:* If unset, then there is no deadline.

Specifies the duration the job may be active before the system tries to terminate it.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.CronJobProps.property.backoffLimit"></a>

```java
public java.lang.Number getBackoffLimit();
```

- *Type:* java.lang.Number
- *Default:* If not set, system defaults to 6.

Specifies the number of retries before marking this job failed.

---

##### `ttlAfterFinished`<sup>Optional</sup> <a name="ttlAfterFinished" id="cdk8s-plus-32.CronJobProps.property.ttlAfterFinished"></a>

```java
public Duration getTtlAfterFinished();
```

- *Type:* org.cdk8s.Duration
- *Default:* If this field is unset, the Job won't be automatically deleted.

Limits the lifetime of a Job that has finished execution (either Complete or Failed).

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.

---

##### `schedule`<sup>Required</sup> <a name="schedule" id="cdk8s-plus-32.CronJobProps.property.schedule"></a>

```java
public Cron getSchedule();
```

- *Type:* org.cdk8s.Cron

Specifies the time in which the job would run again.

This is defined as a cron expression in the CronJob resource.

---

##### `concurrencyPolicy`<sup>Optional</sup> <a name="concurrencyPolicy" id="cdk8s-plus-32.CronJobProps.property.concurrencyPolicy"></a>

```java
public ConcurrencyPolicy getConcurrencyPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ConcurrencyPolicy">ConcurrencyPolicy</a>
- *Default:* ConcurrencyPolicy.Forbid

Specifies the concurrency policy for the job.

---

##### `failedJobsRetained`<sup>Optional</sup> <a name="failedJobsRetained" id="cdk8s-plus-32.CronJobProps.property.failedJobsRetained"></a>

```java
public java.lang.Number getFailedJobsRetained();
```

- *Type:* java.lang.Number
- *Default:* 1

Specifies the number of failed jobs history retained.

This would retain the Job and the associated Pod resource and can be useful for debugging.

---

##### `startingDeadline`<sup>Optional</sup> <a name="startingDeadline" id="cdk8s-plus-32.CronJobProps.property.startingDeadline"></a>

```java
public Duration getStartingDeadline();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10)

Kubernetes attempts to start cron jobs at its schedule time, but this is not guaranteed.

This deadline specifies
how much time can pass after a schedule point, for which kubernetes can still start the job.
For example, if this is set to 100 seconds, kubernetes is allowed to start the job at a maximum 100 seconds after
the scheduled time.

Note that the Kubernetes CronJobController checks for things every 10 seconds, for this reason, a deadline below 10
seconds is not allowed, as it may cause your job to never be scheduled.

In addition, kubernetes will stop scheduling jobs if more than 100 schedules were missed (for any reason).
This property also controls what time interval should kubernetes consider when counting for missed schedules.

For example, suppose a CronJob is set to schedule a new Job every one minute beginning at 08:30:00,
and its `startingDeadline` field is not set. If the CronJob controller happens to be down from 08:29:00 to 10:21:00,
the job will not start as the number of missed jobs which missed their schedule is greater than 100.
However, if `startingDeadline` is set to 200 seconds, kubernetes will only count 3 missed schedules, and thus
start a new execution at 10:22:00.

---

##### `successfulJobsRetained`<sup>Optional</sup> <a name="successfulJobsRetained" id="cdk8s-plus-32.CronJobProps.property.successfulJobsRetained"></a>

```java
public java.lang.Number getSuccessfulJobsRetained();
```

- *Type:* java.lang.Number
- *Default:* 3

Specifies the number of successful jobs history retained.

This would retain the Job and the associated Pod resource and can be useful for debugging.

---

##### `suspend`<sup>Optional</sup> <a name="suspend" id="cdk8s-plus-32.CronJobProps.property.suspend"></a>

```java
public java.lang.Boolean getSuspend();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specifies if the cron job should be suspended.

Only applies to future executions, current ones are remained untouched.

---

##### `timeZone`<sup>Optional</sup> <a name="timeZone" id="cdk8s-plus-32.CronJobProps.property.timeZone"></a>

```java
public java.lang.String getTimeZone();
```

- *Type:* java.lang.String
- *Default:* Timezone of kube-controller-manager process.

Specifies the timezone for the job.

This helps aligining the schedule to follow the specified timezone.

> [{@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones} for list of valid timezone values.]({@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones} for list of valid timezone values.)

---

### CronJobSpec <a name="CronJobSpec" id="cdk8s-plus-32.k8s.CronJobSpec"></a>

CronJobSpec describes how the job execution will look like and when it will actually run.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CronJobSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CronJobSpec;

CronJobSpec.builder()
    .jobTemplate(JobTemplateSpec)
    .schedule(java.lang.String)
//  .concurrencyPolicy(java.lang.String)
//  .failedJobsHistoryLimit(java.lang.Number)
//  .startingDeadlineSeconds(java.lang.Number)
//  .successfulJobsHistoryLimit(java.lang.Number)
//  .suspend(java.lang.Boolean)
//  .timeZone(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.jobTemplate">jobTemplate</a></code> | <code>org.cdk8s.plus32.k8s.JobTemplateSpec</code> | Specifies the job that will be created when executing a CronJob. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.schedule">schedule</a></code> | <code>java.lang.String</code> | The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.concurrencyPolicy">concurrencyPolicy</a></code> | <code>java.lang.String</code> | Specifies how to treat concurrent executions of a Job. Valid values are:. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.failedJobsHistoryLimit">failedJobsHistoryLimit</a></code> | <code>java.lang.Number</code> | The number of failed finished jobs to retain. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.startingDeadlineSeconds">startingDeadlineSeconds</a></code> | <code>java.lang.Number</code> | Optional deadline in seconds for starting the job if it misses scheduled time for any reason. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.successfulJobsHistoryLimit">successfulJobsHistoryLimit</a></code> | <code>java.lang.Number</code> | The number of successful finished jobs to retain. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.suspend">suspend</a></code> | <code>java.lang.Boolean</code> | This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. |
| <code><a href="#cdk8s-plus-32.k8s.CronJobSpec.property.timeZone">timeZone</a></code> | <code>java.lang.String</code> | The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones. |

---

##### `jobTemplate`<sup>Required</sup> <a name="jobTemplate" id="cdk8s-plus-32.k8s.CronJobSpec.property.jobTemplate"></a>

```java
public JobTemplateSpec getJobTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.JobTemplateSpec

Specifies the job that will be created when executing a CronJob.

---

##### `schedule`<sup>Required</sup> <a name="schedule" id="cdk8s-plus-32.k8s.CronJobSpec.property.schedule"></a>

```java
public java.lang.String getSchedule();
```

- *Type:* java.lang.String

The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.

---

##### `concurrencyPolicy`<sup>Optional</sup> <a name="concurrencyPolicy" id="cdk8s-plus-32.k8s.CronJobSpec.property.concurrencyPolicy"></a>

```java
public java.lang.String getConcurrencyPolicy();
```

- *Type:* java.lang.String

Specifies how to treat concurrent executions of a Job. Valid values are:.

* "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one

---

##### `failedJobsHistoryLimit`<sup>Optional</sup> <a name="failedJobsHistoryLimit" id="cdk8s-plus-32.k8s.CronJobSpec.property.failedJobsHistoryLimit"></a>

```java
public java.lang.Number getFailedJobsHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 1.

The number of failed finished jobs to retain.

Value must be non-negative integer. Defaults to 1.

---

##### `startingDeadlineSeconds`<sup>Optional</sup> <a name="startingDeadlineSeconds" id="cdk8s-plus-32.k8s.CronJobSpec.property.startingDeadlineSeconds"></a>

```java
public java.lang.Number getStartingDeadlineSeconds();
```

- *Type:* java.lang.Number

Optional deadline in seconds for starting the job if it misses scheduled time for any reason.

Missed jobs executions will be counted as failed ones.

---

##### `successfulJobsHistoryLimit`<sup>Optional</sup> <a name="successfulJobsHistoryLimit" id="cdk8s-plus-32.k8s.CronJobSpec.property.successfulJobsHistoryLimit"></a>

```java
public java.lang.Number getSuccessfulJobsHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 3.

The number of successful finished jobs to retain.

Value must be non-negative integer. Defaults to 3.

---

##### `suspend`<sup>Optional</sup> <a name="suspend" id="cdk8s-plus-32.k8s.CronJobSpec.property.suspend"></a>

```java
public java.lang.Boolean getSuspend();
```

- *Type:* java.lang.Boolean
- *Default:* false.

This flag tells the controller to suspend subsequent executions, it does not apply to already started executions.

Defaults to false.

---

##### `timeZone`<sup>Optional</sup> <a name="timeZone" id="cdk8s-plus-32.k8s.CronJobSpec.property.timeZone"></a>

```java
public java.lang.String getTimeZone();
```

- *Type:* java.lang.String

The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones.

---

### CrossVersionObjectReference <a name="CrossVersionObjectReference" id="cdk8s-plus-32.k8s.CrossVersionObjectReference"></a>

CrossVersionObjectReference contains enough information to let you identify the referred resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CrossVersionObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CrossVersionObjectReference;

CrossVersionObjectReference.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiVersion(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReference.property.kind">kind</a></code> | <code>java.lang.String</code> | kind is the kind of the referent; |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the referent; |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReference.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | apiVersion is the API version of the referent. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.CrossVersionObjectReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

kind is the kind of the referent;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.CrossVersionObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the referent;

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.CrossVersionObjectReference.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

apiVersion is the API version of the referent.

---

### CrossVersionObjectReferenceV2 <a name="CrossVersionObjectReferenceV2" id="cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2"></a>

CrossVersionObjectReference contains enough information to let you identify the referred resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CrossVersionObjectReferenceV2;

CrossVersionObjectReferenceV2.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiVersion(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.kind">kind</a></code> | <code>java.lang.String</code> | kind is the kind of the referent; |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the referent; |
| <code><a href="#cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | apiVersion is the API version of the referent. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

kind is the kind of the referent;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the referent;

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.CrossVersionObjectReferenceV2.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

apiVersion is the API version of the referent.

---

### CsiDriverSpec <a name="CsiDriverSpec" id="cdk8s-plus-32.k8s.CsiDriverSpec"></a>

CSIDriverSpec is the specification of a CSIDriver.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CsiDriverSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CsiDriverSpec;

CsiDriverSpec.builder()
//  .attachRequired(java.lang.Boolean)
//  .fsGroupPolicy(java.lang.String)
//  .podInfoOnMount(java.lang.Boolean)
//  .requiresRepublish(java.lang.Boolean)
//  .seLinuxMount(java.lang.Boolean)
//  .storageCapacity(java.lang.Boolean)
//  .tokenRequests(java.util.List<TokenRequest>)
//  .volumeLifecycleModes(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.attachRequired">attachRequired</a></code> | <code>java.lang.Boolean</code> | attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.fsGroupPolicy">fsGroupPolicy</a></code> | <code>java.lang.String</code> | fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.podInfoOnMount">podInfoOnMount</a></code> | <code>java.lang.Boolean</code> | podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.requiresRepublish">requiresRepublish</a></code> | <code>java.lang.Boolean</code> | requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.seLinuxMount">seLinuxMount</a></code> | <code>java.lang.Boolean</code> | seLinuxMount specifies if the CSI driver supports "-o context" mount option. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.storageCapacity">storageCapacity</a></code> | <code>java.lang.Boolean</code> | storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.tokenRequests">tokenRequests</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.TokenRequest></code> | tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. |
| <code><a href="#cdk8s-plus-32.k8s.CsiDriverSpec.property.volumeLifecycleModes">volumeLifecycleModes</a></code> | <code>java.util.List<java.lang.String></code> | volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. |

---

##### `attachRequired`<sup>Optional</sup> <a name="attachRequired" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.attachRequired"></a>

```java
public java.lang.Boolean getAttachRequired();
```

- *Type:* java.lang.Boolean

attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting.

The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.

This field is immutable.

---

##### `fsGroupPolicy`<sup>Optional</sup> <a name="fsGroupPolicy" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.fsGroupPolicy"></a>

```java
public java.lang.String getFsGroupPolicy();
```

- *Type:* java.lang.String
- *Default:* ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.

fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted.

Refer to the specific FSGroupPolicy values for additional details.

This field was immutable in Kubernetes < 1.29 and now is mutable.

Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.

---

##### `podInfoOnMount`<sup>Optional</sup> <a name="podInfoOnMount" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.podInfoOnMount"></a>

```java
public java.lang.Boolean getPodInfoOnMount();
```

- *Type:* java.lang.Boolean
- *Default:* false.

podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.

The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.

The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. "csi.storage.k8s.io/pod.name": pod.Name "csi.storage.k8s.io/pod.namespace": pod.Namespace "csi.storage.k8s.io/pod.uid": string(pod.UID) "csi.storage.k8s.io/ephemeral": "true" if the volume is an ephemeral inline volume
defined by a CSIVolumeSource, otherwise "false"

"csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.

This field was immutable in Kubernetes < 1.29 and now is mutable.

---

##### `requiresRepublish`<sup>Optional</sup> <a name="requiresRepublish" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.requiresRepublish"></a>

```java
public java.lang.Boolean getRequiresRepublish();
```

- *Type:* java.lang.Boolean

requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume.

This field defaults to false.

Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.

---

##### `seLinuxMount`<sup>Optional</sup> <a name="seLinuxMount" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.seLinuxMount"></a>

```java
public java.lang.Boolean getSeLinuxMount();
```

- *Type:* java.lang.Boolean
- *Default:* false".

seLinuxMount specifies if the CSI driver supports "-o context" mount option.

When "true", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.

When "false", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.

Default is "false".

---

##### `storageCapacity`<sup>Optional</sup> <a name="storageCapacity" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.storageCapacity"></a>

```java
public java.lang.Boolean getStorageCapacity();
```

- *Type:* java.lang.Boolean

storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.

The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.

Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.

This field was immutable in Kubernetes <= 1.22 and now is mutable.

---

##### `tokenRequests`<sup>Optional</sup> <a name="tokenRequests" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.tokenRequests"></a>

```java
public java.util.List<TokenRequest> getTokenRequests();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.TokenRequest>

tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication.

Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: "csi.storage.k8s.io/serviceAccount.tokens": {
"<audience>": {
"token": <token>,
"expirationTimestamp": <expiration timestamp in RFC3339>,
},
...
}

Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.

---

##### `volumeLifecycleModes`<sup>Optional</sup> <a name="volumeLifecycleModes" id="cdk8s-plus-32.k8s.CsiDriverSpec.property.volumeLifecycleModes"></a>

```java
public java.util.List<java.lang.String> getVolumeLifecycleModes();
```

- *Type:* java.util.List<java.lang.String>

volumeLifecycleModes defines what kind of volumes this CSI volume driver supports.

The default if the list is empty is "Persistent", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.

The other mode is "Ephemeral". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.

For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.

This field is beta. This field is immutable.

---

### CsiNodeDriver <a name="CsiNodeDriver" id="cdk8s-plus-32.k8s.CsiNodeDriver"></a>

CSINodeDriver holds information about the specification of one CSI driver installed on a node.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CsiNodeDriver.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CsiNodeDriver;

CsiNodeDriver.builder()
    .name(java.lang.String)
    .nodeId(java.lang.String)
//  .allocatable(VolumeNodeResources)
//  .topologyKeys(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CsiNodeDriver.property.name">name</a></code> | <code>java.lang.String</code> | name represents the name of the CSI driver that this object refers to. |
| <code><a href="#cdk8s-plus-32.k8s.CsiNodeDriver.property.nodeId">nodeId</a></code> | <code>java.lang.String</code> | nodeID of the node from the driver point of view. |
| <code><a href="#cdk8s-plus-32.k8s.CsiNodeDriver.property.allocatable">allocatable</a></code> | <code>org.cdk8s.plus32.k8s.VolumeNodeResources</code> | allocatable represents the volume resources of a node that are available for scheduling. |
| <code><a href="#cdk8s-plus-32.k8s.CsiNodeDriver.property.topologyKeys">topologyKeys</a></code> | <code>java.util.List<java.lang.String></code> | topologyKeys is the list of keys supported by the driver. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.CsiNodeDriver.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name represents the name of the CSI driver that this object refers to.

This MUST be the same name returned by the CSI GetPluginName() call for that driver.

---

##### `nodeId`<sup>Required</sup> <a name="nodeId" id="cdk8s-plus-32.k8s.CsiNodeDriver.property.nodeId"></a>

```java
public java.lang.String getNodeId();
```

- *Type:* java.lang.String

nodeID of the node from the driver point of view.

This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as "node1", but the storage system may refer to the same node as "nodeA". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. "nodeA" instead of "node1". This field is required.

---

##### `allocatable`<sup>Optional</sup> <a name="allocatable" id="cdk8s-plus-32.k8s.CsiNodeDriver.property.allocatable"></a>

```java
public VolumeNodeResources getAllocatable();
```

- *Type:* org.cdk8s.plus32.k8s.VolumeNodeResources

allocatable represents the volume resources of a node that are available for scheduling.

This field is beta.

---

##### `topologyKeys`<sup>Optional</sup> <a name="topologyKeys" id="cdk8s-plus-32.k8s.CsiNodeDriver.property.topologyKeys"></a>

```java
public java.util.List<java.lang.String> getTopologyKeys();
```

- *Type:* java.util.List<java.lang.String>

topologyKeys is the list of keys supported by the driver.

When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. "company.com/zone", "company.com/region"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.

---

### CsiNodeSpec <a name="CsiNodeSpec" id="cdk8s-plus-32.k8s.CsiNodeSpec"></a>

CSINodeSpec holds information about the specification of all CSI drivers installed on a node.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CsiNodeSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CsiNodeSpec;

CsiNodeSpec.builder()
    .drivers(java.util.List<CsiNodeDriver>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CsiNodeSpec.property.drivers">drivers</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.CsiNodeDriver></code> | drivers is a list of information of all CSI Drivers existing on a node. |

---

##### `drivers`<sup>Required</sup> <a name="drivers" id="cdk8s-plus-32.k8s.CsiNodeSpec.property.drivers"></a>

```java
public java.util.List<CsiNodeDriver> getDrivers();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.CsiNodeDriver>

drivers is a list of information of all CSI Drivers existing on a node.

If all drivers in the list are uninstalled, this can become empty.

---

### CsiPersistentVolumeSource <a name="CsiPersistentVolumeSource" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource"></a>

Represents storage that is managed by an external CSI volume driver.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CsiPersistentVolumeSource;

CsiPersistentVolumeSource.builder()
    .driver(java.lang.String)
    .volumeHandle(java.lang.String)
//  .controllerExpandSecretRef(SecretReference)
//  .controllerPublishSecretRef(SecretReference)
//  .fsType(java.lang.String)
//  .nodeExpandSecretRef(SecretReference)
//  .nodePublishSecretRef(SecretReference)
//  .nodeStageSecretRef(SecretReference)
//  .readOnly(java.lang.Boolean)
//  .volumeAttributes(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.driver">driver</a></code> | <code>java.lang.String</code> | driver is the name of the driver to use for this volume. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.volumeHandle">volumeHandle</a></code> | <code>java.lang.String</code> | volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.controllerExpandSecretRef">controllerExpandSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.controllerPublishSecretRef">controllerPublishSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType to mount. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodeExpandSecretRef">nodeExpandSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodePublishSecretRef">nodePublishSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodeStageSecretRef">nodeStageSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly value to pass to ControllerPublishVolumeRequest. |
| <code><a href="#cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.volumeAttributes">volumeAttributes</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | volumeAttributes of the volume to publish. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

driver is the name of the driver to use for this volume.

Required.

---

##### `volumeHandle`<sup>Required</sup> <a name="volumeHandle" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.volumeHandle"></a>

```java
public java.lang.String getVolumeHandle();
```

- *Type:* java.lang.String

volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.

Required.

---

##### `controllerExpandSecretRef`<sup>Optional</sup> <a name="controllerExpandSecretRef" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.controllerExpandSecretRef"></a>

```java
public SecretReference getControllerExpandSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.

This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.

---

##### `controllerPublishSecretRef`<sup>Optional</sup> <a name="controllerPublishSecretRef" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.controllerPublishSecretRef"></a>

```java
public SecretReference getControllerPublishSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls.

This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs".

---

##### `nodeExpandSecretRef`<sup>Optional</sup> <a name="nodeExpandSecretRef" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodeExpandSecretRef"></a>

```java
public SecretReference getNodeExpandSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.

This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed.

---

##### `nodePublishSecretRef`<sup>Optional</sup> <a name="nodePublishSecretRef" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodePublishSecretRef"></a>

```java
public SecretReference getNodePublishSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.

This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.

---

##### `nodeStageSecretRef`<sup>Optional</sup> <a name="nodeStageSecretRef" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.nodeStageSecretRef"></a>

```java
public SecretReference getNodeStageSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls.

This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write).

readOnly value to pass to ControllerPublishVolumeRequest.

Defaults to false (read/write).

---

##### `volumeAttributes`<sup>Optional</sup> <a name="volumeAttributes" id="cdk8s-plus-32.k8s.CsiPersistentVolumeSource.property.volumeAttributes"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getVolumeAttributes();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

volumeAttributes of the volume to publish.

---

### CsiVolumeOptions <a name="CsiVolumeOptions" id="cdk8s-plus-32.CsiVolumeOptions"></a>

Options for the CSI driver based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.CsiVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.CsiVolumeOptions;

CsiVolumeOptions.builder()
//  .attributes(java.util.Map<java.lang.String, java.lang.String>)
//  .fsType(java.lang.String)
//  .name(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.CsiVolumeOptions.property.attributes">attributes</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Any driver-specific attributes to pass to the CSI volume builder. |
| <code><a href="#cdk8s-plus-32.CsiVolumeOptions.property.fsType">fsType</a></code> | <code>java.lang.String</code> | The filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.CsiVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.CsiVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Whether the mounted volume should be read-only or not. |

---

##### `attributes`<sup>Optional</sup> <a name="attributes" id="cdk8s-plus-32.CsiVolumeOptions.property.attributes"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getAttributes();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>
- *Default:* undefined

Any driver-specific attributes to pass to the CSI volume builder.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.CsiVolumeOptions.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* driver-dependent

The filesystem type to mount.

Ex. "ext4", "xfs", "ntfs". If not provided,
the empty value is passed to the associated CSI driver, which will
determine the default filesystem to apply.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.CsiVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.CsiVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Whether the mounted volume should be read-only or not.

---

### CsiVolumeSource <a name="CsiVolumeSource" id="cdk8s-plus-32.k8s.CsiVolumeSource"></a>

Represents a source location of a volume to mount, managed by an external CSI driver.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CsiVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CsiVolumeSource;

CsiVolumeSource.builder()
    .driver(java.lang.String)
//  .fsType(java.lang.String)
//  .nodePublishSecretRef(LocalObjectReference)
//  .readOnly(java.lang.Boolean)
//  .volumeAttributes(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CsiVolumeSource.property.driver">driver</a></code> | <code>java.lang.String</code> | driver is the name of the CSI driver that handles this volume. |
| <code><a href="#cdk8s-plus-32.k8s.CsiVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType to mount. |
| <code><a href="#cdk8s-plus-32.k8s.CsiVolumeSource.property.nodePublishSecretRef">nodePublishSecretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. |
| <code><a href="#cdk8s-plus-32.k8s.CsiVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly specifies a read-only configuration for the volume. |
| <code><a href="#cdk8s-plus-32.k8s.CsiVolumeSource.property.volumeAttributes">volumeAttributes</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | volumeAttributes stores driver-specific properties that are passed to the CSI driver. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.CsiVolumeSource.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

driver is the name of the CSI driver that handles this volume.

Consult with your admin for the correct name as registered in the cluster.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.CsiVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType to mount.

Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.

---

##### `nodePublishSecretRef`<sup>Optional</sup> <a name="nodePublishSecretRef" id="cdk8s-plus-32.k8s.CsiVolumeSource.property.nodePublishSecretRef"></a>

```java
public LocalObjectReference getNodePublishSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.

This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.CsiVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write).

readOnly specifies a read-only configuration for the volume.

Defaults to false (read/write).

---

##### `volumeAttributes`<sup>Optional</sup> <a name="volumeAttributes" id="cdk8s-plus-32.k8s.CsiVolumeSource.property.volumeAttributes"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getVolumeAttributes();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

volumeAttributes stores driver-specific properties that are passed to the CSI driver.

Consult your driver's documentation for supported values.

---

### CustomResourceColumnDefinition <a name="CustomResourceColumnDefinition" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition"></a>

CustomResourceColumnDefinition specifies a column for server side printing.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceColumnDefinition;

CustomResourceColumnDefinition.builder()
    .jsonPath(java.lang.String)
    .name(java.lang.String)
    .type(java.lang.String)
//  .description(java.lang.String)
//  .format(java.lang.String)
//  .priority(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.jsonPath">jsonPath</a></code> | <code>java.lang.String</code> | jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.name">name</a></code> | <code>java.lang.String</code> | name is a human readable name for the column. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.type">type</a></code> | <code>java.lang.String</code> | type is an OpenAPI type definition for this column. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.description">description</a></code> | <code>java.lang.String</code> | description is a human readable description of this column. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.format">format</a></code> | <code>java.lang.String</code> | format is an optional OpenAPI type definition for this column. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.priority">priority</a></code> | <code>java.lang.Number</code> | priority is an integer defining the relative importance of this column compared to others. |

---

##### `jsonPath`<sup>Required</sup> <a name="jsonPath" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.jsonPath"></a>

```java
public java.lang.String getJsonPath();
```

- *Type:* java.lang.String

jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is a human readable name for the column.

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type is an OpenAPI type definition for this column.

See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.

---

##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.description"></a>

```java
public java.lang.String getDescription();
```

- *Type:* java.lang.String

description is a human readable description of this column.

---

##### `format`<sup>Optional</sup> <a name="format" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.format"></a>

```java
public java.lang.String getFormat();
```

- *Type:* java.lang.String

format is an optional OpenAPI type definition for this column.

The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.

---

##### `priority`<sup>Optional</sup> <a name="priority" id="cdk8s-plus-32.k8s.CustomResourceColumnDefinition.property.priority"></a>

```java
public java.lang.Number getPriority();
```

- *Type:* java.lang.Number

priority is an integer defining the relative importance of this column compared to others.

Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.

---

### CustomResourceConversion <a name="CustomResourceConversion" id="cdk8s-plus-32.k8s.CustomResourceConversion"></a>

CustomResourceConversion describes how to convert different versions of a CR.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceConversion.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceConversion;

CustomResourceConversion.builder()
    .strategy(java.lang.String)
//  .webhook(WebhookConversion)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceConversion.property.strategy">strategy</a></code> | <code>java.lang.String</code> | strategy specifies how custom resources are converted between versions. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceConversion.property.webhook">webhook</a></code> | <code>org.cdk8s.plus32.k8s.WebhookConversion</code> | webhook describes how to call the conversion webhook. |

---

##### `strategy`<sup>Required</sup> <a name="strategy" id="cdk8s-plus-32.k8s.CustomResourceConversion.property.strategy"></a>

```java
public java.lang.String getStrategy();
```

- *Type:* java.lang.String

strategy specifies how custom resources are converted between versions.

Allowed values are: - `"None"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `"Webhook"`: API Server will call to an external webhook to do the conversion. Additional information
is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.

---

##### `webhook`<sup>Optional</sup> <a name="webhook" id="cdk8s-plus-32.k8s.CustomResourceConversion.property.webhook"></a>

```java
public WebhookConversion getWebhook();
```

- *Type:* org.cdk8s.plus32.k8s.WebhookConversion

webhook describes how to call the conversion webhook.

Required when `strategy` is set to `"Webhook"`.

---

### CustomResourceDefinitionNames <a name="CustomResourceDefinitionNames" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames"></a>

CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceDefinitionNames;

CustomResourceDefinitionNames.builder()
    .kind(java.lang.String)
    .plural(java.lang.String)
//  .categories(java.util.List<java.lang.String>)
//  .listKind(java.lang.String)
//  .shortNames(java.util.List<java.lang.String>)
//  .singular(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.kind">kind</a></code> | <code>java.lang.String</code> | kind is the serialized kind of the resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.plural">plural</a></code> | <code>java.lang.String</code> | plural is the plural name of the resource to serve. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.categories">categories</a></code> | <code>java.util.List<java.lang.String></code> | categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.listKind">listKind</a></code> | <code>java.lang.String</code> | listKind is the serialized kind of the list for this resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.shortNames">shortNames</a></code> | <code>java.util.List<java.lang.String></code> | shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.singular">singular</a></code> | <code>java.lang.String</code> | singular is the singular name of the resource. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

kind is the serialized kind of the resource.

It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.

---

##### `plural`<sup>Required</sup> <a name="plural" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.plural"></a>

```java
public java.lang.String getPlural();
```

- *Type:* java.lang.String

plural is the plural name of the resource to serve.

The custom resources are served under `/apis/<group>/<version>/.../<plural>`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). Must be all lowercase.

---

##### `categories`<sup>Optional</sup> <a name="categories" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.categories"></a>

```java
public java.util.List<java.lang.String> getCategories();
```

- *Type:* java.util.List<java.lang.String>

categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.

---

##### `listKind`<sup>Optional</sup> <a name="listKind" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.listKind"></a>

```java
public java.lang.String getListKind();
```

- *Type:* java.lang.String
- *Default:* kind`List".

listKind is the serialized kind of the list for this resource.

Defaults to "`kind`List".

---

##### `shortNames`<sup>Optional</sup> <a name="shortNames" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.shortNames"></a>

```java
public java.util.List<java.lang.String> getShortNames();
```

- *Type:* java.util.List<java.lang.String>

shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get <shortname>`.

It must be all lowercase.

---

##### `singular`<sup>Optional</sup> <a name="singular" id="cdk8s-plus-32.k8s.CustomResourceDefinitionNames.property.singular"></a>

```java
public java.lang.String getSingular();
```

- *Type:* java.lang.String
- *Default:* lowercased `kind`.

singular is the singular name of the resource.

It must be all lowercase. Defaults to lowercased `kind`.

---

### CustomResourceDefinitionSpec <a name="CustomResourceDefinitionSpec" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec"></a>

CustomResourceDefinitionSpec describes how a user wants their resource to appear.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceDefinitionSpec;

CustomResourceDefinitionSpec.builder()
    .group(java.lang.String)
    .names(CustomResourceDefinitionNames)
    .scope(java.lang.String)
    .versions(java.util.List<CustomResourceDefinitionVersion>)
//  .conversion(CustomResourceConversion)
//  .preserveUnknownFields(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.group">group</a></code> | <code>java.lang.String</code> | group is the API group of the defined custom resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.names">names</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceDefinitionNames</code> | names specify the resource and kind names for the custom resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.scope">scope</a></code> | <code>java.lang.String</code> | scope indicates whether the defined custom resource is cluster- or namespace-scoped. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.versions">versions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.CustomResourceDefinitionVersion></code> | versions is the list of all API versions of the defined custom resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.conversion">conversion</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceConversion</code> | conversion defines conversion settings for the CRD. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.preserveUnknownFields">preserveUnknownFields</a></code> | <code>java.lang.Boolean</code> | preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. |

---

##### `group`<sup>Required</sup> <a name="group" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

group is the API group of the defined custom resource.

The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`).

---

##### `names`<sup>Required</sup> <a name="names" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.names"></a>

```java
public CustomResourceDefinitionNames getNames();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceDefinitionNames

names specify the resource and kind names for the custom resource.

---

##### `scope`<sup>Required</sup> <a name="scope" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String

scope indicates whether the defined custom resource is cluster- or namespace-scoped.

Allowed values are `Cluster` and `Namespaced`.

---

##### `versions`<sup>Required</sup> <a name="versions" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.versions"></a>

```java
public java.util.List<CustomResourceDefinitionVersion> getVersions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.CustomResourceDefinitionVersion>

versions is the list of all API versions of the defined custom resource.

Version names are used to compute the order in which served versions are listed in API discovery. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.

---

##### `conversion`<sup>Optional</sup> <a name="conversion" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.conversion"></a>

```java
public CustomResourceConversion getConversion();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceConversion

conversion defines conversion settings for the CRD.

---

##### `preserveUnknownFields`<sup>Optional</sup> <a name="preserveUnknownFields" id="cdk8s-plus-32.k8s.CustomResourceDefinitionSpec.property.preserveUnknownFields"></a>

```java
public java.lang.Boolean getPreserveUnknownFields();
```

- *Type:* java.lang.Boolean

preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage.

apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.

---

### CustomResourceDefinitionVersion <a name="CustomResourceDefinitionVersion" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion"></a>

CustomResourceDefinitionVersion describes a version for CRD.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceDefinitionVersion;

CustomResourceDefinitionVersion.builder()
    .name(java.lang.String)
    .served(java.lang.Boolean)
    .storage(java.lang.Boolean)
//  .additionalPrinterColumns(java.util.List<CustomResourceColumnDefinition>)
//  .deprecated(java.lang.Boolean)
//  .deprecationWarning(java.lang.String)
//  .schema(CustomResourceValidation)
//  .selectableFields(java.util.List<SelectableField>)
//  .subresources(CustomResourceSubresources)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.name">name</a></code> | <code>java.lang.String</code> | name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.served">served</a></code> | <code>java.lang.Boolean</code> | served is a flag enabling/disabling this version from being served via REST APIs. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.storage">storage</a></code> | <code>java.lang.Boolean</code> | storage indicates this version should be used when persisting custom resources to storage. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.additionalPrinterColumns">additionalPrinterColumns</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.CustomResourceColumnDefinition></code> | additionalPrinterColumns specifies additional columns returned in Table output. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.deprecated">deprecated</a></code> | <code>java.lang.Boolean</code> | deprecated indicates this version of the custom resource API is deprecated. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.deprecationWarning">deprecationWarning</a></code> | <code>java.lang.String</code> | deprecationWarning overrides the default warning returned to API clients. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.schema">schema</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceValidation</code> | schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.selectableFields">selectableFields</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.SelectableField></code> | selectableFields specifies paths to fields that may be used as field selectors. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.subresources">subresources</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceSubresources</code> | subresources specify what subresources this version of the defined custom resource have. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.

---

##### `served`<sup>Required</sup> <a name="served" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.served"></a>

```java
public java.lang.Boolean getServed();
```

- *Type:* java.lang.Boolean

served is a flag enabling/disabling this version from being served via REST APIs.

---

##### `storage`<sup>Required</sup> <a name="storage" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.storage"></a>

```java
public java.lang.Boolean getStorage();
```

- *Type:* java.lang.Boolean

storage indicates this version should be used when persisting custom resources to storage.

There must be exactly one version with storage=true.

---

##### `additionalPrinterColumns`<sup>Optional</sup> <a name="additionalPrinterColumns" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.additionalPrinterColumns"></a>

```java
public java.util.List<CustomResourceColumnDefinition> getAdditionalPrinterColumns();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.CustomResourceColumnDefinition>

additionalPrinterColumns specifies additional columns returned in Table output.

See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.

---

##### `deprecated`<sup>Optional</sup> <a name="deprecated" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.deprecated"></a>

```java
public java.lang.Boolean getDeprecated();
```

- *Type:* java.lang.Boolean
- *Default:* false.

deprecated indicates this version of the custom resource API is deprecated.

When set to true, API requests to this version receive a warning header in the server response. Defaults to false.

---

##### `deprecationWarning`<sup>Optional</sup> <a name="deprecationWarning" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.deprecationWarning"></a>

```java
public java.lang.String getDeprecationWarning();
```

- *Type:* java.lang.String

deprecationWarning overrides the default warning returned to API clients.

May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.

---

##### `schema`<sup>Optional</sup> <a name="schema" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.schema"></a>

```java
public CustomResourceValidation getSchema();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceValidation

schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.

---

##### `selectableFields`<sup>Optional</sup> <a name="selectableFields" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.selectableFields"></a>

```java
public java.util.List<SelectableField> getSelectableFields();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.SelectableField>

selectableFields specifies paths to fields that may be used as field selectors.

A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors

---

##### `subresources`<sup>Optional</sup> <a name="subresources" id="cdk8s-plus-32.k8s.CustomResourceDefinitionVersion.property.subresources"></a>

```java
public CustomResourceSubresources getSubresources();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceSubresources

subresources specify what subresources this version of the defined custom resource have.

---

### CustomResourceSubresources <a name="CustomResourceSubresources" id="cdk8s-plus-32.k8s.CustomResourceSubresources"></a>

CustomResourceSubresources defines the status and scale subresources for CustomResources.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceSubresources.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceSubresources;

CustomResourceSubresources.builder()
//  .scale(CustomResourceSubresourceScale)
//  .status(java.lang.Object)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceSubresources.property.scale">scale</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceSubresourceScale</code> | scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceSubresources.property.status">status</a></code> | <code>java.lang.Object</code> | status indicates the custom resource should serve a `/status` subresource. |

---

##### `scale`<sup>Optional</sup> <a name="scale" id="cdk8s-plus-32.k8s.CustomResourceSubresources.property.scale"></a>

```java
public CustomResourceSubresourceScale getScale();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceSubresourceScale

scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object.

---

##### `status`<sup>Optional</sup> <a name="status" id="cdk8s-plus-32.k8s.CustomResourceSubresources.property.status"></a>

```java
public java.lang.Object getStatus();
```

- *Type:* java.lang.Object

status indicates the custom resource should serve a `/status` subresource.

When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.

---

### CustomResourceSubresourceScale <a name="CustomResourceSubresourceScale" id="cdk8s-plus-32.k8s.CustomResourceSubresourceScale"></a>

CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceSubresourceScale.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceSubresourceScale;

CustomResourceSubresourceScale.builder()
    .specReplicasPath(java.lang.String)
    .statusReplicasPath(java.lang.String)
//  .labelSelectorPath(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.specReplicasPath">specReplicasPath</a></code> | <code>java.lang.String</code> | specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.statusReplicasPath">statusReplicasPath</a></code> | <code>java.lang.String</code> | statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.labelSelectorPath">labelSelectorPath</a></code> | <code>java.lang.String</code> | labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. |

---

##### `specReplicasPath`<sup>Required</sup> <a name="specReplicasPath" id="cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.specReplicasPath"></a>

```java
public java.lang.String getSpecReplicasPath();
```

- *Type:* java.lang.String

specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.

---

##### `statusReplicasPath`<sup>Required</sup> <a name="statusReplicasPath" id="cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.statusReplicasPath"></a>

```java
public java.lang.String getStatusReplicasPath();
```

- *Type:* java.lang.String

statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.

---

##### `labelSelectorPath`<sup>Optional</sup> <a name="labelSelectorPath" id="cdk8s-plus-32.k8s.CustomResourceSubresourceScale.property.labelSelectorPath"></a>

```java
public java.lang.String getLabelSelectorPath();
```

- *Type:* java.lang.String

labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.

---

### CustomResourceValidation <a name="CustomResourceValidation" id="cdk8s-plus-32.k8s.CustomResourceValidation"></a>

CustomResourceValidation is a list of validation methods for CustomResources.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.CustomResourceValidation.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.CustomResourceValidation;

CustomResourceValidation.builder()
//  .openApiv3Schema(JsonSchemaProps)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.CustomResourceValidation.property.openApiv3Schema">openApiv3Schema</a></code> | <code>org.cdk8s.plus32.k8s.JsonSchemaProps</code> | openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning. |

---

##### `openApiv3Schema`<sup>Optional</sup> <a name="openApiv3Schema" id="cdk8s-plus-32.k8s.CustomResourceValidation.property.openApiv3Schema"></a>

```java
public JsonSchemaProps getOpenApiv3Schema();
```

- *Type:* org.cdk8s.plus32.k8s.JsonSchemaProps

openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning.

---

### DaemonSetProps <a name="DaemonSetProps" id="cdk8s-plus-32.DaemonSetProps"></a>

Properties for `DaemonSet`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DaemonSetProps.Initializer"></a>

```java
import org.cdk8s.plus32.DaemonSetProps;

DaemonSetProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReadySeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.DaemonSetProps.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.DaemonSetProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.DaemonSetProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.DaemonSetProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.DaemonSetProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.DaemonSetProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.DaemonSetProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.DaemonSetProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.DaemonSetProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.DaemonSetProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.DaemonSetProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.DaemonSetProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.DaemonSetProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.DaemonSetProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.DaemonSetProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.DaemonSetProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.DaemonSetProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.DaemonSetProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.DaemonSetProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.DaemonSetProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.DaemonSetProps.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

---

### DaemonSetSpec <a name="DaemonSetSpec" id="cdk8s-plus-32.k8s.DaemonSetSpec"></a>

DaemonSetSpec is the specification of a daemon set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DaemonSetSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DaemonSetSpec;

DaemonSetSpec.builder()
    .selector(LabelSelector)
    .template(PodTemplateSpec)
//  .minReadySeconds(java.lang.Number)
//  .revisionHistoryLimit(java.lang.Number)
//  .updateStrategy(DaemonSetUpdateStrategy)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | A label query over pods that are managed by the daemon set. |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | An object that describes the pod that will be created. |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetSpec.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetSpec.property.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | The number of old history to retain to allow rollback. |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetSpec.property.updateStrategy">updateStrategy</a></code> | <code>org.cdk8s.plus32.k8s.DaemonSetUpdateStrategy</code> | An update strategy to replace existing DaemonSet pods with new pods. |

---

##### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.k8s.DaemonSetSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

A label query over pods that are managed by the daemon set.

Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

---

##### `template`<sup>Required</sup> <a name="template" id="cdk8s-plus-32.k8s.DaemonSetSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

An object that describes the pod that will be created.

The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.k8s.DaemonSetSpec.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0 (pod will be considered available as soon as it is ready).

The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready).

---

##### `revisionHistoryLimit`<sup>Optional</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.k8s.DaemonSetSpec.property.revisionHistoryLimit"></a>

```java
public java.lang.Number getRevisionHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 10.

The number of old history to retain to allow rollback.

This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.

---

##### `updateStrategy`<sup>Optional</sup> <a name="updateStrategy" id="cdk8s-plus-32.k8s.DaemonSetSpec.property.updateStrategy"></a>

```java
public DaemonSetUpdateStrategy getUpdateStrategy();
```

- *Type:* org.cdk8s.plus32.k8s.DaemonSetUpdateStrategy

An update strategy to replace existing DaemonSet pods with new pods.

---

### DaemonSetUpdateStrategy <a name="DaemonSetUpdateStrategy" id="cdk8s-plus-32.k8s.DaemonSetUpdateStrategy"></a>

DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DaemonSetUpdateStrategy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DaemonSetUpdateStrategy;

DaemonSetUpdateStrategy.builder()
//  .rollingUpdate(RollingUpdateDaemonSet)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetUpdateStrategy.property.rollingUpdate">rollingUpdate</a></code> | <code>org.cdk8s.plus32.k8s.RollingUpdateDaemonSet</code> | Rolling update config params. |
| <code><a href="#cdk8s-plus-32.k8s.DaemonSetUpdateStrategy.property.type">type</a></code> | <code>java.lang.String</code> | Type of daemon set update. |

---

##### `rollingUpdate`<sup>Optional</sup> <a name="rollingUpdate" id="cdk8s-plus-32.k8s.DaemonSetUpdateStrategy.property.rollingUpdate"></a>

```java
public RollingUpdateDaemonSet getRollingUpdate();
```

- *Type:* org.cdk8s.plus32.k8s.RollingUpdateDaemonSet

Rolling update config params.

Present only if type = "RollingUpdate".

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.DaemonSetUpdateStrategy.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* RollingUpdate.

Type of daemon set update.

Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.

---

### DeleteOptions <a name="DeleteOptions" id="cdk8s-plus-32.k8s.DeleteOptions"></a>

DeleteOptions may be provided when deleting an API object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeleteOptions.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeleteOptions;

DeleteOptions.builder()
//  .apiVersion(java.lang.String)
//  .dryRun(java.util.List<java.lang.String>)
//  .gracePeriodSeconds(java.lang.Number)
//  .ignoreStoreReadErrorWithClusterBreakingPotential(java.lang.Boolean)
//  .kind(IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind)
//  .orphanDependents(java.lang.Boolean)
//  .preconditions(Preconditions)
//  .propagationPolicy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | APIVersion defines the versioned schema of this representation of an object. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.dryRun">dryRun</a></code> | <code>java.util.List<java.lang.String></code> | When present, indicates that modifications should not be persisted. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.gracePeriodSeconds">gracePeriodSeconds</a></code> | <code>java.lang.Number</code> | The duration in seconds before the object should be deleted. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.ignoreStoreReadErrorWithClusterBreakingPotential">ignoreStoreReadErrorWithClusterBreakingPotential</a></code> | <code>java.lang.Boolean</code> | if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.kind">kind</a></code> | <code>org.cdk8s.plus32.k8s.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind</code> | Kind is a string value representing the REST resource this object represents. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.orphanDependents">orphanDependents</a></code> | <code>java.lang.Boolean</code> | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.preconditions">preconditions</a></code> | <code>org.cdk8s.plus32.k8s.Preconditions</code> | Must be fulfilled before a deletion is carried out. |
| <code><a href="#cdk8s-plus-32.k8s.DeleteOptions.property.propagationPolicy">propagationPolicy</a></code> | <code>java.lang.String</code> | Whether and how garbage collection will be performed. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.DeleteOptions.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

APIVersion defines the versioned schema of this representation of an object.

Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

---

##### `dryRun`<sup>Optional</sup> <a name="dryRun" id="cdk8s-plus-32.k8s.DeleteOptions.property.dryRun"></a>

```java
public java.util.List<java.lang.String> getDryRun();
```

- *Type:* java.util.List<java.lang.String>

When present, indicates that modifications should not be persisted.

An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

---

##### `gracePeriodSeconds`<sup>Optional</sup> <a name="gracePeriodSeconds" id="cdk8s-plus-32.k8s.DeleteOptions.property.gracePeriodSeconds"></a>

```java
public java.lang.Number getGracePeriodSeconds();
```

- *Type:* java.lang.Number
- *Default:* a per object value if not specified. zero means delete immediately.

The duration in seconds before the object should be deleted.

Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.

---

##### `ignoreStoreReadErrorWithClusterBreakingPotential`<sup>Optional</sup> <a name="ignoreStoreReadErrorWithClusterBreakingPotential" id="cdk8s-plus-32.k8s.DeleteOptions.property.ignoreStoreReadErrorWithClusterBreakingPotential"></a>

```java
public java.lang.Boolean getIgnoreStoreReadErrorWithClusterBreakingPotential();
```

- *Type:* java.lang.Boolean

if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error.

A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.DeleteOptions.property.kind"></a>

```java
public IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind getKind();
```

- *Type:* org.cdk8s.plus32.k8s.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind

Kind is a string value representing the REST resource this object represents.

Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `orphanDependents`<sup>Optional</sup> <a name="orphanDependents" id="cdk8s-plus-32.k8s.DeleteOptions.property.orphanDependents"></a>

```java
public java.lang.Boolean getOrphanDependents();
```

- *Type:* java.lang.Boolean

Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.

---

##### `preconditions`<sup>Optional</sup> <a name="preconditions" id="cdk8s-plus-32.k8s.DeleteOptions.property.preconditions"></a>

```java
public Preconditions getPreconditions();
```

- *Type:* org.cdk8s.plus32.k8s.Preconditions

Must be fulfilled before a deletion is carried out.

If not possible, a 409 Conflict status will be returned.

---

##### `propagationPolicy`<sup>Optional</sup> <a name="propagationPolicy" id="cdk8s-plus-32.k8s.DeleteOptions.property.propagationPolicy"></a>

```java
public java.lang.String getPropagationPolicy();
```

- *Type:* java.lang.String

Whether and how garbage collection will be performed.

Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.

---

### DeploymentExposeViaServiceOptions <a name="DeploymentExposeViaServiceOptions" id="cdk8s-plus-32.DeploymentExposeViaServiceOptions"></a>

Options for `Deployment.exposeViaService`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DeploymentExposeViaServiceOptions.Initializer"></a>

```java
import org.cdk8s.plus32.DeploymentExposeViaServiceOptions;

DeploymentExposeViaServiceOptions.builder()
//  .name(java.lang.String)
//  .ports(java.util.List<ServicePort>)
//  .serviceType(ServiceType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of the service to expose. |
| <code><a href="#cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>></code> | The ports that the service should bind to. |
| <code><a href="#cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.serviceType">serviceType</a></code> | <code><a href="#cdk8s-plus-32.ServiceType">ServiceType</a></code> | The type of the exposed service. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto generated.

The name of the service to expose.

If you'd like to expose the deployment multiple times,
you must explicitly set a name starting from the second expose call.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.ports"></a>

```java
public java.util.List<ServicePort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>>
- *Default:* extracted from the deployment.

The ports that the service should bind to.

---

##### `serviceType`<sup>Optional</sup> <a name="serviceType" id="cdk8s-plus-32.DeploymentExposeViaServiceOptions.property.serviceType"></a>

```java
public ServiceType getServiceType();
```

- *Type:* <a href="#cdk8s-plus-32.ServiceType">ServiceType</a>
- *Default:* ClusterIP.

The type of the exposed service.

---

### DeploymentProps <a name="DeploymentProps" id="cdk8s-plus-32.DeploymentProps"></a>

Properties for `Deployment`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DeploymentProps.Initializer"></a>

```java
import org.cdk8s.plus32.DeploymentProps;

DeploymentProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReady(Duration)
//  .progressDeadline(Duration)
//  .replicas(java.lang.Number)
//  .revisionHistoryLimit(java.lang.Number)
//  .strategy(DeploymentStrategy)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.progressDeadline">progressDeadline</a></code> | <code>org.cdk8s.Duration</code> | The maximum duration for a deployment to make progress before it is considered to be failed. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | Specify how many old ReplicaSets for this Deployment you want to retain. |
| <code><a href="#cdk8s-plus-32.DeploymentProps.property.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a></code> | Specifies the strategy used to replace old Pods by new ones. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.DeploymentProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.DeploymentProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.DeploymentProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.DeploymentProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.DeploymentProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.DeploymentProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.DeploymentProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.DeploymentProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.DeploymentProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.DeploymentProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.DeploymentProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.DeploymentProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.DeploymentProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.DeploymentProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.DeploymentProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.DeploymentProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.DeploymentProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.DeploymentProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.DeploymentProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReady`<sup>Optional</sup> <a name="minReady" id="cdk8s-plus-32.DeploymentProps.property.minReady"></a>

```java
public Duration getMinReady();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(0)

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Zero means the pod will be considered available as soon as it is ready.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)

---

##### `progressDeadline`<sup>Optional</sup> <a name="progressDeadline" id="cdk8s-plus-32.DeploymentProps.property.progressDeadline"></a>

```java
public Duration getProgressDeadline();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(600)

The maximum duration for a deployment to make progress before it is considered to be failed.

The deployment controller will continue
to process failed deployments and a condition with a ProgressDeadlineExceeded
reason will be surfaced in the deployment status.

Note that progress will not be estimated during the time a deployment is paused.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#progress-deadline-seconds)

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.DeploymentProps.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number
- *Default:* 2

Number of desired pods.

---

##### `revisionHistoryLimit`<sup>Optional</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.DeploymentProps.property.revisionHistoryLimit"></a>

```java
public java.lang.Number getRevisionHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 10

Specify how many old ReplicaSets for this Deployment you want to retain.

The rest will be garbage-collected in the background. By default, it is 10.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.DeploymentProps.property.strategy"></a>

```java
public DeploymentStrategy getStrategy();
```

- *Type:* <a href="#cdk8s-plus-32.DeploymentStrategy">DeploymentStrategy</a>
- *Default:* RollingUpdate with maxSurge and maxUnavailable set to 25%.

Specifies the strategy used to replace old Pods by new ones.

---

### DeploymentSpec <a name="DeploymentSpec" id="cdk8s-plus-32.k8s.DeploymentSpec"></a>

DeploymentSpec is the specification of the desired behavior of the Deployment.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeploymentSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeploymentSpec;

DeploymentSpec.builder()
    .selector(LabelSelector)
    .template(PodTemplateSpec)
//  .minReadySeconds(java.lang.Number)
//  .paused(java.lang.Boolean)
//  .progressDeadlineSeconds(java.lang.Number)
//  .replicas(java.lang.Number)
//  .revisionHistoryLimit(java.lang.Number)
//  .strategy(DeploymentStrategy)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | Label selector for pods. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Template describes the pods that will be created. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.paused">paused</a></code> | <code>java.lang.Boolean</code> | Indicates that the deployment is paused. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.progressDeadlineSeconds">progressDeadlineSeconds</a></code> | <code>java.lang.Number</code> | The maximum time in seconds for a deployment to make progress before it is considered to be failed. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | The number of old ReplicaSets to retain to allow rollback. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentSpec.property.strategy">strategy</a></code> | <code>org.cdk8s.plus32.k8s.DeploymentStrategy</code> | The deployment strategy to use to replace existing pods with new ones. |

---

##### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.k8s.DeploymentSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

Label selector for pods.

Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.

---

##### `template`<sup>Required</sup> <a name="template" id="cdk8s-plus-32.k8s.DeploymentSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Template describes the pods that will be created.

The only allowed template.spec.restartPolicy value is "Always".

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.k8s.DeploymentSpec.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0 (pod will be considered available as soon as it is ready)

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready)

---

##### `paused`<sup>Optional</sup> <a name="paused" id="cdk8s-plus-32.k8s.DeploymentSpec.property.paused"></a>

```java
public java.lang.Boolean getPaused();
```

- *Type:* java.lang.Boolean

Indicates that the deployment is paused.

---

##### `progressDeadlineSeconds`<sup>Optional</sup> <a name="progressDeadlineSeconds" id="cdk8s-plus-32.k8s.DeploymentSpec.property.progressDeadlineSeconds"></a>

```java
public java.lang.Number getProgressDeadlineSeconds();
```

- *Type:* java.lang.Number
- *Default:* 600s.

The maximum time in seconds for a deployment to make progress before it is considered to be failed.

The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.k8s.DeploymentSpec.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number
- *Default:* 1.

Number of desired pods.

This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

---

##### `revisionHistoryLimit`<sup>Optional</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.k8s.DeploymentSpec.property.revisionHistoryLimit"></a>

```java
public java.lang.Number getRevisionHistoryLimit();
```

- *Type:* java.lang.Number
- *Default:* 10.

The number of old ReplicaSets to retain to allow rollback.

This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.k8s.DeploymentSpec.property.strategy"></a>

```java
public DeploymentStrategy getStrategy();
```

- *Type:* org.cdk8s.plus32.k8s.DeploymentStrategy

The deployment strategy to use to replace existing pods with new ones.

---

### DeploymentStrategy <a name="DeploymentStrategy" id="cdk8s-plus-32.k8s.DeploymentStrategy"></a>

DeploymentStrategy describes how to replace existing pods with new ones.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeploymentStrategy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeploymentStrategy;

DeploymentStrategy.builder()
//  .rollingUpdate(RollingUpdateDeployment)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentStrategy.property.rollingUpdate">rollingUpdate</a></code> | <code>org.cdk8s.plus32.k8s.RollingUpdateDeployment</code> | Rolling update config params. |
| <code><a href="#cdk8s-plus-32.k8s.DeploymentStrategy.property.type">type</a></code> | <code>java.lang.String</code> | Type of deployment. |

---

##### `rollingUpdate`<sup>Optional</sup> <a name="rollingUpdate" id="cdk8s-plus-32.k8s.DeploymentStrategy.property.rollingUpdate"></a>

```java
public RollingUpdateDeployment getRollingUpdate();
```

- *Type:* org.cdk8s.plus32.k8s.RollingUpdateDeployment

Rolling update config params.

Present only if DeploymentStrategyType = RollingUpdate.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.DeploymentStrategy.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* RollingUpdate.

Type of deployment.

Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

---

### DeploymentStrategyRollingUpdateOptions <a name="DeploymentStrategyRollingUpdateOptions" id="cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions"></a>

Options for `DeploymentStrategy.rollingUpdate`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions.Initializer"></a>

```java
import org.cdk8s.plus32.DeploymentStrategyRollingUpdateOptions;

DeploymentStrategyRollingUpdateOptions.builder()
//  .maxSurge(PercentOrAbsolute)
//  .maxUnavailable(PercentOrAbsolute)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions.property.maxSurge">maxSurge</a></code> | <code><a href="#cdk8s-plus-32.PercentOrAbsolute">PercentOrAbsolute</a></code> | The maximum number of pods that can be scheduled above the desired number of pods. |
| <code><a href="#cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions.property.maxUnavailable">maxUnavailable</a></code> | <code><a href="#cdk8s-plus-32.PercentOrAbsolute">PercentOrAbsolute</a></code> | The maximum number of pods that can be unavailable during the update. |

---

##### `maxSurge`<sup>Optional</sup> <a name="maxSurge" id="cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions.property.maxSurge"></a>

```java
public PercentOrAbsolute getMaxSurge();
```

- *Type:* <a href="#cdk8s-plus-32.PercentOrAbsolute">PercentOrAbsolute</a>
- *Default:* '25%'

The maximum number of pods that can be scheduled above the desired number of pods.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding up.
This can not be 0 if `maxUnavailable` is 0.

Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update
starts, such that the total number of old and new pods do not exceed 130% of desired pods.
Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that
total number of pods running at any time during the update is at most 130% of desired pods.

---

##### `maxUnavailable`<sup>Optional</sup> <a name="maxUnavailable" id="cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions.property.maxUnavailable"></a>

```java
public PercentOrAbsolute getMaxUnavailable();
```

- *Type:* <a href="#cdk8s-plus-32.PercentOrAbsolute">PercentOrAbsolute</a>
- *Default:* '25%'

The maximum number of pods that can be unavailable during the update.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding down.
This can not be 0 if `maxSurge` is 0.

Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired
pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can
be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total
number of pods available at all times during the update is at least 70% of desired pods.

---

### DeviceAttributeV1Alpha3 <a name="DeviceAttributeV1Alpha3" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3"></a>

DeviceAttribute must have exactly one field set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceAttributeV1Alpha3;

DeviceAttributeV1Alpha3.builder()
//  .bool(java.lang.Boolean)
//  .int(java.lang.Number)
//  .string(java.lang.String)
//  .version(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.bool">bool</a></code> | <code>java.lang.Boolean</code> | BoolValue is a true/false value. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.int">int</a></code> | <code>java.lang.Number</code> | IntValue is a number. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.string">string</a></code> | <code>java.lang.String</code> | StringValue is a string. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.version">version</a></code> | <code>java.lang.String</code> | VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. |

---

##### `bool`<sup>Optional</sup> <a name="bool" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.bool"></a>

```java
public java.lang.Boolean getBool();
```

- *Type:* java.lang.Boolean

BoolValue is a true/false value.

---

##### `int`<sup>Optional</sup> <a name="int" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.int"></a>

```java
public java.lang.Number getInt();
```

- *Type:* java.lang.Number

IntValue is a number.

---

##### `string`<sup>Optional</sup> <a name="string" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.string"></a>

```java
public java.lang.String getString();
```

- *Type:* java.lang.String

StringValue is a string.

Must not be longer than 64 characters.

---

##### `version`<sup>Optional</sup> <a name="version" id="cdk8s-plus-32.k8s.DeviceAttributeV1Alpha3.property.version"></a>

```java
public java.lang.String getVersion();
```

- *Type:* java.lang.String

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

---

### DeviceAttributeV1Beta1 <a name="DeviceAttributeV1Beta1" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1"></a>

DeviceAttribute must have exactly one field set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceAttributeV1Beta1;

DeviceAttributeV1Beta1.builder()
//  .bool(java.lang.Boolean)
//  .int(java.lang.Number)
//  .string(java.lang.String)
//  .version(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.bool">bool</a></code> | <code>java.lang.Boolean</code> | BoolValue is a true/false value. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.int">int</a></code> | <code>java.lang.Number</code> | IntValue is a number. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.string">string</a></code> | <code>java.lang.String</code> | StringValue is a string. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.version">version</a></code> | <code>java.lang.String</code> | VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. |

---

##### `bool`<sup>Optional</sup> <a name="bool" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.bool"></a>

```java
public java.lang.Boolean getBool();
```

- *Type:* java.lang.Boolean

BoolValue is a true/false value.

---

##### `int`<sup>Optional</sup> <a name="int" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.int"></a>

```java
public java.lang.Number getInt();
```

- *Type:* java.lang.Number

IntValue is a number.

---

##### `string`<sup>Optional</sup> <a name="string" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.string"></a>

```java
public java.lang.String getString();
```

- *Type:* java.lang.String

StringValue is a string.

Must not be longer than 64 characters.

---

##### `version`<sup>Optional</sup> <a name="version" id="cdk8s-plus-32.k8s.DeviceAttributeV1Beta1.property.version"></a>

```java
public java.lang.String getVersion();
```

- *Type:* java.lang.String

VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.

---

### DeviceCapacityV1Beta1 <a name="DeviceCapacityV1Beta1" id="cdk8s-plus-32.k8s.DeviceCapacityV1Beta1"></a>

DeviceCapacity describes a quantity associated with a device.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceCapacityV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceCapacityV1Beta1;

DeviceCapacityV1Beta1.builder()
    .value(Quantity)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceCapacityV1Beta1.property.value">value</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | Value defines how much of a certain device capacity is available. |

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.DeviceCapacityV1Beta1.property.value"></a>

```java
public Quantity getValue();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

Value defines how much of a certain device capacity is available.

---

### DeviceClaimConfigurationV1Alpha3 <a name="DeviceClaimConfigurationV1Alpha3" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3"></a>

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Alpha3;

DeviceClaimConfigurationV1Alpha3.builder()
//  .opaque(OpaqueDeviceConfigurationV1Alpha3)
//  .requests(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3.property.opaque">opaque</a></code> | <code>org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Alpha3</code> | Opaque provides driver-specific configuration parameters. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3.property.requests">requests</a></code> | <code>java.util.List<java.lang.String></code> | Requests lists the names of requests where the configuration applies. |

---

##### `opaque`<sup>Optional</sup> <a name="opaque" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3.property.opaque"></a>

```java
public OpaqueDeviceConfigurationV1Alpha3 getOpaque();
```

- *Type:* org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Alpha3

Opaque provides driver-specific configuration parameters.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Alpha3.property.requests"></a>

```java
public java.util.List<java.lang.String> getRequests();
```

- *Type:* java.util.List<java.lang.String>

Requests lists the names of requests where the configuration applies.

If empty, it applies to all requests.

---

### DeviceClaimConfigurationV1Beta1 <a name="DeviceClaimConfigurationV1Beta1" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1"></a>

DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Beta1;

DeviceClaimConfigurationV1Beta1.builder()
//  .opaque(OpaqueDeviceConfigurationV1Beta1)
//  .requests(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1.property.opaque">opaque</a></code> | <code>org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Beta1</code> | Opaque provides driver-specific configuration parameters. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1.property.requests">requests</a></code> | <code>java.util.List<java.lang.String></code> | Requests lists the names of requests where the configuration applies. |

---

##### `opaque`<sup>Optional</sup> <a name="opaque" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1.property.opaque"></a>

```java
public OpaqueDeviceConfigurationV1Beta1 getOpaque();
```

- *Type:* org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Beta1

Opaque provides driver-specific configuration parameters.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceClaimConfigurationV1Beta1.property.requests"></a>

```java
public java.util.List<java.lang.String> getRequests();
```

- *Type:* java.util.List<java.lang.String>

Requests lists the names of requests where the configuration applies.

If empty, it applies to all requests.

---

### DeviceClaimV1Alpha3 <a name="DeviceClaimV1Alpha3" id="cdk8s-plus-32.k8s.DeviceClaimV1Alpha3"></a>

DeviceClaim defines how to request devices with a ResourceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClaimV1Alpha3;

DeviceClaimV1Alpha3.builder()
//  .config(java.util.List<DeviceClaimConfigurationV1Alpha3>)
//  .constraints(java.util.List<DeviceConstraintV1Alpha3>)
//  .requests(java.util.List<DeviceRequestV1Alpha3>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.config">config</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Alpha3></code> | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.constraints">constraints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceConstraintV1Alpha3></code> | These constraints must be satisfied by the set of devices that get allocated for the claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.requests">requests</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceRequestV1Alpha3></code> | Requests represent individual requests for distinct devices which must all be satisfied. |

---

##### `config`<sup>Optional</sup> <a name="config" id="cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.config"></a>

```java
public java.util.List<DeviceClaimConfigurationV1Alpha3> getConfig();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Alpha3>

This field holds configuration for multiple potential drivers which could satisfy requests in this claim.

It is ignored while allocating the claim.

---

##### `constraints`<sup>Optional</sup> <a name="constraints" id="cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.constraints"></a>

```java
public java.util.List<DeviceConstraintV1Alpha3> getConstraints();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceConstraintV1Alpha3>

These constraints must be satisfied by the set of devices that get allocated for the claim.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceClaimV1Alpha3.property.requests"></a>

```java
public java.util.List<DeviceRequestV1Alpha3> getRequests();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceRequestV1Alpha3>

Requests represent individual requests for distinct devices which must all be satisfied.

If empty, nothing needs to be allocated.

---

### DeviceClaimV1Beta1 <a name="DeviceClaimV1Beta1" id="cdk8s-plus-32.k8s.DeviceClaimV1Beta1"></a>

DeviceClaim defines how to request devices with a ResourceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClaimV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClaimV1Beta1;

DeviceClaimV1Beta1.builder()
//  .config(java.util.List<DeviceClaimConfigurationV1Beta1>)
//  .constraints(java.util.List<DeviceConstraintV1Beta1>)
//  .requests(java.util.List<DeviceRequestV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.config">config</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Beta1></code> | This field holds configuration for multiple potential drivers which could satisfy requests in this claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.constraints">constraints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceConstraintV1Beta1></code> | These constraints must be satisfied by the set of devices that get allocated for the claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.requests">requests</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceRequestV1Beta1></code> | Requests represent individual requests for distinct devices which must all be satisfied. |

---

##### `config`<sup>Optional</sup> <a name="config" id="cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.config"></a>

```java
public java.util.List<DeviceClaimConfigurationV1Beta1> getConfig();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceClaimConfigurationV1Beta1>

This field holds configuration for multiple potential drivers which could satisfy requests in this claim.

It is ignored while allocating the claim.

---

##### `constraints`<sup>Optional</sup> <a name="constraints" id="cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.constraints"></a>

```java
public java.util.List<DeviceConstraintV1Beta1> getConstraints();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceConstraintV1Beta1>

These constraints must be satisfied by the set of devices that get allocated for the claim.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceClaimV1Beta1.property.requests"></a>

```java
public java.util.List<DeviceRequestV1Beta1> getRequests();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceRequestV1Beta1>

Requests represent individual requests for distinct devices which must all be satisfied.

If empty, nothing needs to be allocated.

---

### DeviceClassConfigurationV1Alpha3 <a name="DeviceClassConfigurationV1Alpha3" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Alpha3"></a>

DeviceClassConfiguration is used in DeviceClass.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Alpha3;

DeviceClassConfigurationV1Alpha3.builder()
//  .opaque(OpaqueDeviceConfigurationV1Alpha3)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassConfigurationV1Alpha3.property.opaque">opaque</a></code> | <code>org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Alpha3</code> | Opaque provides driver-specific configuration parameters. |

---

##### `opaque`<sup>Optional</sup> <a name="opaque" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Alpha3.property.opaque"></a>

```java
public OpaqueDeviceConfigurationV1Alpha3 getOpaque();
```

- *Type:* org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Alpha3

Opaque provides driver-specific configuration parameters.

---

### DeviceClassConfigurationV1Beta1 <a name="DeviceClassConfigurationV1Beta1" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Beta1"></a>

DeviceClassConfiguration is used in DeviceClass.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Beta1;

DeviceClassConfigurationV1Beta1.builder()
//  .opaque(OpaqueDeviceConfigurationV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassConfigurationV1Beta1.property.opaque">opaque</a></code> | <code>org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Beta1</code> | Opaque provides driver-specific configuration parameters. |

---

##### `opaque`<sup>Optional</sup> <a name="opaque" id="cdk8s-plus-32.k8s.DeviceClassConfigurationV1Beta1.property.opaque"></a>

```java
public OpaqueDeviceConfigurationV1Beta1 getOpaque();
```

- *Type:* org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Beta1

Opaque provides driver-specific configuration parameters.

---

### DeviceClassSpecV1Alpha3 <a name="DeviceClassSpecV1Alpha3" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3"></a>

DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClassSpecV1Alpha3;

DeviceClassSpecV1Alpha3.builder()
//  .config(java.util.List<DeviceClassConfigurationV1Alpha3>)
//  .selectors(java.util.List<DeviceSelectorV1Alpha3>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3.property.config">config</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Alpha3></code> | Config defines configuration parameters that apply to each device that is claimed via this class. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3.property.selectors">selectors</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Alpha3></code> | Each selector must be satisfied by a device which is claimed via this class. |

---

##### `config`<sup>Optional</sup> <a name="config" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3.property.config"></a>

```java
public java.util.List<DeviceClassConfigurationV1Alpha3> getConfig();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Alpha3>

Config defines configuration parameters that apply to each device that is claimed via this class.

Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

---

##### `selectors`<sup>Optional</sup> <a name="selectors" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Alpha3.property.selectors"></a>

```java
public java.util.List<DeviceSelectorV1Alpha3> getSelectors();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Alpha3>

Each selector must be satisfied by a device which is claimed via this class.

---

### DeviceClassSpecV1Beta1 <a name="DeviceClassSpecV1Beta1" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1"></a>

DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceClassSpecV1Beta1;

DeviceClassSpecV1Beta1.builder()
//  .config(java.util.List<DeviceClassConfigurationV1Beta1>)
//  .selectors(java.util.List<DeviceSelectorV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1.property.config">config</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Beta1></code> | Config defines configuration parameters that apply to each device that is claimed via this class. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1.property.selectors">selectors</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Beta1></code> | Each selector must be satisfied by a device which is claimed via this class. |

---

##### `config`<sup>Optional</sup> <a name="config" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1.property.config"></a>

```java
public java.util.List<DeviceClassConfigurationV1Beta1> getConfig();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceClassConfigurationV1Beta1>

Config defines configuration parameters that apply to each device that is claimed via this class.

Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.

They are passed to the driver, but are not considered while allocating the claim.

---

##### `selectors`<sup>Optional</sup> <a name="selectors" id="cdk8s-plus-32.k8s.DeviceClassSpecV1Beta1.property.selectors"></a>

```java
public java.util.List<DeviceSelectorV1Beta1> getSelectors();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Beta1>

Each selector must be satisfied by a device which is claimed via this class.

---

### DeviceConstraintV1Alpha3 <a name="DeviceConstraintV1Alpha3" id="cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3"></a>

DeviceConstraint must have exactly one field set besides Requests.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceConstraintV1Alpha3;

DeviceConstraintV1Alpha3.builder()
//  .matchAttribute(java.lang.String)
//  .requests(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3.property.matchAttribute">matchAttribute</a></code> | <code>java.lang.String</code> | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3.property.requests">requests</a></code> | <code>java.util.List<java.lang.String></code> | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. |

---

##### `matchAttribute`<sup>Optional</sup> <a name="matchAttribute" id="cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3.property.matchAttribute"></a>

```java
public java.lang.String getMatchAttribute();
```

- *Type:* java.lang.String

MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.

For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.

Must include the domain qualifier.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceConstraintV1Alpha3.property.requests"></a>

```java
public java.util.List<java.lang.String> getRequests();
```

- *Type:* java.util.List<java.lang.String>

Requests is a list of the one or more requests in this claim which must co-satisfy this constraint.

If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.

---

### DeviceConstraintV1Beta1 <a name="DeviceConstraintV1Beta1" id="cdk8s-plus-32.k8s.DeviceConstraintV1Beta1"></a>

DeviceConstraint must have exactly one field set besides Requests.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceConstraintV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceConstraintV1Beta1;

DeviceConstraintV1Beta1.builder()
//  .matchAttribute(java.lang.String)
//  .requests(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceConstraintV1Beta1.property.matchAttribute">matchAttribute</a></code> | <code>java.lang.String</code> | MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceConstraintV1Beta1.property.requests">requests</a></code> | <code>java.util.List<java.lang.String></code> | Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. |

---

##### `matchAttribute`<sup>Optional</sup> <a name="matchAttribute" id="cdk8s-plus-32.k8s.DeviceConstraintV1Beta1.property.matchAttribute"></a>

```java
public java.lang.String getMatchAttribute();
```

- *Type:* java.lang.String

MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.

For example, if you specified "dra.example.com/numa" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.

Must include the domain qualifier.

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.DeviceConstraintV1Beta1.property.requests"></a>

```java
public java.util.List<java.lang.String> getRequests();
```

- *Type:* java.util.List<java.lang.String>

Requests is a list of the one or more requests in this claim which must co-satisfy this constraint.

If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.

---

### DeviceRequestV1Alpha3 <a name="DeviceRequestV1Alpha3" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3"></a>

DeviceRequest is a request for devices required for a claim.

This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceRequestV1Alpha3;

DeviceRequestV1Alpha3.builder()
    .deviceClassName(java.lang.String)
    .name(java.lang.String)
//  .adminAccess(java.lang.Boolean)
//  .allocationMode(java.lang.String)
//  .count(java.lang.Number)
//  .selectors(java.util.List<DeviceSelectorV1Alpha3>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.deviceClassName">deviceClassName</a></code> | <code>java.lang.String</code> | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.adminAccess">adminAccess</a></code> | <code>java.lang.Boolean</code> | AdminAccess indicates that this is a claim for administrative access to the device(s). |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.allocationMode">allocationMode</a></code> | <code>java.lang.String</code> | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.count">count</a></code> | <code>java.lang.Number</code> | Count is used only when the count mode is "ExactCount". |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.selectors">selectors</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Alpha3></code> | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. |

---

##### `deviceClassName`<sup>Required</sup> <a name="deviceClassName" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.deviceClassName"></a>

```java
public java.lang.String getDeviceClassName();
```

- *Type:* java.lang.String

DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.

A class is required. Which classes are available depends on the cluster.

Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.

Must be a DNS label.

---

##### `adminAccess`<sup>Optional</sup> <a name="adminAccess" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.adminAccess"></a>

```java
public java.lang.Boolean getAdminAccess();
```

- *Type:* java.lang.Boolean

AdminAccess indicates that this is a claim for administrative access to the device(s).

Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

---

##### `allocationMode`<sup>Optional</sup> <a name="allocationMode" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.allocationMode"></a>

```java
public java.lang.String getAllocationMode();
```

- *Type:* java.lang.String

AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:.

* ExactCount: This request is for a specific number of devices.
  This is the default. The exact number is provided in the
  count field.
* All: This request is for all of the matching devices in a pool.
  Allocation will fail if some devices are already allocated,
  unless adminAccess is requested.

If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.

More modes may get added in the future. Clients must refuse to handle requests with unknown modes.

---

##### `count`<sup>Optional</sup> <a name="count" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.count"></a>

```java
public java.lang.Number getCount();
```

- *Type:* java.lang.Number

Count is used only when the count mode is "ExactCount".

Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.

---

##### `selectors`<sup>Optional</sup> <a name="selectors" id="cdk8s-plus-32.k8s.DeviceRequestV1Alpha3.property.selectors"></a>

```java
public java.util.List<DeviceSelectorV1Alpha3> getSelectors();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Alpha3>

Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request.

All selectors must be satisfied for a device to be considered.

---

### DeviceRequestV1Beta1 <a name="DeviceRequestV1Beta1" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1"></a>

DeviceRequest is a request for devices required for a claim.

This is typically a request for a single resource like a device, but can also ask for several identical devices.

A DeviceClassName is currently required. Clients must check that it is indeed set. It's absence indicates that something changed in a way that is not supported by the client yet, in which case it must refuse to handle the request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceRequestV1Beta1;

DeviceRequestV1Beta1.builder()
    .deviceClassName(java.lang.String)
    .name(java.lang.String)
//  .adminAccess(java.lang.Boolean)
//  .allocationMode(java.lang.String)
//  .count(java.lang.Number)
//  .selectors(java.util.List<DeviceSelectorV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.deviceClassName">deviceClassName</a></code> | <code>java.lang.String</code> | DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.adminAccess">adminAccess</a></code> | <code>java.lang.Boolean</code> | AdminAccess indicates that this is a claim for administrative access to the device(s). |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.allocationMode">allocationMode</a></code> | <code>java.lang.String</code> | AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.count">count</a></code> | <code>java.lang.Number</code> | Count is used only when the count mode is "ExactCount". |
| <code><a href="#cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.selectors">selectors</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Beta1></code> | Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. |

---

##### `deviceClassName`<sup>Required</sup> <a name="deviceClassName" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.deviceClassName"></a>

```java
public java.lang.String getDeviceClassName();
```

- *Type:* java.lang.String

DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.

A class is required. Which classes are available depends on the cluster.

Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.

Must be a DNS label.

---

##### `adminAccess`<sup>Optional</sup> <a name="adminAccess" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.adminAccess"></a>

```java
public java.lang.Boolean getAdminAccess();
```

- *Type:* java.lang.Boolean

AdminAccess indicates that this is a claim for administrative access to the device(s).

Claims with AdminAccess are expected to be used for monitoring or other management services for a device.  They ignore all ordinary claims to the device with respect to access modes and any resource allocations.

This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

---

##### `allocationMode`<sup>Optional</sup> <a name="allocationMode" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.allocationMode"></a>

```java
public java.lang.String getAllocationMode();
```

- *Type:* java.lang.String

AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:.

* ExactCount: This request is for a specific number of devices.
  This is the default. The exact number is provided in the
  count field.
* All: This request is for all of the matching devices in a pool.
  Allocation will fail if some devices are already allocated,
  unless adminAccess is requested.

If AlloctionMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.

More modes may get added in the future. Clients must refuse to handle requests with unknown modes.

---

##### `count`<sup>Optional</sup> <a name="count" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.count"></a>

```java
public java.lang.Number getCount();
```

- *Type:* java.lang.Number

Count is used only when the count mode is "ExactCount".

Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.

---

##### `selectors`<sup>Optional</sup> <a name="selectors" id="cdk8s-plus-32.k8s.DeviceRequestV1Beta1.property.selectors"></a>

```java
public java.util.List<DeviceSelectorV1Beta1> getSelectors();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceSelectorV1Beta1>

Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request.

All selectors must be satisfied for a device to be considered.

---

### DeviceSelectorV1Alpha3 <a name="DeviceSelectorV1Alpha3" id="cdk8s-plus-32.k8s.DeviceSelectorV1Alpha3"></a>

DeviceSelector must have exactly one field set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceSelectorV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceSelectorV1Alpha3;

DeviceSelectorV1Alpha3.builder()
//  .cel(CelDeviceSelectorV1Alpha3)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceSelectorV1Alpha3.property.cel">cel</a></code> | <code>org.cdk8s.plus32.k8s.CelDeviceSelectorV1Alpha3</code> | CEL contains a CEL expression for selecting a device. |

---

##### `cel`<sup>Optional</sup> <a name="cel" id="cdk8s-plus-32.k8s.DeviceSelectorV1Alpha3.property.cel"></a>

```java
public CelDeviceSelectorV1Alpha3 getCel();
```

- *Type:* org.cdk8s.plus32.k8s.CelDeviceSelectorV1Alpha3

CEL contains a CEL expression for selecting a device.

---

### DeviceSelectorV1Beta1 <a name="DeviceSelectorV1Beta1" id="cdk8s-plus-32.k8s.DeviceSelectorV1Beta1"></a>

DeviceSelector must have exactly one field set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceSelectorV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceSelectorV1Beta1;

DeviceSelectorV1Beta1.builder()
//  .cel(CelDeviceSelectorV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceSelectorV1Beta1.property.cel">cel</a></code> | <code>org.cdk8s.plus32.k8s.CelDeviceSelectorV1Beta1</code> | CEL contains a CEL expression for selecting a device. |

---

##### `cel`<sup>Optional</sup> <a name="cel" id="cdk8s-plus-32.k8s.DeviceSelectorV1Beta1.property.cel"></a>

```java
public CelDeviceSelectorV1Beta1 getCel();
```

- *Type:* org.cdk8s.plus32.k8s.CelDeviceSelectorV1Beta1

CEL contains a CEL expression for selecting a device.

---

### DeviceV1Alpha3 <a name="DeviceV1Alpha3" id="cdk8s-plus-32.k8s.DeviceV1Alpha3"></a>

Device represents one individual hardware instance that can be selected based on its attributes.

Besides the name, exactly one field must be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceV1Alpha3;

DeviceV1Alpha3.builder()
    .name(java.lang.String)
//  .basic(BasicDeviceV1Alpha3)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | Name is unique identifier among all devices managed by the driver in the pool. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceV1Alpha3.property.basic">basic</a></code> | <code>org.cdk8s.plus32.k8s.BasicDeviceV1Alpha3</code> | Basic defines one device instance. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.DeviceV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is unique identifier among all devices managed by the driver in the pool.

It must be a DNS label.

---

##### `basic`<sup>Optional</sup> <a name="basic" id="cdk8s-plus-32.k8s.DeviceV1Alpha3.property.basic"></a>

```java
public BasicDeviceV1Alpha3 getBasic();
```

- *Type:* org.cdk8s.plus32.k8s.BasicDeviceV1Alpha3

Basic defines one device instance.

---

### DeviceV1Beta1 <a name="DeviceV1Beta1" id="cdk8s-plus-32.k8s.DeviceV1Beta1"></a>

Device represents one individual hardware instance that can be selected based on its attributes.

Besides the name, exactly one field must be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DeviceV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DeviceV1Beta1;

DeviceV1Beta1.builder()
    .name(java.lang.String)
//  .basic(BasicDeviceV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DeviceV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name is unique identifier among all devices managed by the driver in the pool. |
| <code><a href="#cdk8s-plus-32.k8s.DeviceV1Beta1.property.basic">basic</a></code> | <code>org.cdk8s.plus32.k8s.BasicDeviceV1Beta1</code> | Basic defines one device instance. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.DeviceV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is unique identifier among all devices managed by the driver in the pool.

It must be a DNS label.

---

##### `basic`<sup>Optional</sup> <a name="basic" id="cdk8s-plus-32.k8s.DeviceV1Beta1.property.basic"></a>

```java
public BasicDeviceV1Beta1 getBasic();
```

- *Type:* org.cdk8s.plus32.k8s.BasicDeviceV1Beta1

Basic defines one device instance.

---

### DnsOption <a name="DnsOption" id="cdk8s-plus-32.DnsOption"></a>

Custom DNS option.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DnsOption.Initializer"></a>

```java
import org.cdk8s.plus32.DnsOption;

DnsOption.builder()
    .name(java.lang.String)
//  .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DnsOption.property.name">name</a></code> | <code>java.lang.String</code> | Option name. |
| <code><a href="#cdk8s-plus-32.DnsOption.property.value">value</a></code> | <code>java.lang.String</code> | Option value. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.DnsOption.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Option name.

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.DnsOption.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String
- *Default:* No value.

Option value.

---

### DockerConfigSecretProps <a name="DockerConfigSecretProps" id="cdk8s-plus-32.DockerConfigSecretProps"></a>

Options for `DockerConfigSecret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.DockerConfigSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.DockerConfigSecretProps;

DockerConfigSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .data(java.util.Map<java.lang.String, java.lang.Object>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.DockerConfigSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.DockerConfigSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.DockerConfigSecretProps.property.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.Object></code> | JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.DockerConfigSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.DockerConfigSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `data`<sup>Required</sup> <a name="data" id="cdk8s-plus-32.DockerConfigSecretProps.property.data"></a>

```java
public java.util.Map<java.lang.String, java.lang.Object> getData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.Object>

JSON content to provide for the `~/.docker/config.json` file. This will be stringified and inserted as stringData.

> [https://docs.docker.com/engine/reference/commandline/cli/#sample-configuration-file](https://docs.docker.com/engine/reference/commandline/cli/#sample-configuration-file)

---

### DownwardApiProjection <a name="DownwardApiProjection" id="cdk8s-plus-32.k8s.DownwardApiProjection"></a>

Represents downward API info for projecting into a projected volume.

Note that this is identical to a downwardAPI volume source without the default mode.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DownwardApiProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DownwardApiProjection;

DownwardApiProjection.builder()
//  .items(java.util.List<DownwardApiVolumeFile>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiProjection.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DownwardApiVolumeFile></code> | Items is a list of DownwardAPIVolume file. |

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.DownwardApiProjection.property.items"></a>

```java
public java.util.List<DownwardApiVolumeFile> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DownwardApiVolumeFile>

Items is a list of DownwardAPIVolume file.

---

### DownwardApiVolumeFile <a name="DownwardApiVolumeFile" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile"></a>

DownwardAPIVolumeFile represents information to create the file containing the pod field.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DownwardApiVolumeFile;

DownwardApiVolumeFile.builder()
    .path(java.lang.String)
//  .fieldRef(ObjectFieldSelector)
//  .mode(java.lang.Number)
//  .resourceFieldRef(ResourceFieldSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.path">path</a></code> | <code>java.lang.String</code> | Required: Path is  the relative path name of the file to be created. |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.fieldRef">fieldRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectFieldSelector</code> | Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.mode">mode</a></code> | <code>java.lang.Number</code> | Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.resourceFieldRef">resourceFieldRef</a></code> | <code>org.cdk8s.plus32.k8s.ResourceFieldSelector</code> | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Required: Path is  the relative path name of the file to be created.

Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'

---

##### `fieldRef`<sup>Optional</sup> <a name="fieldRef" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.fieldRef"></a>

```java
public ObjectFieldSelector getFieldRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectFieldSelector

Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.

---

##### `mode`<sup>Optional</sup> <a name="mode" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.mode"></a>

```java
public java.lang.Number getMode();
```

- *Type:* java.lang.Number

Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

##### `resourceFieldRef`<sup>Optional</sup> <a name="resourceFieldRef" id="cdk8s-plus-32.k8s.DownwardApiVolumeFile.property.resourceFieldRef"></a>

```java
public ResourceFieldSelector getResourceFieldRef();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceFieldSelector

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

---

### DownwardApiVolumeSource <a name="DownwardApiVolumeSource" id="cdk8s-plus-32.k8s.DownwardApiVolumeSource"></a>

DownwardAPIVolumeSource represents a volume containing downward API info.

Downward API volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.DownwardApiVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.DownwardApiVolumeSource;

DownwardApiVolumeSource.builder()
//  .defaultMode(java.lang.Number)
//  .items(java.util.List<DownwardApiVolumeFile>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeSource.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | Optional: mode bits to use on created files by default. |
| <code><a href="#cdk8s-plus-32.k8s.DownwardApiVolumeSource.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DownwardApiVolumeFile></code> | Items is a list of downward API volume file. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.k8s.DownwardApiVolumeSource.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number
- *Default:* 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

Optional: mode bits to use on created files by default.

Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.DownwardApiVolumeSource.property.items"></a>

```java
public java.util.List<DownwardApiVolumeFile> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DownwardApiVolumeFile>

Items is a list of downward API volume file.

---

### EmptyDirVolumeOptions <a name="EmptyDirVolumeOptions" id="cdk8s-plus-32.EmptyDirVolumeOptions"></a>

Options for volumes populated with an empty directory.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EmptyDirVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EmptyDirVolumeOptions;

EmptyDirVolumeOptions.builder()
//  .medium(EmptyDirMedium)
//  .sizeLimit(Size)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EmptyDirVolumeOptions.property.medium">medium</a></code> | <code><a href="#cdk8s-plus-32.EmptyDirMedium">EmptyDirMedium</a></code> | By default, emptyDir volumes are stored on whatever medium is backing the node - that might be disk or SSD or network storage, depending on your environment. |
| <code><a href="#cdk8s-plus-32.EmptyDirVolumeOptions.property.sizeLimit">sizeLimit</a></code> | <code>org.cdk8s.Size</code> | Total amount of local storage required for this EmptyDir volume. |

---

##### `medium`<sup>Optional</sup> <a name="medium" id="cdk8s-plus-32.EmptyDirVolumeOptions.property.medium"></a>

```java
public EmptyDirMedium getMedium();
```

- *Type:* <a href="#cdk8s-plus-32.EmptyDirMedium">EmptyDirMedium</a>
- *Default:* EmptyDirMedium.DEFAULT

By default, emptyDir volumes are stored on whatever medium is backing the node - that might be disk or SSD or network storage, depending on your environment.

However, you can set the emptyDir.medium field to
`EmptyDirMedium.MEMORY` to tell Kubernetes to mount a tmpfs (RAM-backed
filesystem) for you instead. While tmpfs is very fast, be aware that unlike
disks, tmpfs is cleared on node reboot and any files you write will count
against your Container's memory limit.

---

##### `sizeLimit`<sup>Optional</sup> <a name="sizeLimit" id="cdk8s-plus-32.EmptyDirVolumeOptions.property.sizeLimit"></a>

```java
public Size getSizeLimit();
```

- *Type:* org.cdk8s.Size
- *Default:* limit is undefined

Total amount of local storage required for this EmptyDir volume.

The size
limit is also applicable for memory medium. The maximum usage on memory
medium EmptyDir would be the minimum value between the SizeLimit specified
here and the sum of memory limits of all containers in a pod.

---

### EmptyDirVolumeSource <a name="EmptyDirVolumeSource" id="cdk8s-plus-32.k8s.EmptyDirVolumeSource"></a>

Represents an empty directory for a pod.

Empty directory volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EmptyDirVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EmptyDirVolumeSource;

EmptyDirVolumeSource.builder()
//  .medium(java.lang.String)
//  .sizeLimit(Quantity)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EmptyDirVolumeSource.property.medium">medium</a></code> | <code>java.lang.String</code> | medium represents what type of storage medium should back this directory. |
| <code><a href="#cdk8s-plus-32.k8s.EmptyDirVolumeSource.property.sizeLimit">sizeLimit</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | sizeLimit is the total amount of local storage required for this EmptyDir volume. |

---

##### `medium`<sup>Optional</sup> <a name="medium" id="cdk8s-plus-32.k8s.EmptyDirVolumeSource.property.medium"></a>

```java
public java.lang.String getMedium();
```

- *Type:* java.lang.String

medium represents what type of storage medium should back this directory.

The default is "" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

---

##### `sizeLimit`<sup>Optional</sup> <a name="sizeLimit" id="cdk8s-plus-32.k8s.EmptyDirVolumeSource.property.sizeLimit"></a>

```java
public Quantity getSizeLimit();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

sizeLimit is the total amount of local storage required for this EmptyDir volume.

The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

---

### Endpoint <a name="Endpoint" id="cdk8s-plus-32.k8s.Endpoint"></a>

Endpoint represents a single logical "backend" implementing a service.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Endpoint.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Endpoint;

Endpoint.builder()
    .addresses(java.util.List<java.lang.String>)
//  .conditions(EndpointConditions)
//  .deprecatedTopology(java.util.Map<java.lang.String, java.lang.String>)
//  .hints(EndpointHints)
//  .hostname(java.lang.String)
//  .nodeName(java.lang.String)
//  .targetRef(ObjectReference)
//  .zone(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.addresses">addresses</a></code> | <code>java.util.List<java.lang.String></code> | addresses of this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.conditions">conditions</a></code> | <code>org.cdk8s.plus32.k8s.EndpointConditions</code> | conditions contains information about the current status of the endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.deprecatedTopology">deprecatedTopology</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | deprecatedTopology contains topology information part of the v1beta1 API. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.hints">hints</a></code> | <code>org.cdk8s.plus32.k8s.EndpointHints</code> | hints contains information associated with how an endpoint should be consumed. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.hostname">hostname</a></code> | <code>java.lang.String</code> | hostname of this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | nodeName represents the name of the Node hosting this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.targetRef">targetRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | targetRef is a reference to a Kubernetes object that represents this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.Endpoint.property.zone">zone</a></code> | <code>java.lang.String</code> | zone is the name of the Zone this endpoint exists in. |

---

##### `addresses`<sup>Required</sup> <a name="addresses" id="cdk8s-plus-32.k8s.Endpoint.property.addresses"></a>

```java
public java.util.List<java.lang.String> getAddresses();
```

- *Type:* java.util.List<java.lang.String>

addresses of this endpoint.

The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267

---

##### `conditions`<sup>Optional</sup> <a name="conditions" id="cdk8s-plus-32.k8s.Endpoint.property.conditions"></a>

```java
public EndpointConditions getConditions();
```

- *Type:* org.cdk8s.plus32.k8s.EndpointConditions

conditions contains information about the current status of the endpoint.

---

##### `deprecatedTopology`<sup>Optional</sup> <a name="deprecatedTopology" id="cdk8s-plus-32.k8s.Endpoint.property.deprecatedTopology"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getDeprecatedTopology();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

deprecatedTopology contains topology information part of the v1beta1 API.

This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24).  While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.

---

##### `hints`<sup>Optional</sup> <a name="hints" id="cdk8s-plus-32.k8s.Endpoint.property.hints"></a>

```java
public EndpointHints getHints();
```

- *Type:* org.cdk8s.plus32.k8s.EndpointHints

hints contains information associated with how an endpoint should be consumed.

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.k8s.Endpoint.property.hostname"></a>

```java
public java.lang.String getHostname();
```

- *Type:* java.lang.String

hostname of this endpoint.

This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.

---

##### `nodeName`<sup>Optional</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.Endpoint.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

nodeName represents the name of the Node hosting this endpoint.

This can be used to determine endpoints local to a Node.

---

##### `targetRef`<sup>Optional</sup> <a name="targetRef" id="cdk8s-plus-32.k8s.Endpoint.property.targetRef"></a>

```java
public ObjectReference getTargetRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

targetRef is a reference to a Kubernetes object that represents this endpoint.

---

##### `zone`<sup>Optional</sup> <a name="zone" id="cdk8s-plus-32.k8s.Endpoint.property.zone"></a>

```java
public java.lang.String getZone();
```

- *Type:* java.lang.String

zone is the name of the Zone this endpoint exists in.

---

### EndpointAddress <a name="EndpointAddress" id="cdk8s-plus-32.k8s.EndpointAddress"></a>

EndpointAddress is a tuple that describes single IP address.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EndpointAddress.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EndpointAddress;

EndpointAddress.builder()
    .ip(java.lang.String)
//  .hostname(java.lang.String)
//  .nodeName(java.lang.String)
//  .targetRef(ObjectReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EndpointAddress.property.ip">ip</a></code> | <code>java.lang.String</code> | The IP of this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointAddress.property.hostname">hostname</a></code> | <code>java.lang.String</code> | The Hostname of this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointAddress.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | Optional: Node hosting this endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointAddress.property.targetRef">targetRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | Reference to object providing the endpoint. |

---

##### `ip`<sup>Required</sup> <a name="ip" id="cdk8s-plus-32.k8s.EndpointAddress.property.ip"></a>

```java
public java.lang.String getIp();
```

- *Type:* java.lang.String

The IP of this endpoint.

May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.k8s.EndpointAddress.property.hostname"></a>

```java
public java.lang.String getHostname();
```

- *Type:* java.lang.String

The Hostname of this endpoint.

---

##### `nodeName`<sup>Optional</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.EndpointAddress.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

Optional: Node hosting this endpoint.

This can be used to determine endpoints local to a node.

---

##### `targetRef`<sup>Optional</sup> <a name="targetRef" id="cdk8s-plus-32.k8s.EndpointAddress.property.targetRef"></a>

```java
public ObjectReference getTargetRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

Reference to object providing the endpoint.

---

### EndpointConditions <a name="EndpointConditions" id="cdk8s-plus-32.k8s.EndpointConditions"></a>

EndpointConditions represents the current condition of an endpoint.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EndpointConditions.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EndpointConditions;

EndpointConditions.builder()
//  .ready(java.lang.Boolean)
//  .serving(java.lang.Boolean)
//  .terminating(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EndpointConditions.property.ready">ready</a></code> | <code>java.lang.Boolean</code> | ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointConditions.property.serving">serving</a></code> | <code>java.lang.Boolean</code> | serving is identical to ready except that it is set regardless of the terminating state of endpoints. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointConditions.property.terminating">terminating</a></code> | <code>java.lang.Boolean</code> | terminating indicates that this endpoint is terminating. |

---

##### `ready`<sup>Optional</sup> <a name="ready" id="cdk8s-plus-32.k8s.EndpointConditions.property.ready"></a>

```java
public java.lang.Boolean getReady();
```

- *Type:* java.lang.Boolean

ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint.

A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be "true" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.

---

##### `serving`<sup>Optional</sup> <a name="serving" id="cdk8s-plus-32.k8s.EndpointConditions.property.serving"></a>

```java
public java.lang.Boolean getServing();
```

- *Type:* java.lang.Boolean

serving is identical to ready except that it is set regardless of the terminating state of endpoints.

This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.

---

##### `terminating`<sup>Optional</sup> <a name="terminating" id="cdk8s-plus-32.k8s.EndpointConditions.property.terminating"></a>

```java
public java.lang.Boolean getTerminating();
```

- *Type:* java.lang.Boolean

terminating indicates that this endpoint is terminating.

A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.

---

### EndpointHints <a name="EndpointHints" id="cdk8s-plus-32.k8s.EndpointHints"></a>

EndpointHints provides hints describing how an endpoint should be consumed.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EndpointHints.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EndpointHints;

EndpointHints.builder()
//  .forZones(java.util.List<ForZone>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EndpointHints.property.forZones">forZones</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ForZone></code> | forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. |

---

##### `forZones`<sup>Optional</sup> <a name="forZones" id="cdk8s-plus-32.k8s.EndpointHints.property.forZones"></a>

```java
public java.util.List<ForZone> getForZones();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ForZone>

forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.

---

### EndpointPort <a name="EndpointPort" id="cdk8s-plus-32.k8s.EndpointPort"></a>

EndpointPort is a tuple that describes a single port.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EndpointPort.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EndpointPort;

EndpointPort.builder()
    .port(java.lang.Number)
//  .appProtocol(java.lang.String)
//  .name(java.lang.String)
//  .protocol(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EndpointPort.property.port">port</a></code> | <code>java.lang.Number</code> | The port number of the endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointPort.property.appProtocol">appProtocol</a></code> | <code>java.lang.String</code> | The application protocol for this port. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointPort.property.name">name</a></code> | <code>java.lang.String</code> | The name of this port. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointPort.property.protocol">protocol</a></code> | <code>java.lang.String</code> | The IP protocol for this port. |

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.k8s.EndpointPort.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

The port number of the endpoint.

---

##### `appProtocol`<sup>Optional</sup> <a name="appProtocol" id="cdk8s-plus-32.k8s.EndpointPort.property.appProtocol"></a>

```java
public java.lang.String getAppProtocol();
```

- *Type:* java.lang.String

The application protocol for this port.

This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:

* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).
* Kubernetes-defined prefixed names:
* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
* 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.EndpointPort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this port.

This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.k8s.EndpointPort.property.protocol"></a>

```java
public java.lang.String getProtocol();
```

- *Type:* java.lang.String
- *Default:* TCP.

The IP protocol for this port.

Must be UDP, TCP, or SCTP. Default is TCP.

---

### EndpointSubset <a name="EndpointSubset" id="cdk8s-plus-32.k8s.EndpointSubset"></a>

EndpointSubset is a group of addresses with a common set of ports.

The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:

{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports:     [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
}

The resulting set of endpoints can be viewed as:

a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
b: [ 10.10.1.1:309, 10.10.2.2:309 ]

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EndpointSubset.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EndpointSubset;

EndpointSubset.builder()
//  .addresses(java.util.List<EndpointAddress>)
//  .notReadyAddresses(java.util.List<EndpointAddress>)
//  .ports(java.util.List<EndpointPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EndpointSubset.property.addresses">addresses</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointAddress></code> | IP addresses which offer the related ports that are marked as ready. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointSubset.property.notReadyAddresses">notReadyAddresses</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointAddress></code> | IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check. |
| <code><a href="#cdk8s-plus-32.k8s.EndpointSubset.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointPort></code> | Port numbers available on the related IP addresses. |

---

##### `addresses`<sup>Optional</sup> <a name="addresses" id="cdk8s-plus-32.k8s.EndpointSubset.property.addresses"></a>

```java
public java.util.List<EndpointAddress> getAddresses();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointAddress>

IP addresses which offer the related ports that are marked as ready.

These endpoints should be considered safe for load balancers and clients to utilize.

---

##### `notReadyAddresses`<sup>Optional</sup> <a name="notReadyAddresses" id="cdk8s-plus-32.k8s.EndpointSubset.property.notReadyAddresses"></a>

```java
public java.util.List<EndpointAddress> getNotReadyAddresses();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointAddress>

IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.EndpointSubset.property.ports"></a>

```java
public java.util.List<EndpointPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointPort>

Port numbers available on the related IP addresses.

---

### EnvFromSource <a name="EnvFromSource" id="cdk8s-plus-32.k8s.EnvFromSource"></a>

EnvFromSource represents the source of a set of ConfigMaps.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EnvFromSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EnvFromSource;

EnvFromSource.builder()
//  .configMapRef(ConfigMapEnvSource)
//  .prefix(java.lang.String)
//  .secretRef(SecretEnvSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EnvFromSource.property.configMapRef">configMapRef</a></code> | <code>org.cdk8s.plus32.k8s.ConfigMapEnvSource</code> | The ConfigMap to select from. |
| <code><a href="#cdk8s-plus-32.k8s.EnvFromSource.property.prefix">prefix</a></code> | <code>java.lang.String</code> | An optional identifier to prepend to each key in the ConfigMap. |
| <code><a href="#cdk8s-plus-32.k8s.EnvFromSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretEnvSource</code> | The Secret to select from. |

---

##### `configMapRef`<sup>Optional</sup> <a name="configMapRef" id="cdk8s-plus-32.k8s.EnvFromSource.property.configMapRef"></a>

```java
public ConfigMapEnvSource getConfigMapRef();
```

- *Type:* org.cdk8s.plus32.k8s.ConfigMapEnvSource

The ConfigMap to select from.

---

##### `prefix`<sup>Optional</sup> <a name="prefix" id="cdk8s-plus-32.k8s.EnvFromSource.property.prefix"></a>

```java
public java.lang.String getPrefix();
```

- *Type:* java.lang.String

An optional identifier to prepend to each key in the ConfigMap.

Must be a C_IDENTIFIER.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.EnvFromSource.property.secretRef"></a>

```java
public SecretEnvSource getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretEnvSource

The Secret to select from.

---

### EnvValueFromConfigMapOptions <a name="EnvValueFromConfigMapOptions" id="cdk8s-plus-32.EnvValueFromConfigMapOptions"></a>

Options to specify an envionment variable value from a ConfigMap key.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EnvValueFromConfigMapOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EnvValueFromConfigMapOptions;

EnvValueFromConfigMapOptions.builder()
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValueFromConfigMapOptions.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the ConfigMap or its key must be defined. |

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.EnvValueFromConfigMapOptions.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify whether the ConfigMap or its key must be defined.

---

### EnvValueFromFieldRefOptions <a name="EnvValueFromFieldRefOptions" id="cdk8s-plus-32.EnvValueFromFieldRefOptions"></a>

Options to specify an environment variable value from a field reference.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EnvValueFromFieldRefOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EnvValueFromFieldRefOptions;

EnvValueFromFieldRefOptions.builder()
//  .apiVersion(java.lang.String)
//  .key(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValueFromFieldRefOptions.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | Version of the schema the FieldPath is written in terms of. |
| <code><a href="#cdk8s-plus-32.EnvValueFromFieldRefOptions.property.key">key</a></code> | <code>java.lang.String</code> | The key to select the pod label or annotation. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.EnvValueFromFieldRefOptions.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

Version of the schema the FieldPath is written in terms of.

---

##### `key`<sup>Optional</sup> <a name="key" id="cdk8s-plus-32.EnvValueFromFieldRefOptions.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The key to select the pod label or annotation.

---

### EnvValueFromProcessOptions <a name="EnvValueFromProcessOptions" id="cdk8s-plus-32.EnvValueFromProcessOptions"></a>

Options to specify an environment variable value from the process environment.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EnvValueFromProcessOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EnvValueFromProcessOptions;

EnvValueFromProcessOptions.builder()
//  .required(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValueFromProcessOptions.property.required">required</a></code> | <code>java.lang.Boolean</code> | Specify whether the key must exist in the environment. |

---

##### `required`<sup>Optional</sup> <a name="required" id="cdk8s-plus-32.EnvValueFromProcessOptions.property.required"></a>

```java
public java.lang.Boolean getRequired();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify whether the key must exist in the environment.

If this is set to true, and the key does not exist, an error will thrown.

---

### EnvValueFromResourceOptions <a name="EnvValueFromResourceOptions" id="cdk8s-plus-32.EnvValueFromResourceOptions"></a>

Options to specify an environment variable value from a resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EnvValueFromResourceOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EnvValueFromResourceOptions;

EnvValueFromResourceOptions.builder()
//  .container(Container)
//  .divisor(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValueFromResourceOptions.property.container">container</a></code> | <code><a href="#cdk8s-plus-32.Container">Container</a></code> | The container to select the value from. |
| <code><a href="#cdk8s-plus-32.EnvValueFromResourceOptions.property.divisor">divisor</a></code> | <code>java.lang.String</code> | The output format of the exposed resource. |

---

##### `container`<sup>Optional</sup> <a name="container" id="cdk8s-plus-32.EnvValueFromResourceOptions.property.container"></a>

```java
public Container getContainer();
```

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

The container to select the value from.

---

##### `divisor`<sup>Optional</sup> <a name="divisor" id="cdk8s-plus-32.EnvValueFromResourceOptions.property.divisor"></a>

```java
public java.lang.String getDivisor();
```

- *Type:* java.lang.String

The output format of the exposed resource.

---

### EnvValueFromSecretOptions <a name="EnvValueFromSecretOptions" id="cdk8s-plus-32.EnvValueFromSecretOptions"></a>

Options to specify an environment variable value from a Secret.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EnvValueFromSecretOptions.Initializer"></a>

```java
import org.cdk8s.plus32.EnvValueFromSecretOptions;

EnvValueFromSecretOptions.builder()
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValueFromSecretOptions.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the Secret or its key must be defined. |

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.EnvValueFromSecretOptions.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify whether the Secret or its key must be defined.

---

### EnvVar <a name="EnvVar" id="cdk8s-plus-32.k8s.EnvVar"></a>

EnvVar represents an environment variable present in a Container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EnvVar.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EnvVar;

EnvVar.builder()
    .name(java.lang.String)
//  .value(java.lang.String)
//  .valueFrom(EnvVarSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EnvVar.property.name">name</a></code> | <code>java.lang.String</code> | Name of the environment variable. |
| <code><a href="#cdk8s-plus-32.k8s.EnvVar.property.value">value</a></code> | <code>java.lang.String</code> | Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables. |
| <code><a href="#cdk8s-plus-32.k8s.EnvVar.property.valueFrom">valueFrom</a></code> | <code>org.cdk8s.plus32.k8s.EnvVarSource</code> | Source for the environment variable's value. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.EnvVar.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the environment variable.

Must be a C_IDENTIFIER.

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.k8s.EnvVar.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String
- *Default:* .

Variable references $(VAR_NAME) are expanded using the previously defined environment variables in the container and any service environment variables.

If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".

---

##### `valueFrom`<sup>Optional</sup> <a name="valueFrom" id="cdk8s-plus-32.k8s.EnvVar.property.valueFrom"></a>

```java
public EnvVarSource getValueFrom();
```

- *Type:* org.cdk8s.plus32.k8s.EnvVarSource

Source for the environment variable's value.

Cannot be used if value is not empty.

---

### EnvVarSource <a name="EnvVarSource" id="cdk8s-plus-32.k8s.EnvVarSource"></a>

EnvVarSource represents a source for the value of an EnvVar.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EnvVarSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EnvVarSource;

EnvVarSource.builder()
//  .configMapKeyRef(ConfigMapKeySelector)
//  .fieldRef(ObjectFieldSelector)
//  .resourceFieldRef(ResourceFieldSelector)
//  .secretKeyRef(SecretKeySelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EnvVarSource.property.configMapKeyRef">configMapKeyRef</a></code> | <code>org.cdk8s.plus32.k8s.ConfigMapKeySelector</code> | Selects a key of a ConfigMap. |
| <code><a href="#cdk8s-plus-32.k8s.EnvVarSource.property.fieldRef">fieldRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectFieldSelector</code> | Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. |
| <code><a href="#cdk8s-plus-32.k8s.EnvVarSource.property.resourceFieldRef">resourceFieldRef</a></code> | <code>org.cdk8s.plus32.k8s.ResourceFieldSelector</code> | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. |
| <code><a href="#cdk8s-plus-32.k8s.EnvVarSource.property.secretKeyRef">secretKeyRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretKeySelector</code> | Selects a key of a secret in the pod's namespace. |

---

##### `configMapKeyRef`<sup>Optional</sup> <a name="configMapKeyRef" id="cdk8s-plus-32.k8s.EnvVarSource.property.configMapKeyRef"></a>

```java
public ConfigMapKeySelector getConfigMapKeyRef();
```

- *Type:* org.cdk8s.plus32.k8s.ConfigMapKeySelector

Selects a key of a ConfigMap.

---

##### `fieldRef`<sup>Optional</sup> <a name="fieldRef" id="cdk8s-plus-32.k8s.EnvVarSource.property.fieldRef"></a>

```java
public ObjectFieldSelector getFieldRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectFieldSelector

Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.

---

##### `resourceFieldRef`<sup>Optional</sup> <a name="resourceFieldRef" id="cdk8s-plus-32.k8s.EnvVarSource.property.resourceFieldRef"></a>

```java
public ResourceFieldSelector getResourceFieldRef();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceFieldSelector

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.

---

##### `secretKeyRef`<sup>Optional</sup> <a name="secretKeyRef" id="cdk8s-plus-32.k8s.EnvVarSource.property.secretKeyRef"></a>

```java
public SecretKeySelector getSecretKeyRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretKeySelector

Selects a key of a secret in the pod's namespace.

---

### EphemeralContainer <a name="EphemeralContainer" id="cdk8s-plus-32.k8s.EphemeralContainer"></a>

An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging.

Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.

To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EphemeralContainer.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EphemeralContainer;

EphemeralContainer.builder()
    .name(java.lang.String)
//  .args(java.util.List<java.lang.String>)
//  .command(java.util.List<java.lang.String>)
//  .env(java.util.List<EnvVar>)
//  .envFrom(java.util.List<EnvFromSource>)
//  .image(java.lang.String)
//  .imagePullPolicy(java.lang.String)
//  .lifecycle(Lifecycle)
//  .livenessProbe(Probe)
//  .ports(java.util.List<ContainerPort>)
//  .readinessProbe(Probe)
//  .resizePolicy(java.util.List<ContainerResizePolicy>)
//  .resources(ResourceRequirements)
//  .restartPolicy(java.lang.String)
//  .securityContext(SecurityContext)
//  .startupProbe(Probe)
//  .stdin(java.lang.Boolean)
//  .stdinOnce(java.lang.Boolean)
//  .targetContainerName(java.lang.String)
//  .terminationMessagePath(java.lang.String)
//  .terminationMessagePolicy(java.lang.String)
//  .tty(java.lang.Boolean)
//  .volumeDevices(java.util.List<VolumeDevice>)
//  .volumeMounts(java.util.List<VolumeMount>)
//  .workingDir(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.name">name</a></code> | <code>java.lang.String</code> | Name of the ephemeral container specified as a DNS_LABEL. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.env">env</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EnvVar></code> | List of environment variables to set in the container. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.envFrom">envFrom</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EnvFromSource></code> | List of sources to populate environment variables in the container. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.image">image</a></code> | <code>java.lang.String</code> | Container image name. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.imagePullPolicy">imagePullPolicy</a></code> | <code>java.lang.String</code> | Image pull policy. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.lifecycle">lifecycle</a></code> | <code>org.cdk8s.plus32.k8s.Lifecycle</code> | Lifecycle is not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.livenessProbe">livenessProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | Probes are not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ContainerPort></code> | Ports are not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.readinessProbe">readinessProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | Probes are not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.resizePolicy">resizePolicy</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ContainerResizePolicy></code> | Resources resize policy for the container. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.resources">resources</a></code> | <code>org.cdk8s.plus32.k8s.ResourceRequirements</code> | Resources are not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.restartPolicy">restartPolicy</a></code> | <code>java.lang.String</code> | Restart policy for the container to manage the restart behavior of each container within a pod. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.securityContext">securityContext</a></code> | <code>org.cdk8s.plus32.k8s.SecurityContext</code> | Optional: SecurityContext defines the security options the ephemeral container should be run with. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.startupProbe">startupProbe</a></code> | <code>org.cdk8s.plus32.k8s.Probe</code> | Probes are not allowed for ephemeral containers. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.stdin">stdin</a></code> | <code>java.lang.Boolean</code> | Whether this container should allocate a buffer for stdin in the container runtime. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.stdinOnce">stdinOnce</a></code> | <code>java.lang.Boolean</code> | Whether the container runtime should close the stdin channel after it has been opened by a single attach. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.targetContainerName">targetContainerName</a></code> | <code>java.lang.String</code> | If set, the name of the container from PodSpec that this ephemeral container targets. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.terminationMessagePath">terminationMessagePath</a></code> | <code>java.lang.String</code> | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.terminationMessagePolicy">terminationMessagePolicy</a></code> | <code>java.lang.String</code> | Indicate how the termination message should be populated. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.tty">tty</a></code> | <code>java.lang.Boolean</code> | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.volumeDevices">volumeDevices</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VolumeDevice></code> | volumeDevices is the list of block devices to be used by the container. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.volumeMounts">volumeMounts</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VolumeMount></code> | Pod volumes to mount into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralContainer.property.workingDir">workingDir</a></code> | <code>java.lang.String</code> | Container's working directory. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.EphemeralContainer.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the ephemeral container specified as a DNS_LABEL.

This name must be unique among all containers, init containers and ephemeral containers.

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.k8s.EphemeralContainer.property.args"></a>

```java
public java.util.List<java.lang.String> getArgs();
```

- *Type:* java.util.List<java.lang.String>

Arguments to the entrypoint.

The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.k8s.EphemeralContainer.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>

Entrypoint array.

Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `env`<sup>Optional</sup> <a name="env" id="cdk8s-plus-32.k8s.EphemeralContainer.property.env"></a>

```java
public java.util.List<EnvVar> getEnv();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EnvVar>

List of environment variables to set in the container.

Cannot be updated.

---

##### `envFrom`<sup>Optional</sup> <a name="envFrom" id="cdk8s-plus-32.k8s.EphemeralContainer.property.envFrom"></a>

```java
public java.util.List<EnvFromSource> getEnvFrom();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EnvFromSource>

List of sources to populate environment variables in the container.

The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.

---

##### `image`<sup>Optional</sup> <a name="image" id="cdk8s-plus-32.k8s.EphemeralContainer.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

Container image name.

More info: https://kubernetes.io/docs/concepts/containers/images

---

##### `imagePullPolicy`<sup>Optional</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.k8s.EphemeralContainer.property.imagePullPolicy"></a>

```java
public java.lang.String getImagePullPolicy();
```

- *Type:* java.lang.String
- *Default:* Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

Image pull policy.

One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images

---

##### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdk8s-plus-32.k8s.EphemeralContainer.property.lifecycle"></a>

```java
public Lifecycle getLifecycle();
```

- *Type:* org.cdk8s.plus32.k8s.Lifecycle

Lifecycle is not allowed for ephemeral containers.

---

##### `livenessProbe`<sup>Optional</sup> <a name="livenessProbe" id="cdk8s-plus-32.k8s.EphemeralContainer.property.livenessProbe"></a>

```java
public Probe getLivenessProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

Probes are not allowed for ephemeral containers.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.EphemeralContainer.property.ports"></a>

```java
public java.util.List<ContainerPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ContainerPort>

Ports are not allowed for ephemeral containers.

---

##### `readinessProbe`<sup>Optional</sup> <a name="readinessProbe" id="cdk8s-plus-32.k8s.EphemeralContainer.property.readinessProbe"></a>

```java
public Probe getReadinessProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

Probes are not allowed for ephemeral containers.

---

##### `resizePolicy`<sup>Optional</sup> <a name="resizePolicy" id="cdk8s-plus-32.k8s.EphemeralContainer.property.resizePolicy"></a>

```java
public java.util.List<ContainerResizePolicy> getResizePolicy();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ContainerResizePolicy>

Resources resize policy for the container.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.EphemeralContainer.property.resources"></a>

```java
public ResourceRequirements getResources();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceRequirements

Resources are not allowed for ephemeral containers.

Ephemeral containers use spare resources already allocated to the pod.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.k8s.EphemeralContainer.property.restartPolicy"></a>

```java
public java.lang.String getRestartPolicy();
```

- *Type:* java.lang.String

Restart policy for the container to manage the restart behavior of each container within a pod.

This may only be set for init containers. You cannot set this field on ephemeral containers.

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.k8s.EphemeralContainer.property.securityContext"></a>

```java
public SecurityContext getSecurityContext();
```

- *Type:* org.cdk8s.plus32.k8s.SecurityContext

Optional: SecurityContext defines the security options the ephemeral container should be run with.

If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext.

---

##### `startupProbe`<sup>Optional</sup> <a name="startupProbe" id="cdk8s-plus-32.k8s.EphemeralContainer.property.startupProbe"></a>

```java
public Probe getStartupProbe();
```

- *Type:* org.cdk8s.plus32.k8s.Probe

Probes are not allowed for ephemeral containers.

---

##### `stdin`<sup>Optional</sup> <a name="stdin" id="cdk8s-plus-32.k8s.EphemeralContainer.property.stdin"></a>

```java
public java.lang.Boolean getStdin();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Whether this container should allocate a buffer for stdin in the container runtime.

If this is not set, reads from stdin in the container will always result in EOF. Default is false.

---

##### `stdinOnce`<sup>Optional</sup> <a name="stdinOnce" id="cdk8s-plus-32.k8s.EphemeralContainer.property.stdinOnce"></a>

```java
public java.lang.Boolean getStdinOnce();
```

- *Type:* java.lang.Boolean
- *Default:* false

Whether the container runtime should close the stdin channel after it has been opened by a single attach.

When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false

---

##### `targetContainerName`<sup>Optional</sup> <a name="targetContainerName" id="cdk8s-plus-32.k8s.EphemeralContainer.property.targetContainerName"></a>

```java
public java.lang.String getTargetContainerName();
```

- *Type:* java.lang.String

If set, the name of the container from PodSpec that this ephemeral container targets.

The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.

The container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.

---

##### `terminationMessagePath`<sup>Optional</sup> <a name="terminationMessagePath" id="cdk8s-plus-32.k8s.EphemeralContainer.property.terminationMessagePath"></a>

```java
public java.lang.String getTerminationMessagePath();
```

- *Type:* java.lang.String
- *Default:* dev/termination-log. Cannot be updated.

Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem.

Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.

---

##### `terminationMessagePolicy`<sup>Optional</sup> <a name="terminationMessagePolicy" id="cdk8s-plus-32.k8s.EphemeralContainer.property.terminationMessagePolicy"></a>

```java
public java.lang.String getTerminationMessagePolicy();
```

- *Type:* java.lang.String
- *Default:* File. Cannot be updated.

Indicate how the termination message should be populated.

File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.

---

##### `tty`<sup>Optional</sup> <a name="tty" id="cdk8s-plus-32.k8s.EphemeralContainer.property.tty"></a>

```java
public java.lang.Boolean getTty();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.

Default is false.

---

##### `volumeDevices`<sup>Optional</sup> <a name="volumeDevices" id="cdk8s-plus-32.k8s.EphemeralContainer.property.volumeDevices"></a>

```java
public java.util.List<VolumeDevice> getVolumeDevices();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VolumeDevice>

volumeDevices is the list of block devices to be used by the container.

---

##### `volumeMounts`<sup>Optional</sup> <a name="volumeMounts" id="cdk8s-plus-32.k8s.EphemeralContainer.property.volumeMounts"></a>

```java
public java.util.List<VolumeMount> getVolumeMounts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VolumeMount>

Pod volumes to mount into the container's filesystem.

Subpath mounts are not allowed for ephemeral containers. Cannot be updated.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.k8s.EphemeralContainer.property.workingDir"></a>

```java
public java.lang.String getWorkingDir();
```

- *Type:* java.lang.String

Container's working directory.

If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

---

### EphemeralStorageResources <a name="EphemeralStorageResources" id="cdk8s-plus-32.EphemeralStorageResources"></a>

Emphemeral storage request and limit.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.EphemeralStorageResources.Initializer"></a>

```java
import org.cdk8s.plus32.EphemeralStorageResources;

EphemeralStorageResources.builder()
//  .limit(Size)
//  .request(Size)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EphemeralStorageResources.property.limit">limit</a></code> | <code>org.cdk8s.Size</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.EphemeralStorageResources.property.request">request</a></code> | <code>org.cdk8s.Size</code> | *No description.* |

---

##### `limit`<sup>Optional</sup> <a name="limit" id="cdk8s-plus-32.EphemeralStorageResources.property.limit"></a>

```java
public Size getLimit();
```

- *Type:* org.cdk8s.Size

---

##### `request`<sup>Optional</sup> <a name="request" id="cdk8s-plus-32.EphemeralStorageResources.property.request"></a>

```java
public Size getRequest();
```

- *Type:* org.cdk8s.Size

---

### EphemeralVolumeSource <a name="EphemeralVolumeSource" id="cdk8s-plus-32.k8s.EphemeralVolumeSource"></a>

Represents an ephemeral volume that is handled by a normal storage driver.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EphemeralVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EphemeralVolumeSource;

EphemeralVolumeSource.builder()
//  .volumeClaimTemplate(PersistentVolumeClaimTemplate)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EphemeralVolumeSource.property.volumeClaimTemplate">volumeClaimTemplate</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeClaimTemplate</code> | Will be used to create a stand-alone PVC to provision the volume. |

---

##### `volumeClaimTemplate`<sup>Optional</sup> <a name="volumeClaimTemplate" id="cdk8s-plus-32.k8s.EphemeralVolumeSource.property.volumeClaimTemplate"></a>

```java
public PersistentVolumeClaimTemplate getVolumeClaimTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeClaimTemplate

Will be used to create a stand-alone PVC to provision the volume.

The pod in which this EphemeralVolumeSource is embedded will be the owner of the PVC, i.e. the PVC will be deleted together with the pod.  The name of the PVC will be `<pod name>-<volume name>` where `<volume name>` is the name from the `PodSpec.Volumes` array entry. Pod validation will reject the pod if the concatenated name is not valid for a PVC (for example, too long).

An existing PVC with that name that is not owned by the pod will *not* be used for the pod to avoid using an unrelated volume by mistake. Starting the pod is then blocked until the unrelated PVC is removed. If such a pre-created PVC is meant to be used by the pod, the PVC has to updated with an owner reference to the pod once the pod exists. Normally this should not be necessary, but it may be useful when manually reconstructing a broken cluster.

This field is read-only and no changes will be made by Kubernetes to the PVC after it has been created.

Required, must not be nil.

---

### EventSeries <a name="EventSeries" id="cdk8s-plus-32.k8s.EventSeries"></a>

EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. How often to update the EventSeries is up to the event reporters. The default event reporter in "k8s.io/client-go/tools/events/event_broadcaster.go" shows how this struct is updated on heartbeats and can guide customized reporter implementations.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EventSeries.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EventSeries;

EventSeries.builder()
    .count(java.lang.Number)
    .lastObservedTime(java.time.Instant)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EventSeries.property.count">count</a></code> | <code>java.lang.Number</code> | count is the number of occurrences in this series up to the last heartbeat time. |
| <code><a href="#cdk8s-plus-32.k8s.EventSeries.property.lastObservedTime">lastObservedTime</a></code> | <code>java.time.Instant</code> | lastObservedTime is the time when last Event from the series was seen before last heartbeat. |

---

##### `count`<sup>Required</sup> <a name="count" id="cdk8s-plus-32.k8s.EventSeries.property.count"></a>

```java
public java.lang.Number getCount();
```

- *Type:* java.lang.Number

count is the number of occurrences in this series up to the last heartbeat time.

---

##### `lastObservedTime`<sup>Required</sup> <a name="lastObservedTime" id="cdk8s-plus-32.k8s.EventSeries.property.lastObservedTime"></a>

```java
public java.time.Instant getLastObservedTime();
```

- *Type:* java.time.Instant

lastObservedTime is the time when last Event from the series was seen before last heartbeat.

---

### EventSource <a name="EventSource" id="cdk8s-plus-32.k8s.EventSource"></a>

EventSource contains information for an event.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.EventSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.EventSource;

EventSource.builder()
//  .component(java.lang.String)
//  .host(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.EventSource.property.component">component</a></code> | <code>java.lang.String</code> | Component from which the event is generated. |
| <code><a href="#cdk8s-plus-32.k8s.EventSource.property.host">host</a></code> | <code>java.lang.String</code> | Node name on which the event is generated. |

---

##### `component`<sup>Optional</sup> <a name="component" id="cdk8s-plus-32.k8s.EventSource.property.component"></a>

```java
public java.lang.String getComponent();
```

- *Type:* java.lang.String

Component from which the event is generated.

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.k8s.EventSource.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String

Node name on which the event is generated.

---

### ExecAction <a name="ExecAction" id="cdk8s-plus-32.k8s.ExecAction"></a>

ExecAction describes a "run in container" action.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ExecAction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ExecAction;

ExecAction.builder()
//  .command(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ExecAction.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem. |

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.k8s.ExecAction.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>

Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem.

The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.

---

### ExemptPriorityLevelConfiguration <a name="ExemptPriorityLevelConfiguration" id="cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration"></a>

ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests.

In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ExemptPriorityLevelConfiguration;

ExemptPriorityLevelConfiguration.builder()
//  .lendablePercent(java.lang.Number)
//  .nominalConcurrencyShares(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration.property.lendablePercent">lendablePercent</a></code> | <code>java.lang.Number</code> | `lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. |
| <code><a href="#cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration.property.nominalConcurrencyShares">nominalConcurrencyShares</a></code> | <code>java.lang.Number</code> | `nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. |

---

##### `lendablePercent`<sup>Optional</sup> <a name="lendablePercent" id="cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration.property.lendablePercent"></a>

```java
public java.lang.Number getLendablePercent();
```

- *Type:* java.lang.Number

`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels.

This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.

LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )

---

##### `nominalConcurrencyShares`<sup>Optional</sup> <a name="nominalConcurrencyShares" id="cdk8s-plus-32.k8s.ExemptPriorityLevelConfiguration.property.nominalConcurrencyShares"></a>

```java
public java.lang.Number getNominalConcurrencyShares();
```

- *Type:* java.lang.Number

`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.

This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:

NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)

Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.

---

### ExposeDeploymentViaIngressOptions <a name="ExposeDeploymentViaIngressOptions" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions"></a>

Options for exposing a deployment via an ingress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ExposeDeploymentViaIngressOptions;

ExposeDeploymentViaIngressOptions.builder()
//  .name(java.lang.String)
//  .ports(java.util.List<ServicePort>)
//  .serviceType(ServiceType)
//  .ingress(Ingress)
//  .pathType(HttpIngressPathType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of the service to expose. |
| <code><a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>></code> | The ports that the service should bind to. |
| <code><a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.serviceType">serviceType</a></code> | <code><a href="#cdk8s-plus-32.ServiceType">ServiceType</a></code> | The type of the exposed service. |
| <code><a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.ingress">ingress</a></code> | <code><a href="#cdk8s-plus-32.Ingress">Ingress</a></code> | The ingress to add rules to. |
| <code><a href="#cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.pathType">pathType</a></code> | <code><a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a></code> | The type of the path. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto generated.

The name of the service to expose.

If you'd like to expose the deployment multiple times,
you must explicitly set a name starting from the second expose call.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.ports"></a>

```java
public java.util.List<ServicePort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>>
- *Default:* extracted from the deployment.

The ports that the service should bind to.

---

##### `serviceType`<sup>Optional</sup> <a name="serviceType" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.serviceType"></a>

```java
public ServiceType getServiceType();
```

- *Type:* <a href="#cdk8s-plus-32.ServiceType">ServiceType</a>
- *Default:* ClusterIP.

The type of the exposed service.

---

##### `ingress`<sup>Optional</sup> <a name="ingress" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.ingress"></a>

```java
public Ingress getIngress();
```

- *Type:* <a href="#cdk8s-plus-32.Ingress">Ingress</a>
- *Default:* An ingress will be automatically created.

The ingress to add rules to.

---

##### `pathType`<sup>Optional</sup> <a name="pathType" id="cdk8s-plus-32.ExposeDeploymentViaIngressOptions.property.pathType"></a>

```java
public HttpIngressPathType getPathType();
```

- *Type:* <a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a>
- *Default:* HttpIngressPathType.PREFIX

The type of the path.

---

### ExposeServiceViaIngressOptions <a name="ExposeServiceViaIngressOptions" id="cdk8s-plus-32.ExposeServiceViaIngressOptions"></a>

Options for exposing a service using an ingress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ExposeServiceViaIngressOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ExposeServiceViaIngressOptions;

ExposeServiceViaIngressOptions.builder()
//  .ingress(Ingress)
//  .pathType(HttpIngressPathType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ExposeServiceViaIngressOptions.property.ingress">ingress</a></code> | <code><a href="#cdk8s-plus-32.Ingress">Ingress</a></code> | The ingress to add rules to. |
| <code><a href="#cdk8s-plus-32.ExposeServiceViaIngressOptions.property.pathType">pathType</a></code> | <code><a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a></code> | The type of the path. |

---

##### `ingress`<sup>Optional</sup> <a name="ingress" id="cdk8s-plus-32.ExposeServiceViaIngressOptions.property.ingress"></a>

```java
public Ingress getIngress();
```

- *Type:* <a href="#cdk8s-plus-32.Ingress">Ingress</a>
- *Default:* An ingress will be automatically created.

The ingress to add rules to.

---

##### `pathType`<sup>Optional</sup> <a name="pathType" id="cdk8s-plus-32.ExposeServiceViaIngressOptions.property.pathType"></a>

```java
public HttpIngressPathType getPathType();
```

- *Type:* <a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a>
- *Default:* HttpIngressPathType.PREFIX

The type of the path.

---

### ExternalDocumentation <a name="ExternalDocumentation" id="cdk8s-plus-32.k8s.ExternalDocumentation"></a>

ExternalDocumentation allows referencing an external resource for extended documentation.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ExternalDocumentation.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ExternalDocumentation;

ExternalDocumentation.builder()
//  .description(java.lang.String)
//  .url(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ExternalDocumentation.property.description">description</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.ExternalDocumentation.property.url">url</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-plus-32.k8s.ExternalDocumentation.property.description"></a>

```java
public java.lang.String getDescription();
```

- *Type:* java.lang.String

---

##### `url`<sup>Optional</sup> <a name="url" id="cdk8s-plus-32.k8s.ExternalDocumentation.property.url"></a>

```java
public java.lang.String getUrl();
```

- *Type:* java.lang.String

---

### ExternalMetricSourceV2 <a name="ExternalMetricSourceV2" id="cdk8s-plus-32.k8s.ExternalMetricSourceV2"></a>

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ExternalMetricSourceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ExternalMetricSourceV2;

ExternalMetricSourceV2.builder()
    .metric(MetricIdentifierV2)
    .target(MetricTargetV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ExternalMetricSourceV2.property.metric">metric</a></code> | <code>org.cdk8s.plus32.k8s.MetricIdentifierV2</code> | metric identifies the target metric by name and selector. |
| <code><a href="#cdk8s-plus-32.k8s.ExternalMetricSourceV2.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.MetricTargetV2</code> | target specifies the target value for the given metric. |

---

##### `metric`<sup>Required</sup> <a name="metric" id="cdk8s-plus-32.k8s.ExternalMetricSourceV2.property.metric"></a>

```java
public MetricIdentifierV2 getMetric();
```

- *Type:* org.cdk8s.plus32.k8s.MetricIdentifierV2

metric identifies the target metric by name and selector.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.ExternalMetricSourceV2.property.target"></a>

```java
public MetricTargetV2 getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.MetricTargetV2

target specifies the target value for the given metric.

---

### FcVolumeSource <a name="FcVolumeSource" id="cdk8s-plus-32.k8s.FcVolumeSource"></a>

Represents a Fibre Channel volume.

Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FcVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FcVolumeSource;

FcVolumeSource.builder()
//  .fsType(java.lang.String)
//  .lun(java.lang.Number)
//  .readOnly(java.lang.Boolean)
//  .targetWwNs(java.util.List<java.lang.String>)
//  .wwids(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FcVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.FcVolumeSource.property.lun">lun</a></code> | <code>java.lang.Number</code> | lun is Optional: FC target lun number. |
| <code><a href="#cdk8s-plus-32.k8s.FcVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: Defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.FcVolumeSource.property.targetWwNs">targetWwNs</a></code> | <code>java.util.List<java.lang.String></code> | targetWWNs is Optional: FC target worldwide names (WWNs). |
| <code><a href="#cdk8s-plus-32.k8s.FcVolumeSource.property.wwids">wwids</a></code> | <code>java.util.List<java.lang.String></code> | wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. |

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.FcVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `lun`<sup>Optional</sup> <a name="lun" id="cdk8s-plus-32.k8s.FcVolumeSource.property.lun"></a>

```java
public java.lang.Number getLun();
```

- *Type:* java.lang.Number

lun is Optional: FC target lun number.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.FcVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

readOnly is Optional: Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `targetWwNs`<sup>Optional</sup> <a name="targetWwNs" id="cdk8s-plus-32.k8s.FcVolumeSource.property.targetWwNs"></a>

```java
public java.util.List<java.lang.String> getTargetWwNs();
```

- *Type:* java.util.List<java.lang.String>

targetWWNs is Optional: FC target worldwide names (WWNs).

---

##### `wwids`<sup>Optional</sup> <a name="wwids" id="cdk8s-plus-32.k8s.FcVolumeSource.property.wwids"></a>

```java
public java.util.List<java.lang.String> getWwids();
```

- *Type:* java.util.List<java.lang.String>

wwids Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.

---

### FieldSelectorAttributes <a name="FieldSelectorAttributes" id="cdk8s-plus-32.k8s.FieldSelectorAttributes"></a>

FieldSelectorAttributes indicates a field limited access.

Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FieldSelectorAttributes.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FieldSelectorAttributes;

FieldSelectorAttributes.builder()
//  .rawSelector(java.lang.String)
//  .requirements(java.util.List<FieldSelectorRequirement>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FieldSelectorAttributes.property.rawSelector">rawSelector</a></code> | <code>java.lang.String</code> | rawSelector is the serialization of a field selector that would be included in a query parameter. |
| <code><a href="#cdk8s-plus-32.k8s.FieldSelectorAttributes.property.requirements">requirements</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.FieldSelectorRequirement></code> | requirements is the parsed interpretation of a field selector. |

---

##### `rawSelector`<sup>Optional</sup> <a name="rawSelector" id="cdk8s-plus-32.k8s.FieldSelectorAttributes.property.rawSelector"></a>

```java
public java.lang.String getRawSelector();
```

- *Type:* java.lang.String

rawSelector is the serialization of a field selector that would be included in a query parameter.

Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.

---

##### `requirements`<sup>Optional</sup> <a name="requirements" id="cdk8s-plus-32.k8s.FieldSelectorAttributes.property.requirements"></a>

```java
public java.util.List<FieldSelectorRequirement> getRequirements();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.FieldSelectorRequirement>

requirements is the parsed interpretation of a field selector.

All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.

---

### FieldSelectorRequirement <a name="FieldSelectorRequirement" id="cdk8s-plus-32.k8s.FieldSelectorRequirement"></a>

FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FieldSelectorRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FieldSelectorRequirement;

FieldSelectorRequirement.builder()
    .key(java.lang.String)
    .operator(java.lang.String)
//  .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FieldSelectorRequirement.property.key">key</a></code> | <code>java.lang.String</code> | key is the field selector key that the requirement applies to. |
| <code><a href="#cdk8s-plus-32.k8s.FieldSelectorRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | operator represents a key's relationship to a set of values. |
| <code><a href="#cdk8s-plus-32.k8s.FieldSelectorRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | values is an array of string values. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.FieldSelectorRequirement.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

key is the field selector key that the requirement applies to.

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.k8s.FieldSelectorRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

operator represents a key's relationship to a set of values.

Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.k8s.FieldSelectorRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

values is an array of string values.

If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.

---

### FlexPersistentVolumeSource <a name="FlexPersistentVolumeSource" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource"></a>

FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FlexPersistentVolumeSource;

FlexPersistentVolumeSource.builder()
    .driver(java.lang.String)
//  .fsType(java.lang.String)
//  .options(java.util.Map<java.lang.String, java.lang.String>)
//  .readOnly(java.lang.Boolean)
//  .secretRef(SecretReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.driver">driver</a></code> | <code>java.lang.String</code> | driver is the name of the driver to use for this volume. |
| <code><a href="#cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the Filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.options">options</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | options is Optional: this field holds extra command options if any. |
| <code><a href="#cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

driver is the name of the driver to use for this volume.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the Filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.

---

##### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.options"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getOptions();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

options is Optional: this field holds extra command options if any.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly is Optional: defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.FlexPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.

This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

---

### FlexVolumeSource <a name="FlexVolumeSource" id="cdk8s-plus-32.k8s.FlexVolumeSource"></a>

FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FlexVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FlexVolumeSource;

FlexVolumeSource.builder()
    .driver(java.lang.String)
//  .fsType(java.lang.String)
//  .options(java.util.Map<java.lang.String, java.lang.String>)
//  .readOnly(java.lang.Boolean)
//  .secretRef(LocalObjectReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FlexVolumeSource.property.driver">driver</a></code> | <code>java.lang.String</code> | driver is the name of the driver to use for this volume. |
| <code><a href="#cdk8s-plus-32.k8s.FlexVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.FlexVolumeSource.property.options">options</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | options is Optional: this field holds extra command options if any. |
| <code><a href="#cdk8s-plus-32.k8s.FlexVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly is Optional: defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.FlexVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.FlexVolumeSource.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

driver is the name of the driver to use for this volume.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.FlexVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.

---

##### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.k8s.FlexVolumeSource.property.options"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getOptions();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

options is Optional: this field holds extra command options if any.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.FlexVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly is Optional: defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.FlexVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.

This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

---

### FlockerVolumeSource <a name="FlockerVolumeSource" id="cdk8s-plus-32.k8s.FlockerVolumeSource"></a>

Represents a Flocker volume mounted by the Flocker agent.

One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FlockerVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FlockerVolumeSource;

FlockerVolumeSource.builder()
//  .datasetName(java.lang.String)
//  .datasetUuid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FlockerVolumeSource.property.datasetName">datasetName</a></code> | <code>java.lang.String</code> | datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated. |
| <code><a href="#cdk8s-plus-32.k8s.FlockerVolumeSource.property.datasetUuid">datasetUuid</a></code> | <code>java.lang.String</code> | datasetUUID is the UUID of the dataset. |

---

##### `datasetName`<sup>Optional</sup> <a name="datasetName" id="cdk8s-plus-32.k8s.FlockerVolumeSource.property.datasetName"></a>

```java
public java.lang.String getDatasetName();
```

- *Type:* java.lang.String

datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated.

---

##### `datasetUuid`<sup>Optional</sup> <a name="datasetUuid" id="cdk8s-plus-32.k8s.FlockerVolumeSource.property.datasetUuid"></a>

```java
public java.lang.String getDatasetUuid();
```

- *Type:* java.lang.String

datasetUUID is the UUID of the dataset.

This is unique identifier of a Flocker dataset

---

### FlowDistinguisherMethod <a name="FlowDistinguisherMethod" id="cdk8s-plus-32.k8s.FlowDistinguisherMethod"></a>

FlowDistinguisherMethod specifies the method of a flow distinguisher.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FlowDistinguisherMethod.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FlowDistinguisherMethod;

FlowDistinguisherMethod.builder()
    .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FlowDistinguisherMethod.property.type">type</a></code> | <code>java.lang.String</code> | `type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace". |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.FlowDistinguisherMethod.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

`type` is the type of flow distinguisher method The supported types are "ByUser" and "ByNamespace".

Required.

---

### FlowSchemaSpec <a name="FlowSchemaSpec" id="cdk8s-plus-32.k8s.FlowSchemaSpec"></a>

FlowSchemaSpec describes how the FlowSchema's specification looks like.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.FlowSchemaSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.FlowSchemaSpec;

FlowSchemaSpec.builder()
    .priorityLevelConfiguration(PriorityLevelConfigurationReference)
//  .distinguisherMethod(FlowDistinguisherMethod)
//  .matchingPrecedence(java.lang.Number)
//  .rules(java.util.List<PolicyRulesWithSubjects>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.FlowSchemaSpec.property.priorityLevelConfiguration">priorityLevelConfiguration</a></code> | <code>org.cdk8s.plus32.k8s.PriorityLevelConfigurationReference</code> | `priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. |
| <code><a href="#cdk8s-plus-32.k8s.FlowSchemaSpec.property.distinguisherMethod">distinguisherMethod</a></code> | <code>org.cdk8s.plus32.k8s.FlowDistinguisherMethod</code> | `distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. |
| <code><a href="#cdk8s-plus-32.k8s.FlowSchemaSpec.property.matchingPrecedence">matchingPrecedence</a></code> | <code>java.lang.Number</code> | `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. |
| <code><a href="#cdk8s-plus-32.k8s.FlowSchemaSpec.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PolicyRulesWithSubjects></code> | `rules` describes which requests will match this flow schema. |

---

##### `priorityLevelConfiguration`<sup>Required</sup> <a name="priorityLevelConfiguration" id="cdk8s-plus-32.k8s.FlowSchemaSpec.property.priorityLevelConfiguration"></a>

```java
public PriorityLevelConfigurationReference getPriorityLevelConfiguration();
```

- *Type:* org.cdk8s.plus32.k8s.PriorityLevelConfigurationReference

`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster.

If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.

---

##### `distinguisherMethod`<sup>Optional</sup> <a name="distinguisherMethod" id="cdk8s-plus-32.k8s.FlowSchemaSpec.property.distinguisherMethod"></a>

```java
public FlowDistinguisherMethod getDistinguisherMethod();
```

- *Type:* org.cdk8s.plus32.k8s.FlowDistinguisherMethod

`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.

`nil` specifies that the distinguisher is disabled and thus will always be the empty string.

---

##### `matchingPrecedence`<sup>Optional</sup> <a name="matchingPrecedence" id="cdk8s-plus-32.k8s.FlowSchemaSpec.property.matchingPrecedence"></a>

```java
public java.lang.Number getMatchingPrecedence();
```

- *Type:* java.lang.Number

`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.

The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence.  Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.FlowSchemaSpec.property.rules"></a>

```java
public java.util.List<PolicyRulesWithSubjects> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PolicyRulesWithSubjects>

`rules` describes which requests will match this flow schema.

This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.

---

### ForZone <a name="ForZone" id="cdk8s-plus-32.k8s.ForZone"></a>

ForZone provides information about which zones should consume this endpoint.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ForZone.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ForZone;

ForZone.builder()
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ForZone.property.name">name</a></code> | <code>java.lang.String</code> | name represents the name of the zone. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ForZone.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name represents the name of the zone.

---

### FromServiceAccountNameOptions <a name="FromServiceAccountNameOptions" id="cdk8s-plus-32.FromServiceAccountNameOptions"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.FromServiceAccountNameOptions.Initializer"></a>

```java
import org.cdk8s.plus32.FromServiceAccountNameOptions;

FromServiceAccountNameOptions.builder()
//  .namespaceName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.FromServiceAccountNameOptions.property.namespaceName">namespaceName</a></code> | <code>java.lang.String</code> | The name of the namespace the service account belongs to. |

---

##### `namespaceName`<sup>Optional</sup> <a name="namespaceName" id="cdk8s-plus-32.FromServiceAccountNameOptions.property.namespaceName"></a>

```java
public java.lang.String getNamespaceName();
```

- *Type:* java.lang.String
- *Default:* "default"

The name of the namespace the service account belongs to.

---

### GCEPersistentDiskPersistentVolumeProps <a name="GCEPersistentDiskPersistentVolumeProps" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps"></a>

Properties for `GCEPersistentDiskPersistentVolume`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.Initializer"></a>

```java
import org.cdk8s.plus32.GCEPersistentDiskPersistentVolumeProps;

GCEPersistentDiskPersistentVolumeProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .pdName(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.pdName">pdName</a></code> | <code>java.lang.String</code> | Unique name of the PD resource in GCE. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `pdName`<sup>Required</sup> <a name="pdName" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.pdName"></a>

```java
public java.lang.String getPdName();
```

- *Type:* java.lang.String

Unique name of the PD resource in GCE.

Used to identify the disk in GCE.

> [https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk](https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk)

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.GCEPersistentDiskPersistentVolumeProps.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

### GCEPersistentDiskVolumeOptions <a name="GCEPersistentDiskVolumeOptions" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions"></a>

Options of `Volume.fromGcePersistentDisk`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.GCEPersistentDiskVolumeOptions;

GCEPersistentDiskVolumeOptions.builder()
//  .fsType(java.lang.String)
//  .name(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.fsType">fsType</a></code> | <code>java.lang.String</code> | Filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.partition">partition</a></code> | <code>java.lang.Number</code> | The partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". |

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* 'ext4'

Filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system.

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number
- *Default:* No partition.

The partition in the volume that you want to mount.

If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.GCEPersistentDiskVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".

> [https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore](https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore)

---

### GcePersistentDiskVolumeSource <a name="GcePersistentDiskVolumeSource" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource"></a>

Represents a Persistent Disk resource in Google Compute Engine.

A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GcePersistentDiskVolumeSource;

GcePersistentDiskVolumeSource.builder()
    .pdName(java.lang.String)
//  .fsType(java.lang.String)
//  .partition(java.lang.Number)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.pdName">pdName</a></code> | <code>java.lang.String</code> | pdName is unique name of the PD resource in GCE. |
| <code><a href="#cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.partition">partition</a></code> | <code>java.lang.Number</code> | partition is the partition in the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the ReadOnly setting in VolumeMounts. |

---

##### `pdName`<sup>Required</sup> <a name="pdName" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.pdName"></a>

```java
public java.lang.String getPdName();
```

- *Type:* java.lang.String

pdName is unique name of the PD resource in GCE.

Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number

partition is the partition in the volume that you want to mount.

If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.GcePersistentDiskVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

### GitRepoVolumeSource <a name="GitRepoVolumeSource" id="cdk8s-plus-32.k8s.GitRepoVolumeSource"></a>

Represents a volume that is populated with the contents of a git repository.

Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GitRepoVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GitRepoVolumeSource;

GitRepoVolumeSource.builder()
    .repository(java.lang.String)
//  .directory(java.lang.String)
//  .revision(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GitRepoVolumeSource.property.repository">repository</a></code> | <code>java.lang.String</code> | repository is the URL. |
| <code><a href="#cdk8s-plus-32.k8s.GitRepoVolumeSource.property.directory">directory</a></code> | <code>java.lang.String</code> | directory is the target directory name. |
| <code><a href="#cdk8s-plus-32.k8s.GitRepoVolumeSource.property.revision">revision</a></code> | <code>java.lang.String</code> | revision is the commit hash for the specified revision. |

---

##### `repository`<sup>Required</sup> <a name="repository" id="cdk8s-plus-32.k8s.GitRepoVolumeSource.property.repository"></a>

```java
public java.lang.String getRepository();
```

- *Type:* java.lang.String

repository is the URL.

---

##### `directory`<sup>Optional</sup> <a name="directory" id="cdk8s-plus-32.k8s.GitRepoVolumeSource.property.directory"></a>

```java
public java.lang.String getDirectory();
```

- *Type:* java.lang.String

directory is the target directory name.

Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the git repository.  Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

---

##### `revision`<sup>Optional</sup> <a name="revision" id="cdk8s-plus-32.k8s.GitRepoVolumeSource.property.revision"></a>

```java
public java.lang.String getRevision();
```

- *Type:* java.lang.String

revision is the commit hash for the specified revision.

---

### GlusterfsPersistentVolumeSource <a name="GlusterfsPersistentVolumeSource" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource"></a>

Represents a Glusterfs mount that lasts the lifetime of a pod.

Glusterfs volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GlusterfsPersistentVolumeSource;

GlusterfsPersistentVolumeSource.builder()
    .endpoints(java.lang.String)
    .path(java.lang.String)
//  .endpointsNamespace(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.endpoints">endpoints</a></code> | <code>java.lang.String</code> | endpoints is the endpoint name that details Glusterfs topology. |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path is the Glusterfs volume path. |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.endpointsNamespace">endpointsNamespace</a></code> | <code>java.lang.String</code> | endpointsNamespace is the namespace that contains Glusterfs endpoint. |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the Glusterfs volume to be mounted with read-only permissions. |

---

##### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.endpoints"></a>

```java
public java.lang.String getEndpoints();
```

- *Type:* java.lang.String

endpoints is the endpoint name that details Glusterfs topology.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is the Glusterfs volume path.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

##### `endpointsNamespace`<sup>Optional</sup> <a name="endpointsNamespace" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.endpointsNamespace"></a>

```java
public java.lang.String getEndpointsNamespace();
```

- *Type:* java.lang.String

endpointsNamespace is the namespace that contains Glusterfs endpoint.

If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.GlusterfsPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

readOnly here will force the Glusterfs volume to be mounted with read-only permissions.

Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

### GlusterfsVolumeSource <a name="GlusterfsVolumeSource" id="cdk8s-plus-32.k8s.GlusterfsVolumeSource"></a>

Represents a Glusterfs mount that lasts the lifetime of a pod.

Glusterfs volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GlusterfsVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GlusterfsVolumeSource;

GlusterfsVolumeSource.builder()
    .endpoints(java.lang.String)
    .path(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.endpoints">endpoints</a></code> | <code>java.lang.String</code> | endpoints is the endpoint name that details Glusterfs topology. |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path is the Glusterfs volume path. |
| <code><a href="#cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the Glusterfs volume to be mounted with read-only permissions. |

---

##### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.endpoints"></a>

```java
public java.lang.String getEndpoints();
```

- *Type:* java.lang.String

endpoints is the endpoint name that details Glusterfs topology.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is the Glusterfs volume path.

More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.GlusterfsVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

readOnly here will force the Glusterfs volume to be mounted with read-only permissions.

Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

---

### GroupVersionResourceV1Alpha1 <a name="GroupVersionResourceV1Alpha1" id="cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1"></a>

The names of the group, the version, and the resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GroupVersionResourceV1Alpha1;

GroupVersionResourceV1Alpha1.builder()
//  .group(java.lang.String)
//  .resource(java.lang.String)
//  .version(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.group">group</a></code> | <code>java.lang.String</code> | The name of the group. |
| <code><a href="#cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.resource">resource</a></code> | <code>java.lang.String</code> | The name of the resource. |
| <code><a href="#cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.version">version</a></code> | <code>java.lang.String</code> | The name of the version. |

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

The name of the group.

---

##### `resource`<sup>Optional</sup> <a name="resource" id="cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.resource"></a>

```java
public java.lang.String getResource();
```

- *Type:* java.lang.String

The name of the resource.

---

##### `version`<sup>Optional</sup> <a name="version" id="cdk8s-plus-32.k8s.GroupVersionResourceV1Alpha1.property.version"></a>

```java
public java.lang.String getVersion();
```

- *Type:* java.lang.String

The name of the version.

---

### GrpcAction <a name="GrpcAction" id="cdk8s-plus-32.k8s.GrpcAction"></a>

GRPCAction specifies an action involving a GRPC service.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.GrpcAction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.GrpcAction;

GrpcAction.builder()
    .port(java.lang.Number)
//  .service(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.GrpcAction.property.port">port</a></code> | <code>java.lang.Number</code> | Port number of the gRPC service. |
| <code><a href="#cdk8s-plus-32.k8s.GrpcAction.property.service">service</a></code> | <code>java.lang.String</code> | Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). |

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.k8s.GrpcAction.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

Port number of the gRPC service.

Number must be in the range 1 to 65535.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.k8s.GrpcAction.property.service"></a>

```java
public java.lang.String getService();
```

- *Type:* java.lang.String

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.

---

### GrpcProbeOptions <a name="GrpcProbeOptions" id="cdk8s-plus-32.GrpcProbeOptions"></a>

Options for `Probe.fromGrpc()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.GrpcProbeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.GrpcProbeOptions;

GrpcProbeOptions.builder()
//  .failureThreshold(java.lang.Number)
//  .initialDelaySeconds(Duration)
//  .periodSeconds(Duration)
//  .successThreshold(java.lang.Number)
//  .timeoutSeconds(Duration)
//  .port(java.lang.Number)
//  .service(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.periodSeconds">periodSeconds</a></code> | <code>org.cdk8s.Duration</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.timeoutSeconds">timeoutSeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after which the probe times out. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The TCP port to connect to on the container. |
| <code><a href="#cdk8s-plus-32.GrpcProbeOptions.property.service">service</a></code> | <code>java.lang.String</code> | Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). |

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.GrpcProbeOptions.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.GrpcProbeOptions.property.initialDelaySeconds"></a>

```java
public Duration getInitialDelaySeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* immediate

Number of seconds after the container has started before liveness probes are initiated.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.GrpcProbeOptions.property.periodSeconds"></a>

```java
public Duration getPeriodSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10) Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.GrpcProbeOptions.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

Must be 1 for liveness and startup. Minimum value is 1.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.GrpcProbeOptions.property.timeoutSeconds"></a>

```java
public Duration getTimeoutSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(1)

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.GrpcProbeOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* defaults to `container.port`.

The TCP port to connect to on the container.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.GrpcProbeOptions.property.service"></a>

```java
public java.lang.String getService();
```

- *Type:* java.lang.String
- *Default:* If this is not specified, the default behavior is defined by gRPC.

Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

---

### HandlerFromHttpGetOptions <a name="HandlerFromHttpGetOptions" id="cdk8s-plus-32.HandlerFromHttpGetOptions"></a>

Options for `Handler.fromHttpGet`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HandlerFromHttpGetOptions.Initializer"></a>

```java
import org.cdk8s.plus32.HandlerFromHttpGetOptions;

HandlerFromHttpGetOptions.builder()
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HandlerFromHttpGetOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The TCP port to use when sending the GET request. |

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.HandlerFromHttpGetOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* defaults to `container.port`.

The TCP port to use when sending the GET request.

---

### HandlerFromTcpSocketOptions <a name="HandlerFromTcpSocketOptions" id="cdk8s-plus-32.HandlerFromTcpSocketOptions"></a>

Options for `Handler.fromTcpSocket`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HandlerFromTcpSocketOptions.Initializer"></a>

```java
import org.cdk8s.plus32.HandlerFromTcpSocketOptions;

HandlerFromTcpSocketOptions.builder()
//  .host(java.lang.String)
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HandlerFromTcpSocketOptions.property.host">host</a></code> | <code>java.lang.String</code> | The host name to connect to on the container. |
| <code><a href="#cdk8s-plus-32.HandlerFromTcpSocketOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The TCP port to connect to on the container. |

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.HandlerFromTcpSocketOptions.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String
- *Default:* defaults to the pod IP

The host name to connect to on the container.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.HandlerFromTcpSocketOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* defaults to `container.port`.

The TCP port to connect to on the container.

---

### HorizontalPodAutoscalerBehaviorV2 <a name="HorizontalPodAutoscalerBehaviorV2" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2"></a>

HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HorizontalPodAutoscalerBehaviorV2;

HorizontalPodAutoscalerBehaviorV2.builder()
//  .scaleDown(HpaScalingRulesV2)
//  .scaleUp(HpaScalingRulesV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2.property.scaleDown">scaleDown</a></code> | <code>org.cdk8s.plus32.k8s.HpaScalingRulesV2</code> | scaleDown is scaling policy for scaling Down. |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2.property.scaleUp">scaleUp</a></code> | <code>org.cdk8s.plus32.k8s.HpaScalingRulesV2</code> | scaleUp is scaling policy for scaling Up. |

---

##### `scaleDown`<sup>Optional</sup> <a name="scaleDown" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2.property.scaleDown"></a>

```java
public HpaScalingRulesV2 getScaleDown();
```

- *Type:* org.cdk8s.plus32.k8s.HpaScalingRulesV2

scaleDown is scaling policy for scaling Down.

If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).

---

##### `scaleUp`<sup>Optional</sup> <a name="scaleUp" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerBehaviorV2.property.scaleUp"></a>

```java
public HpaScalingRulesV2 getScaleUp();
```

- *Type:* org.cdk8s.plus32.k8s.HpaScalingRulesV2

scaleUp is scaling policy for scaling Up.

If not set, the default value is the higher of:

* increase no more than 4 pods per 60 seconds
* double the number of pods per 60 seconds
  No stabilization is used.

---

### HorizontalPodAutoscalerProps <a name="HorizontalPodAutoscalerProps" id="cdk8s-plus-32.HorizontalPodAutoscalerProps"></a>

Properties for HorizontalPodAutoscaler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.Initializer"></a>

```java
import org.cdk8s.plus32.HorizontalPodAutoscalerProps;

HorizontalPodAutoscalerProps.builder()
//  .metadata(ApiObjectMetadata)
    .maxReplicas(java.lang.Number)
    .target(IScalable)
//  .metrics(java.util.List<Metric>)
//  .minReplicas(java.lang.Number)
//  .scaleDown(ScalingRules)
//  .scaleUp(ScalingRules)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.maxReplicas">maxReplicas</a></code> | <code>java.lang.Number</code> | The maximum number of replicas that can be scaled up to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.target">target</a></code> | <code><a href="#cdk8s-plus-32.IScalable">IScalable</a></code> | The workload to scale up or down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.metrics">metrics</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>></code> | The metric conditions that trigger a scale up or scale down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.minReplicas">minReplicas</a></code> | <code>java.lang.Number</code> | The minimum number of replicas that can be scaled down to. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.scaleDown">scaleDown</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling down. |
| <code><a href="#cdk8s-plus-32.HorizontalPodAutoscalerProps.property.scaleUp">scaleUp</a></code> | <code><a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a></code> | The scaling behavior when scaling up. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `maxReplicas`<sup>Required</sup> <a name="maxReplicas" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.maxReplicas"></a>

```java
public java.lang.Number getMaxReplicas();
```

- *Type:* java.lang.Number

The maximum number of replicas that can be scaled up to.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.target"></a>

```java
public IScalable getTarget();
```

- *Type:* <a href="#cdk8s-plus-32.IScalable">IScalable</a>

The workload to scale up or down.

Scalable workload types:

* Deployment
* StatefulSet

---

##### `metrics`<sup>Optional</sup> <a name="metrics" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.metrics"></a>

```java
public java.util.List<Metric> getMetrics();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Metric">Metric</a>>
- *Default:* If metrics are not provided, then the target resource constraints (e.g. cpu limit) will be used as scaling metrics.

The metric conditions that trigger a scale up or scale down.

---

##### `minReplicas`<sup>Optional</sup> <a name="minReplicas" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.minReplicas"></a>

```java
public java.lang.Number getMinReplicas();
```

- *Type:* java.lang.Number
- *Default:* 1

The minimum number of replicas that can be scaled down to.

Can be set to 0 if the alpha feature gate `HPAScaleToZero` is enabled and
at least one Object or External metric is configured.

---

##### `scaleDown`<sup>Optional</sup> <a name="scaleDown" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.scaleDown"></a>

```java
public ScalingRules getScaleDown();
```

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>
- *Default:* Scale down to minReplica count with a 5 minute stabilization window.

The scaling behavior when scaling down.

---

##### `scaleUp`<sup>Optional</sup> <a name="scaleUp" id="cdk8s-plus-32.HorizontalPodAutoscalerProps.property.scaleUp"></a>

```java
public ScalingRules getScaleUp();
```

- *Type:* <a href="#cdk8s-plus-32.ScalingRules">ScalingRules</a>
- *Default:* Is the higher of: * Increase no more than 4 pods per 60 seconds * Double the number of pods per 60 seconds

The scaling behavior when scaling up.

---

### HorizontalPodAutoscalerSpec <a name="HorizontalPodAutoscalerSpec" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec"></a>

specification of a horizontal pod autoscaler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpec;

HorizontalPodAutoscalerSpec.builder()
    .maxReplicas(java.lang.Number)
    .scaleTargetRef(CrossVersionObjectReference)
//  .minReplicas(java.lang.Number)
//  .targetCpuUtilizationPercentage(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.maxReplicas">maxReplicas</a></code> | <code>java.lang.Number</code> | maxReplicas is the upper limit for the number of pods that can be set by the autoscaler; |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.scaleTargetRef">scaleTargetRef</a></code> | <code>org.cdk8s.plus32.k8s.CrossVersionObjectReference</code> | reference to scaled resource; |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.minReplicas">minReplicas</a></code> | <code>java.lang.Number</code> | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.targetCpuUtilizationPercentage">targetCpuUtilizationPercentage</a></code> | <code>java.lang.Number</code> | targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods; |

---

##### `maxReplicas`<sup>Required</sup> <a name="maxReplicas" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.maxReplicas"></a>

```java
public java.lang.Number getMaxReplicas();
```

- *Type:* java.lang.Number

maxReplicas is the upper limit for the number of pods that can be set by the autoscaler;

cannot be smaller than MinReplicas.

---

##### `scaleTargetRef`<sup>Required</sup> <a name="scaleTargetRef" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.scaleTargetRef"></a>

```java
public CrossVersionObjectReference getScaleTargetRef();
```

- *Type:* org.cdk8s.plus32.k8s.CrossVersionObjectReference

reference to scaled resource;

horizontal pod autoscaler will learn the current resource consumption and will set the desired number of pods by using its Scale subresource.

---

##### `minReplicas`<sup>Optional</sup> <a name="minReplicas" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.minReplicas"></a>

```java
public java.lang.Number getMinReplicas();
```

- *Type:* java.lang.Number

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.

It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.

---

##### `targetCpuUtilizationPercentage`<sup>Optional</sup> <a name="targetCpuUtilizationPercentage" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpec.property.targetCpuUtilizationPercentage"></a>

```java
public java.lang.Number getTargetCpuUtilizationPercentage();
```

- *Type:* java.lang.Number

targetCPUUtilizationPercentage is the target average CPU utilization (represented as a percentage of requested CPU) over all the pods;

if not specified the default autoscaling policy will be used.

---

### HorizontalPodAutoscalerSpecV2 <a name="HorizontalPodAutoscalerSpecV2" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2"></a>

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpecV2;

HorizontalPodAutoscalerSpecV2.builder()
    .maxReplicas(java.lang.Number)
    .scaleTargetRef(CrossVersionObjectReferenceV2)
//  .behavior(HorizontalPodAutoscalerBehaviorV2)
//  .metrics(java.util.List<MetricSpecV2>)
//  .minReplicas(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.maxReplicas">maxReplicas</a></code> | <code>java.lang.Number</code> | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.scaleTargetRef">scaleTargetRef</a></code> | <code>org.cdk8s.plus32.k8s.CrossVersionObjectReferenceV2</code> | scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.behavior">behavior</a></code> | <code>org.cdk8s.plus32.k8s.HorizontalPodAutoscalerBehaviorV2</code> | behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.metrics">metrics</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MetricSpecV2></code> | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). |
| <code><a href="#cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.minReplicas">minReplicas</a></code> | <code>java.lang.Number</code> | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. |

---

##### `maxReplicas`<sup>Required</sup> <a name="maxReplicas" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.maxReplicas"></a>

```java
public java.lang.Number getMaxReplicas();
```

- *Type:* java.lang.Number

maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up.

It cannot be less that minReplicas.

---

##### `scaleTargetRef`<sup>Required</sup> <a name="scaleTargetRef" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.scaleTargetRef"></a>

```java
public CrossVersionObjectReferenceV2 getScaleTargetRef();
```

- *Type:* org.cdk8s.plus32.k8s.CrossVersionObjectReferenceV2

scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

---

##### `behavior`<sup>Optional</sup> <a name="behavior" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.behavior"></a>

```java
public HorizontalPodAutoscalerBehaviorV2 getBehavior();
```

- *Type:* org.cdk8s.plus32.k8s.HorizontalPodAutoscalerBehaviorV2

behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

If not set, the default HPAScalingRules for scale up and scale down are used.

---

##### `metrics`<sup>Optional</sup> <a name="metrics" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.metrics"></a>

```java
public java.util.List<MetricSpecV2> getMetrics();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MetricSpecV2>

metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).

The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.

---

##### `minReplicas`<sup>Optional</sup> <a name="minReplicas" id="cdk8s-plus-32.k8s.HorizontalPodAutoscalerSpecV2.property.minReplicas"></a>

```java
public java.lang.Number getMinReplicas();
```

- *Type:* java.lang.Number

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.

It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.

---

### HostAlias <a name="HostAlias" id="cdk8s-plus-32.HostAlias"></a>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's /etc/hosts file.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HostAlias.Initializer"></a>

```java
import org.cdk8s.plus32.HostAlias;

HostAlias.builder()
    .hostnames(java.util.List<java.lang.String>)
    .ip(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HostAlias.property.hostnames">hostnames</a></code> | <code>java.util.List<java.lang.String></code> | Hostnames for the chosen IP address. |
| <code><a href="#cdk8s-plus-32.HostAlias.property.ip">ip</a></code> | <code>java.lang.String</code> | IP address of the host file entry. |

---

##### `hostnames`<sup>Required</sup> <a name="hostnames" id="cdk8s-plus-32.HostAlias.property.hostnames"></a>

```java
public java.util.List<java.lang.String> getHostnames();
```

- *Type:* java.util.List<java.lang.String>

Hostnames for the chosen IP address.

---

##### `ip`<sup>Required</sup> <a name="ip" id="cdk8s-plus-32.HostAlias.property.ip"></a>

```java
public java.lang.String getIp();
```

- *Type:* java.lang.String

IP address of the host file entry.

---

### HostAlias <a name="HostAlias" id="cdk8s-plus-32.k8s.HostAlias"></a>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HostAlias.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HostAlias;

HostAlias.builder()
    .ip(java.lang.String)
//  .hostnames(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HostAlias.property.ip">ip</a></code> | <code>java.lang.String</code> | IP address of the host file entry. |
| <code><a href="#cdk8s-plus-32.k8s.HostAlias.property.hostnames">hostnames</a></code> | <code>java.util.List<java.lang.String></code> | Hostnames for the above IP address. |

---

##### `ip`<sup>Required</sup> <a name="ip" id="cdk8s-plus-32.k8s.HostAlias.property.ip"></a>

```java
public java.lang.String getIp();
```

- *Type:* java.lang.String

IP address of the host file entry.

---

##### `hostnames`<sup>Optional</sup> <a name="hostnames" id="cdk8s-plus-32.k8s.HostAlias.property.hostnames"></a>

```java
public java.util.List<java.lang.String> getHostnames();
```

- *Type:* java.util.List<java.lang.String>

Hostnames for the above IP address.

---

### HostPathVolumeOptions <a name="HostPathVolumeOptions" id="cdk8s-plus-32.HostPathVolumeOptions"></a>

Options for a HostPathVolume-based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HostPathVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.HostPathVolumeOptions;

HostPathVolumeOptions.builder()
    .path(java.lang.String)
//  .type(HostPathVolumeType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HostPathVolumeOptions.property.path">path</a></code> | <code>java.lang.String</code> | The path of the directory on the host. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeOptions.property.type">type</a></code> | <code><a href="#cdk8s-plus-32.HostPathVolumeType">HostPathVolumeType</a></code> | The expected type of the path found on the host. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.HostPathVolumeOptions.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

The path of the directory on the host.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.HostPathVolumeOptions.property.type"></a>

```java
public HostPathVolumeType getType();
```

- *Type:* <a href="#cdk8s-plus-32.HostPathVolumeType">HostPathVolumeType</a>
- *Default:* HostPathVolumeType.DEFAULT

The expected type of the path found on the host.

---

### HostPathVolumeSource <a name="HostPathVolumeSource" id="cdk8s-plus-32.k8s.HostPathVolumeSource"></a>

Represents a host path mapped into a pod.

Host path volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HostPathVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HostPathVolumeSource;

HostPathVolumeSource.builder()
    .path(java.lang.String)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HostPathVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path of the directory on the host. |
| <code><a href="#cdk8s-plus-32.k8s.HostPathVolumeSource.property.type">type</a></code> | <code>java.lang.String</code> | type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.HostPathVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path of the directory on the host.

If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.HostPathVolumeSource.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.

---

### HpaScalingPolicyV2 <a name="HpaScalingPolicyV2" id="cdk8s-plus-32.k8s.HpaScalingPolicyV2"></a>

HPAScalingPolicy is a single policy which must hold true for a specified past interval.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HpaScalingPolicyV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HpaScalingPolicyV2;

HpaScalingPolicyV2.builder()
    .periodSeconds(java.lang.Number)
    .type(java.lang.String)
    .value(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.periodSeconds">periodSeconds</a></code> | <code>java.lang.Number</code> | periodSeconds specifies the window of time for which the policy should hold true. |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.type">type</a></code> | <code>java.lang.String</code> | type is used to specify the scaling policy. |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.value">value</a></code> | <code>java.lang.Number</code> | value contains the amount of change which is permitted by the policy. |

---

##### `periodSeconds`<sup>Required</sup> <a name="periodSeconds" id="cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.periodSeconds"></a>

```java
public java.lang.Number getPeriodSeconds();
```

- *Type:* java.lang.Number

periodSeconds specifies the window of time for which the policy should hold true.

PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type is used to specify the scaling policy.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.HpaScalingPolicyV2.property.value"></a>

```java
public java.lang.Number getValue();
```

- *Type:* java.lang.Number

value contains the amount of change which is permitted by the policy.

It must be greater than zero

---

### HpaScalingRulesV2 <a name="HpaScalingRulesV2" id="cdk8s-plus-32.k8s.HpaScalingRulesV2"></a>

HPAScalingRules configures the scaling behavior for one direction.

These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HpaScalingRulesV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HpaScalingRulesV2;

HpaScalingRulesV2.builder()
//  .policies(java.util.List<HpaScalingPolicyV2>)
//  .selectPolicy(java.lang.String)
//  .stabilizationWindowSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingRulesV2.property.policies">policies</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.HpaScalingPolicyV2></code> | policies is a list of potential scaling polices which can be used during scaling. |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingRulesV2.property.selectPolicy">selectPolicy</a></code> | <code>java.lang.String</code> | selectPolicy is used to specify which policy should be used. |
| <code><a href="#cdk8s-plus-32.k8s.HpaScalingRulesV2.property.stabilizationWindowSeconds">stabilizationWindowSeconds</a></code> | <code>java.lang.Number</code> | stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. |

---

##### `policies`<sup>Optional</sup> <a name="policies" id="cdk8s-plus-32.k8s.HpaScalingRulesV2.property.policies"></a>

```java
public java.util.List<HpaScalingPolicyV2> getPolicies();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.HpaScalingPolicyV2>

policies is a list of potential scaling polices which can be used during scaling.

At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid

---

##### `selectPolicy`<sup>Optional</sup> <a name="selectPolicy" id="cdk8s-plus-32.k8s.HpaScalingRulesV2.property.selectPolicy"></a>

```java
public java.lang.String getSelectPolicy();
```

- *Type:* java.lang.String

selectPolicy is used to specify which policy should be used.

If not set, the default value Max is used.

---

##### `stabilizationWindowSeconds`<sup>Optional</sup> <a name="stabilizationWindowSeconds" id="cdk8s-plus-32.k8s.HpaScalingRulesV2.property.stabilizationWindowSeconds"></a>

```java
public java.lang.Number getStabilizationWindowSeconds();
```

- *Type:* java.lang.Number

stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down.

StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).

---

### HttpGetAction <a name="HttpGetAction" id="cdk8s-plus-32.k8s.HttpGetAction"></a>

HTTPGetAction describes an action based on HTTP Get requests.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HttpGetAction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HttpGetAction;

HttpGetAction.builder()
    .port(IntOrString)
//  .host(java.lang.String)
//  .httpHeaders(java.util.List<HttpHeader>)
//  .path(java.lang.String)
//  .scheme(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HttpGetAction.property.port">port</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | Name or number of the port to access on the container. |
| <code><a href="#cdk8s-plus-32.k8s.HttpGetAction.property.host">host</a></code> | <code>java.lang.String</code> | Host name to connect to, defaults to the pod IP. |
| <code><a href="#cdk8s-plus-32.k8s.HttpGetAction.property.httpHeaders">httpHeaders</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.HttpHeader></code> | Custom headers to set in the request. |
| <code><a href="#cdk8s-plus-32.k8s.HttpGetAction.property.path">path</a></code> | <code>java.lang.String</code> | Path to access on the HTTP server. |
| <code><a href="#cdk8s-plus-32.k8s.HttpGetAction.property.scheme">scheme</a></code> | <code>java.lang.String</code> | Scheme to use for connecting to the host. |

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.k8s.HttpGetAction.property.port"></a>

```java
public IntOrString getPort();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

Name or number of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.k8s.HttpGetAction.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String

Host name to connect to, defaults to the pod IP.

You probably want to set "Host" in httpHeaders instead.

---

##### `httpHeaders`<sup>Optional</sup> <a name="httpHeaders" id="cdk8s-plus-32.k8s.HttpGetAction.property.httpHeaders"></a>

```java
public java.util.List<HttpHeader> getHttpHeaders();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.HttpHeader>

Custom headers to set in the request.

HTTP allows repeated headers.

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.HttpGetAction.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Path to access on the HTTP server.

---

##### `scheme`<sup>Optional</sup> <a name="scheme" id="cdk8s-plus-32.k8s.HttpGetAction.property.scheme"></a>

```java
public java.lang.String getScheme();
```

- *Type:* java.lang.String
- *Default:* HTTP.

Scheme to use for connecting to the host.

Defaults to HTTP.

---

### HttpGetProbeOptions <a name="HttpGetProbeOptions" id="cdk8s-plus-32.HttpGetProbeOptions"></a>

Options for `Probe.fromHttpGet()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HttpGetProbeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.HttpGetProbeOptions;

HttpGetProbeOptions.builder()
//  .failureThreshold(java.lang.Number)
//  .initialDelaySeconds(Duration)
//  .periodSeconds(Duration)
//  .successThreshold(java.lang.Number)
//  .timeoutSeconds(Duration)
//  .host(java.lang.String)
//  .httpHeaders(java.util.List<HttpHeader>)
//  .port(java.lang.Number)
//  .scheme(ConnectionScheme)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.periodSeconds">periodSeconds</a></code> | <code>org.cdk8s.Duration</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.timeoutSeconds">timeoutSeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after which the probe times out. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.host">host</a></code> | <code>java.lang.String</code> | The host name to connect to on the container. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.httpHeaders">httpHeaders</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HttpHeader">HttpHeader</a>></code> | Custom HTTP headers to set in the probe request. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The TCP port to use when sending the GET request. |
| <code><a href="#cdk8s-plus-32.HttpGetProbeOptions.property.scheme">scheme</a></code> | <code><a href="#cdk8s-plus-32.ConnectionScheme">ConnectionScheme</a></code> | Scheme to use for connecting to the host (HTTP or HTTPS). |

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.HttpGetProbeOptions.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.HttpGetProbeOptions.property.initialDelaySeconds"></a>

```java
public Duration getInitialDelaySeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* immediate

Number of seconds after the container has started before liveness probes are initiated.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.HttpGetProbeOptions.property.periodSeconds"></a>

```java
public Duration getPeriodSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10) Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.HttpGetProbeOptions.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

Must be 1 for liveness and startup. Minimum value is 1.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.HttpGetProbeOptions.property.timeoutSeconds"></a>

```java
public Duration getTimeoutSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(1)

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.HttpGetProbeOptions.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String
- *Default:* defaults to the pod IP

The host name to connect to on the container.

---

##### `httpHeaders`<sup>Optional</sup> <a name="httpHeaders" id="cdk8s-plus-32.HttpGetProbeOptions.property.httpHeaders"></a>

```java
public java.util.List<HttpHeader> getHttpHeaders();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HttpHeader">HttpHeader</a>>
- *Default:* no custom headers are set

Custom HTTP headers to set in the probe request.

Note that HTTP allows repeated headers.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.HttpGetProbeOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* defaults to `container.port`.

The TCP port to use when sending the GET request.

---

##### `scheme`<sup>Optional</sup> <a name="scheme" id="cdk8s-plus-32.HttpGetProbeOptions.property.scheme"></a>

```java
public ConnectionScheme getScheme();
```

- *Type:* <a href="#cdk8s-plus-32.ConnectionScheme">ConnectionScheme</a>
- *Default:* ConnectionScheme.HTTP

Scheme to use for connecting to the host (HTTP or HTTPS).

---

### HttpHeader <a name="HttpHeader" id="cdk8s-plus-32.HttpHeader"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.HttpHeader.Initializer"></a>

```java
import org.cdk8s.plus32.HttpHeader;

HttpHeader.builder()
    .name(java.lang.String)
    .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.HttpHeader.property.name">name</a></code> | <code>java.lang.String</code> | The HTTP Header name to be used. |
| <code><a href="#cdk8s-plus-32.HttpHeader.property.value">value</a></code> | <code>java.lang.String</code> | The HTTP header value to be set. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.HttpHeader.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The HTTP Header name to be used.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.HttpHeader.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

The HTTP header value to be set.

---

### HttpHeader <a name="HttpHeader" id="cdk8s-plus-32.k8s.HttpHeader"></a>

HTTPHeader describes a custom header to be used in HTTP probes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HttpHeader.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HttpHeader;

HttpHeader.builder()
    .name(java.lang.String)
    .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HttpHeader.property.name">name</a></code> | <code>java.lang.String</code> | The header field name. |
| <code><a href="#cdk8s-plus-32.k8s.HttpHeader.property.value">value</a></code> | <code>java.lang.String</code> | The header field value. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.HttpHeader.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The header field name.

This will be canonicalized upon output, so case-variant names will be understood as the same header.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.HttpHeader.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

The header field value.

---

### HttpIngressPath <a name="HttpIngressPath" id="cdk8s-plus-32.k8s.HttpIngressPath"></a>

HTTPIngressPath associates a path with a backend.

Incoming urls matching the path are forwarded to the backend.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HttpIngressPath.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HttpIngressPath;

HttpIngressPath.builder()
    .backend(IngressBackend)
    .pathType(java.lang.String)
//  .path(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HttpIngressPath.property.backend">backend</a></code> | <code>org.cdk8s.plus32.k8s.IngressBackend</code> | backend defines the referenced service endpoint to which the traffic will be forwarded to. |
| <code><a href="#cdk8s-plus-32.k8s.HttpIngressPath.property.pathType">pathType</a></code> | <code>java.lang.String</code> | pathType determines the interpretation of the path matching. |
| <code><a href="#cdk8s-plus-32.k8s.HttpIngressPath.property.path">path</a></code> | <code>java.lang.String</code> | path is matched against the path of an incoming request. |

---

##### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.k8s.HttpIngressPath.property.backend"></a>

```java
public IngressBackend getBackend();
```

- *Type:* org.cdk8s.plus32.k8s.IngressBackend

backend defines the referenced service endpoint to which the traffic will be forwarded to.

---

##### `pathType`<sup>Required</sup> <a name="pathType" id="cdk8s-plus-32.k8s.HttpIngressPath.property.pathType"></a>

```java
public java.lang.String getPathType();
```

- *Type:* java.lang.String

pathType determines the interpretation of the path matching.

PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
done on a path element by element basis. A path element refers is the
list of labels in the path split by the '/' separator. A request is a
match for path p if every p is an element-wise prefix of p of the
request path. Note that if the last element of the path is a substring
of the last element in request path, it is not a match (e.g. /foo/bar
matches /foo/bar/baz, but does not match /foo/barbaz).

* ImplementationSpecific: Interpretation of the Path matching is up to
  the IngressClass. Implementations can treat this as a separate PathType
  or treat it identically to Prefix or Exact path types.
  Implementations are required to support all path types.

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.HttpIngressPath.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is matched against the path of an incoming request.

Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value "Exact" or "Prefix".

---

### HttpIngressRuleValue <a name="HttpIngressRuleValue" id="cdk8s-plus-32.k8s.HttpIngressRuleValue"></a>

HTTPIngressRuleValue is a list of http selectors pointing to backends.

In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.HttpIngressRuleValue.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.HttpIngressRuleValue;

HttpIngressRuleValue.builder()
    .paths(java.util.List<HttpIngressPath>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.HttpIngressRuleValue.property.paths">paths</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.HttpIngressPath></code> | paths is a collection of paths that map requests to backends. |

---

##### `paths`<sup>Required</sup> <a name="paths" id="cdk8s-plus-32.k8s.HttpIngressRuleValue.property.paths"></a>

```java
public java.util.List<HttpIngressPath> getPaths();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.HttpIngressPath>

paths is a collection of paths that map requests to backends.

---

### ImageVolumeSource <a name="ImageVolumeSource" id="cdk8s-plus-32.k8s.ImageVolumeSource"></a>

ImageVolumeSource represents a image volume resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ImageVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ImageVolumeSource;

ImageVolumeSource.builder()
//  .pullPolicy(java.lang.String)
//  .reference(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ImageVolumeSource.property.pullPolicy">pullPolicy</a></code> | <code>java.lang.String</code> | Policy for pulling OCI objects. |
| <code><a href="#cdk8s-plus-32.k8s.ImageVolumeSource.property.reference">reference</a></code> | <code>java.lang.String</code> | Required: Image or artifact reference to be used. |

---

##### `pullPolicy`<sup>Optional</sup> <a name="pullPolicy" id="cdk8s-plus-32.k8s.ImageVolumeSource.property.pullPolicy"></a>

```java
public java.lang.String getPullPolicy();
```

- *Type:* java.lang.String
- *Default:* Always if :latest tag is specified, or IfNotPresent otherwise.

Policy for pulling OCI objects.

Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.

---

##### `reference`<sup>Optional</sup> <a name="reference" id="cdk8s-plus-32.k8s.ImageVolumeSource.property.reference"></a>

```java
public java.lang.String getReference();
```

- *Type:* java.lang.String

Required: Image or artifact reference to be used.

Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.

---

### IngressBackend <a name="IngressBackend" id="cdk8s-plus-32.k8s.IngressBackend"></a>

IngressBackend describes all endpoints for a given service and port.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressBackend.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressBackend;

IngressBackend.builder()
//  .resource(TypedLocalObjectReference)
//  .service(IngressServiceBackend)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressBackend.property.resource">resource</a></code> | <code>org.cdk8s.plus32.k8s.TypedLocalObjectReference</code> | resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. |
| <code><a href="#cdk8s-plus-32.k8s.IngressBackend.property.service">service</a></code> | <code>org.cdk8s.plus32.k8s.IngressServiceBackend</code> | service references a service as a backend. |

---

##### `resource`<sup>Optional</sup> <a name="resource" id="cdk8s-plus-32.k8s.IngressBackend.property.resource"></a>

```java
public TypedLocalObjectReference getResource();
```

- *Type:* org.cdk8s.plus32.k8s.TypedLocalObjectReference

resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object.

If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.k8s.IngressBackend.property.service"></a>

```java
public IngressServiceBackend getService();
```

- *Type:* org.cdk8s.plus32.k8s.IngressServiceBackend

service references a service as a backend.

This is a mutually exclusive setting with "Resource".

---

### IngressClassParametersReference <a name="IngressClassParametersReference" id="cdk8s-plus-32.k8s.IngressClassParametersReference"></a>

IngressClassParametersReference identifies an API object.

This can be used to specify a cluster or namespace-scoped resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressClassParametersReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressClassParametersReference;

IngressClassParametersReference.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiGroup(java.lang.String)
//  .namespace(java.lang.String)
//  .scope(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassParametersReference.property.kind">kind</a></code> | <code>java.lang.String</code> | kind is the type of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassParametersReference.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassParametersReference.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | apiGroup is the group for the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassParametersReference.property.namespace">namespace</a></code> | <code>java.lang.String</code> | namespace is the namespace of the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassParametersReference.property.scope">scope</a></code> | <code>java.lang.String</code> | scope represents if this refers to a cluster or namespace scoped resource. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.IngressClassParametersReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

kind is the type of resource being referenced.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.IngressClassParametersReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of resource being referenced.

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.IngressClassParametersReference.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

apiGroup is the group for the resource being referenced.

If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.IngressClassParametersReference.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

namespace is the namespace of the resource being referenced.

This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".

---

##### `scope`<sup>Optional</sup> <a name="scope" id="cdk8s-plus-32.k8s.IngressClassParametersReference.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String

scope represents if this refers to a cluster or namespace scoped resource.

This may be set to "Cluster" (default) or "Namespace".

---

### IngressClassSpec <a name="IngressClassSpec" id="cdk8s-plus-32.k8s.IngressClassSpec"></a>

IngressClassSpec provides information about the class of an Ingress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressClassSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressClassSpec;

IngressClassSpec.builder()
//  .controller(java.lang.String)
//  .parameters(IngressClassParametersReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassSpec.property.controller">controller</a></code> | <code>java.lang.String</code> | controller refers to the name of the controller that should handle this class. |
| <code><a href="#cdk8s-plus-32.k8s.IngressClassSpec.property.parameters">parameters</a></code> | <code>org.cdk8s.plus32.k8s.IngressClassParametersReference</code> | parameters is a link to a custom resource containing additional configuration for the controller. |

---

##### `controller`<sup>Optional</sup> <a name="controller" id="cdk8s-plus-32.k8s.IngressClassSpec.property.controller"></a>

```java
public java.lang.String getController();
```

- *Type:* java.lang.String

controller refers to the name of the controller that should handle this class.

This allows for different "flavors" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.IngressClassSpec.property.parameters"></a>

```java
public IngressClassParametersReference getParameters();
```

- *Type:* org.cdk8s.plus32.k8s.IngressClassParametersReference

parameters is a link to a custom resource containing additional configuration for the controller.

This is optional if the controller does not require extra parameters.

---

### IngressProps <a name="IngressProps" id="cdk8s-plus-32.IngressProps"></a>

Properties for `Ingress`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.IngressProps.Initializer"></a>

```java
import org.cdk8s.plus32.IngressProps;

IngressProps.builder()
//  .metadata(ApiObjectMetadata)
//  .className(java.lang.String)
//  .defaultBackend(IngressBackend)
//  .rules(java.util.List<IngressRule>)
//  .tls(java.util.List<IngressTls>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IngressProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.IngressProps.property.className">className</a></code> | <code>java.lang.String</code> | Class Name for this ingress. |
| <code><a href="#cdk8s-plus-32.IngressProps.property.defaultBackend">defaultBackend</a></code> | <code><a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a></code> | The default backend services requests that do not match any rule. |
| <code><a href="#cdk8s-plus-32.IngressProps.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IngressRule">IngressRule</a>></code> | Routing rules for this ingress. |
| <code><a href="#cdk8s-plus-32.IngressProps.property.tls">tls</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IngressTls">IngressTls</a>></code> | TLS settings for this ingress. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.IngressProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `className`<sup>Optional</sup> <a name="className" id="cdk8s-plus-32.IngressProps.property.className"></a>

```java
public java.lang.String getClassName();
```

- *Type:* java.lang.String

Class Name for this ingress.

This field is a reference to an IngressClass resource that contains
additional Ingress configuration, including the name of the Ingress controller.

---

##### `defaultBackend`<sup>Optional</sup> <a name="defaultBackend" id="cdk8s-plus-32.IngressProps.property.defaultBackend"></a>

```java
public IngressBackend getDefaultBackend();
```

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

The default backend services requests that do not match any rule.

Using this option or the `addDefaultBackend()` method is equivalent to
adding a rule with both `path` and `host` undefined.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.IngressProps.property.rules"></a>

```java
public java.util.List<IngressRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IngressRule">IngressRule</a>>

Routing rules for this ingress.

Each rule must define an `IngressBackend` that will receive the requests
that match this rule. If both `host` and `path` are not specifiec, this
backend will be used as the default backend of the ingress.

You can also add rules later using `addRule()`, `addHostRule()`,
`addDefaultBackend()` and `addHostDefaultBackend()`.

---

##### `tls`<sup>Optional</sup> <a name="tls" id="cdk8s-plus-32.IngressProps.property.tls"></a>

```java
public java.util.List<IngressTls> getTls();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IngressTls">IngressTls</a>>

TLS settings for this ingress.

Using this option tells the ingress controller to expose a TLS endpoint.
Currently the Ingress only supports a single TLS port, 443. If multiple
members of this list specify different hosts, they will be multiplexed on
the same port according to the hostname specified through the SNI TLS
extension, if the ingress controller fulfilling the ingress supports SNI.

---

### IngressRule <a name="IngressRule" id="cdk8s-plus-32.IngressRule"></a>

Represents the rules mapping the paths under a specified host to the related backend services.

Incoming requests are first evaluated for a host match,
then routed to the backend associated with the matching path.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.IngressRule.Initializer"></a>

```java
import org.cdk8s.plus32.IngressRule;

IngressRule.builder()
    .backend(IngressBackend)
//  .host(java.lang.String)
//  .path(java.lang.String)
//  .pathType(HttpIngressPathType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IngressRule.property.backend">backend</a></code> | <code><a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a></code> | Backend defines the referenced service endpoint to which the traffic will be forwarded to. |
| <code><a href="#cdk8s-plus-32.IngressRule.property.host">host</a></code> | <code>java.lang.String</code> | Host is the fully qualified domain name of a network host, as defined by RFC 3986. |
| <code><a href="#cdk8s-plus-32.IngressRule.property.path">path</a></code> | <code>java.lang.String</code> | Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. |
| <code><a href="#cdk8s-plus-32.IngressRule.property.pathType">pathType</a></code> | <code><a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a></code> | Specify how the path is matched against request paths. |

---

##### `backend`<sup>Required</sup> <a name="backend" id="cdk8s-plus-32.IngressRule.property.backend"></a>

```java
public IngressBackend getBackend();
```

- *Type:* <a href="#cdk8s-plus-32.IngressBackend">IngressBackend</a>

Backend defines the referenced service endpoint to which the traffic will be forwarded to.

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.IngressRule.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String
- *Default:* If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.

Host is the fully qualified domain name of a network host, as defined by RFC 3986.

Note the following deviations from the "host" part of the URI as
defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue
can only apply to the IP in the Spec of the parent Ingress. 2. The `:`
delimiter is not respected because ports are not allowed. Currently the
port of an Ingress is implicitly :80 for http and :443 for https. Both
these may change in the future. Incoming requests are matched against the
host before the IngressRuleValue.

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.IngressRule.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String
- *Default:* If unspecified, the path defaults to a catch all sending traffic to the backend.

Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'.

---

##### `pathType`<sup>Optional</sup> <a name="pathType" id="cdk8s-plus-32.IngressRule.property.pathType"></a>

```java
public HttpIngressPathType getPathType();
```

- *Type:* <a href="#cdk8s-plus-32.HttpIngressPathType">HttpIngressPathType</a>

Specify how the path is matched against request paths.

By default, path
types will be matched by prefix.

> [https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types)

---

### IngressRule <a name="IngressRule" id="cdk8s-plus-32.k8s.IngressRule"></a>

IngressRule represents the rules mapping the paths under a specified host to the related backend services.

Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressRule;

IngressRule.builder()
//  .host(java.lang.String)
//  .http(HttpIngressRuleValue)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressRule.property.host">host</a></code> | <code>java.lang.String</code> | host is the fully qualified domain name of a network host, as defined by RFC 3986. |
| <code><a href="#cdk8s-plus-32.k8s.IngressRule.property.http">http</a></code> | <code>org.cdk8s.plus32.k8s.HttpIngressRuleValue</code> | *No description.* |

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.k8s.IngressRule.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String

host is the fully qualified domain name of a network host, as defined by RFC 3986.

Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
the IP in the Spec of the parent Ingress.
2. The `:` delimiter is not respected because ports are not allowed.
Currently the port of an Ingress is implicitly :80 for http and
:443 for https.
Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.

host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If host is precise, the request matches this rule if the http host header is equal to Host. 2. If host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.

---

##### `http`<sup>Optional</sup> <a name="http" id="cdk8s-plus-32.k8s.IngressRule.property.http"></a>

```java
public HttpIngressRuleValue getHttp();
```

- *Type:* org.cdk8s.plus32.k8s.HttpIngressRuleValue

---

### IngressServiceBackend <a name="IngressServiceBackend" id="cdk8s-plus-32.k8s.IngressServiceBackend"></a>

IngressServiceBackend references a Kubernetes Service as a Backend.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressServiceBackend.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressServiceBackend;

IngressServiceBackend.builder()
    .name(java.lang.String)
//  .port(ServiceBackendPort)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressServiceBackend.property.name">name</a></code> | <code>java.lang.String</code> | name is the referenced service. |
| <code><a href="#cdk8s-plus-32.k8s.IngressServiceBackend.property.port">port</a></code> | <code>org.cdk8s.plus32.k8s.ServiceBackendPort</code> | port of the referenced service. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.IngressServiceBackend.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the referenced service.

The service must exist in the same namespace as the Ingress object.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.k8s.IngressServiceBackend.property.port"></a>

```java
public ServiceBackendPort getPort();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceBackendPort

port of the referenced service.

A port name or port number is required for a IngressServiceBackend.

---

### IngressSpec <a name="IngressSpec" id="cdk8s-plus-32.k8s.IngressSpec"></a>

IngressSpec describes the Ingress the user wishes to exist.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressSpec;

IngressSpec.builder()
//  .defaultBackend(IngressBackend)
//  .ingressClassName(java.lang.String)
//  .rules(java.util.List<IngressRule>)
//  .tls(java.util.List<IngressTls>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressSpec.property.defaultBackend">defaultBackend</a></code> | <code>org.cdk8s.plus32.k8s.IngressBackend</code> | defaultBackend is the backend that should handle requests that don't match any rule. |
| <code><a href="#cdk8s-plus-32.k8s.IngressSpec.property.ingressClassName">ingressClassName</a></code> | <code>java.lang.String</code> | ingressClassName is the name of an IngressClass cluster resource. |
| <code><a href="#cdk8s-plus-32.k8s.IngressSpec.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.IngressRule></code> | rules is a list of host rules used to configure the Ingress. |
| <code><a href="#cdk8s-plus-32.k8s.IngressSpec.property.tls">tls</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.IngressTls></code> | tls represents the TLS configuration. |

---

##### `defaultBackend`<sup>Optional</sup> <a name="defaultBackend" id="cdk8s-plus-32.k8s.IngressSpec.property.defaultBackend"></a>

```java
public IngressBackend getDefaultBackend();
```

- *Type:* org.cdk8s.plus32.k8s.IngressBackend

defaultBackend is the backend that should handle requests that don't match any rule.

If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.

---

##### `ingressClassName`<sup>Optional</sup> <a name="ingressClassName" id="cdk8s-plus-32.k8s.IngressSpec.property.ingressClassName"></a>

```java
public java.lang.String getIngressClassName();
```

- *Type:* java.lang.String

ingressClassName is the name of an IngressClass cluster resource.

Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the `kubernetes.io/ingress.class` annotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.IngressSpec.property.rules"></a>

```java
public java.util.List<IngressRule> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.IngressRule>

rules is a list of host rules used to configure the Ingress.

If unspecified, or no rule matches, all traffic is sent to the default backend.

---

##### `tls`<sup>Optional</sup> <a name="tls" id="cdk8s-plus-32.k8s.IngressSpec.property.tls"></a>

```java
public java.util.List<IngressTls> getTls();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.IngressTls>

tls represents the TLS configuration.

Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.

---

### IngressTls <a name="IngressTls" id="cdk8s-plus-32.IngressTls"></a>

Represents the TLS configuration mapping that is passed to the ingress controller for SSL termination.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.IngressTls.Initializer"></a>

```java
import org.cdk8s.plus32.IngressTls;

IngressTls.builder()
//  .hosts(java.util.List<java.lang.String>)
//  .secret(ISecret)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IngressTls.property.hosts">hosts</a></code> | <code>java.util.List<java.lang.String></code> | Hosts are a list of hosts included in the TLS certificate. |
| <code><a href="#cdk8s-plus-32.IngressTls.property.secret">secret</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | Secret is the secret that contains the certificate and key used to terminate SSL traffic on 443. |

---

##### `hosts`<sup>Optional</sup> <a name="hosts" id="cdk8s-plus-32.IngressTls.property.hosts"></a>

```java
public java.util.List<java.lang.String> getHosts();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* If unspecified, it defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress.

Hosts are a list of hosts included in the TLS certificate.

The values in
this list must match the name/s used in the TLS Secret.

---

##### `secret`<sup>Optional</sup> <a name="secret" id="cdk8s-plus-32.IngressTls.property.secret"></a>

```java
public ISecret getSecret();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* If unspecified, it allows SSL routing based on SNI hostname.

Secret is the secret that contains the certificate and key used to terminate SSL traffic on 443.

If the SNI host in a listener conflicts with
the "Host" header field used by an IngressRule, the SNI host is used for
termination and value of the Host header is used for routing.

---

### IngressTls <a name="IngressTls" id="cdk8s-plus-32.k8s.IngressTls"></a>

IngressTLS describes the transport layer security associated with an ingress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IngressTls.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IngressTls;

IngressTls.builder()
//  .hosts(java.util.List<java.lang.String>)
//  .secretName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IngressTls.property.hosts">hosts</a></code> | <code>java.util.List<java.lang.String></code> | hosts is a list of hosts included in the TLS certificate. |
| <code><a href="#cdk8s-plus-32.k8s.IngressTls.property.secretName">secretName</a></code> | <code>java.lang.String</code> | secretName is the name of the secret used to terminate TLS traffic on port 443. |

---

##### `hosts`<sup>Optional</sup> <a name="hosts" id="cdk8s-plus-32.k8s.IngressTls.property.hosts"></a>

```java
public java.util.List<java.lang.String> getHosts();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.

hosts is a list of hosts included in the TLS certificate.

The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.

---

##### `secretName`<sup>Optional</sup> <a name="secretName" id="cdk8s-plus-32.k8s.IngressTls.property.secretName"></a>

```java
public java.lang.String getSecretName();
```

- *Type:* java.lang.String

secretName is the name of the secret used to terminate TLS traffic on port 443.

Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing.

---

### IpAddressSpecV1Beta1 <a name="IpAddressSpecV1Beta1" id="cdk8s-plus-32.k8s.IpAddressSpecV1Beta1"></a>

IPAddressSpec describe the attributes in an IP Address.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IpAddressSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IpAddressSpecV1Beta1;

IpAddressSpecV1Beta1.builder()
    .parentRef(ParentReferenceV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IpAddressSpecV1Beta1.property.parentRef">parentRef</a></code> | <code>org.cdk8s.plus32.k8s.ParentReferenceV1Beta1</code> | ParentRef references the resource that an IPAddress is attached to. |

---

##### `parentRef`<sup>Required</sup> <a name="parentRef" id="cdk8s-plus-32.k8s.IpAddressSpecV1Beta1.property.parentRef"></a>

```java
public ParentReferenceV1Beta1 getParentRef();
```

- *Type:* org.cdk8s.plus32.k8s.ParentReferenceV1Beta1

ParentRef references the resource that an IPAddress is attached to.

An IPAddress must reference a parent object.

---

### IpBlock <a name="IpBlock" id="cdk8s-plus-32.k8s.IpBlock"></a>

IPBlock describes a particular CIDR (Ex.

"192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IpBlock.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IpBlock;

IpBlock.builder()
    .cidr(java.lang.String)
//  .except(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IpBlock.property.cidr">cidr</a></code> | <code>java.lang.String</code> | cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64". |
| <code><a href="#cdk8s-plus-32.k8s.IpBlock.property.except">except</a></code> | <code>java.util.List<java.lang.String></code> | except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range. |

---

##### `cidr`<sup>Required</sup> <a name="cidr" id="cdk8s-plus-32.k8s.IpBlock.property.cidr"></a>

```java
public java.lang.String getCidr();
```

- *Type:* java.lang.String

cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64".

---

##### `except`<sup>Optional</sup> <a name="except" id="cdk8s-plus-32.k8s.IpBlock.property.except"></a>

```java
public java.util.List<java.lang.String> getExcept();
```

- *Type:* java.util.List<java.lang.String>

except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range.

---

### IscsiPersistentVolumeSource <a name="IscsiPersistentVolumeSource" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource"></a>

ISCSIPersistentVolumeSource represents an ISCSI disk.

ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IscsiPersistentVolumeSource;

IscsiPersistentVolumeSource.builder()
    .iqn(java.lang.String)
    .lun(java.lang.Number)
    .targetPortal(java.lang.String)
//  .chapAuthDiscovery(java.lang.Boolean)
//  .chapAuthSession(java.lang.Boolean)
//  .fsType(java.lang.String)
//  .initiatorName(java.lang.String)
//  .iscsiInterface(java.lang.String)
//  .portals(java.util.List<java.lang.String>)
//  .readOnly(java.lang.Boolean)
//  .secretRef(SecretReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.iqn">iqn</a></code> | <code>java.lang.String</code> | iqn is Target iSCSI Qualified Name. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.lun">lun</a></code> | <code>java.lang.Number</code> | lun is iSCSI Target Lun number. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.targetPortal">targetPortal</a></code> | <code>java.lang.String</code> | targetPortal is iSCSI Target Portal. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.chapAuthDiscovery">chapAuthDiscovery</a></code> | <code>java.lang.Boolean</code> | chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.chapAuthSession">chapAuthSession</a></code> | <code>java.lang.Boolean</code> | chapAuthSession defines whether support iSCSI Session CHAP authentication. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.initiatorName">initiatorName</a></code> | <code>java.lang.String</code> | initiatorName is the custom iSCSI Initiator Name. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.iscsiInterface">iscsiInterface</a></code> | <code>java.lang.String</code> | iscsiInterface is the interface Name that uses an iSCSI transport. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.portals">portals</a></code> | <code>java.util.List<java.lang.String></code> | portals is the iSCSI Target Portal List. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the ReadOnly setting in VolumeMounts. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef is the CHAP Secret for iSCSI target and initiator authentication. |

---

##### `iqn`<sup>Required</sup> <a name="iqn" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.iqn"></a>

```java
public java.lang.String getIqn();
```

- *Type:* java.lang.String

iqn is Target iSCSI Qualified Name.

---

##### `lun`<sup>Required</sup> <a name="lun" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.lun"></a>

```java
public java.lang.Number getLun();
```

- *Type:* java.lang.Number

lun is iSCSI Target Lun number.

---

##### `targetPortal`<sup>Required</sup> <a name="targetPortal" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.targetPortal"></a>

```java
public java.lang.String getTargetPortal();
```

- *Type:* java.lang.String

targetPortal is iSCSI Target Portal.

The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

---

##### `chapAuthDiscovery`<sup>Optional</sup> <a name="chapAuthDiscovery" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.chapAuthDiscovery"></a>

```java
public java.lang.Boolean getChapAuthDiscovery();
```

- *Type:* java.lang.Boolean

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.

---

##### `chapAuthSession`<sup>Optional</sup> <a name="chapAuthSession" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.chapAuthSession"></a>

```java
public java.lang.Boolean getChapAuthSession();
```

- *Type:* java.lang.Boolean

chapAuthSession defines whether support iSCSI Session CHAP authentication.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi

---

##### `initiatorName`<sup>Optional</sup> <a name="initiatorName" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.initiatorName"></a>

```java
public java.lang.String getInitiatorName();
```

- *Type:* java.lang.String

initiatorName is the custom iSCSI Initiator Name.

If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.

---

##### `iscsiInterface`<sup>Optional</sup> <a name="iscsiInterface" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.iscsiInterface"></a>

```java
public java.lang.String getIscsiInterface();
```

- *Type:* java.lang.String
- *Default:* default' (tcp).

iscsiInterface is the interface Name that uses an iSCSI transport.

Defaults to 'default' (tcp).

---

##### `portals`<sup>Optional</sup> <a name="portals" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.portals"></a>

```java
public java.util.List<java.lang.String> getPortals();
```

- *Type:* java.util.List<java.lang.String>

portals is the iSCSI Target Portal List.

The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false.

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.IscsiPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

secretRef is the CHAP Secret for iSCSI target and initiator authentication.

---

### IscsiVolumeSource <a name="IscsiVolumeSource" id="cdk8s-plus-32.k8s.IscsiVolumeSource"></a>

Represents an ISCSI disk.

ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.IscsiVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.IscsiVolumeSource;

IscsiVolumeSource.builder()
    .iqn(java.lang.String)
    .lun(java.lang.Number)
    .targetPortal(java.lang.String)
//  .chapAuthDiscovery(java.lang.Boolean)
//  .chapAuthSession(java.lang.Boolean)
//  .fsType(java.lang.String)
//  .initiatorName(java.lang.String)
//  .iscsiInterface(java.lang.String)
//  .portals(java.util.List<java.lang.String>)
//  .readOnly(java.lang.Boolean)
//  .secretRef(LocalObjectReference)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.iqn">iqn</a></code> | <code>java.lang.String</code> | iqn is the target iSCSI Qualified Name. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.lun">lun</a></code> | <code>java.lang.Number</code> | lun represents iSCSI Target Lun number. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.targetPortal">targetPortal</a></code> | <code>java.lang.String</code> | targetPortal is iSCSI Target Portal. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.chapAuthDiscovery">chapAuthDiscovery</a></code> | <code>java.lang.Boolean</code> | chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.chapAuthSession">chapAuthSession</a></code> | <code>java.lang.Boolean</code> | chapAuthSession defines whether support iSCSI Session CHAP authentication. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.initiatorName">initiatorName</a></code> | <code>java.lang.String</code> | initiatorName is the custom iSCSI Initiator Name. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.iscsiInterface">iscsiInterface</a></code> | <code>java.lang.String</code> | iscsiInterface is the interface Name that uses an iSCSI transport. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.portals">portals</a></code> | <code>java.util.List<java.lang.String></code> | portals is the iSCSI Target Portal List. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the ReadOnly setting in VolumeMounts. |
| <code><a href="#cdk8s-plus-32.k8s.IscsiVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef is the CHAP Secret for iSCSI target and initiator authentication. |

---

##### `iqn`<sup>Required</sup> <a name="iqn" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.iqn"></a>

```java
public java.lang.String getIqn();
```

- *Type:* java.lang.String

iqn is the target iSCSI Qualified Name.

---

##### `lun`<sup>Required</sup> <a name="lun" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.lun"></a>

```java
public java.lang.Number getLun();
```

- *Type:* java.lang.Number

lun represents iSCSI Target Lun number.

---

##### `targetPortal`<sup>Required</sup> <a name="targetPortal" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.targetPortal"></a>

```java
public java.lang.String getTargetPortal();
```

- *Type:* java.lang.String

targetPortal is iSCSI Target Portal.

The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

---

##### `chapAuthDiscovery`<sup>Optional</sup> <a name="chapAuthDiscovery" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.chapAuthDiscovery"></a>

```java
public java.lang.Boolean getChapAuthDiscovery();
```

- *Type:* java.lang.Boolean

chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication.

---

##### `chapAuthSession`<sup>Optional</sup> <a name="chapAuthSession" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.chapAuthSession"></a>

```java
public java.lang.Boolean getChapAuthSession();
```

- *Type:* java.lang.Boolean

chapAuthSession defines whether support iSCSI Session CHAP authentication.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi

---

##### `initiatorName`<sup>Optional</sup> <a name="initiatorName" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.initiatorName"></a>

```java
public java.lang.String getInitiatorName();
```

- *Type:* java.lang.String

initiatorName is the custom iSCSI Initiator Name.

If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.

---

##### `iscsiInterface`<sup>Optional</sup> <a name="iscsiInterface" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.iscsiInterface"></a>

```java
public java.lang.String getIscsiInterface();
```

- *Type:* java.lang.String
- *Default:* default' (tcp).

iscsiInterface is the interface Name that uses an iSCSI transport.

Defaults to 'default' (tcp).

---

##### `portals`<sup>Optional</sup> <a name="portals" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.portals"></a>

```java
public java.util.List<java.lang.String> getPortals();
```

- *Type:* java.util.List<java.lang.String>

portals is the iSCSI Target Portal List.

The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false.

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.IscsiVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef is the CHAP Secret for iSCSI target and initiator authentication.

---

### JobProps <a name="JobProps" id="cdk8s-plus-32.JobProps"></a>

Properties for `Job`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.JobProps.Initializer"></a>

```java
import org.cdk8s.plus32.JobProps;

JobProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .activeDeadline(Duration)
//  .backoffLimit(java.lang.Number)
//  .ttlAfterFinished(Duration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.JobProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.JobProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.JobProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.JobProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.JobProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.JobProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.JobProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.JobProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.JobProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.JobProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.JobProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.JobProps.property.activeDeadline">activeDeadline</a></code> | <code>org.cdk8s.Duration</code> | Specifies the duration the job may be active before the system tries to terminate it. |
| <code><a href="#cdk8s-plus-32.JobProps.property.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Specifies the number of retries before marking this job failed. |
| <code><a href="#cdk8s-plus-32.JobProps.property.ttlAfterFinished">ttlAfterFinished</a></code> | <code>org.cdk8s.Duration</code> | Limits the lifetime of a Job that has finished execution (either Complete or Failed). |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.JobProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.JobProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.JobProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.JobProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.JobProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.JobProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.JobProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.JobProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.JobProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.JobProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.JobProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.JobProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.JobProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.JobProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.JobProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.JobProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.JobProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.JobProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.JobProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `activeDeadline`<sup>Optional</sup> <a name="activeDeadline" id="cdk8s-plus-32.JobProps.property.activeDeadline"></a>

```java
public Duration getActiveDeadline();
```

- *Type:* org.cdk8s.Duration
- *Default:* If unset, then there is no deadline.

Specifies the duration the job may be active before the system tries to terminate it.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.JobProps.property.backoffLimit"></a>

```java
public java.lang.Number getBackoffLimit();
```

- *Type:* java.lang.Number
- *Default:* If not set, system defaults to 6.

Specifies the number of retries before marking this job failed.

---

##### `ttlAfterFinished`<sup>Optional</sup> <a name="ttlAfterFinished" id="cdk8s-plus-32.JobProps.property.ttlAfterFinished"></a>

```java
public Duration getTtlAfterFinished();
```

- *Type:* org.cdk8s.Duration
- *Default:* If this field is unset, the Job won't be automatically deleted.

Limits the lifetime of a Job that has finished execution (either Complete or Failed).

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.

---

### JobSpec <a name="JobSpec" id="cdk8s-plus-32.k8s.JobSpec"></a>

JobSpec describes how the job execution will look like.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.JobSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.JobSpec;

JobSpec.builder()
    .template(PodTemplateSpec)
//  .activeDeadlineSeconds(java.lang.Number)
//  .backoffLimit(java.lang.Number)
//  .backoffLimitPerIndex(java.lang.Number)
//  .completionMode(java.lang.String)
//  .completions(java.lang.Number)
//  .managedBy(java.lang.String)
//  .manualSelector(java.lang.Boolean)
//  .maxFailedIndexes(java.lang.Number)
//  .parallelism(java.lang.Number)
//  .podFailurePolicy(PodFailurePolicy)
//  .podReplacementPolicy(java.lang.String)
//  .selector(LabelSelector)
//  .successPolicy(SuccessPolicy)
//  .suspend(java.lang.Boolean)
//  .ttlSecondsAfterFinished(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Describes the pod that will be created when executing a job. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.activeDeadlineSeconds">activeDeadlineSeconds</a></code> | <code>java.lang.Number</code> | Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.backoffLimit">backoffLimit</a></code> | <code>java.lang.Number</code> | Specifies the number of retries before marking this job failed. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.backoffLimitPerIndex">backoffLimitPerIndex</a></code> | <code>java.lang.Number</code> | Specifies the limit for the number of retries within an index before marking this index as failed. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.completionMode">completionMode</a></code> | <code>java.lang.String</code> | completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.completions">completions</a></code> | <code>java.lang.Number</code> | Specifies the desired number of successfully finished pods the job should be run with. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.managedBy">managedBy</a></code> | <code>java.lang.String</code> | ManagedBy field indicates the controller that manages a Job. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.manualSelector">manualSelector</a></code> | <code>java.lang.Boolean</code> | manualSelector controls generation of pod labels and pod selectors. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.maxFailedIndexes">maxFailedIndexes</a></code> | <code>java.lang.Number</code> | Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.parallelism">parallelism</a></code> | <code>java.lang.Number</code> | Specifies the maximum desired number of pods the job should run at any given time. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.podFailurePolicy">podFailurePolicy</a></code> | <code>org.cdk8s.plus32.k8s.PodFailurePolicy</code> | Specifies the policy of handling failed pods. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.podReplacementPolicy">podReplacementPolicy</a></code> | <code>java.lang.String</code> | podReplacementPolicy specifies when to create replacement Pods. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | A label query over pods that should match the pod count. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.successPolicy">successPolicy</a></code> | <code>org.cdk8s.plus32.k8s.SuccessPolicy</code> | successPolicy specifies the policy when the Job can be declared as succeeded. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.suspend">suspend</a></code> | <code>java.lang.Boolean</code> | suspend specifies whether the Job controller should create Pods or not. |
| <code><a href="#cdk8s-plus-32.k8s.JobSpec.property.ttlSecondsAfterFinished">ttlSecondsAfterFinished</a></code> | <code>java.lang.Number</code> | ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). |

---

##### `template`<sup>Required</sup> <a name="template" id="cdk8s-plus-32.k8s.JobSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Describes the pod that will be created when executing a job.

The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

---

##### `activeDeadlineSeconds`<sup>Optional</sup> <a name="activeDeadlineSeconds" id="cdk8s-plus-32.k8s.JobSpec.property.activeDeadlineSeconds"></a>

```java
public java.lang.Number getActiveDeadlineSeconds();
```

- *Type:* java.lang.Number

Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it;

value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.

---

##### `backoffLimit`<sup>Optional</sup> <a name="backoffLimit" id="cdk8s-plus-32.k8s.JobSpec.property.backoffLimit"></a>

```java
public java.lang.Number getBackoffLimit();
```

- *Type:* java.lang.Number
- *Default:* 6

Specifies the number of retries before marking this job failed.

Defaults to 6

---

##### `backoffLimitPerIndex`<sup>Optional</sup> <a name="backoffLimitPerIndex" id="cdk8s-plus-32.k8s.JobSpec.property.backoffLimitPerIndex"></a>

```java
public java.lang.Number getBackoffLimitPerIndex();
```

- *Type:* java.lang.Number

Specifies the limit for the number of retries within an index before marking this index as failed.

When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).

---

##### `completionMode`<sup>Optional</sup> <a name="completionMode" id="cdk8s-plus-32.k8s.JobSpec.property.completionMode"></a>

```java
public java.lang.String getCompletionMode();
```

- *Type:* java.lang.String

completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.

`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.

`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.

More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.

---

##### `completions`<sup>Optional</sup> <a name="completions" id="cdk8s-plus-32.k8s.JobSpec.property.completions"></a>

```java
public java.lang.Number getCompletions();
```

- *Type:* java.lang.Number

Specifies the desired number of successfully finished pods the job should be run with.

Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value.  Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

---

##### `managedBy`<sup>Optional</sup> <a name="managedBy" id="cdk8s-plus-32.k8s.JobSpec.property.managedBy"></a>

```java
public java.lang.String getManagedBy();
```

- *Type:* java.lang.String

ManagedBy field indicates the controller that manages a Job.

The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.

This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).

---

##### `manualSelector`<sup>Optional</sup> <a name="manualSelector" id="cdk8s-plus-32.k8s.JobSpec.property.manualSelector"></a>

```java
public java.lang.Boolean getManualSelector();
```

- *Type:* java.lang.Boolean

manualSelector controls generation of pod labels and pod selectors.

Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template.  When true, the user is responsible for picking unique labels and specifying the selector.  Failure to pick a unique label may cause this and other jobs to not function correctly.  However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector

---

##### `maxFailedIndexes`<sup>Optional</sup> <a name="maxFailedIndexes" id="cdk8s-plus-32.k8s.JobSpec.property.maxFailedIndexes"></a>

```java
public java.lang.Number getMaxFailedIndexes();
```

- *Type:* java.lang.Number

Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set.

Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).

---

##### `parallelism`<sup>Optional</sup> <a name="parallelism" id="cdk8s-plus-32.k8s.JobSpec.property.parallelism"></a>

```java
public java.lang.Number getParallelism();
```

- *Type:* java.lang.Number

Specifies the maximum desired number of pods the job should run at any given time.

The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

---

##### `podFailurePolicy`<sup>Optional</sup> <a name="podFailurePolicy" id="cdk8s-plus-32.k8s.JobSpec.property.podFailurePolicy"></a>

```java
public PodFailurePolicy getPodFailurePolicy();
```

- *Type:* org.cdk8s.plus32.k8s.PodFailurePolicy

Specifies the policy of handling failed pods.

In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.

---

##### `podReplacementPolicy`<sup>Optional</sup> <a name="podReplacementPolicy" id="cdk8s-plus-32.k8s.JobSpec.property.podReplacementPolicy"></a>

```java
public java.lang.String getPodReplacementPolicy();
```

- *Type:* java.lang.String

podReplacementPolicy specifies when to create replacement Pods.

Possible values are: - TerminatingOrFailed means that we recreate pods
when they are terminating (has a metadata.deletionTimestamp) or failed.

* Failed means to wait until a previously created Pod is fully terminated (has phase
  Failed or Succeeded) before creating a replacement Pod.

When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.JobSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

A label query over pods that should match the pod count.

Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

---

##### `successPolicy`<sup>Optional</sup> <a name="successPolicy" id="cdk8s-plus-32.k8s.JobSpec.property.successPolicy"></a>

```java
public SuccessPolicy getSuccessPolicy();
```

- *Type:* org.cdk8s.plus32.k8s.SuccessPolicy

successPolicy specifies the policy when the Job can be declared as succeeded.

If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.

This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).

---

##### `suspend`<sup>Optional</sup> <a name="suspend" id="cdk8s-plus-32.k8s.JobSpec.property.suspend"></a>

```java
public java.lang.Boolean getSuspend();
```

- *Type:* java.lang.Boolean
- *Default:* false.

suspend specifies whether the Job controller should create Pods or not.

If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.

---

##### `ttlSecondsAfterFinished`<sup>Optional</sup> <a name="ttlSecondsAfterFinished" id="cdk8s-plus-32.k8s.JobSpec.property.ttlSecondsAfterFinished"></a>

```java
public java.lang.Number getTtlSecondsAfterFinished();
```

- *Type:* java.lang.Number

ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed).

If this field is set, ttlSecondsAfterFinished 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 unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.

---

### JobTemplateSpec <a name="JobTemplateSpec" id="cdk8s-plus-32.k8s.JobTemplateSpec"></a>

JobTemplateSpec describes the data a Job should have when created from a template.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.JobTemplateSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.JobTemplateSpec;

JobTemplateSpec.builder()
//  .metadata(ObjectMeta)
//  .spec(JobSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.JobTemplateSpec.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata of the jobs created from this template. |
| <code><a href="#cdk8s-plus-32.k8s.JobTemplateSpec.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.JobSpec</code> | Specification of the desired behavior of the job. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.JobTemplateSpec.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata of the jobs created from this template.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.JobTemplateSpec.property.spec"></a>

```java
public JobSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.JobSpec

Specification of the desired behavior of the job.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### JsonPatchV1Alpha1 <a name="JsonPatchV1Alpha1" id="cdk8s-plus-32.k8s.JsonPatchV1Alpha1"></a>

JSONPatch defines a JSON Patch.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.JsonPatchV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.JsonPatchV1Alpha1;

JsonPatchV1Alpha1.builder()
//  .expression(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.JsonPatchV1Alpha1.property.expression">expression</a></code> | <code>java.lang.String</code> | expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec. |

---

##### `expression`<sup>Optional</sup> <a name="expression" id="cdk8s-plus-32.k8s.JsonPatchV1Alpha1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec.

expression must return an array of JSONPatch values.

For example, this CEL expression returns a JSON patch to conditionally modify a value:

[
JSONPatch{op: "test", path: "/spec/example", value: "Red"},
JSONPatch{op: "replace", path: "/spec/example", value: "Green"}
]

To define an object for the patch value, use Object types. For example:

[
JSONPatch{
op: "add",
path: "/spec/selector",
value: Object.spec.selector{matchLabels: {"environment": "test"}}
}
]

To use strings containing '/' and '~' as JSONPatch path keys, use "jsonpatch.escapeKey". For example:

[
JSONPatch{
op: "add",
path: "/metadata/labels/" + jsonpatch.escapeKey("example.com/environment"),
value: "test"
},
]

CEL expressions have access to the types needed to create JSON patches and objects:

* 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.
  See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,
  integer, array, map or object.  If set, the 'path' and 'from' fields must be set to a
  [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL
  function may be used to escape path keys containing '/' and '~'.
* 'Object' - CEL type of the resource object. - 'Object.<fieldName>' - CEL type of object field (such as 'Object.spec') - 'Object.<fieldName1>.<fieldName2>...<fieldNameN>` - CEL type of nested field (such as 'Object.spec.containers')

CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:

* 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
* 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
* 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
  request resource.

CEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:

* 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and  '/' are escaped as '~0' and `~1' respectively).

Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.

---

### JsonSchemaProps <a name="JsonSchemaProps" id="cdk8s-plus-32.k8s.JsonSchemaProps"></a>

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.JsonSchemaProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.JsonSchemaProps;

JsonSchemaProps.builder()
//  .additionalItems(java.lang.Object)
//  .additionalProperties(java.lang.Object)
//  .allOf(java.util.List<JsonSchemaProps>)
//  .anyOf(java.util.List<JsonSchemaProps>)
//  .default(java.lang.Object)
//  .definitions(java.util.Map<java.lang.String, JsonSchemaProps>)
//  .dependencies(java.util.Map<java.lang.String, java.lang.Object>)
//  .description(java.lang.String)
//  .enum(java.util.List<java.lang.Object>)
//  .example(java.lang.Object)
//  .exclusiveMaximum(java.lang.Boolean)
//  .exclusiveMinimum(java.lang.Boolean)
//  .externalDocs(ExternalDocumentation)
//  .format(java.lang.String)
//  .id(java.lang.String)
//  .items(java.lang.Object)
//  .maximum(java.lang.Number)
//  .maxItems(java.lang.Number)
//  .maxLength(java.lang.Number)
//  .maxProperties(java.lang.Number)
//  .minimum(java.lang.Number)
//  .minItems(java.lang.Number)
//  .minLength(java.lang.Number)
//  .minProperties(java.lang.Number)
//  .multipleOf(java.lang.Number)
//  .not(JsonSchemaProps)
//  .nullable(java.lang.Boolean)
//  .oneOf(java.util.List<JsonSchemaProps>)
//  .pattern(java.lang.String)
//  .patternProperties(java.util.Map<java.lang.String, JsonSchemaProps>)
//  .properties(java.util.Map<java.lang.String, JsonSchemaProps>)
//  .ref(java.lang.String)
//  .required(java.util.List<java.lang.String>)
//  .schema(java.lang.String)
//  .title(java.lang.String)
//  .type(java.lang.String)
//  .uniqueItems(java.lang.Boolean)
//  .xKubernetesEmbeddedResource(java.lang.Boolean)
//  .xKubernetesIntOrString(java.lang.Boolean)
//  .xKubernetesListMapKeys(java.util.List<java.lang.String>)
//  .xKubernetesListType(java.lang.String)
//  .xKubernetesMapType(java.lang.String)
//  .xKubernetesPreserveUnknownFields(java.lang.Boolean)
//  .xKubernetesValidations(java.util.List<ValidationRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.additionalItems">additionalItems</a></code> | <code>java.lang.Object</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.additionalProperties">additionalProperties</a></code> | <code>java.lang.Object</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.allOf">allOf</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.anyOf">anyOf</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.default">default</a></code> | <code>java.lang.Object</code> | default is a default value for undefined object fields. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.definitions">definitions</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.dependencies">dependencies</a></code> | <code>java.util.Map<java.lang.String, java.lang.Object></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.description">description</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.enum">enum</a></code> | <code>java.util.List<java.lang.Object></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.example">example</a></code> | <code>java.lang.Object</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.exclusiveMaximum">exclusiveMaximum</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.exclusiveMinimum">exclusiveMinimum</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.externalDocs">externalDocs</a></code> | <code>org.cdk8s.plus32.k8s.ExternalDocumentation</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.format">format</a></code> | <code>java.lang.String</code> | format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.id">id</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.items">items</a></code> | <code>java.lang.Object</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.maximum">maximum</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.maxItems">maxItems</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.maxLength">maxLength</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.maxProperties">maxProperties</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.minimum">minimum</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.minItems">minItems</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.minLength">minLength</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.minProperties">minProperties</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.multipleOf">multipleOf</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.not">not</a></code> | <code>org.cdk8s.plus32.k8s.JsonSchemaProps</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.nullable">nullable</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.oneOf">oneOf</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.pattern">pattern</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.patternProperties">patternProperties</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.properties">properties</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.ref">ref</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.required">required</a></code> | <code>java.util.List<java.lang.String></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.schema">schema</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.title">title</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.type">type</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.uniqueItems">uniqueItems</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesEmbeddedResource">xKubernetesEmbeddedResource</a></code> | <code>java.lang.Boolean</code> | x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata). |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesIntOrString">xKubernetesIntOrString</a></code> | <code>java.lang.Boolean</code> | x-kubernetes-int-or-string specifies that this value is either an integer or a string. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesListMapKeys">xKubernetesListMapKeys</a></code> | <code>java.util.List<java.lang.String></code> | x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesListType">xKubernetesListType</a></code> | <code>java.lang.String</code> | x-kubernetes-list-type annotates an array to further describe its topology. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesMapType">xKubernetesMapType</a></code> | <code>java.lang.String</code> | x-kubernetes-map-type annotates an object to further describe its topology. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesPreserveUnknownFields">xKubernetesPreserveUnknownFields</a></code> | <code>java.lang.Boolean</code> | x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. |
| <code><a href="#cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesValidations">xKubernetesValidations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ValidationRule></code> | x-kubernetes-validations describes a list of validation rules written in the CEL expression language. |

---

##### `additionalItems`<sup>Optional</sup> <a name="additionalItems" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.additionalItems"></a>

```java
public java.lang.Object getAdditionalItems();
```

- *Type:* java.lang.Object

---

##### `additionalProperties`<sup>Optional</sup> <a name="additionalProperties" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.additionalProperties"></a>

```java
public java.lang.Object getAdditionalProperties();
```

- *Type:* java.lang.Object

---

##### `allOf`<sup>Optional</sup> <a name="allOf" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.allOf"></a>

```java
public java.util.List<JsonSchemaProps> getAllOf();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `anyOf`<sup>Optional</sup> <a name="anyOf" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.anyOf"></a>

```java
public java.util.List<JsonSchemaProps> getAnyOf();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `default`<sup>Optional</sup> <a name="default" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.default"></a>

```java
public java.lang.Object getDefault();
```

- *Type:* java.lang.Object

default is a default value for undefined object fields.

Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.

---

##### `definitions`<sup>Optional</sup> <a name="definitions" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.definitions"></a>

```java
public java.util.Map<java.lang.String, JsonSchemaProps> getDefinitions();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `dependencies`<sup>Optional</sup> <a name="dependencies" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.dependencies"></a>

```java
public java.util.Map<java.lang.String, java.lang.Object> getDependencies();
```

- *Type:* java.util.Map<java.lang.String, java.lang.Object>

---

##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.description"></a>

```java
public java.lang.String getDescription();
```

- *Type:* java.lang.String

---

##### `enum`<sup>Optional</sup> <a name="enum" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.enum"></a>

```java
public java.util.List<java.lang.Object> getEnum();
```

- *Type:* java.util.List<java.lang.Object>

---

##### `example`<sup>Optional</sup> <a name="example" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.example"></a>

```java
public java.lang.Object getExample();
```

- *Type:* java.lang.Object

---

##### `exclusiveMaximum`<sup>Optional</sup> <a name="exclusiveMaximum" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.exclusiveMaximum"></a>

```java
public java.lang.Boolean getExclusiveMaximum();
```

- *Type:* java.lang.Boolean

---

##### `exclusiveMinimum`<sup>Optional</sup> <a name="exclusiveMinimum" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.exclusiveMinimum"></a>

```java
public java.lang.Boolean getExclusiveMinimum();
```

- *Type:* java.lang.Boolean

---

##### `externalDocs`<sup>Optional</sup> <a name="externalDocs" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.externalDocs"></a>

```java
public ExternalDocumentation getExternalDocs();
```

- *Type:* org.cdk8s.plus32.k8s.ExternalDocumentation

---

##### `format`<sup>Optional</sup> <a name="format" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.format"></a>

```java
public java.lang.String getFormat();
```

- *Type:* java.lang.String

format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:.

* bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041" - isbn10: an ISBN10 number string like "0321751043" - isbn13: an ISBN13 number string like "978-0321751041" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\d{3}[- ]?\d{2}[- ]?\d{4}$ - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559" - byte: base64 encoded binary data - password: any kind of string - date: a date string like "2006-01-02" as defined by full-date in RFC3339 - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.

---

##### `id`<sup>Optional</sup> <a name="id" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.id"></a>

```java
public java.lang.String getId();
```

- *Type:* java.lang.String

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.items"></a>

```java
public java.lang.Object getItems();
```

- *Type:* java.lang.Object

---

##### `maximum`<sup>Optional</sup> <a name="maximum" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.maximum"></a>

```java
public java.lang.Number getMaximum();
```

- *Type:* java.lang.Number

---

##### `maxItems`<sup>Optional</sup> <a name="maxItems" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.maxItems"></a>

```java
public java.lang.Number getMaxItems();
```

- *Type:* java.lang.Number

---

##### `maxLength`<sup>Optional</sup> <a name="maxLength" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.maxLength"></a>

```java
public java.lang.Number getMaxLength();
```

- *Type:* java.lang.Number

---

##### `maxProperties`<sup>Optional</sup> <a name="maxProperties" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.maxProperties"></a>

```java
public java.lang.Number getMaxProperties();
```

- *Type:* java.lang.Number

---

##### `minimum`<sup>Optional</sup> <a name="minimum" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.minimum"></a>

```java
public java.lang.Number getMinimum();
```

- *Type:* java.lang.Number

---

##### `minItems`<sup>Optional</sup> <a name="minItems" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.minItems"></a>

```java
public java.lang.Number getMinItems();
```

- *Type:* java.lang.Number

---

##### `minLength`<sup>Optional</sup> <a name="minLength" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.minLength"></a>

```java
public java.lang.Number getMinLength();
```

- *Type:* java.lang.Number

---

##### `minProperties`<sup>Optional</sup> <a name="minProperties" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.minProperties"></a>

```java
public java.lang.Number getMinProperties();
```

- *Type:* java.lang.Number

---

##### `multipleOf`<sup>Optional</sup> <a name="multipleOf" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.multipleOf"></a>

```java
public java.lang.Number getMultipleOf();
```

- *Type:* java.lang.Number

---

##### `not`<sup>Optional</sup> <a name="not" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.not"></a>

```java
public JsonSchemaProps getNot();
```

- *Type:* org.cdk8s.plus32.k8s.JsonSchemaProps

---

##### `nullable`<sup>Optional</sup> <a name="nullable" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.nullable"></a>

```java
public java.lang.Boolean getNullable();
```

- *Type:* java.lang.Boolean

---

##### `oneOf`<sup>Optional</sup> <a name="oneOf" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.oneOf"></a>

```java
public java.util.List<JsonSchemaProps> getOneOf();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `pattern`<sup>Optional</sup> <a name="pattern" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.pattern"></a>

```java
public java.lang.String getPattern();
```

- *Type:* java.lang.String

---

##### `patternProperties`<sup>Optional</sup> <a name="patternProperties" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.patternProperties"></a>

```java
public java.util.Map<java.lang.String, JsonSchemaProps> getPatternProperties();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `properties`<sup>Optional</sup> <a name="properties" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.properties"></a>

```java
public java.util.Map<java.lang.String, JsonSchemaProps> getProperties();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.JsonSchemaProps>

---

##### `ref`<sup>Optional</sup> <a name="ref" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.ref"></a>

```java
public java.lang.String getRef();
```

- *Type:* java.lang.String

---

##### `required`<sup>Optional</sup> <a name="required" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.required"></a>

```java
public java.util.List<java.lang.String> getRequired();
```

- *Type:* java.util.List<java.lang.String>

---

##### `schema`<sup>Optional</sup> <a name="schema" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.schema"></a>

```java
public java.lang.String getSchema();
```

- *Type:* java.lang.String

---

##### `title`<sup>Optional</sup> <a name="title" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.title"></a>

```java
public java.lang.String getTitle();
```

- *Type:* java.lang.String

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

---

##### `uniqueItems`<sup>Optional</sup> <a name="uniqueItems" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.uniqueItems"></a>

```java
public java.lang.Boolean getUniqueItems();
```

- *Type:* java.lang.Boolean

---

##### `xKubernetesEmbeddedResource`<sup>Optional</sup> <a name="xKubernetesEmbeddedResource" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesEmbeddedResource"></a>

```java
public java.lang.Boolean getXKubernetesEmbeddedResource();
```

- *Type:* java.lang.Boolean

x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).

---

##### `xKubernetesIntOrString`<sup>Optional</sup> <a name="xKubernetesIntOrString" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesIntOrString"></a>

```java
public java.lang.Boolean getXKubernetesIntOrString();
```

- *Type:* java.lang.Boolean

x-kubernetes-int-or-string specifies that this value is either an integer or a string.

If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:

1) anyOf:

* type: integer
* type: string

1) allOf:

* anyOf:
* type: integer
* type: string
* ... zero or more

---

##### `xKubernetesListMapKeys`<sup>Optional</sup> <a name="xKubernetesListMapKeys" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesListMapKeys"></a>

```java
public java.util.List<java.lang.String> getXKubernetesListMapKeys();
```

- *Type:* java.util.List<java.lang.String>

x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.

This tag MUST only be used on lists that have the "x-kubernetes-list-type" extension set to "map". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).

The properties specified must either be required or have a default value, to ensure those properties are present for all list items.

---

##### `xKubernetesListType`<sup>Optional</sup> <a name="xKubernetesListType" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesListType"></a>

```java
public java.lang.String getXKubernetesListType();
```

- *Type:* java.lang.String
- *Default:* atomic for arrays.

x-kubernetes-list-type annotates an array to further describe its topology.

This extension must only be used on lists and may have 3 possible values:

1) `atomic`: the list is treated as a single entity, like a scalar.
   Atomic lists will be entirely replaced when updated. This extension
   may be used on any type of list (struct, scalar, ...).
2) `set`:
   Sets are lists that must not have multiple items with the same value. Each
   value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
   array with x-kubernetes-list-type `atomic`.
3) `map`:
   These lists are like maps in that their elements have a non-index key
   used to identify them. Order is preserved upon merge. The map tag
   must only be used on a list with elements of type object.
   Defaults to atomic for arrays.

---

##### `xKubernetesMapType`<sup>Optional</sup> <a name="xKubernetesMapType" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesMapType"></a>

```java
public java.lang.String getXKubernetesMapType();
```

- *Type:* java.lang.String

x-kubernetes-map-type annotates an object to further describe its topology.

This extension must only be used when type is object and may have 2 possible values:

1) `granular`:
   These maps are actual maps (key-value pairs) and each fields are independent
   from each other (they can each be manipulated by separate actors). This is
   the default behaviour for all maps.
2) `atomic`: the list is treated as a single entity, like a scalar.
   Atomic maps will be entirely replaced when updated.

---

##### `xKubernetesPreserveUnknownFields`<sup>Optional</sup> <a name="xKubernetesPreserveUnknownFields" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesPreserveUnknownFields"></a>

```java
public java.lang.Boolean getXKubernetesPreserveUnknownFields();
```

- *Type:* java.lang.Boolean

x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema.

This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.

---

##### `xKubernetesValidations`<sup>Optional</sup> <a name="xKubernetesValidations" id="cdk8s-plus-32.k8s.JsonSchemaProps.property.xKubernetesValidations"></a>

```java
public java.util.List<ValidationRule> getXKubernetesValidations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ValidationRule>

x-kubernetes-validations describes a list of validation rules written in the CEL expression language.

---

### KeyToPath <a name="KeyToPath" id="cdk8s-plus-32.k8s.KeyToPath"></a>

Maps a string key to a path within a volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KeyToPath.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KeyToPath;

KeyToPath.builder()
    .key(java.lang.String)
    .path(java.lang.String)
//  .mode(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KeyToPath.property.key">key</a></code> | <code>java.lang.String</code> | key is the key to project. |
| <code><a href="#cdk8s-plus-32.k8s.KeyToPath.property.path">path</a></code> | <code>java.lang.String</code> | path is the relative path of the file to map the key to. |
| <code><a href="#cdk8s-plus-32.k8s.KeyToPath.property.mode">mode</a></code> | <code>java.lang.Number</code> | mode is Optional: mode bits used to set permissions on this file. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.KeyToPath.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

key is the key to project.

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.KeyToPath.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is the relative path of the file to map the key to.

May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

---

##### `mode`<sup>Optional</sup> <a name="mode" id="cdk8s-plus-32.k8s.KeyToPath.property.mode"></a>

```java
public java.lang.Number getMode();
```

- *Type:* java.lang.Number

mode is Optional: mode bits used to set permissions on this file.

Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

### KubeApiServiceListProps <a name="KubeApiServiceListProps" id="cdk8s-plus-32.k8s.KubeApiServiceListProps"></a>

APIServiceList is a list of APIService objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeApiServiceListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceListProps;

KubeApiServiceListProps.builder()
    .items(java.util.List<KubeApiServiceProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeApiServiceProps></code> | Items is the list of APIService. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeApiServiceListProps.property.items"></a>

```java
public java.util.List<KubeApiServiceProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeApiServiceProps>

Items is the list of APIService.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiServiceListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeApiServiceProps <a name="KubeApiServiceProps" id="cdk8s-plus-32.k8s.KubeApiServiceProps"></a>

APIService represents a server for a particular GroupVersion.

Name must be "version.group".

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeApiServiceProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeApiServiceProps;

KubeApiServiceProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ApiServiceSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeApiServiceProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ApiServiceSpec</code> | Spec contains information for locating and communicating with a server. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeApiServiceProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeApiServiceProps.property.spec"></a>

```java
public ApiServiceSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ApiServiceSpec

Spec contains information for locating and communicating with a server.

---

### KubeBindingProps <a name="KubeBindingProps" id="cdk8s-plus-32.k8s.KubeBindingProps"></a>

Binding ties one object to another;

for example, a pod is bound to a node by a scheduler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeBindingProps;

KubeBindingProps.builder()
    .target(ObjectReference)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeBindingProps.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | The target object that you want to bind to the standard object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.KubeBindingProps.property.target"></a>

```java
public ObjectReference getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

The target object that you want to bind to the standard object.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeBindingProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeCertificateSigningRequestListProps <a name="KubeCertificateSigningRequestListProps" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps"></a>

CertificateSigningRequestList is a collection of CertificateSigningRequest objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestListProps;

KubeCertificateSigningRequestListProps.builder()
    .items(java.util.List<KubeCertificateSigningRequestProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps></code> | items is a collection of CertificateSigningRequest objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | *No description.* |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps.property.items"></a>

```java
public java.util.List<KubeCertificateSigningRequestProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps>

items is a collection of CertificateSigningRequest objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

---

### KubeCertificateSigningRequestProps <a name="KubeCertificateSigningRequestProps" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps"></a>

CertificateSigningRequest objects provide a mechanism to obtain x509 certificates by submitting a certificate signing request, and having it asynchronously approved and issued.

Kubelets use this API to obtain:

1. client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client-kubelet" signerName).
2. serving certificates for TLS endpoints kube-apiserver can connect to securely (with the "kubernetes.io/kubelet-serving" signerName).

This API can be used to request client certificates to authenticate to kube-apiserver (with the "kubernetes.io/kube-apiserver-client" signerName), or to obtain certificates from custom non-Kubernetes signers.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCertificateSigningRequestProps;

KubeCertificateSigningRequestProps.builder()
    .spec(CertificateSigningRequestSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CertificateSigningRequestSpec</code> | spec contains the certificate request, and is immutable after creation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | *No description.* |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps.property.spec"></a>

```java
public CertificateSigningRequestSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.CertificateSigningRequestSpec

spec contains the certificate request, and is immutable after creation.

Only the request, signerName, expirationSeconds, and usages fields can be set on creation. Other fields are derived by Kubernetes and cannot be modified by users.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCertificateSigningRequestProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

---

### KubeClusterRoleBindingListProps <a name="KubeClusterRoleBindingListProps" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps"></a>

ClusterRoleBindingList is a collection of ClusterRoleBindings.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingListProps;

KubeClusterRoleBindingListProps.builder()
    .items(java.util.List<KubeClusterRoleBindingProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps></code> | Items is a list of ClusterRoleBindings. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps.property.items"></a>

```java
public java.util.List<KubeClusterRoleBindingProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps>

Items is a list of ClusterRoleBindings.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

### KubeClusterRoleBindingProps <a name="KubeClusterRoleBindingProps" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingProps"></a>

ClusterRoleBinding references a ClusterRole, but not contain it.

It can reference a ClusterRole in the global namespace, and adds who information via Subject.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleBindingProps;

KubeClusterRoleBindingProps.builder()
    .roleRef(RoleRef)
//  .metadata(ObjectMeta)
//  .subjects(java.util.List<Subject>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.roleRef">roleRef</a></code> | <code>org.cdk8s.plus32.k8s.RoleRef</code> | RoleRef can only reference a ClusterRole in the global namespace. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.subjects">subjects</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Subject></code> | Subjects holds references to the objects the role applies to. |

---

##### `roleRef`<sup>Required</sup> <a name="roleRef" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.roleRef"></a>

```java
public RoleRef getRoleRef();
```

- *Type:* org.cdk8s.plus32.k8s.RoleRef

RoleRef can only reference a ClusterRole in the global namespace.

If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `subjects`<sup>Optional</sup> <a name="subjects" id="cdk8s-plus-32.k8s.KubeClusterRoleBindingProps.property.subjects"></a>

```java
public java.util.List<Subject> getSubjects();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Subject>

Subjects holds references to the objects the role applies to.

---

### KubeClusterRoleListProps <a name="KubeClusterRoleListProps" id="cdk8s-plus-32.k8s.KubeClusterRoleListProps"></a>

ClusterRoleList is a collection of ClusterRoles.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterRoleListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleListProps;

KubeClusterRoleListProps.builder()
    .items(java.util.List<KubeClusterRoleProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleProps></code> | Items is a list of ClusterRoles. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterRoleListProps.property.items"></a>

```java
public java.util.List<KubeClusterRoleProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterRoleProps>

Items is a list of ClusterRoles.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

### KubeClusterRoleProps <a name="KubeClusterRoleProps" id="cdk8s-plus-32.k8s.KubeClusterRoleProps"></a>

ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterRoleProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterRoleProps;

KubeClusterRoleProps.builder()
//  .aggregationRule(AggregationRule)
//  .metadata(ObjectMeta)
//  .rules(java.util.List<PolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleProps.property.aggregationRule">aggregationRule</a></code> | <code>org.cdk8s.plus32.k8s.AggregationRule</code> | AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterRoleProps.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PolicyRule></code> | Rules holds all the PolicyRules for this ClusterRole. |

---

##### `aggregationRule`<sup>Optional</sup> <a name="aggregationRule" id="cdk8s-plus-32.k8s.KubeClusterRoleProps.property.aggregationRule"></a>

```java
public AggregationRule getAggregationRule();
```

- *Type:* org.cdk8s.plus32.k8s.AggregationRule

AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.

If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterRoleProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.KubeClusterRoleProps.property.rules"></a>

```java
public java.util.List<PolicyRule> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PolicyRule>

Rules holds all the PolicyRules for this ClusterRole.

---

### KubeClusterTrustBundleListV1Alpha1Props <a name="KubeClusterTrustBundleListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props"></a>

ClusterTrustBundleList is a collection of ClusterTrustBundle objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleListV1Alpha1Props;

KubeClusterTrustBundleListV1Alpha1Props.builder()
    .items(java.util.List<KubeClusterTrustBundleV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props></code> | items is a collection of ClusterTrustBundle objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | metadata contains the list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeClusterTrustBundleV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props>

items is a collection of ClusterTrustBundle objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

metadata contains the list metadata.

---

### KubeClusterTrustBundleV1Alpha1Props <a name="KubeClusterTrustBundleV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props"></a>

ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).

ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection.  All service accounts have read access to ClusterTrustBundles by default.  Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.

It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeClusterTrustBundleV1Alpha1Props;

KubeClusterTrustBundleV1Alpha1Props.builder()
    .spec(ClusterTrustBundleSpecV1Alpha1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ClusterTrustBundleSpecV1Alpha1</code> | spec contains the signer (if any) and trust anchors. |
| <code><a href="#cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | metadata contains the object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props.property.spec"></a>

```java
public ClusterTrustBundleSpecV1Alpha1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ClusterTrustBundleSpecV1Alpha1

spec contains the signer (if any) and trust anchors.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeClusterTrustBundleV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

metadata contains the object metadata.

---

### KubeComponentStatusListProps <a name="KubeComponentStatusListProps" id="cdk8s-plus-32.k8s.KubeComponentStatusListProps"></a>

Status of all the conditions for the component as a list of ComponentStatus objects.

Deprecated: This API is deprecated in v1.19+

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeComponentStatusListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusListProps;

KubeComponentStatusListProps.builder()
    .items(java.util.List<KubeComponentStatusProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeComponentStatusProps></code> | List of ComponentStatus objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeComponentStatusListProps.property.items"></a>

```java
public java.util.List<KubeComponentStatusProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeComponentStatusProps>

List of ComponentStatus objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatusListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeComponentStatusProps <a name="KubeComponentStatusProps" id="cdk8s-plus-32.k8s.KubeComponentStatusProps"></a>

ComponentStatus (and ComponentStatusList) holds the cluster validation info.

Deprecated: This API is deprecated in v1.19+

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeComponentStatusProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeComponentStatusProps;

KubeComponentStatusProps.builder()
//  .conditions(java.util.List<ComponentCondition>)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusProps.property.conditions">conditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ComponentCondition></code> | List of component conditions observed. |
| <code><a href="#cdk8s-plus-32.k8s.KubeComponentStatusProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `conditions`<sup>Optional</sup> <a name="conditions" id="cdk8s-plus-32.k8s.KubeComponentStatusProps.property.conditions"></a>

```java
public java.util.List<ComponentCondition> getConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ComponentCondition>

List of component conditions observed.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeComponentStatusProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeConfigMapListProps <a name="KubeConfigMapListProps" id="cdk8s-plus-32.k8s.KubeConfigMapListProps"></a>

ConfigMapList is a resource containing a list of ConfigMap objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeConfigMapListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapListProps;

KubeConfigMapListProps.builder()
    .items(java.util.List<KubeConfigMapProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeConfigMapProps></code> | Items is the list of ConfigMaps. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeConfigMapListProps.property.items"></a>

```java
public java.util.List<KubeConfigMapProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeConfigMapProps>

Items is the list of ConfigMaps.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMapListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeConfigMapProps <a name="KubeConfigMapProps" id="cdk8s-plus-32.k8s.KubeConfigMapProps"></a>

ConfigMap holds configuration data for pods to consume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeConfigMapProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeConfigMapProps;

KubeConfigMapProps.builder()
//  .binaryData(java.util.Map<java.lang.String, java.lang.String>)
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapProps.property.binaryData">binaryData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | BinaryData contains the binary data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapProps.property.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the configuration data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.k8s.KubeConfigMapProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `binaryData`<sup>Optional</sup> <a name="binaryData" id="cdk8s-plus-32.k8s.KubeConfigMapProps.property.binaryData"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getBinaryData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

BinaryData contains the binary data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeConfigMapProps.property.data"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the configuration data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.k8s.KubeConfigMapProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time. Defaulted to nil.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeConfigMapProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeControllerRevisionListProps <a name="KubeControllerRevisionListProps" id="cdk8s-plus-32.k8s.KubeControllerRevisionListProps"></a>

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeControllerRevisionListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionListProps;

KubeControllerRevisionListProps.builder()
    .items(java.util.List<KubeControllerRevisionProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeControllerRevisionProps></code> | Items is the list of ControllerRevisions. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeControllerRevisionListProps.property.items"></a>

```java
public java.util.List<KubeControllerRevisionProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeControllerRevisionProps>

Items is the list of ControllerRevisions.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevisionListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeControllerRevisionProps <a name="KubeControllerRevisionProps" id="cdk8s-plus-32.k8s.KubeControllerRevisionProps"></a>

ControllerRevision implements an immutable snapshot of state data.

Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeControllerRevisionProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeControllerRevisionProps;

KubeControllerRevisionProps.builder()
    .revision(java.lang.Number)
//  .data(java.lang.Object)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.revision">revision</a></code> | <code>java.lang.Number</code> | Revision indicates the revision of the state represented by Data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.data">data</a></code> | <code>java.lang.Object</code> | Data is the serialized representation of the state. |
| <code><a href="#cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `revision`<sup>Required</sup> <a name="revision" id="cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.revision"></a>

```java
public java.lang.Number getRevision();
```

- *Type:* java.lang.Number

Revision indicates the revision of the state represented by Data.

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.data"></a>

```java
public java.lang.Object getData();
```

- *Type:* java.lang.Object

Data is the serialized representation of the state.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeControllerRevisionProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeCronJobListProps <a name="KubeCronJobListProps" id="cdk8s-plus-32.k8s.KubeCronJobListProps"></a>

CronJobList is a collection of cron jobs.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCronJobListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobListProps;

KubeCronJobListProps.builder()
    .items(java.util.List<KubeCronJobProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCronJobProps></code> | items is the list of CronJobs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCronJobListProps.property.items"></a>

```java
public java.util.List<KubeCronJobProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCronJobProps>

items is the list of CronJobs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJobListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeCronJobProps <a name="KubeCronJobProps" id="cdk8s-plus-32.k8s.KubeCronJobProps"></a>

CronJob represents the configuration of a single cron job.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCronJobProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCronJobProps;

KubeCronJobProps.builder()
//  .metadata(ObjectMeta)
//  .spec(CronJobSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCronJobProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CronJobSpec</code> | Specification of the desired behavior of a cron job, including the schedule. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCronJobProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCronJobProps.property.spec"></a>

```java
public CronJobSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.CronJobSpec

Specification of the desired behavior of a cron job, including the schedule.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeCsiDriverListProps <a name="KubeCsiDriverListProps" id="cdk8s-plus-32.k8s.KubeCsiDriverListProps"></a>

CSIDriverList is a collection of CSIDriver objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiDriverListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverListProps;

KubeCsiDriverListProps.builder()
    .items(java.util.List<KubeCsiDriverProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiDriverProps></code> | items is the list of CSIDriver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiDriverListProps.property.items"></a>

```java
public java.util.List<KubeCsiDriverProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiDriverProps>

items is the list of CSIDriver.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriverListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeCsiDriverProps <a name="KubeCsiDriverProps" id="cdk8s-plus-32.k8s.KubeCsiDriverProps"></a>

CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.

Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiDriverProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiDriverProps;

KubeCsiDriverProps.builder()
    .spec(CsiDriverSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CsiDriverSpec</code> | spec represents the specification of the CSI Driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiDriverProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCsiDriverProps.property.spec"></a>

```java
public CsiDriverSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.CsiDriverSpec

spec represents the specification of the CSI Driver.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiDriverProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeCsiNodeListProps <a name="KubeCsiNodeListProps" id="cdk8s-plus-32.k8s.KubeCsiNodeListProps"></a>

CSINodeList is a collection of CSINode objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiNodeListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeListProps;

KubeCsiNodeListProps.builder()
    .items(java.util.List<KubeCsiNodeProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiNodeProps></code> | items is the list of CSINode. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiNodeListProps.property.items"></a>

```java
public java.util.List<KubeCsiNodeProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiNodeProps>

items is the list of CSINode.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNodeListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeCsiNodeProps <a name="KubeCsiNodeProps" id="cdk8s-plus-32.k8s.KubeCsiNodeProps"></a>

CSINode holds information about all CSI drivers installed on a node.

CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiNodeProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiNodeProps;

KubeCsiNodeProps.builder()
    .spec(CsiNodeSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CsiNodeSpec</code> | spec is the specification of CSINode. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiNodeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCsiNodeProps.property.spec"></a>

```java
public CsiNodeSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.CsiNodeSpec

spec is the specification of CSINode.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiNodeProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

metadata.name must be the Kubernetes node name.

---

### KubeCsiStorageCapacityListProps <a name="KubeCsiStorageCapacityListProps" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps"></a>

CSIStorageCapacityList is a collection of CSIStorageCapacity objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityListProps;

KubeCsiStorageCapacityListProps.builder()
    .items(java.util.List<KubeCsiStorageCapacityProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps></code> | items is the list of CSIStorageCapacity objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps.property.items"></a>

```java
public java.util.List<KubeCsiStorageCapacityProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps>

items is the list of CSIStorageCapacity objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeCsiStorageCapacityProps <a name="KubeCsiStorageCapacityProps" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps"></a>

CSIStorageCapacity stores the result of one CSI GetCapacity call.

For a given StorageClass, this describes the available capacity in a particular topology segment.  This can be used when considering where to instantiate new PersistentVolumes.

For example this can express things like: - StorageClass "standard" has "1234 GiB" available in "topology.kubernetes.io/zone=us-east1" - StorageClass "localssd" has "10 GiB" available in "kubernetes.io/hostname=knode-abc123"

The following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero

The producer of these objects can decide which approach is more suitable.

They are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCsiStorageCapacityProps;

KubeCsiStorageCapacityProps.builder()
    .storageClassName(java.lang.String)
//  .capacity(Quantity)
//  .maximumVolumeSize(Quantity)
//  .metadata(ObjectMeta)
//  .nodeTopology(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | storageClassName represents the name of the StorageClass that the reported capacity applies to. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.capacity">capacity</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.maximumVolumeSize">maximumVolumeSize</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.nodeTopology">nodeTopology</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | nodeTopology defines which nodes have access to the storage for which capacity was reported. |

---

##### `storageClassName`<sup>Required</sup> <a name="storageClassName" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

storageClassName represents the name of the StorageClass that the reported capacity applies to.

It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.

---

##### `capacity`<sup>Optional</sup> <a name="capacity" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.capacity"></a>

```java
public Quantity getCapacity();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable.

---

##### `maximumVolumeSize`<sup>Optional</sup> <a name="maximumVolumeSize" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.maximumVolumeSize"></a>

```java
public Quantity getMaximumVolumeSize();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.

This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-<uuid>, a generated name, or a reverse-domain name which ends with the unique CSI driver name.

Objects are namespaced.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `nodeTopology`<sup>Optional</sup> <a name="nodeTopology" id="cdk8s-plus-32.k8s.KubeCsiStorageCapacityProps.property.nodeTopology"></a>

```java
public LabelSelector getNodeTopology();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

nodeTopology defines which nodes have access to the storage for which capacity was reported.

If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable.

---

### KubeCustomResourceDefinitionListProps <a name="KubeCustomResourceDefinitionListProps" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps"></a>

CustomResourceDefinitionList is a list of CustomResourceDefinition objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionListProps;

KubeCustomResourceDefinitionListProps.builder()
    .items(java.util.List<KubeCustomResourceDefinitionProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps></code> | items list individual CustomResourceDefinition objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps.property.items"></a>

```java
public java.util.List<KubeCustomResourceDefinitionProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps>

items list individual CustomResourceDefinition objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeCustomResourceDefinitionProps <a name="KubeCustomResourceDefinitionProps" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps"></a>

CustomResourceDefinition represents a resource that should be exposed on the API server.

Its name MUST be in the format <.spec.name>.<.spec.group>.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeCustomResourceDefinitionProps;

KubeCustomResourceDefinitionProps.builder()
    .spec(CustomResourceDefinitionSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.CustomResourceDefinitionSpec</code> | spec describes how the user wants the resources to appear. |
| <code><a href="#cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps.property.spec"></a>

```java
public CustomResourceDefinitionSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.CustomResourceDefinitionSpec

spec describes how the user wants the resources to appear.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeCustomResourceDefinitionProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeDaemonSetListProps <a name="KubeDaemonSetListProps" id="cdk8s-plus-32.k8s.KubeDaemonSetListProps"></a>

DaemonSetList is a collection of daemon sets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDaemonSetListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetListProps;

KubeDaemonSetListProps.builder()
    .items(java.util.List<KubeDaemonSetProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDaemonSetProps></code> | A list of daemon sets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDaemonSetListProps.property.items"></a>

```java
public java.util.List<KubeDaemonSetProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDaemonSetProps>

A list of daemon sets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSetListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeDaemonSetProps <a name="KubeDaemonSetProps" id="cdk8s-plus-32.k8s.KubeDaemonSetProps"></a>

DaemonSet represents the configuration of a daemon set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDaemonSetProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDaemonSetProps;

KubeDaemonSetProps.builder()
//  .metadata(ObjectMeta)
//  .spec(DaemonSetSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDaemonSetProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DaemonSetSpec</code> | The desired behavior of this daemon set. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDaemonSetProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDaemonSetProps.property.spec"></a>

```java
public DaemonSetSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.DaemonSetSpec

The desired behavior of this daemon set.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeDeploymentListProps <a name="KubeDeploymentListProps" id="cdk8s-plus-32.k8s.KubeDeploymentListProps"></a>

DeploymentList is a list of Deployments.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeploymentListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentListProps;

KubeDeploymentListProps.builder()
    .items(java.util.List<KubeDeploymentProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeploymentProps></code> | Items is the list of Deployments. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeploymentListProps.property.items"></a>

```java
public java.util.List<KubeDeploymentProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeploymentProps>

Items is the list of Deployments.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeploymentListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeDeploymentProps <a name="KubeDeploymentProps" id="cdk8s-plus-32.k8s.KubeDeploymentProps"></a>

Deployment enables declarative updates for Pods and ReplicaSets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeploymentProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeploymentProps;

KubeDeploymentProps.builder()
//  .metadata(ObjectMeta)
//  .spec(DeploymentSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeploymentProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeploymentSpec</code> | Specification of the desired behavior of the Deployment. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeploymentProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeploymentProps.property.spec"></a>

```java
public DeploymentSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.DeploymentSpec

Specification of the desired behavior of the Deployment.

---

### KubeDeviceClassListV1Alpha3Props <a name="KubeDeviceClassListV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props"></a>

DeviceClassList is a collection of classes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Alpha3Props;

KubeDeviceClassListV1Alpha3Props.builder()
    .items(java.util.List<KubeDeviceClassV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props></code> | Items is the list of resource classes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props.property.items"></a>

```java
public java.util.List<KubeDeviceClassV1Alpha3Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props>

Items is the list of resource classes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Alpha3Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeDeviceClassListV1Beta1Props <a name="KubeDeviceClassListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props"></a>

DeviceClassList is a collection of classes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassListV1Beta1Props;

KubeDeviceClassListV1Beta1Props.builder()
    .items(java.util.List<KubeDeviceClassV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props></code> | Items is the list of resource classes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeDeviceClassV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props>

Items is the list of resource classes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeDeviceClassV1Alpha3Props <a name="KubeDeviceClassV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props"></a>

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.

It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Alpha3Props;

KubeDeviceClassV1Alpha3Props.builder()
    .spec(DeviceClassSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClassSpecV1Alpha3</code> | Spec defines what can be allocated and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props.property.spec"></a>

```java
public DeviceClassSpecV1Alpha3 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.DeviceClassSpecV1Alpha3

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Alpha3Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeDeviceClassV1Beta1Props <a name="KubeDeviceClassV1Beta1Props" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props"></a>

DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors.

It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeDeviceClassV1Beta1Props;

KubeDeviceClassV1Beta1Props.builder()
    .spec(DeviceClassSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClassSpecV1Beta1</code> | Spec defines what can be allocated and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props.property.spec"></a>

```java
public DeviceClassSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.DeviceClassSpecV1Beta1

Spec defines what can be allocated and how to configure it.

This is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeDeviceClassV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeEndpointSliceListProps <a name="KubeEndpointSliceListProps" id="cdk8s-plus-32.k8s.KubeEndpointSliceListProps"></a>

EndpointSliceList represents a list of endpoint slices.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEndpointSliceListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceListProps;

KubeEndpointSliceListProps.builder()
    .items(java.util.List<KubeEndpointSliceProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEndpointSliceProps></code> | items is the list of endpoint slices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEndpointSliceListProps.property.items"></a>

```java
public java.util.List<KubeEndpointSliceProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEndpointSliceProps>

items is the list of endpoint slices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSliceListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeEndpointSliceProps <a name="KubeEndpointSliceProps" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps"></a>

EndpointSlice represents a subset of the endpoints that implement a service.

For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointSliceProps;

KubeEndpointSliceProps.builder()
    .addressType(java.lang.String)
    .endpoints(java.util.List<Endpoint>)
//  .metadata(ObjectMeta)
//  .ports(java.util.List<EndpointPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.addressType">addressType</a></code> | <code>java.lang.String</code> | addressType specifies the type of address carried by this EndpointSlice. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.endpoints">endpoints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Endpoint></code> | endpoints is a list of unique endpoints in this slice. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointPort></code> | ports specifies the list of network ports exposed by each endpoint in this slice. |

---

##### `addressType`<sup>Required</sup> <a name="addressType" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.addressType"></a>

```java
public java.lang.String getAddressType();
```

- *Type:* java.lang.String

addressType specifies the type of address carried by this EndpointSlice.

All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.

---

##### `endpoints`<sup>Required</sup> <a name="endpoints" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.endpoints"></a>

```java
public java.util.List<Endpoint> getEndpoints();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Endpoint>

endpoints is a list of unique endpoints in this slice.

Each slice may include a maximum of 1000 endpoints.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.KubeEndpointSliceProps.property.ports"></a>

```java
public java.util.List<EndpointPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointPort>

ports specifies the list of network ports exposed by each endpoint in this slice.

Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.

---

### KubeEndpointsListProps <a name="KubeEndpointsListProps" id="cdk8s-plus-32.k8s.KubeEndpointsListProps"></a>

EndpointsList is a list of endpoints.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEndpointsListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsListProps;

KubeEndpointsListProps.builder()
    .items(java.util.List<KubeEndpointsProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEndpointsProps></code> | List of endpoints. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEndpointsListProps.property.items"></a>

```java
public java.util.List<KubeEndpointsProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEndpointsProps>

List of endpoints.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointsListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeEndpointsProps <a name="KubeEndpointsProps" id="cdk8s-plus-32.k8s.KubeEndpointsProps"></a>

Endpoints is a collection of endpoints that implement the actual service. Example:.

Name: "mysvc",
Subsets: [
{
Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}],
Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}]
},
{
Addresses: [{"ip": "10.10.3.3"}],
Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
},
]

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEndpointsProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEndpointsProps;

KubeEndpointsProps.builder()
//  .metadata(ObjectMeta)
//  .subsets(java.util.List<EndpointSubset>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEndpointsProps.property.subsets">subsets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EndpointSubset></code> | The set of all endpoints is the union of all subsets. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEndpointsProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `subsets`<sup>Optional</sup> <a name="subsets" id="cdk8s-plus-32.k8s.KubeEndpointsProps.property.subsets"></a>

```java
public java.util.List<EndpointSubset> getSubsets();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EndpointSubset>

The set of all endpoints is the union of all subsets.

Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.

---

### KubeEventListProps <a name="KubeEventListProps" id="cdk8s-plus-32.k8s.KubeEventListProps"></a>

EventList is a list of Event objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEventListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventListProps;

KubeEventListProps.builder()
    .items(java.util.List<KubeEventProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeEventProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeEventListProps.property.items"></a>

```java
public java.util.List<KubeEventProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeEventProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEventListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeEventProps <a name="KubeEventProps" id="cdk8s-plus-32.k8s.KubeEventProps"></a>

Event is a report of an event somewhere in the cluster.

It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time.  Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason.  Events should be treated as informative, best-effort, supplemental data.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEventProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEventProps;

KubeEventProps.builder()
    .eventTime(java.time.Instant)
//  .action(java.lang.String)
//  .deprecatedCount(java.lang.Number)
//  .deprecatedFirstTimestamp(java.time.Instant)
//  .deprecatedLastTimestamp(java.time.Instant)
//  .deprecatedSource(EventSource)
//  .metadata(ObjectMeta)
//  .note(java.lang.String)
//  .reason(java.lang.String)
//  .regarding(ObjectReference)
//  .related(ObjectReference)
//  .reportingController(java.lang.String)
//  .reportingInstance(java.lang.String)
//  .series(EventSeries)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.eventTime">eventTime</a></code> | <code>java.time.Instant</code> | eventTime is the time when this Event was first observed. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.action">action</a></code> | <code>java.lang.String</code> | action is what action was taken/failed regarding to the regarding object. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedCount">deprecatedCount</a></code> | <code>java.lang.Number</code> | deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedFirstTimestamp">deprecatedFirstTimestamp</a></code> | <code>java.time.Instant</code> | deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedLastTimestamp">deprecatedLastTimestamp</a></code> | <code>java.time.Instant</code> | deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedSource">deprecatedSource</a></code> | <code>org.cdk8s.plus32.k8s.EventSource</code> | deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.note">note</a></code> | <code>java.lang.String</code> | note is a human-readable description of the status of this operation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.reason">reason</a></code> | <code>java.lang.String</code> | reason is why the action was taken. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.regarding">regarding</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | regarding contains the object this Event is about. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.related">related</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | related is the optional secondary object for more complex actions. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.reportingController">reportingController</a></code> | <code>java.lang.String</code> | reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.reportingInstance">reportingInstance</a></code> | <code>java.lang.String</code> | reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.series">series</a></code> | <code>org.cdk8s.plus32.k8s.EventSeries</code> | series is data about the Event series this event represents or nil if it's a singleton Event. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEventProps.property.type">type</a></code> | <code>java.lang.String</code> | type is the type of this event (Normal, Warning), new types could be added in the future. |

---

##### `eventTime`<sup>Required</sup> <a name="eventTime" id="cdk8s-plus-32.k8s.KubeEventProps.property.eventTime"></a>

```java
public java.time.Instant getEventTime();
```

- *Type:* java.time.Instant

eventTime is the time when this Event was first observed.

It is required.

---

##### `action`<sup>Optional</sup> <a name="action" id="cdk8s-plus-32.k8s.KubeEventProps.property.action"></a>

```java
public java.lang.String getAction();
```

- *Type:* java.lang.String

action is what action was taken/failed regarding to the regarding object.

It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `deprecatedCount`<sup>Optional</sup> <a name="deprecatedCount" id="cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedCount"></a>

```java
public java.lang.Number getDeprecatedCount();
```

- *Type:* java.lang.Number

deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedFirstTimestamp`<sup>Optional</sup> <a name="deprecatedFirstTimestamp" id="cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedFirstTimestamp"></a>

```java
public java.time.Instant getDeprecatedFirstTimestamp();
```

- *Type:* java.time.Instant

deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedLastTimestamp`<sup>Optional</sup> <a name="deprecatedLastTimestamp" id="cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedLastTimestamp"></a>

```java
public java.time.Instant getDeprecatedLastTimestamp();
```

- *Type:* java.time.Instant

deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `deprecatedSource`<sup>Optional</sup> <a name="deprecatedSource" id="cdk8s-plus-32.k8s.KubeEventProps.property.deprecatedSource"></a>

```java
public EventSource getDeprecatedSource();
```

- *Type:* org.cdk8s.plus32.k8s.EventSource

deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEventProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `note`<sup>Optional</sup> <a name="note" id="cdk8s-plus-32.k8s.KubeEventProps.property.note"></a>

```java
public java.lang.String getNote();
```

- *Type:* java.lang.String

note is a human-readable description of the status of this operation.

Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.KubeEventProps.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

reason is why the action was taken.

It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `regarding`<sup>Optional</sup> <a name="regarding" id="cdk8s-plus-32.k8s.KubeEventProps.property.regarding"></a>

```java
public ObjectReference getRegarding();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

regarding contains the object this Event is about.

In most cases it's an Object reporting controller implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

---

##### `related`<sup>Optional</sup> <a name="related" id="cdk8s-plus-32.k8s.KubeEventProps.property.related"></a>

```java
public ObjectReference getRelated();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

related is the optional secondary object for more complex actions.

E.g. when regarding object triggers a creation or deletion of related object.

---

##### `reportingController`<sup>Optional</sup> <a name="reportingController" id="cdk8s-plus-32.k8s.KubeEventProps.property.reportingController"></a>

```java
public java.lang.String getReportingController();
```

- *Type:* java.lang.String

reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.

---

##### `reportingInstance`<sup>Optional</sup> <a name="reportingInstance" id="cdk8s-plus-32.k8s.KubeEventProps.property.reportingInstance"></a>

```java
public java.lang.String getReportingInstance();
```

- *Type:* java.lang.String

reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.

---

##### `series`<sup>Optional</sup> <a name="series" id="cdk8s-plus-32.k8s.KubeEventProps.property.series"></a>

```java
public EventSeries getSeries();
```

- *Type:* org.cdk8s.plus32.k8s.EventSeries

series is data about the Event series this event represents or nil if it's a singleton Event.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.KubeEventProps.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type is the type of this event (Normal, Warning), new types could be added in the future.

It is machine-readable. This field cannot be empty for new Events.

---

### KubeEvictionProps <a name="KubeEvictionProps" id="cdk8s-plus-32.k8s.KubeEvictionProps"></a>

Eviction evicts a pod from its node subject to certain policies and safety constraints.

This is a subresource of Pod.  A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeEvictionProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeEvictionProps;

KubeEvictionProps.builder()
//  .deleteOptions(DeleteOptions)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvictionProps.property.deleteOptions">deleteOptions</a></code> | <code>org.cdk8s.plus32.k8s.DeleteOptions</code> | DeleteOptions may be provided. |
| <code><a href="#cdk8s-plus-32.k8s.KubeEvictionProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | ObjectMeta describes the pod that is being evicted. |

---

##### `deleteOptions`<sup>Optional</sup> <a name="deleteOptions" id="cdk8s-plus-32.k8s.KubeEvictionProps.property.deleteOptions"></a>

```java
public DeleteOptions getDeleteOptions();
```

- *Type:* org.cdk8s.plus32.k8s.DeleteOptions

DeleteOptions may be provided.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeEvictionProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

ObjectMeta describes the pod that is being evicted.

---

### KubeFlowSchemaListProps <a name="KubeFlowSchemaListProps" id="cdk8s-plus-32.k8s.KubeFlowSchemaListProps"></a>

FlowSchemaList is a list of FlowSchema objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeFlowSchemaListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaListProps;

KubeFlowSchemaListProps.builder()
    .items(java.util.List<KubeFlowSchemaProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeFlowSchemaProps></code> | `items` is a list of FlowSchemas. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | `metadata` is the standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeFlowSchemaListProps.property.items"></a>

```java
public java.util.List<KubeFlowSchemaProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeFlowSchemaProps>

`items` is a list of FlowSchemas.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchemaListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

`metadata` is the standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeFlowSchemaProps <a name="KubeFlowSchemaProps" id="cdk8s-plus-32.k8s.KubeFlowSchemaProps"></a>

FlowSchema defines the schema of a group of flows.

Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a "flow distinguisher".

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeFlowSchemaProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeFlowSchemaProps;

KubeFlowSchemaProps.builder()
//  .metadata(ObjectMeta)
//  .spec(FlowSchemaSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | `metadata` is the standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeFlowSchemaProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.FlowSchemaSpec</code> | `spec` is the specification of the desired behavior of a FlowSchema. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeFlowSchemaProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeFlowSchemaProps.property.spec"></a>

```java
public FlowSchemaSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.FlowSchemaSpec

`spec` is the specification of the desired behavior of a FlowSchema.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeHorizontalPodAutoscalerListProps <a name="KubeHorizontalPodAutoscalerListProps" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps"></a>

list of horizontal pod autoscaler objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListProps;

KubeHorizontalPodAutoscalerListProps.builder()
    .items(java.util.List<KubeHorizontalPodAutoscalerProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps></code> | items is the list of horizontal pod autoscaler objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps.property.items"></a>

```java
public java.util.List<KubeHorizontalPodAutoscalerProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps>

items is the list of horizontal pod autoscaler objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeHorizontalPodAutoscalerListV2Props <a name="KubeHorizontalPodAutoscalerListV2Props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props"></a>

HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerListV2Props;

KubeHorizontalPodAutoscalerListV2Props.builder()
    .items(java.util.List<KubeHorizontalPodAutoscalerV2Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props></code> | items is the list of horizontal pod autoscaler objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | metadata is the standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props.property.items"></a>

```java
public java.util.List<KubeHorizontalPodAutoscalerV2Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props>

items is the list of horizontal pod autoscaler objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerListV2Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

metadata is the standard list metadata.

---

### KubeHorizontalPodAutoscalerProps <a name="KubeHorizontalPodAutoscalerProps" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps"></a>

configuration of a horizontal pod autoscaler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerProps;

KubeHorizontalPodAutoscalerProps.builder()
//  .metadata(ObjectMeta)
//  .spec(HorizontalPodAutoscalerSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpec</code> | spec defines the behaviour of autoscaler. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerProps.property.spec"></a>

```java
public HorizontalPodAutoscalerSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpec

spec defines the behaviour of autoscaler.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

### KubeHorizontalPodAutoscalerV2Props <a name="KubeHorizontalPodAutoscalerV2Props" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props"></a>

HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeHorizontalPodAutoscalerV2Props;

KubeHorizontalPodAutoscalerV2Props.builder()
//  .metadata(ObjectMeta)
//  .spec(HorizontalPodAutoscalerSpecV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | metadata is the standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpecV2</code> | spec is the specification for the behaviour of the autoscaler. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

metadata is the standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeHorizontalPodAutoscalerV2Props.property.spec"></a>

```java
public HorizontalPodAutoscalerSpecV2 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.HorizontalPodAutoscalerSpecV2

spec is the specification for the behaviour of the autoscaler.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

### KubeIngressClassListProps <a name="KubeIngressClassListProps" id="cdk8s-plus-32.k8s.KubeIngressClassListProps"></a>

IngressClassList is a collection of IngressClasses.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIngressClassListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassListProps;

KubeIngressClassListProps.builder()
    .items(java.util.List<KubeIngressClassProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIngressClassProps></code> | items is the list of IngressClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIngressClassListProps.property.items"></a>

```java
public java.util.List<KubeIngressClassProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIngressClassProps>

items is the list of IngressClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClassListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeIngressClassProps <a name="KubeIngressClassProps" id="cdk8s-plus-32.k8s.KubeIngressClassProps"></a>

IngressClass represents the class of the Ingress, referenced by the Ingress Spec.

The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIngressClassProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressClassProps;

KubeIngressClassProps.builder()
//  .metadata(ObjectMeta)
//  .spec(IngressClassSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressClassProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IngressClassSpec</code> | spec is the desired state of the IngressClass. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressClassProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIngressClassProps.property.spec"></a>

```java
public IngressClassSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.IngressClassSpec

spec is the desired state of the IngressClass.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeIngressListProps <a name="KubeIngressListProps" id="cdk8s-plus-32.k8s.KubeIngressListProps"></a>

IngressList is a collection of Ingress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIngressListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressListProps;

KubeIngressListProps.builder()
    .items(java.util.List<KubeIngressProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIngressProps></code> | items is the list of Ingress. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIngressListProps.property.items"></a>

```java
public java.util.List<KubeIngressProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIngressProps>

items is the list of Ingress.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeIngressProps <a name="KubeIngressProps" id="cdk8s-plus-32.k8s.KubeIngressProps"></a>

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.

An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIngressProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIngressProps;

KubeIngressProps.builder()
//  .metadata(ObjectMeta)
//  .spec(IngressSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIngressProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IngressSpec</code> | spec is the desired state of the Ingress. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIngressProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIngressProps.property.spec"></a>

```java
public IngressSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.IngressSpec

spec is the desired state of the Ingress.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeIpAddressListV1Beta1Props <a name="KubeIpAddressListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props"></a>

IPAddressList contains a list of IPAddress.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressListV1Beta1Props;

KubeIpAddressListV1Beta1Props.builder()
    .items(java.util.List<KubeIpAddressV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props></code> | items is the list of IPAddresses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeIpAddressV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props>

items is the list of IPAddresses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeIpAddressV1Beta1Props <a name="KubeIpAddressV1Beta1Props" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props"></a>

IPAddress represents a single IP of a single IP Family.

The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeIpAddressV1Beta1Props;

KubeIpAddressV1Beta1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(IpAddressSpecV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.IpAddressSpecV1Beta1</code> | spec is the desired state of the IPAddress. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeIpAddressV1Beta1Props.property.spec"></a>

```java
public IpAddressSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.IpAddressSpecV1Beta1

spec is the desired state of the IPAddress.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeJobListProps <a name="KubeJobListProps" id="cdk8s-plus-32.k8s.KubeJobListProps"></a>

JobList is a collection of jobs.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeJobListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobListProps;

KubeJobListProps.builder()
    .items(java.util.List<KubeJobProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeJobProps></code> | items is the list of Jobs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeJobListProps.property.items"></a>

```java
public java.util.List<KubeJobProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeJobProps>

items is the list of Jobs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJobListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeJobProps <a name="KubeJobProps" id="cdk8s-plus-32.k8s.KubeJobProps"></a>

Job represents the configuration of a single job.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeJobProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeJobProps;

KubeJobProps.builder()
//  .metadata(ObjectMeta)
//  .spec(JobSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeJobProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.JobSpec</code> | Specification of the desired behavior of a job. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeJobProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeJobProps.property.spec"></a>

```java
public JobSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.JobSpec

Specification of the desired behavior of a job.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeLeaseCandidateListV1Alpha2Props <a name="KubeLeaseCandidateListV1Alpha2Props" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props"></a>

LeaseCandidateList is a list of Lease objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateListV1Alpha2Props;

KubeLeaseCandidateListV1Alpha2Props.builder()
    .items(java.util.List<KubeLeaseCandidateV1Alpha2Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props.property.items"></a>

```java
public java.util.List<KubeLeaseCandidateV1Alpha2Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateListV1Alpha2Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeLeaseCandidateV1Alpha2Props <a name="KubeLeaseCandidateV1Alpha2Props" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props"></a>

LeaseCandidate defines a candidate for a Lease object.

Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseCandidateV1Alpha2Props;

KubeLeaseCandidateV1Alpha2Props.builder()
//  .metadata(ObjectMeta)
//  .spec(LeaseCandidateSpecV1Alpha2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LeaseCandidateSpecV1Alpha2</code> | spec contains the specification of the Lease. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLeaseCandidateV1Alpha2Props.property.spec"></a>

```java
public LeaseCandidateSpecV1Alpha2 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.LeaseCandidateSpecV1Alpha2

spec contains the specification of the Lease.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeLeaseListProps <a name="KubeLeaseListProps" id="cdk8s-plus-32.k8s.KubeLeaseListProps"></a>

LeaseList is a list of Lease objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLeaseListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseListProps;

KubeLeaseListProps.builder()
    .items(java.util.List<KubeLeaseProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLeaseProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLeaseListProps.property.items"></a>

```java
public java.util.List<KubeLeaseProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLeaseProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeLeaseProps <a name="KubeLeaseProps" id="cdk8s-plus-32.k8s.KubeLeaseProps"></a>

Lease defines a lease concept.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLeaseProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLeaseProps;

KubeLeaseProps.builder()
//  .metadata(ObjectMeta)
//  .spec(LeaseSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLeaseProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LeaseSpec</code> | spec contains the specification of the Lease. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLeaseProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLeaseProps.property.spec"></a>

```java
public LeaseSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.LeaseSpec

spec contains the specification of the Lease.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeLimitRangeListProps <a name="KubeLimitRangeListProps" id="cdk8s-plus-32.k8s.KubeLimitRangeListProps"></a>

LimitRangeList is a list of LimitRange items.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLimitRangeListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeListProps;

KubeLimitRangeListProps.builder()
    .items(java.util.List<KubeLimitRangeProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeLimitRangeProps></code> | Items is a list of LimitRange objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeLimitRangeListProps.property.items"></a>

```java
public java.util.List<KubeLimitRangeProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeLimitRangeProps>

Items is a list of LimitRange objects.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRangeListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeLimitRangeProps <a name="KubeLimitRangeProps" id="cdk8s-plus-32.k8s.KubeLimitRangeProps"></a>

LimitRange sets resource usage limits for each kind of resource in a Namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLimitRangeProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLimitRangeProps;

KubeLimitRangeProps.builder()
//  .metadata(ObjectMeta)
//  .spec(LimitRangeSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLimitRangeProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.LimitRangeSpec</code> | Spec defines the limits enforced. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLimitRangeProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLimitRangeProps.property.spec"></a>

```java
public LimitRangeSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.LimitRangeSpec

Spec defines the limits enforced.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeLocalSubjectAccessReviewProps <a name="KubeLocalSubjectAccessReviewProps" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps"></a>

LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.

Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeLocalSubjectAccessReviewProps;

KubeLocalSubjectAccessReviewProps.builder()
    .spec(SubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps.property.spec"></a>

```java
public SubjectAccessReviewSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.SubjectAccessReviewSpec

Spec holds information about the request being evaluated.

spec.namespace must be equal to the namespace you made the request against.  If empty, it is defaulted.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeLocalSubjectAccessReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeMutatingAdmissionPolicyBindingListV1Alpha1Props <a name="KubeMutatingAdmissionPolicyBindingListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props"></a>

MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props;

KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.builder()
    .items(java.util.List<KubeMutatingAdmissionPolicyBindingV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeMutatingAdmissionPolicyBindingV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeMutatingAdmissionPolicyBindingV1Alpha1Props <a name="KubeMutatingAdmissionPolicyBindingV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props"></a>

MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources.

MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).

Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props;

KubeMutatingAdmissionPolicyBindingV1Alpha1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(MutatingAdmissionPolicyBindingSpecV1Alpha1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1</code> | Specification of the desired behavior of the MutatingAdmissionPolicyBinding. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyBindingV1Alpha1Props.property.spec"></a>

```java
public MutatingAdmissionPolicyBindingSpecV1Alpha1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1

Specification of the desired behavior of the MutatingAdmissionPolicyBinding.

---

### KubeMutatingAdmissionPolicyListV1Alpha1Props <a name="KubeMutatingAdmissionPolicyListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props"></a>

MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props;

KubeMutatingAdmissionPolicyListV1Alpha1Props.builder()
    .items(java.util.List<KubeMutatingAdmissionPolicyV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeMutatingAdmissionPolicyV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeMutatingAdmissionPolicyV1Alpha1Props <a name="KubeMutatingAdmissionPolicyV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props"></a>

MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props;

KubeMutatingAdmissionPolicyV1Alpha1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(MutatingAdmissionPolicySpecV1Alpha1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.MutatingAdmissionPolicySpecV1Alpha1</code> | Specification of the desired behavior of the MutatingAdmissionPolicy. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeMutatingAdmissionPolicyV1Alpha1Props.property.spec"></a>

```java
public MutatingAdmissionPolicySpecV1Alpha1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.MutatingAdmissionPolicySpecV1Alpha1

Specification of the desired behavior of the MutatingAdmissionPolicy.

---

### KubeMutatingWebhookConfigurationListProps <a name="KubeMutatingWebhookConfigurationListProps" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps"></a>

MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationListProps;

KubeMutatingWebhookConfigurationListProps.builder()
    .items(java.util.List<KubeMutatingWebhookConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps></code> | List of MutatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps.property.items"></a>

```java
public java.util.List<KubeMutatingWebhookConfigurationProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps>

List of MutatingWebhookConfiguration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeMutatingWebhookConfigurationProps <a name="KubeMutatingWebhookConfigurationProps" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps"></a>

MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeMutatingWebhookConfigurationProps;

KubeMutatingWebhookConfigurationProps.builder()
//  .metadata(ObjectMeta)
//  .webhooks(java.util.List<MutatingWebhook>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps.property.webhooks">webhooks</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MutatingWebhook></code> | Webhooks is a list of webhooks and the affected resources and operations. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `webhooks`<sup>Optional</sup> <a name="webhooks" id="cdk8s-plus-32.k8s.KubeMutatingWebhookConfigurationProps.property.webhooks"></a>

```java
public java.util.List<MutatingWebhook> getWebhooks();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MutatingWebhook>

Webhooks is a list of webhooks and the affected resources and operations.

---

### KubeNamespaceListProps <a name="KubeNamespaceListProps" id="cdk8s-plus-32.k8s.KubeNamespaceListProps"></a>

NamespaceList is a list of Namespaces.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNamespaceListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceListProps;

KubeNamespaceListProps.builder()
    .items(java.util.List<KubeNamespaceProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNamespaceProps></code> | Items is the list of Namespace objects in the list. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNamespaceListProps.property.items"></a>

```java
public java.util.List<KubeNamespaceProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNamespaceProps>

Items is the list of Namespace objects in the list.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespaceListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeNamespaceProps <a name="KubeNamespaceProps" id="cdk8s-plus-32.k8s.KubeNamespaceProps"></a>

Namespace provides a scope for Names.

Use of multiple namespaces is optional.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNamespaceProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNamespaceProps;

KubeNamespaceProps.builder()
//  .metadata(ObjectMeta)
//  .spec(NamespaceSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNamespaceProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NamespaceSpec</code> | Spec defines the behavior of the Namespace. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNamespaceProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNamespaceProps.property.spec"></a>

```java
public NamespaceSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.NamespaceSpec

Spec defines the behavior of the Namespace.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeNetworkPolicyListProps <a name="KubeNetworkPolicyListProps" id="cdk8s-plus-32.k8s.KubeNetworkPolicyListProps"></a>

NetworkPolicyList is a list of NetworkPolicy objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNetworkPolicyListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyListProps;

KubeNetworkPolicyListProps.builder()
    .items(java.util.List<KubeNetworkPolicyProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNetworkPolicyProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNetworkPolicyListProps.property.items"></a>

```java
public java.util.List<KubeNetworkPolicyProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNetworkPolicyProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicyListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeNetworkPolicyProps <a name="KubeNetworkPolicyProps" id="cdk8s-plus-32.k8s.KubeNetworkPolicyProps"></a>

NetworkPolicy describes what network traffic is allowed for a set of Pods.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNetworkPolicyProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNetworkPolicyProps;

KubeNetworkPolicyProps.builder()
//  .metadata(ObjectMeta)
//  .spec(NetworkPolicySpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNetworkPolicyProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NetworkPolicySpec</code> | spec represents the specification of the desired behavior for this NetworkPolicy. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNetworkPolicyProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNetworkPolicyProps.property.spec"></a>

```java
public NetworkPolicySpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.NetworkPolicySpec

spec represents the specification of the desired behavior for this NetworkPolicy.

---

### KubeNodeListProps <a name="KubeNodeListProps" id="cdk8s-plus-32.k8s.KubeNodeListProps"></a>

NodeList is the whole list of all Nodes which have been registered with master.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNodeListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeListProps;

KubeNodeListProps.builder()
    .items(java.util.List<KubeNodeProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeNodeProps></code> | List of nodes. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeNodeListProps.property.items"></a>

```java
public java.util.List<KubeNodeProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeNodeProps>

List of nodes.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNodeListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeNodeProps <a name="KubeNodeProps" id="cdk8s-plus-32.k8s.KubeNodeProps"></a>

Node is a worker node in Kubernetes.

Each node will have a unique identifier in the cache (i.e. in etcd).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeNodeProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeNodeProps;

KubeNodeProps.builder()
//  .metadata(ObjectMeta)
//  .spec(NodeSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeNodeProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.NodeSpec</code> | Spec defines the behavior of a node. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeNodeProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeNodeProps.property.spec"></a>

```java
public NodeSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSpec

Spec defines the behavior of a node.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubePersistentVolumeClaimListProps <a name="KubePersistentVolumeClaimListProps" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps"></a>

PersistentVolumeClaimList is a list of PersistentVolumeClaim items.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimListProps;

KubePersistentVolumeClaimListProps.builder()
    .items(java.util.List<KubePersistentVolumeClaimProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps></code> | items is a list of persistent volume claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps.property.items"></a>

```java
public java.util.List<KubePersistentVolumeClaimProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps>

items is a list of persistent volume claims.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubePersistentVolumeClaimProps <a name="KubePersistentVolumeClaimProps" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps"></a>

PersistentVolumeClaim is a user's request for and claim to a persistent volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps;

KubePersistentVolumeClaimProps.builder()
//  .metadata(ObjectMeta)
//  .spec(PersistentVolumeClaimSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec</code> | spec defines the desired characteristics of a volume requested by a pod author. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePersistentVolumeClaimProps.property.spec"></a>

```java
public PersistentVolumeClaimSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec

spec defines the desired characteristics of a volume requested by a pod author.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

### KubePersistentVolumeListProps <a name="KubePersistentVolumeListProps" id="cdk8s-plus-32.k8s.KubePersistentVolumeListProps"></a>

PersistentVolumeList is a list of PersistentVolume items.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePersistentVolumeListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeListProps;

KubePersistentVolumeListProps.builder()
    .items(java.util.List<KubePersistentVolumeProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeProps></code> | items is a list of persistent volumes. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePersistentVolumeListProps.property.items"></a>

```java
public java.util.List<KubePersistentVolumeProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeProps>

items is a list of persistent volumes.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubePersistentVolumeProps <a name="KubePersistentVolumeProps" id="cdk8s-plus-32.k8s.KubePersistentVolumeProps"></a>

PersistentVolume (PV) is a storage resource provisioned by an administrator.

It is analogous to a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePersistentVolumeProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePersistentVolumeProps;

KubePersistentVolumeProps.builder()
//  .metadata(ObjectMeta)
//  .spec(PersistentVolumeSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePersistentVolumeProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeSpec</code> | spec defines a specification of a persistent volume owned by the cluster. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePersistentVolumeProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePersistentVolumeProps.property.spec"></a>

```java
public PersistentVolumeSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeSpec

spec defines a specification of a persistent volume owned by the cluster.

Provisioned by an administrator. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistent-volumes

---

### KubePodDisruptionBudgetListProps <a name="KubePodDisruptionBudgetListProps" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps"></a>

PodDisruptionBudgetList is a collection of PodDisruptionBudgets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetListProps;

KubePodDisruptionBudgetListProps.builder()
    .items(java.util.List<KubePodDisruptionBudgetProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps></code> | Items is a list of PodDisruptionBudgets. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps.property.items"></a>

```java
public java.util.List<KubePodDisruptionBudgetProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps>

Items is a list of PodDisruptionBudgets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubePodDisruptionBudgetProps <a name="KubePodDisruptionBudgetProps" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps"></a>

PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodDisruptionBudgetProps;

KubePodDisruptionBudgetProps.builder()
//  .metadata(ObjectMeta)
//  .spec(PodDisruptionBudgetSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PodDisruptionBudgetSpec</code> | Specification of the desired behavior of the PodDisruptionBudget. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePodDisruptionBudgetProps.property.spec"></a>

```java
public PodDisruptionBudgetSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PodDisruptionBudgetSpec

Specification of the desired behavior of the PodDisruptionBudget.

---

### KubePodListProps <a name="KubePodListProps" id="cdk8s-plus-32.k8s.KubePodListProps"></a>

PodList is a list of Pods.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodListProps;

KubePodListProps.builder()
    .items(java.util.List<KubePodProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodProps></code> | List of pods. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodListProps.property.items"></a>

```java
public java.util.List<KubePodProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodProps>

List of pods.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubePodProps <a name="KubePodProps" id="cdk8s-plus-32.k8s.KubePodProps"></a>

Pod is a collection of containers that can run on a host.

This resource is created by clients and scheduled onto hosts.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodProps;

KubePodProps.builder()
//  .metadata(ObjectMeta)
//  .spec(PodSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PodSpec</code> | Specification of the desired behavior of the pod. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePodProps.property.spec"></a>

```java
public PodSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PodSpec

Specification of the desired behavior of the pod.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubePodTemplateListProps <a name="KubePodTemplateListProps" id="cdk8s-plus-32.k8s.KubePodTemplateListProps"></a>

PodTemplateList is a list of PodTemplates.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodTemplateListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateListProps;

KubePodTemplateListProps.builder()
    .items(java.util.List<KubePodTemplateProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePodTemplateProps></code> | List of pod templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePodTemplateListProps.property.items"></a>

```java
public java.util.List<KubePodTemplateProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePodTemplateProps>

List of pod templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplateListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubePodTemplateProps <a name="KubePodTemplateProps" id="cdk8s-plus-32.k8s.KubePodTemplateProps"></a>

PodTemplate describes a template for creating copies of a predefined pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePodTemplateProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePodTemplateProps;

KubePodTemplateProps.builder()
//  .metadata(ObjectMeta)
//  .template(PodTemplateSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePodTemplateProps.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Template defines the pods that will be created from this pod template. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePodTemplateProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `template`<sup>Optional</sup> <a name="template" id="cdk8s-plus-32.k8s.KubePodTemplateProps.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Template defines the pods that will be created from this pod template.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubePriorityClassListProps <a name="KubePriorityClassListProps" id="cdk8s-plus-32.k8s.KubePriorityClassListProps"></a>

PriorityClassList is a collection of priority classes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePriorityClassListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassListProps;

KubePriorityClassListProps.builder()
    .items(java.util.List<KubePriorityClassProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePriorityClassProps></code> | items is the list of PriorityClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePriorityClassListProps.property.items"></a>

```java
public java.util.List<KubePriorityClassProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePriorityClassProps>

items is the list of PriorityClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClassListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubePriorityClassProps <a name="KubePriorityClassProps" id="cdk8s-plus-32.k8s.KubePriorityClassProps"></a>

PriorityClass defines mapping from a priority class name to the priority integer value.

The value can be any valid integer.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePriorityClassProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityClassProps;

KubePriorityClassProps.builder()
    .value(java.lang.Number)
//  .description(java.lang.String)
//  .globalDefault(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .preemptionPolicy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassProps.property.value">value</a></code> | <code>java.lang.Number</code> | value represents the integer value of this priority class. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassProps.property.description">description</a></code> | <code>java.lang.String</code> | description is an arbitrary string that usually provides guidelines on when this priority class should be used. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassProps.property.globalDefault">globalDefault</a></code> | <code>java.lang.Boolean</code> | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityClassProps.property.preemptionPolicy">preemptionPolicy</a></code> | <code>java.lang.String</code> | preemptionPolicy is the Policy for preempting pods with lower priority. |

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.KubePriorityClassProps.property.value"></a>

```java
public java.lang.Number getValue();
```

- *Type:* java.lang.Number

value represents the integer value of this priority class.

This is the actual priority that pods receive when they have the name of this class in their pod spec.

---

##### `description`<sup>Optional</sup> <a name="description" id="cdk8s-plus-32.k8s.KubePriorityClassProps.property.description"></a>

```java
public java.lang.String getDescription();
```

- *Type:* java.lang.String

description is an arbitrary string that usually provides guidelines on when this priority class should be used.

---

##### `globalDefault`<sup>Optional</sup> <a name="globalDefault" id="cdk8s-plus-32.k8s.KubePriorityClassProps.property.globalDefault"></a>

```java
public java.lang.Boolean getGlobalDefault();
```

- *Type:* java.lang.Boolean

globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.

Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityClassProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `preemptionPolicy`<sup>Optional</sup> <a name="preemptionPolicy" id="cdk8s-plus-32.k8s.KubePriorityClassProps.property.preemptionPolicy"></a>

```java
public java.lang.String getPreemptionPolicy();
```

- *Type:* java.lang.String
- *Default:* PreemptLowerPriority if unset.

preemptionPolicy is the Policy for preempting pods with lower priority.

One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.

---

### KubePriorityLevelConfigurationListProps <a name="KubePriorityLevelConfigurationListProps" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps"></a>

PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationListProps;

KubePriorityLevelConfigurationListProps.builder()
    .items(java.util.List<KubePriorityLevelConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps></code> | `items` is a list of request-priorities. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | `metadata` is the standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps.property.items"></a>

```java
public java.util.List<KubePriorityLevelConfigurationProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps>

`items` is a list of request-priorities.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubePriorityLevelConfigurationProps <a name="KubePriorityLevelConfigurationProps" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps"></a>

PriorityLevelConfiguration represents the configuration of a priority level.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubePriorityLevelConfigurationProps;

KubePriorityLevelConfigurationProps.builder()
//  .metadata(ObjectMeta)
//  .spec(PriorityLevelConfigurationSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | `metadata` is the standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PriorityLevelConfigurationSpec</code> | `spec` is the specification of the desired behavior of a "request-priority". |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

`metadata` is the standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubePriorityLevelConfigurationProps.property.spec"></a>

```java
public PriorityLevelConfigurationSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PriorityLevelConfigurationSpec

`spec` is the specification of the desired behavior of a "request-priority".

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeReplicaSetListProps <a name="KubeReplicaSetListProps" id="cdk8s-plus-32.k8s.KubeReplicaSetListProps"></a>

ReplicaSetList is a collection of ReplicaSets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeReplicaSetListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetListProps;

KubeReplicaSetListProps.builder()
    .items(java.util.List<KubeReplicaSetProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeReplicaSetProps></code> | List of ReplicaSets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeReplicaSetListProps.property.items"></a>

```java
public java.util.List<KubeReplicaSetProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeReplicaSetProps>

List of ReplicaSets.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSetListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeReplicaSetProps <a name="KubeReplicaSetProps" id="cdk8s-plus-32.k8s.KubeReplicaSetProps"></a>

ReplicaSet ensures that a specified number of pod replicas are running at any given time.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeReplicaSetProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicaSetProps;

KubeReplicaSetProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ReplicaSetSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicaSetProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ReplicaSetSpec</code> | Spec defines the specification of the desired behavior of the ReplicaSet. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicaSetProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages.

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeReplicaSetProps.property.spec"></a>

```java
public ReplicaSetSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ReplicaSetSpec

Spec defines the specification of the desired behavior of the ReplicaSet.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeReplicationControllerListProps <a name="KubeReplicationControllerListProps" id="cdk8s-plus-32.k8s.KubeReplicationControllerListProps"></a>

ReplicationControllerList is a collection of replication controllers.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeReplicationControllerListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerListProps;

KubeReplicationControllerListProps.builder()
    .items(java.util.List<KubeReplicationControllerProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeReplicationControllerProps></code> | List of replication controllers. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeReplicationControllerListProps.property.items"></a>

```java
public java.util.List<KubeReplicationControllerProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeReplicationControllerProps>

List of replication controllers.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationControllerListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeReplicationControllerProps <a name="KubeReplicationControllerProps" id="cdk8s-plus-32.k8s.KubeReplicationControllerProps"></a>

ReplicationController represents the configuration of a replication controller.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeReplicationControllerProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeReplicationControllerProps;

KubeReplicationControllerProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ReplicationControllerSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. |
| <code><a href="#cdk8s-plus-32.k8s.KubeReplicationControllerProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ReplicationControllerSpec</code> | Spec defines the specification of the desired behavior of the replication controller. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeReplicationControllerProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages.

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeReplicationControllerProps.property.spec"></a>

```java
public ReplicationControllerSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ReplicationControllerSpec

Spec defines the specification of the desired behavior of the replication controller.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeResourceClaimListV1Alpha3Props <a name="KubeResourceClaimListV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props"></a>

ResourceClaimList is a collection of claims.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Alpha3Props;

KubeResourceClaimListV1Alpha3Props.builder()
    .items(java.util.List<KubeResourceClaimV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props></code> | Items is the list of resource claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props.property.items"></a>

```java
public java.util.List<KubeResourceClaimV1Alpha3Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props>

Items is the list of resource claims.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Alpha3Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceClaimListV1Beta1Props <a name="KubeResourceClaimListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props"></a>

ResourceClaimList is a collection of claims.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimListV1Beta1Props;

KubeResourceClaimListV1Beta1Props.builder()
    .items(java.util.List<KubeResourceClaimV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props></code> | Items is the list of resource claims. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeResourceClaimV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props>

Items is the list of resource claims.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceClaimTemplateListV1Alpha3Props <a name="KubeResourceClaimTemplateListV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props"></a>

ResourceClaimTemplateList is a collection of claim templates.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Alpha3Props;

KubeResourceClaimTemplateListV1Alpha3Props.builder()
    .items(java.util.List<KubeResourceClaimTemplateV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props></code> | Items is the list of resource claim templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props.property.items"></a>

```java
public java.util.List<KubeResourceClaimTemplateV1Alpha3Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props>

Items is the list of resource claim templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Alpha3Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceClaimTemplateListV1Beta1Props <a name="KubeResourceClaimTemplateListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props"></a>

ResourceClaimTemplateList is a collection of claim templates.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateListV1Beta1Props;

KubeResourceClaimTemplateListV1Beta1Props.builder()
    .items(java.util.List<KubeResourceClaimTemplateV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props></code> | Items is the list of resource claim templates. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeResourceClaimTemplateV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props>

Items is the list of resource claim templates.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceClaimTemplateV1Alpha3Props <a name="KubeResourceClaimTemplateV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props"></a>

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Alpha3Props;

KubeResourceClaimTemplateV1Alpha3Props.builder()
    .spec(ResourceClaimTemplateSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Alpha3</code> | Describes the ResourceClaim that is to be generated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props.property.spec"></a>

```java
public ResourceClaimTemplateSpecV1Alpha3 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Alpha3

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Alpha3Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeResourceClaimTemplateV1Beta1Props <a name="KubeResourceClaimTemplateV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props"></a>

ResourceClaimTemplate is used to produce ResourceClaim objects.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimTemplateV1Beta1Props;

KubeResourceClaimTemplateV1Beta1Props.builder()
    .spec(ResourceClaimTemplateSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Beta1</code> | Describes the ResourceClaim that is to be generated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props.property.spec"></a>

```java
public ResourceClaimTemplateSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Beta1

Describes the ResourceClaim that is to be generated.

This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimTemplateV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeResourceClaimV1Alpha3Props <a name="KubeResourceClaimV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props"></a>

ResourceClaim describes a request for access to resources in the cluster, for use by workloads.

For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Alpha3Props;

KubeResourceClaimV1Alpha3Props.builder()
    .spec(ResourceClaimSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3</code> | Spec describes what is being requested and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props.property.spec"></a>

```java
public ResourceClaimSpecV1Alpha3 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3

Spec describes what is being requested and how to configure it.

The spec is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Alpha3Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeResourceClaimV1Beta1Props <a name="KubeResourceClaimV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props"></a>

ResourceClaim describes a request for access to resources in the cluster, for use by workloads.

For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceClaimV1Beta1Props;

KubeResourceClaimV1Beta1Props.builder()
    .spec(ResourceClaimSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1</code> | Spec describes what is being requested and how to configure it. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props.property.spec"></a>

```java
public ResourceClaimSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1

Spec describes what is being requested and how to configure it.

The spec is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceClaimV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeResourceQuotaListProps <a name="KubeResourceQuotaListProps" id="cdk8s-plus-32.k8s.KubeResourceQuotaListProps"></a>

ResourceQuotaList is a list of ResourceQuota items.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceQuotaListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaListProps;

KubeResourceQuotaListProps.builder()
    .items(java.util.List<KubeResourceQuotaProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceQuotaProps></code> | Items is a list of ResourceQuota objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceQuotaListProps.property.items"></a>

```java
public java.util.List<KubeResourceQuotaProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceQuotaProps>

Items is a list of ResourceQuota objects.

More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuotaListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeResourceQuotaProps <a name="KubeResourceQuotaProps" id="cdk8s-plus-32.k8s.KubeResourceQuotaProps"></a>

ResourceQuota sets aggregate quota restrictions enforced per namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceQuotaProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceQuotaProps;

KubeResourceQuotaProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ResourceQuotaSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceQuotaProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceQuotaSpec</code> | Spec defines the desired quota. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceQuotaProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceQuotaProps.property.spec"></a>

```java
public ResourceQuotaSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceQuotaSpec

Spec defines the desired quota.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeResourceSliceListV1Alpha3Props <a name="KubeResourceSliceListV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props"></a>

ResourceSliceList is a collection of ResourceSlices.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Alpha3Props;

KubeResourceSliceListV1Alpha3Props.builder()
    .items(java.util.List<KubeResourceSliceV1Alpha3Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props></code> | Items is the list of resource ResourceSlices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props.property.items"></a>

```java
public java.util.List<KubeResourceSliceV1Alpha3Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props>

Items is the list of resource ResourceSlices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Alpha3Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceSliceListV1Beta1Props <a name="KubeResourceSliceListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props"></a>

ResourceSliceList is a collection of ResourceSlices.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceListV1Beta1Props;

KubeResourceSliceListV1Beta1Props.builder()
    .items(java.util.List<KubeResourceSliceV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props></code> | Items is the list of resource ResourceSlices. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeResourceSliceV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props>

Items is the list of resource ResourceSlices.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

---

### KubeResourceSliceV1Alpha3Props <a name="KubeResourceSliceV1Alpha3Props" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props"></a>

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.

A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.

At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.

Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.

When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.

For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Alpha3Props;

KubeResourceSliceV1Alpha3Props.builder()
    .spec(ResourceSliceSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceSliceSpecV1Alpha3</code> | Contains the information published by the driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props.property.spec"></a>

```java
public ResourceSliceSpecV1Alpha3 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceSliceSpecV1Alpha3

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Alpha3Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeResourceSliceV1Beta1Props <a name="KubeResourceSliceV1Beta1Props" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props"></a>

ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver.

A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.

At the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple <driver name>, <pool name>, <device name>.

Whenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.

When allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.

For resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeResourceSliceV1Beta1Props;

KubeResourceSliceV1Beta1Props.builder()
    .spec(ResourceSliceSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceSliceSpecV1Beta1</code> | Contains the information published by the driver. |
| <code><a href="#cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props.property.spec"></a>

```java
public ResourceSliceSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceSliceSpecV1Beta1

Contains the information published by the driver.

Changing the spec automatically increments the metadata.generation number.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeResourceSliceV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

---

### KubeRoleBindingListProps <a name="KubeRoleBindingListProps" id="cdk8s-plus-32.k8s.KubeRoleBindingListProps"></a>

RoleBindingList is a collection of RoleBindings.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRoleBindingListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingListProps;

KubeRoleBindingListProps.builder()
    .items(java.util.List<KubeRoleBindingProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRoleBindingProps></code> | Items is a list of RoleBindings. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRoleBindingListProps.property.items"></a>

```java
public java.util.List<KubeRoleBindingProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRoleBindingProps>

Items is a list of RoleBindings.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBindingListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

### KubeRoleBindingProps <a name="KubeRoleBindingProps" id="cdk8s-plus-32.k8s.KubeRoleBindingProps"></a>

RoleBinding references a role, but does not contain it.

It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given namespace only have effect in that namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRoleBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleBindingProps;

KubeRoleBindingProps.builder()
    .roleRef(RoleRef)
//  .metadata(ObjectMeta)
//  .subjects(java.util.List<Subject>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingProps.property.roleRef">roleRef</a></code> | <code>org.cdk8s.plus32.k8s.RoleRef</code> | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleBindingProps.property.subjects">subjects</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Subject></code> | Subjects holds references to the objects the role applies to. |

---

##### `roleRef`<sup>Required</sup> <a name="roleRef" id="cdk8s-plus-32.k8s.KubeRoleBindingProps.property.roleRef"></a>

```java
public RoleRef getRoleRef();
```

- *Type:* org.cdk8s.plus32.k8s.RoleRef

RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.

If the RoleRef cannot be resolved, the Authorizer must return an error. This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleBindingProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `subjects`<sup>Optional</sup> <a name="subjects" id="cdk8s-plus-32.k8s.KubeRoleBindingProps.property.subjects"></a>

```java
public java.util.List<Subject> getSubjects();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Subject>

Subjects holds references to the objects the role applies to.

---

### KubeRoleListProps <a name="KubeRoleListProps" id="cdk8s-plus-32.k8s.KubeRoleListProps"></a>

RoleList is a collection of Roles.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRoleListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleListProps;

KubeRoleListProps.builder()
    .items(java.util.List<KubeRoleProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRoleProps></code> | Items is a list of Roles. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRoleListProps.property.items"></a>

```java
public java.util.List<KubeRoleProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRoleProps>

Items is a list of Roles.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

---

### KubeRoleProps <a name="KubeRoleProps" id="cdk8s-plus-32.k8s.KubeRoleProps"></a>

Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRoleProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRoleProps;

KubeRoleProps.builder()
//  .metadata(ObjectMeta)
//  .rules(java.util.List<PolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRoleProps.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PolicyRule></code> | Rules holds all the PolicyRules for this Role. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRoleProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.KubeRoleProps.property.rules"></a>

```java
public java.util.List<PolicyRule> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PolicyRule>

Rules holds all the PolicyRules for this Role.

---

### KubeRuntimeClassListProps <a name="KubeRuntimeClassListProps" id="cdk8s-plus-32.k8s.KubeRuntimeClassListProps"></a>

RuntimeClassList is a list of RuntimeClass objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRuntimeClassListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassListProps;

KubeRuntimeClassListProps.builder()
    .items(java.util.List<KubeRuntimeClassProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeRuntimeClassProps></code> | items is a list of schema objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeRuntimeClassListProps.property.items"></a>

```java
public java.util.List<KubeRuntimeClassProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeRuntimeClassProps>

items is a list of schema objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClassListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeRuntimeClassProps <a name="KubeRuntimeClassProps" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps"></a>

RuntimeClass defines a class of container runtime supported in the cluster.

The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod.  For more details, see https://kubernetes.io/docs/concepts/containers/runtime-class/

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeRuntimeClassProps;

KubeRuntimeClassProps.builder()
    .handler(java.lang.String)
//  .metadata(ObjectMeta)
//  .overhead(Overhead)
//  .scheduling(Scheduling)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.handler">handler</a></code> | <code>java.lang.String</code> | handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.overhead">overhead</a></code> | <code>org.cdk8s.plus32.k8s.Overhead</code> | overhead represents the resource overhead associated with running a pod for a given RuntimeClass. |
| <code><a href="#cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.scheduling">scheduling</a></code> | <code>org.cdk8s.plus32.k8s.Scheduling</code> | scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. |

---

##### `handler`<sup>Required</sup> <a name="handler" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.handler"></a>

```java
public java.lang.String getHandler();
```

- *Type:* java.lang.String

handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.

The possible values are specific to the node & CRI configuration.  It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `overhead`<sup>Optional</sup> <a name="overhead" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.overhead"></a>

```java
public Overhead getOverhead();
```

- *Type:* org.cdk8s.plus32.k8s.Overhead

overhead represents the resource overhead associated with running a pod for a given RuntimeClass.

For more details, see
https://kubernetes.io/docs/concepts/scheduling-eviction/pod-overhead/

---

##### `scheduling`<sup>Optional</sup> <a name="scheduling" id="cdk8s-plus-32.k8s.KubeRuntimeClassProps.property.scheduling"></a>

```java
public Scheduling getScheduling();
```

- *Type:* org.cdk8s.plus32.k8s.Scheduling

scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it.

If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.

---

### KubeScaleProps <a name="KubeScaleProps" id="cdk8s-plus-32.k8s.KubeScaleProps"></a>

Scale represents a scaling request for a resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeScaleProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeScaleProps;

KubeScaleProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ScaleSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeScaleProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeScaleProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ScaleSpec</code> | spec defines the behavior of the scale. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeScaleProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeScaleProps.property.spec"></a>

```java
public ScaleSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ScaleSpec

spec defines the behavior of the scale.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

---

### KubeSecretListProps <a name="KubeSecretListProps" id="cdk8s-plus-32.k8s.KubeSecretListProps"></a>

SecretList is a list of Secret.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSecretListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretListProps;

KubeSecretListProps.builder()
    .items(java.util.List<KubeSecretProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeSecretProps></code> | Items is a list of secret objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeSecretListProps.property.items"></a>

```java
public java.util.List<KubeSecretProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeSecretProps>

Items is a list of secret objects.

More info: https://kubernetes.io/docs/concepts/configuration/secret

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecretListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeSecretProps <a name="KubeSecretProps" id="cdk8s-plus-32.k8s.KubeSecretProps"></a>

Secret holds secret data of a certain type.

The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSecretProps;

KubeSecretProps.builder()
//  .data(java.util.Map<java.lang.String, java.lang.String>)
//  .immutable(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .stringData(java.util.Map<java.lang.String, java.lang.String>)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretProps.property.data">data</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Data contains the secret data. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretProps.property.stringData">stringData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | stringData allows specifying non-binary secret data in string form. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSecretProps.property.type">type</a></code> | <code>java.lang.String</code> | Used to facilitate programmatic handling of secret data. |

---

##### `data`<sup>Optional</sup> <a name="data" id="cdk8s-plus-32.k8s.KubeSecretProps.property.data"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Data contains the secret data.

Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.k8s.KubeSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean

Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time. Defaulted to nil.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSecretProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `stringData`<sup>Optional</sup> <a name="stringData" id="cdk8s-plus-32.k8s.KubeSecretProps.property.stringData"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getStringData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

stringData allows specifying non-binary secret data in string form.

It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.KubeSecretProps.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

Used to facilitate programmatic handling of secret data.

More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types

---

### KubeSelfSubjectAccessReviewProps <a name="KubeSelfSubjectAccessReviewProps" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps"></a>

SelfSubjectAccessReview checks whether or the current user can perform an action.

Not filling in a spec.namespace means "in all namespaces".  Self is a special case, because users should always be able to check whether they can perform an action

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectAccessReviewProps;

KubeSelfSubjectAccessReviewProps.builder()
    .spec(SelfSubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SelfSubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps.property.spec"></a>

```java
public SelfSubjectAccessReviewSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.SelfSubjectAccessReviewSpec

Spec holds information about the request being evaluated.

user and groups must be empty

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectAccessReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeSelfSubjectReviewProps <a name="KubeSelfSubjectReviewProps" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewProps"></a>

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

When using impersonation, users will receive the user info of the user being impersonated.  If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewProps;

KubeSelfSubjectReviewProps.builder()
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeSelfSubjectReviewV1Beta1Props <a name="KubeSelfSubjectReviewV1Beta1Props" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1Props"></a>

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

When using impersonation, users will receive the user info of the user being impersonated.  If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectReviewV1Beta1Props;

KubeSelfSubjectReviewV1Beta1Props.builder()
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectReviewV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeSelfSubjectRulesReviewProps <a name="KubeSelfSubjectRulesReviewProps" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps"></a>

SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.

The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSelfSubjectRulesReviewProps;

KubeSelfSubjectRulesReviewProps.builder()
    .spec(SelfSubjectRulesReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SelfSubjectRulesReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps.property.spec"></a>

```java
public SelfSubjectRulesReviewSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.SelfSubjectRulesReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSelfSubjectRulesReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeServiceAccountListProps <a name="KubeServiceAccountListProps" id="cdk8s-plus-32.k8s.KubeServiceAccountListProps"></a>

ServiceAccountList is a list of ServiceAccount objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceAccountListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountListProps;

KubeServiceAccountListProps.builder()
    .items(java.util.List<KubeServiceAccountProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceAccountProps></code> | List of ServiceAccounts. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceAccountListProps.property.items"></a>

```java
public java.util.List<KubeServiceAccountProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceAccountProps>

List of ServiceAccounts.

More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccountListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeServiceAccountProps <a name="KubeServiceAccountProps" id="cdk8s-plus-32.k8s.KubeServiceAccountProps"></a>

ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceAccountProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceAccountProps;

KubeServiceAccountProps.builder()
//  .automountServiceAccountToken(java.lang.Boolean)
//  .imagePullSecrets(java.util.List<LocalObjectReference>)
//  .metadata(ObjectMeta)
//  .secrets(java.util.List<ObjectReference>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountProps.property.imagePullSecrets">imagePullSecrets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference></code> | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceAccountProps.property.secrets">secrets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ObjectReference></code> | Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. |

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.k8s.KubeServiceAccountProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.

Can be overridden at the pod level.

---

##### `imagePullSecrets`<sup>Optional</sup> <a name="imagePullSecrets" id="cdk8s-plus-32.k8s.KubeServiceAccountProps.property.imagePullSecrets"></a>

```java
public java.util.List<LocalObjectReference> getImagePullSecrets();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference>

ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount.

ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceAccountProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `secrets`<sup>Optional</sup> <a name="secrets" id="cdk8s-plus-32.k8s.KubeServiceAccountProps.property.secrets"></a>

```java
public java.util.List<ObjectReference> getSecrets();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ObjectReference>

Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use.

Pods are only limited to this list if this service account has a "kubernetes.io/enforce-mountable-secrets" annotation set to "true". The "kubernetes.io/enforce-mountable-secrets" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret

---

### KubeServiceCidrListV1Beta1Props <a name="KubeServiceCidrListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props"></a>

ServiceCIDRList contains a list of ServiceCIDR objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrListV1Beta1Props;

KubeServiceCidrListV1Beta1Props.builder()
    .items(java.util.List<KubeServiceCidrv1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props></code> | items is the list of ServiceCIDRs. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard object's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeServiceCidrv1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props>

items is the list of ServiceCIDRs.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeServiceCidrv1Beta1Props <a name="KubeServiceCidrv1Beta1Props" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props"></a>

ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceCidrv1Beta1Props;

KubeServiceCidrv1Beta1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(ServiceCidrSpecV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ServiceCidrSpecV1Beta1</code> | spec is the desired state of the ServiceCIDR. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeServiceCidrv1Beta1Props.property.spec"></a>

```java
public ServiceCidrSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceCidrSpecV1Beta1

spec is the desired state of the ServiceCIDR.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeServiceListProps <a name="KubeServiceListProps" id="cdk8s-plus-32.k8s.KubeServiceListProps"></a>

ServiceList holds a list of services.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceListProps;

KubeServiceListProps.builder()
    .items(java.util.List<KubeServiceProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeServiceProps></code> | List of services. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeServiceListProps.property.items"></a>

```java
public java.util.List<KubeServiceProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeServiceProps>

List of services.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeServiceProps <a name="KubeServiceProps" id="cdk8s-plus-32.k8s.KubeServiceProps"></a>

Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeServiceProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeServiceProps;

KubeServiceProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ServiceSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeServiceProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ServiceSpec</code> | Spec defines the behavior of a service. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeServiceProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeServiceProps.property.spec"></a>

```java
public ServiceSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceSpec

Spec defines the behavior of a service.

https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### KubeStatefulSetListProps <a name="KubeStatefulSetListProps" id="cdk8s-plus-32.k8s.KubeStatefulSetListProps"></a>

StatefulSetList is a collection of StatefulSets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStatefulSetListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetListProps;

KubeStatefulSetListProps.builder()
    .items(java.util.List<KubeStatefulSetProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStatefulSetProps></code> | Items is the list of stateful sets. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list's metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStatefulSetListProps.property.items"></a>

```java
public java.util.List<KubeStatefulSetProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStatefulSetProps>

Items is the list of stateful sets.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSetListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeStatefulSetProps <a name="KubeStatefulSetProps" id="cdk8s-plus-32.k8s.KubeStatefulSetProps"></a>

StatefulSet represents a set of pods with consistent identities.

Identities are defined as:

* Network: A single stable DNS and hostname.
* Storage: As many VolumeClaims as requested.

The StatefulSet guarantees that a given network identity will always map to the same storage identity.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStatefulSetProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatefulSetProps;

KubeStatefulSetProps.builder()
//  .metadata(ObjectMeta)
//  .spec(StatefulSetSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatefulSetProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.StatefulSetSpec</code> | Spec defines the desired identities of pods in this set. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatefulSetProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStatefulSetProps.property.spec"></a>

```java
public StatefulSetSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.StatefulSetSpec

Spec defines the desired identities of pods in this set.

---

### KubeStatusProps <a name="KubeStatusProps" id="cdk8s-plus-32.k8s.KubeStatusProps"></a>

Status is a return value for calls that don't return other objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStatusProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStatusProps;

KubeStatusProps.builder()
//  .code(java.lang.Number)
//  .details(StatusDetails)
//  .message(java.lang.String)
//  .metadata(ListMeta)
//  .reason(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatusProps.property.code">code</a></code> | <code>java.lang.Number</code> | Suggested HTTP return code for this status, 0 if not set. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatusProps.property.details">details</a></code> | <code>org.cdk8s.plus32.k8s.StatusDetails</code> | Extended data associated with the reason. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatusProps.property.message">message</a></code> | <code>java.lang.String</code> | A human-readable description of the status of this operation. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatusProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStatusProps.property.reason">reason</a></code> | <code>java.lang.String</code> | A machine-readable description of why this operation is in the "Failure" status. |

---

##### `code`<sup>Optional</sup> <a name="code" id="cdk8s-plus-32.k8s.KubeStatusProps.property.code"></a>

```java
public java.lang.Number getCode();
```

- *Type:* java.lang.Number

Suggested HTTP return code for this status, 0 if not set.

---

##### `details`<sup>Optional</sup> <a name="details" id="cdk8s-plus-32.k8s.KubeStatusProps.property.details"></a>

```java
public StatusDetails getDetails();
```

- *Type:* org.cdk8s.plus32.k8s.StatusDetails

Extended data associated with the reason.

Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.KubeStatusProps.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

A human-readable description of the status of this operation.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStatusProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.KubeStatusProps.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

A machine-readable description of why this operation is in the "Failure" status.

If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

---

### KubeStorageClassListProps <a name="KubeStorageClassListProps" id="cdk8s-plus-32.k8s.KubeStorageClassListProps"></a>

StorageClassList is a collection of storage classes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageClassListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassListProps;

KubeStorageClassListProps.builder()
    .items(java.util.List<KubeStorageClassProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageClassProps></code> | items is the list of StorageClasses. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageClassListProps.property.items"></a>

```java
public java.util.List<KubeStorageClassProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageClassProps>

items is the list of StorageClasses.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClassListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeStorageClassProps <a name="KubeStorageClassProps" id="cdk8s-plus-32.k8s.KubeStorageClassProps"></a>

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageClassProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageClassProps;

KubeStorageClassProps.builder()
    .provisioner(java.lang.String)
//  .allowedTopologies(java.util.List<TopologySelectorTerm>)
//  .allowVolumeExpansion(java.lang.Boolean)
//  .metadata(ObjectMeta)
//  .mountOptions(java.util.List<java.lang.String>)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
//  .reclaimPolicy(java.lang.String)
//  .volumeBindingMode(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.provisioner">provisioner</a></code> | <code>java.lang.String</code> | provisioner indicates the type of the provisioner. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.allowedTopologies">allowedTopologies</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.TopologySelectorTerm></code> | allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.allowVolumeExpansion">allowVolumeExpansion</a></code> | <code>java.lang.Boolean</code> | allowVolumeExpansion shows whether the storage class allow volume expand. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters holds the parameters for the provisioner that should create volumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.reclaimPolicy">reclaimPolicy</a></code> | <code>java.lang.String</code> | reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageClassProps.property.volumeBindingMode">volumeBindingMode</a></code> | <code>java.lang.String</code> | volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. |

---

##### `provisioner`<sup>Required</sup> <a name="provisioner" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.provisioner"></a>

```java
public java.lang.String getProvisioner();
```

- *Type:* java.lang.String

provisioner indicates the type of the provisioner.

---

##### `allowedTopologies`<sup>Optional</sup> <a name="allowedTopologies" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.allowedTopologies"></a>

```java
public java.util.List<TopologySelectorTerm> getAllowedTopologies();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.TopologySelectorTerm>

allowedTopologies restrict the node topologies where volumes can be dynamically provisioned.

Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

---

##### `allowVolumeExpansion`<sup>Optional</sup> <a name="allowVolumeExpansion" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.allowVolumeExpansion"></a>

```java
public java.lang.Boolean getAllowVolumeExpansion();
```

- *Type:* java.lang.Boolean

allowVolumeExpansion shows whether the storage class allow volume expand.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class.

e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.parameters"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getParameters();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters holds the parameters for the provisioner that should create volumes of this storage class.

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.reclaimPolicy"></a>

```java
public java.lang.String getReclaimPolicy();
```

- *Type:* java.lang.String
- *Default:* Delete.

reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class.

Defaults to Delete.

---

##### `volumeBindingMode`<sup>Optional</sup> <a name="volumeBindingMode" id="cdk8s-plus-32.k8s.KubeStorageClassProps.property.volumeBindingMode"></a>

```java
public java.lang.String getVolumeBindingMode();
```

- *Type:* java.lang.String

volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.

When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

---

### KubeStorageVersionListV1Alpha1Props <a name="KubeStorageVersionListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props"></a>

A list of StorageVersions.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionListV1Alpha1Props;

KubeStorageVersionListV1Alpha1Props.builder()
    .items(java.util.List<KubeStorageVersionV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props></code> | Items holds a list of StorageVersion. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeStorageVersionV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props>

Items holds a list of StorageVersion.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeStorageVersionMigrationListV1Alpha1Props <a name="KubeStorageVersionMigrationListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props"></a>

StorageVersionMigrationList is a collection of storage version migrations.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationListV1Alpha1Props;

KubeStorageVersionMigrationListV1Alpha1Props.builder()
    .items(java.util.List<KubeStorageVersionMigrationV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props></code> | Items is the list of StorageVersionMigration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeStorageVersionMigrationV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props>

Items is the list of StorageVersionMigration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeStorageVersionMigrationV1Alpha1Props <a name="KubeStorageVersionMigrationV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props"></a>

StorageVersionMigration represents a migration of stored data to the latest storage version.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionMigrationV1Alpha1Props;

KubeStorageVersionMigrationV1Alpha1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(StorageVersionMigrationSpecV1Alpha1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.StorageVersionMigrationSpecV1Alpha1</code> | Specification of the migration. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStorageVersionMigrationV1Alpha1Props.property.spec"></a>

```java
public StorageVersionMigrationSpecV1Alpha1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.StorageVersionMigrationSpecV1Alpha1

Specification of the migration.

---

### KubeStorageVersionV1Alpha1Props <a name="KubeStorageVersionV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props"></a>

Storage version of a specific resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeStorageVersionV1Alpha1Props;

KubeStorageVersionV1Alpha1Props.builder()
    .spec(java.lang.Object)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props.property.spec">spec</a></code> | <code>java.lang.Object</code> | Spec is an empty spec. |
| <code><a href="#cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | The name is <group>.<resource>. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props.property.spec"></a>

```java
public java.lang.Object getSpec();
```

- *Type:* java.lang.Object

Spec is an empty spec.

It is here to comply with Kubernetes API style.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeStorageVersionV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

The name is <group>.<resource>.

---

### KubeSubjectAccessReviewProps <a name="KubeSubjectAccessReviewProps" id="cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps"></a>

SubjectAccessReview checks whether or not a user or group can perform an action.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeSubjectAccessReviewProps;

KubeSubjectAccessReviewProps.builder()
    .spec(SubjectAccessReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.SubjectAccessReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard list metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps.property.spec"></a>

```java
public SubjectAccessReviewSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.SubjectAccessReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeSubjectAccessReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeTokenRequestProps <a name="KubeTokenRequestProps" id="cdk8s-plus-32.k8s.KubeTokenRequestProps"></a>

TokenRequest requests a token for a given service account.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeTokenRequestProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenRequestProps;

KubeTokenRequestProps.builder()
    .spec(TokenRequestSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequestProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.TokenRequestSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenRequestProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeTokenRequestProps.property.spec"></a>

```java
public TokenRequestSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.TokenRequestSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenRequestProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeTokenReviewProps <a name="KubeTokenReviewProps" id="cdk8s-plus-32.k8s.KubeTokenReviewProps"></a>

TokenReview attempts to authenticate a token to a known user.

Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeTokenReviewProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeTokenReviewProps;

KubeTokenReviewProps.builder()
    .spec(TokenReviewSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReviewProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.TokenReviewSpec</code> | Spec holds information about the request being evaluated. |
| <code><a href="#cdk8s-plus-32.k8s.KubeTokenReviewProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeTokenReviewProps.property.spec"></a>

```java
public TokenReviewSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.TokenReviewSpec

Spec holds information about the request being evaluated.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeTokenReviewProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeValidatingAdmissionPolicyBindingListProps <a name="KubeValidatingAdmissionPolicyBindingListProps" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps"></a>

ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListProps;

KubeValidatingAdmissionPolicyBindingListProps.builder()
    .items(java.util.List<KubeValidatingAdmissionPolicyBindingProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps.property.items"></a>

```java
public java.util.List<KubeValidatingAdmissionPolicyBindingProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeValidatingAdmissionPolicyBindingListV1Beta1Props <a name="KubeValidatingAdmissionPolicyBindingListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props"></a>

ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props;

KubeValidatingAdmissionPolicyBindingListV1Beta1Props.builder()
    .items(java.util.List<KubeValidatingAdmissionPolicyBindingV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props></code> | List of PolicyBinding. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeValidatingAdmissionPolicyBindingV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props>

List of PolicyBinding.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeValidatingAdmissionPolicyBindingProps <a name="KubeValidatingAdmissionPolicyBindingProps" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps"></a>

ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.

ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.

The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingProps;

KubeValidatingAdmissionPolicyBindingProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicyBindingSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpec</code> | Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingProps.property.spec"></a>

```java
public ValidatingAdmissionPolicyBindingSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpec

Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.

---

### KubeValidatingAdmissionPolicyBindingV1Beta1Props <a name="KubeValidatingAdmissionPolicyBindingV1Beta1Props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props"></a>

ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.

ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.

For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.

The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props;

KubeValidatingAdmissionPolicyBindingV1Beta1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicyBindingSpecV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1</code> | Specification of the desired behavior of the ValidatingAdmissionPolicyBinding. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyBindingV1Beta1Props.property.spec"></a>

```java
public ValidatingAdmissionPolicyBindingSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1

Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.

---

### KubeValidatingAdmissionPolicyListProps <a name="KubeValidatingAdmissionPolicyListProps" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps"></a>

ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListProps;

KubeValidatingAdmissionPolicyListProps.builder()
    .items(java.util.List<KubeValidatingAdmissionPolicyProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps.property.items"></a>

```java
public java.util.List<KubeValidatingAdmissionPolicyProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeValidatingAdmissionPolicyListV1Beta1Props <a name="KubeValidatingAdmissionPolicyListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props"></a>

ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props;

KubeValidatingAdmissionPolicyListV1Beta1Props.builder()
    .items(java.util.List<KubeValidatingAdmissionPolicyV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props></code> | List of ValidatingAdmissionPolicy. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeValidatingAdmissionPolicyV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props>

List of ValidatingAdmissionPolicy.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeValidatingAdmissionPolicyProps <a name="KubeValidatingAdmissionPolicyProps" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps"></a>

ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyProps;

KubeValidatingAdmissionPolicyProps.builder()
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicySpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpec</code> | Specification of the desired behavior of the ValidatingAdmissionPolicy. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyProps.property.spec"></a>

```java
public ValidatingAdmissionPolicySpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpec

Specification of the desired behavior of the ValidatingAdmissionPolicy.

---

### KubeValidatingAdmissionPolicyV1Beta1Props <a name="KubeValidatingAdmissionPolicyV1Beta1Props" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props"></a>

ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props;

KubeValidatingAdmissionPolicyV1Beta1Props.builder()
//  .metadata(ObjectMeta)
//  .spec(ValidatingAdmissionPolicySpecV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpecV1Beta1</code> | Specification of the desired behavior of the ValidatingAdmissionPolicy. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeValidatingAdmissionPolicyV1Beta1Props.property.spec"></a>

```java
public ValidatingAdmissionPolicySpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpecV1Beta1

Specification of the desired behavior of the ValidatingAdmissionPolicy.

---

### KubeValidatingWebhookConfigurationListProps <a name="KubeValidatingWebhookConfigurationListProps" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps"></a>

ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationListProps;

KubeValidatingWebhookConfigurationListProps.builder()
    .items(java.util.List<KubeValidatingWebhookConfigurationProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps></code> | List of ValidatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps.property.items"></a>

```java
public java.util.List<KubeValidatingWebhookConfigurationProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps>

List of ValidatingWebhookConfiguration.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

### KubeValidatingWebhookConfigurationProps <a name="KubeValidatingWebhookConfigurationProps" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps"></a>

ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeValidatingWebhookConfigurationProps;

KubeValidatingWebhookConfigurationProps.builder()
//  .metadata(ObjectMeta)
//  .webhooks(java.util.List<ValidatingWebhook>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata; |
| <code><a href="#cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps.property.webhooks">webhooks</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ValidatingWebhook></code> | Webhooks is a list of webhooks and the affected resources and operations. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata;

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

##### `webhooks`<sup>Optional</sup> <a name="webhooks" id="cdk8s-plus-32.k8s.KubeValidatingWebhookConfigurationProps.property.webhooks"></a>

```java
public java.util.List<ValidatingWebhook> getWebhooks();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ValidatingWebhook>

Webhooks is a list of webhooks and the affected resources and operations.

---

### KubeVolumeAttachmentListProps <a name="KubeVolumeAttachmentListProps" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps"></a>

VolumeAttachmentList is a collection of VolumeAttachment objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentListProps;

KubeVolumeAttachmentListProps.builder()
    .items(java.util.List<KubeVolumeAttachmentProps>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps></code> | items is the list of VolumeAttachments. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps.property.items"></a>

```java
public java.util.List<KubeVolumeAttachmentProps> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps>

items is the list of VolumeAttachments.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentListProps.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeVolumeAttachmentProps <a name="KubeVolumeAttachmentProps" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentProps"></a>

VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.

VolumeAttachment objects are non-namespaced.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentProps.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttachmentProps;

KubeVolumeAttachmentProps.builder()
    .spec(VolumeAttachmentSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentProps.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.VolumeAttachmentSpec</code> | spec represents specification of the desired attach/detach volume behavior. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttachmentProps.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object metadata. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentProps.property.spec"></a>

```java
public VolumeAttachmentSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.VolumeAttachmentSpec

spec represents specification of the desired attach/detach volume behavior.

Populated by the Kubernetes system.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttachmentProps.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

### KubeVolumeAttributesClassListV1Alpha1Props <a name="KubeVolumeAttributesClassListV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props"></a>

VolumeAttributesClassList is a collection of VolumeAttributesClass objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Alpha1Props;

KubeVolumeAttributesClassListV1Alpha1Props.builder()
    .items(java.util.List<KubeVolumeAttributesClassV1Alpha1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props></code> | items is the list of VolumeAttributesClass objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props.property.items"></a>

```java
public java.util.List<KubeVolumeAttributesClassV1Alpha1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props>

items is the list of VolumeAttributesClass objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Alpha1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeVolumeAttributesClassListV1Beta1Props <a name="KubeVolumeAttributesClassListV1Beta1Props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props"></a>

VolumeAttributesClassList is a collection of VolumeAttributesClass objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassListV1Beta1Props;

KubeVolumeAttributesClassListV1Beta1Props.builder()
    .items(java.util.List<KubeVolumeAttributesClassV1Beta1Props>)
//  .metadata(ListMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props></code> | items is the list of VolumeAttributesClass objects. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ListMeta</code> | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. |

---

##### `items`<sup>Required</sup> <a name="items" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props.property.items"></a>

```java
public java.util.List<KubeVolumeAttributesClassV1Beta1Props> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props>

items is the list of VolumeAttributesClass objects.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassListV1Beta1Props.property.metadata"></a>

```java
public ListMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ListMeta

Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

---

### KubeVolumeAttributesClassV1Alpha1Props <a name="KubeVolumeAttributesClassV1Alpha1Props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props"></a>

VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.

The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Alpha1Props;

KubeVolumeAttributesClassV1Alpha1Props.builder()
    .driverName(java.lang.String)
//  .metadata(ObjectMeta)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.driverName">driverName</a></code> | <code>java.lang.String</code> | Name of the CSI driver This field is immutable. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters hold volume attributes defined by the CSI driver. |

---

##### `driverName`<sup>Required</sup> <a name="driverName" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.driverName"></a>

```java
public java.lang.String getDriverName();
```

- *Type:* java.lang.String

Name of the CSI driver This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Alpha1Props.property.parameters"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getParameters();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters hold volume attributes defined by the CSI driver.

These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.

This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.

---

### KubeVolumeAttributesClassV1Beta1Props <a name="KubeVolumeAttributesClassV1Beta1Props" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props"></a>

VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver.

The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.KubeVolumeAttributesClassV1Beta1Props;

KubeVolumeAttributesClassV1Beta1Props.builder()
    .driverName(java.lang.String)
//  .metadata(ObjectMeta)
//  .parameters(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.driverName">driverName</a></code> | <code>java.lang.String</code> | Name of the CSI driver This field is immutable. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.parameters">parameters</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | parameters hold volume attributes defined by the CSI driver. |

---

##### `driverName`<sup>Required</sup> <a name="driverName" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.driverName"></a>

```java
public java.lang.String getDriverName();
```

- *Type:* java.lang.String

Name of the CSI driver This field is immutable.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `parameters`<sup>Optional</sup> <a name="parameters" id="cdk8s-plus-32.k8s.KubeVolumeAttributesClassV1Beta1Props.property.parameters"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getParameters();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

parameters hold volume attributes defined by the CSI driver.

These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.

This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an "Infeasible" state in the modifyVolumeStatus field.

---

### LabelSelector <a name="LabelSelector" id="cdk8s-plus-32.k8s.LabelSelector"></a>

A label selector is a label query over a set of resources.

The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LabelSelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LabelSelector;

LabelSelector.builder()
//  .matchExpressions(java.util.List<LabelSelectorRequirement>)
//  .matchLabels(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelector.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LabelSelectorRequirement></code> | matchExpressions is a list of label selector requirements. |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelector.property.matchLabels">matchLabels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | matchLabels is a map of {key,value} pairs. |

---

##### `matchExpressions`<sup>Optional</sup> <a name="matchExpressions" id="cdk8s-plus-32.k8s.LabelSelector.property.matchExpressions"></a>

```java
public java.util.List<LabelSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LabelSelectorRequirement>

matchExpressions is a list of label selector requirements.

The requirements are ANDed.

---

##### `matchLabels`<sup>Optional</sup> <a name="matchLabels" id="cdk8s-plus-32.k8s.LabelSelector.property.matchLabels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getMatchLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

matchLabels is a map of {key,value} pairs.

A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

---

### LabelSelectorAttributes <a name="LabelSelectorAttributes" id="cdk8s-plus-32.k8s.LabelSelectorAttributes"></a>

LabelSelectorAttributes indicates a label limited access.

Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LabelSelectorAttributes.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LabelSelectorAttributes;

LabelSelectorAttributes.builder()
//  .rawSelector(java.lang.String)
//  .requirements(java.util.List<LabelSelectorRequirement>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelectorAttributes.property.rawSelector">rawSelector</a></code> | <code>java.lang.String</code> | rawSelector is the serialization of a field selector that would be included in a query parameter. |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelectorAttributes.property.requirements">requirements</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LabelSelectorRequirement></code> | requirements is the parsed interpretation of a label selector. |

---

##### `rawSelector`<sup>Optional</sup> <a name="rawSelector" id="cdk8s-plus-32.k8s.LabelSelectorAttributes.property.rawSelector"></a>

```java
public java.lang.String getRawSelector();
```

- *Type:* java.lang.String

rawSelector is the serialization of a field selector that would be included in a query parameter.

Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.

---

##### `requirements`<sup>Optional</sup> <a name="requirements" id="cdk8s-plus-32.k8s.LabelSelectorAttributes.property.requirements"></a>

```java
public java.util.List<LabelSelectorRequirement> getRequirements();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LabelSelectorRequirement>

requirements is the parsed interpretation of a label selector.

All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.

---

### LabelSelectorOptions <a name="LabelSelectorOptions" id="cdk8s-plus-32.LabelSelectorOptions"></a>

Options for `LabelSelector.of`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.LabelSelectorOptions.Initializer"></a>

```java
import org.cdk8s.plus32.LabelSelectorOptions;

LabelSelectorOptions.builder()
//  .expressions(java.util.List<LabelExpression>)
//  .labels(java.util.Map<java.lang.String, java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.LabelSelectorOptions.property.expressions">expressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>></code> | Expression based label matchers. |
| <code><a href="#cdk8s-plus-32.LabelSelectorOptions.property.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Strict label matchers. |

---

##### `expressions`<sup>Optional</sup> <a name="expressions" id="cdk8s-plus-32.LabelSelectorOptions.property.expressions"></a>

```java
public java.util.List<LabelExpression> getExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>>

Expression based label matchers.

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.LabelSelectorOptions.property.labels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Strict label matchers.

---

### LabelSelectorRequirement <a name="LabelSelectorRequirement" id="cdk8s-plus-32.LabelSelectorRequirement"></a>

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.LabelSelectorRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.LabelSelectorRequirement;

LabelSelectorRequirement.builder()
    .key(java.lang.String)
    .operator(java.lang.String)
//  .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.LabelSelectorRequirement.property.key">key</a></code> | <code>java.lang.String</code> | The label key that the selector applies to. |
| <code><a href="#cdk8s-plus-32.LabelSelectorRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | Represents a key's relationship to a set of values. |
| <code><a href="#cdk8s-plus-32.LabelSelectorRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | An array of string values. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelSelectorRequirement.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The label key that the selector applies to.

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.LabelSelectorRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

Represents a key's relationship to a set of values.

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.LabelSelectorRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

An array of string values.

If the operator is In or NotIn, the values array
must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic merge patch.

---

### LabelSelectorRequirement <a name="LabelSelectorRequirement" id="cdk8s-plus-32.k8s.LabelSelectorRequirement"></a>

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LabelSelectorRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LabelSelectorRequirement;

LabelSelectorRequirement.builder()
    .key(java.lang.String)
    .operator(java.lang.String)
//  .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelectorRequirement.property.key">key</a></code> | <code>java.lang.String</code> | key is the label key that the selector applies to. |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelectorRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | operator represents a key's relationship to a set of values. |
| <code><a href="#cdk8s-plus-32.k8s.LabelSelectorRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | values is an array of string values. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.LabelSelectorRequirement.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

key is the label key that the selector applies to.

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.k8s.LabelSelectorRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

operator represents a key's relationship to a set of values.

Valid operators are In, NotIn, Exists and DoesNotExist.

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.k8s.LabelSelectorRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

values is an array of string values.

If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

---

### LeaseCandidateSpecV1Alpha2 <a name="LeaseCandidateSpecV1Alpha2" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2"></a>

LeaseCandidateSpec is a specification of a Lease.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LeaseCandidateSpecV1Alpha2;

LeaseCandidateSpecV1Alpha2.builder()
    .binaryVersion(java.lang.String)
    .leaseName(java.lang.String)
    .strategy(java.lang.String)
//  .emulationVersion(java.lang.String)
//  .pingTime(java.time.Instant)
//  .renewTime(java.time.Instant)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.binaryVersion">binaryVersion</a></code> | <code>java.lang.String</code> | BinaryVersion is the binary version. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.leaseName">leaseName</a></code> | <code>java.lang.String</code> | LeaseName is the name of the lease for which this candidate is contending. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.strategy">strategy</a></code> | <code>java.lang.String</code> | Strategy is the strategy that coordinated leader election will use for picking the leader. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.emulationVersion">emulationVersion</a></code> | <code>java.lang.String</code> | EmulationVersion is the emulation version. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.pingTime">pingTime</a></code> | <code>java.time.Instant</code> | PingTime is the last time that the server has requested the LeaseCandidate to renew. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.renewTime">renewTime</a></code> | <code>java.time.Instant</code> | RenewTime is the time that the LeaseCandidate was last updated. |

---

##### `binaryVersion`<sup>Required</sup> <a name="binaryVersion" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.binaryVersion"></a>

```java
public java.lang.String getBinaryVersion();
```

- *Type:* java.lang.String

BinaryVersion is the binary version.

It must be in a semver format without leading `v`. This field is required.

---

##### `leaseName`<sup>Required</sup> <a name="leaseName" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.leaseName"></a>

```java
public java.lang.String getLeaseName();
```

- *Type:* java.lang.String

LeaseName is the name of the lease for which this candidate is contending.

This field is immutable.

---

##### `strategy`<sup>Required</sup> <a name="strategy" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.strategy"></a>

```java
public java.lang.String getStrategy();
```

- *Type:* java.lang.String

Strategy is the strategy that coordinated leader election will use for picking the leader.

If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

---

##### `emulationVersion`<sup>Optional</sup> <a name="emulationVersion" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.emulationVersion"></a>

```java
public java.lang.String getEmulationVersion();
```

- *Type:* java.lang.String

EmulationVersion is the emulation version.

It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"

---

##### `pingTime`<sup>Optional</sup> <a name="pingTime" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.pingTime"></a>

```java
public java.time.Instant getPingTime();
```

- *Type:* java.time.Instant

PingTime is the last time that the server has requested the LeaseCandidate to renew.

It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.

---

##### `renewTime`<sup>Optional</sup> <a name="renewTime" id="cdk8s-plus-32.k8s.LeaseCandidateSpecV1Alpha2.property.renewTime"></a>

```java
public java.time.Instant getRenewTime();
```

- *Type:* java.time.Instant

RenewTime is the time that the LeaseCandidate was last updated.

Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.

---

### LeaseSpec <a name="LeaseSpec" id="cdk8s-plus-32.k8s.LeaseSpec"></a>

LeaseSpec is a specification of a Lease.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LeaseSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LeaseSpec;

LeaseSpec.builder()
//  .acquireTime(java.time.Instant)
//  .holderIdentity(java.lang.String)
//  .leaseDurationSeconds(java.lang.Number)
//  .leaseTransitions(java.lang.Number)
//  .preferredHolder(java.lang.String)
//  .renewTime(java.time.Instant)
//  .strategy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.acquireTime">acquireTime</a></code> | <code>java.time.Instant</code> | acquireTime is a time when the current lease was acquired. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.holderIdentity">holderIdentity</a></code> | <code>java.lang.String</code> | holderIdentity contains the identity of the holder of a current lease. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.leaseDurationSeconds">leaseDurationSeconds</a></code> | <code>java.lang.Number</code> | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.leaseTransitions">leaseTransitions</a></code> | <code>java.lang.Number</code> | leaseTransitions is the number of transitions of a lease between holders. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.preferredHolder">preferredHolder</a></code> | <code>java.lang.String</code> | PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.renewTime">renewTime</a></code> | <code>java.time.Instant</code> | renewTime is a time when the current holder of a lease has last updated the lease. |
| <code><a href="#cdk8s-plus-32.k8s.LeaseSpec.property.strategy">strategy</a></code> | <code>java.lang.String</code> | Strategy indicates the strategy for picking the leader for coordinated leader election. |

---

##### `acquireTime`<sup>Optional</sup> <a name="acquireTime" id="cdk8s-plus-32.k8s.LeaseSpec.property.acquireTime"></a>

```java
public java.time.Instant getAcquireTime();
```

- *Type:* java.time.Instant

acquireTime is a time when the current lease was acquired.

---

##### `holderIdentity`<sup>Optional</sup> <a name="holderIdentity" id="cdk8s-plus-32.k8s.LeaseSpec.property.holderIdentity"></a>

```java
public java.lang.String getHolderIdentity();
```

- *Type:* java.lang.String

holderIdentity contains the identity of the holder of a current lease.

If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.

---

##### `leaseDurationSeconds`<sup>Optional</sup> <a name="leaseDurationSeconds" id="cdk8s-plus-32.k8s.LeaseSpec.property.leaseDurationSeconds"></a>

```java
public java.lang.Number getLeaseDurationSeconds();
```

- *Type:* java.lang.Number

leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it.

This is measured against the time of last observed renewTime.

---

##### `leaseTransitions`<sup>Optional</sup> <a name="leaseTransitions" id="cdk8s-plus-32.k8s.LeaseSpec.property.leaseTransitions"></a>

```java
public java.lang.Number getLeaseTransitions();
```

- *Type:* java.lang.Number

leaseTransitions is the number of transitions of a lease between holders.

---

##### `preferredHolder`<sup>Optional</sup> <a name="preferredHolder" id="cdk8s-plus-32.k8s.LeaseSpec.property.preferredHolder"></a>

```java
public java.lang.String getPreferredHolder();
```

- *Type:* java.lang.String

PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up.

This field can only be set if Strategy is also set.

---

##### `renewTime`<sup>Optional</sup> <a name="renewTime" id="cdk8s-plus-32.k8s.LeaseSpec.property.renewTime"></a>

```java
public java.time.Instant getRenewTime();
```

- *Type:* java.time.Instant

renewTime is a time when the current holder of a lease has last updated the lease.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.k8s.LeaseSpec.property.strategy"></a>

```java
public java.lang.String getStrategy();
```

- *Type:* java.lang.String

Strategy indicates the strategy for picking the leader for coordinated leader election.

If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.

---

### Lifecycle <a name="Lifecycle" id="cdk8s-plus-32.k8s.Lifecycle"></a>

Lifecycle describes actions that the management system should take in response to container lifecycle events.

For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Lifecycle.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Lifecycle;

Lifecycle.builder()
//  .postStart(LifecycleHandler)
//  .preStop(LifecycleHandler)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Lifecycle.property.postStart">postStart</a></code> | <code>org.cdk8s.plus32.k8s.LifecycleHandler</code> | PostStart is called immediately after a container is created. |
| <code><a href="#cdk8s-plus-32.k8s.Lifecycle.property.preStop">preStop</a></code> | <code>org.cdk8s.plus32.k8s.LifecycleHandler</code> | PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. |

---

##### `postStart`<sup>Optional</sup> <a name="postStart" id="cdk8s-plus-32.k8s.Lifecycle.property.postStart"></a>

```java
public LifecycleHandler getPostStart();
```

- *Type:* org.cdk8s.plus32.k8s.LifecycleHandler

PostStart is called immediately after a container is created.

If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

---

##### `preStop`<sup>Optional</sup> <a name="preStop" id="cdk8s-plus-32.k8s.Lifecycle.property.preStop"></a>

```java
public LifecycleHandler getPreStop();
```

- *Type:* org.cdk8s.plus32.k8s.LifecycleHandler

PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc.

The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

---

### LifecycleHandler <a name="LifecycleHandler" id="cdk8s-plus-32.k8s.LifecycleHandler"></a>

LifecycleHandler defines a specific action that should be taken in a lifecycle hook.

One and only one of the fields, except TCPSocket must be specified.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LifecycleHandler.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LifecycleHandler;

LifecycleHandler.builder()
//  .exec(ExecAction)
//  .httpGet(HttpGetAction)
//  .sleep(SleepAction)
//  .tcpSocket(TcpSocketAction)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LifecycleHandler.property.exec">exec</a></code> | <code>org.cdk8s.plus32.k8s.ExecAction</code> | Exec specifies a command to execute in the container. |
| <code><a href="#cdk8s-plus-32.k8s.LifecycleHandler.property.httpGet">httpGet</a></code> | <code>org.cdk8s.plus32.k8s.HttpGetAction</code> | HTTPGet specifies an HTTP GET request to perform. |
| <code><a href="#cdk8s-plus-32.k8s.LifecycleHandler.property.sleep">sleep</a></code> | <code>org.cdk8s.plus32.k8s.SleepAction</code> | Sleep represents a duration that the container should sleep. |
| <code><a href="#cdk8s-plus-32.k8s.LifecycleHandler.property.tcpSocket">tcpSocket</a></code> | <code>org.cdk8s.plus32.k8s.TcpSocketAction</code> | Deprecated. |

---

##### `exec`<sup>Optional</sup> <a name="exec" id="cdk8s-plus-32.k8s.LifecycleHandler.property.exec"></a>

```java
public ExecAction getExec();
```

- *Type:* org.cdk8s.plus32.k8s.ExecAction

Exec specifies a command to execute in the container.

---

##### `httpGet`<sup>Optional</sup> <a name="httpGet" id="cdk8s-plus-32.k8s.LifecycleHandler.property.httpGet"></a>

```java
public HttpGetAction getHttpGet();
```

- *Type:* org.cdk8s.plus32.k8s.HttpGetAction

HTTPGet specifies an HTTP GET request to perform.

---

##### `sleep`<sup>Optional</sup> <a name="sleep" id="cdk8s-plus-32.k8s.LifecycleHandler.property.sleep"></a>

```java
public SleepAction getSleep();
```

- *Type:* org.cdk8s.plus32.k8s.SleepAction

Sleep represents a duration that the container should sleep.

---

##### `tcpSocket`<sup>Optional</sup> <a name="tcpSocket" id="cdk8s-plus-32.k8s.LifecycleHandler.property.tcpSocket"></a>

```java
public TcpSocketAction getTcpSocket();
```

- *Type:* org.cdk8s.plus32.k8s.TcpSocketAction

Deprecated.

TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.

---

### LimitedPriorityLevelConfiguration <a name="LimitedPriorityLevelConfiguration" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration"></a>

LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits.

It addresses two issues:

* How are requests for this priority level limited?
* What should be done with requests that exceed the limit?

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LimitedPriorityLevelConfiguration;

LimitedPriorityLevelConfiguration.builder()
//  .borrowingLimitPercent(java.lang.Number)
//  .lendablePercent(java.lang.Number)
//  .limitResponse(LimitResponse)
//  .nominalConcurrencyShares(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.borrowingLimitPercent">borrowingLimitPercent</a></code> | <code>java.lang.Number</code> | `borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. |
| <code><a href="#cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.lendablePercent">lendablePercent</a></code> | <code>java.lang.Number</code> | `lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. |
| <code><a href="#cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.limitResponse">limitResponse</a></code> | <code>org.cdk8s.plus32.k8s.LimitResponse</code> | `limitResponse` indicates what to do with requests that can not be executed right now. |
| <code><a href="#cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.nominalConcurrencyShares">nominalConcurrencyShares</a></code> | <code>java.lang.Number</code> | `nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. |

---

##### `borrowingLimitPercent`<sup>Optional</sup> <a name="borrowingLimitPercent" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.borrowingLimitPercent"></a>

```java
public java.lang.Number getBorrowingLimitPercent();
```

- *Type:* java.lang.Number

`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels.

The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.

BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )

The value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.

---

##### `lendablePercent`<sup>Optional</sup> <a name="lendablePercent" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.lendablePercent"></a>

```java
public java.lang.Number getLendablePercent();
```

- *Type:* java.lang.Number

`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels.

The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.

LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )

---

##### `limitResponse`<sup>Optional</sup> <a name="limitResponse" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.limitResponse"></a>

```java
public LimitResponse getLimitResponse();
```

- *Type:* org.cdk8s.plus32.k8s.LimitResponse

`limitResponse` indicates what to do with requests that can not be executed right now.

---

##### `nominalConcurrencyShares`<sup>Optional</sup> <a name="nominalConcurrencyShares" id="cdk8s-plus-32.k8s.LimitedPriorityLevelConfiguration.property.nominalConcurrencyShares"></a>

```java
public java.lang.Number getNominalConcurrencyShares();
```

- *Type:* java.lang.Number

`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.

This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:

NominalCL(i)  = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)

Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.

If not specified, this field defaults to a value of 30.

Setting this field to zero supports the construction of a "jail" for this priority level that is used to hold some request(s)

---

### LimitRangeItem <a name="LimitRangeItem" id="cdk8s-plus-32.k8s.LimitRangeItem"></a>

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LimitRangeItem.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LimitRangeItem;

LimitRangeItem.builder()
    .type(java.lang.String)
//  .default(java.util.Map<java.lang.String, Quantity>)
//  .defaultRequest(java.util.Map<java.lang.String, Quantity>)
//  .max(java.util.Map<java.lang.String, Quantity>)
//  .maxLimitRequestRatio(java.util.Map<java.lang.String, Quantity>)
//  .min(java.util.Map<java.lang.String, Quantity>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.type">type</a></code> | <code>java.lang.String</code> | Type of resource that this limit applies to. |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.default">default</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Default resource requirement limit value by resource name if resource limit is omitted. |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.defaultRequest">defaultRequest</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | DefaultRequest is the default resource requirement request value by resource name if resource request is omitted. |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.max">max</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Max usage constraints on this kind by resource name. |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.maxLimitRequestRatio">maxLimitRequestRatio</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeItem.property.min">min</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Min usage constraints on this kind by resource name. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.LimitRangeItem.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

Type of resource that this limit applies to.

---

##### `default`<sup>Optional</sup> <a name="default" id="cdk8s-plus-32.k8s.LimitRangeItem.property.default"></a>

```java
public java.util.Map<java.lang.String, Quantity> getDefault();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Default resource requirement limit value by resource name if resource limit is omitted.

---

##### `defaultRequest`<sup>Optional</sup> <a name="defaultRequest" id="cdk8s-plus-32.k8s.LimitRangeItem.property.defaultRequest"></a>

```java
public java.util.Map<java.lang.String, Quantity> getDefaultRequest();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

---

##### `max`<sup>Optional</sup> <a name="max" id="cdk8s-plus-32.k8s.LimitRangeItem.property.max"></a>

```java
public java.util.Map<java.lang.String, Quantity> getMax();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Max usage constraints on this kind by resource name.

---

##### `maxLimitRequestRatio`<sup>Optional</sup> <a name="maxLimitRequestRatio" id="cdk8s-plus-32.k8s.LimitRangeItem.property.maxLimitRequestRatio"></a>

```java
public java.util.Map<java.lang.String, Quantity> getMaxLimitRequestRatio();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value;

this represents the max burst for the named resource.

---

##### `min`<sup>Optional</sup> <a name="min" id="cdk8s-plus-32.k8s.LimitRangeItem.property.min"></a>

```java
public java.util.Map<java.lang.String, Quantity> getMin();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Min usage constraints on this kind by resource name.

---

### LimitRangeSpec <a name="LimitRangeSpec" id="cdk8s-plus-32.k8s.LimitRangeSpec"></a>

LimitRangeSpec defines a min/max usage limit for resources that match on kind.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LimitRangeSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LimitRangeSpec;

LimitRangeSpec.builder()
    .limits(java.util.List<LimitRangeItem>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LimitRangeSpec.property.limits">limits</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LimitRangeItem></code> | Limits is the list of LimitRangeItem objects that are enforced. |

---

##### `limits`<sup>Required</sup> <a name="limits" id="cdk8s-plus-32.k8s.LimitRangeSpec.property.limits"></a>

```java
public java.util.List<LimitRangeItem> getLimits();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LimitRangeItem>

Limits is the list of LimitRangeItem objects that are enforced.

---

### LimitResponse <a name="LimitResponse" id="cdk8s-plus-32.k8s.LimitResponse"></a>

LimitResponse defines how to handle requests that can not be executed right now.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LimitResponse.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LimitResponse;

LimitResponse.builder()
    .type(java.lang.String)
//  .queuing(QueuingConfiguration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LimitResponse.property.type">type</a></code> | <code>java.lang.String</code> | `type` is "Queue" or "Reject". |
| <code><a href="#cdk8s-plus-32.k8s.LimitResponse.property.queuing">queuing</a></code> | <code>org.cdk8s.plus32.k8s.QueuingConfiguration</code> | `queuing` holds the configuration parameters for queuing. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.LimitResponse.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

`type` is "Queue" or "Reject".

"Queue" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. "Reject" means that requests that can not be executed upon arrival are rejected. Required.

---

##### `queuing`<sup>Optional</sup> <a name="queuing" id="cdk8s-plus-32.k8s.LimitResponse.property.queuing"></a>

```java
public QueuingConfiguration getQueuing();
```

- *Type:* org.cdk8s.plus32.k8s.QueuingConfiguration

`queuing` holds the configuration parameters for queuing.

This field may be non-empty only if `type` is `"Queue"`.

---

### ListMeta <a name="ListMeta" id="cdk8s-plus-32.k8s.ListMeta"></a>

ListMeta describes metadata that synthetic resources must have, including lists and various status objects.

A resource may have only one of {ObjectMeta, ListMeta}.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ListMeta.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ListMeta;

ListMeta.builder()
//  .continue(java.lang.String)
//  .remainingItemCount(java.lang.Number)
//  .resourceVersion(java.lang.String)
//  .selfLink(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ListMeta.property.continue">continue</a></code> | <code>java.lang.String</code> | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. |
| <code><a href="#cdk8s-plus-32.k8s.ListMeta.property.remainingItemCount">remainingItemCount</a></code> | <code>java.lang.Number</code> | remainingItemCount is the number of subsequent items in the list which are not included in this list response. |
| <code><a href="#cdk8s-plus-32.k8s.ListMeta.property.resourceVersion">resourceVersion</a></code> | <code>java.lang.String</code> | String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. |
| <code><a href="#cdk8s-plus-32.k8s.ListMeta.property.selfLink">selfLink</a></code> | <code>java.lang.String</code> | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. |

---

##### `continue`<sup>Optional</sup> <a name="continue" id="cdk8s-plus-32.k8s.ListMeta.property.continue"></a>

```java
public java.lang.String getContinue();
```

- *Type:* java.lang.String

continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available.

The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.

---

##### `remainingItemCount`<sup>Optional</sup> <a name="remainingItemCount" id="cdk8s-plus-32.k8s.ListMeta.property.remainingItemCount"></a>

```java
public java.lang.Number getRemainingItemCount();
```

- *Type:* java.lang.Number

remainingItemCount is the number of subsequent items in the list which are not included in this list response.

If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.

---

##### `resourceVersion`<sup>Optional</sup> <a name="resourceVersion" id="cdk8s-plus-32.k8s.ListMeta.property.resourceVersion"></a>

```java
public java.lang.String getResourceVersion();
```

- *Type:* java.lang.String

String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed.

Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

---

##### `selfLink`<sup>Optional</sup> <a name="selfLink" id="cdk8s-plus-32.k8s.ListMeta.property.selfLink"></a>

```java
public java.lang.String getSelfLink();
```

- *Type:* java.lang.String

Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.

---

### LocalObjectReference <a name="LocalObjectReference" id="cdk8s-plus-32.k8s.LocalObjectReference"></a>

LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LocalObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LocalObjectReference;

LocalObjectReference.builder()
//  .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LocalObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.LocalObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

### LocalVolumeSource <a name="LocalVolumeSource" id="cdk8s-plus-32.k8s.LocalVolumeSource"></a>

Local represents directly-attached storage with node affinity.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.LocalVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.LocalVolumeSource;

LocalVolumeSource.builder()
    .path(java.lang.String)
//  .fsType(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.LocalVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path of the full path to the volume on the node. |
| <code><a href="#cdk8s-plus-32.k8s.LocalVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.LocalVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path of the full path to the volume on the node.

It can be either a directory or block device (disk, partition, ...).

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.LocalVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.

---

### ManagedFieldsEntry <a name="ManagedFieldsEntry" id="cdk8s-plus-32.k8s.ManagedFieldsEntry"></a>

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ManagedFieldsEntry;

ManagedFieldsEntry.builder()
//  .apiVersion(java.lang.String)
//  .fieldsType(java.lang.String)
//  .fieldsV1(java.lang.Object)
//  .manager(java.lang.String)
//  .operation(java.lang.String)
//  .subresource(java.lang.String)
//  .time(java.time.Instant)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | APIVersion defines the version of this resource that this field set applies to. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.fieldsType">fieldsType</a></code> | <code>java.lang.String</code> | FieldsType is the discriminator for the different fields format and version. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.fieldsV1">fieldsV1</a></code> | <code>java.lang.Object</code> | FieldsV1 holds the first JSON version format as described in the "FieldsV1" type. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.manager">manager</a></code> | <code>java.lang.String</code> | Manager is an identifier of the workflow managing these fields. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.operation">operation</a></code> | <code>java.lang.String</code> | Operation is the type of operation which lead to this ManagedFieldsEntry being created. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.subresource">subresource</a></code> | <code>java.lang.String</code> | Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. |
| <code><a href="#cdk8s-plus-32.k8s.ManagedFieldsEntry.property.time">time</a></code> | <code>java.time.Instant</code> | Time is the timestamp of when the ManagedFields entry was added. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

APIVersion defines the version of this resource that this field set applies to.

The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.

---

##### `fieldsType`<sup>Optional</sup> <a name="fieldsType" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.fieldsType"></a>

```java
public java.lang.String getFieldsType();
```

- *Type:* java.lang.String

FieldsType is the discriminator for the different fields format and version.

There is currently only one possible value: "FieldsV1"

---

##### `fieldsV1`<sup>Optional</sup> <a name="fieldsV1" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.fieldsV1"></a>

```java
public java.lang.Object getFieldsV1();
```

- *Type:* java.lang.Object

FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.

---

##### `manager`<sup>Optional</sup> <a name="manager" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.manager"></a>

```java
public java.lang.String getManager();
```

- *Type:* java.lang.String

Manager is an identifier of the workflow managing these fields.

---

##### `operation`<sup>Optional</sup> <a name="operation" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.operation"></a>

```java
public java.lang.String getOperation();
```

- *Type:* java.lang.String

Operation is the type of operation which lead to this ManagedFieldsEntry being created.

The only valid values for this field are 'Apply' and 'Update'.

---

##### `subresource`<sup>Optional</sup> <a name="subresource" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.subresource"></a>

```java
public java.lang.String getSubresource();
```

- *Type:* java.lang.String

Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.

The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.

---

##### `time`<sup>Optional</sup> <a name="time" id="cdk8s-plus-32.k8s.ManagedFieldsEntry.property.time"></a>

```java
public java.time.Instant getTime();
```

- *Type:* java.time.Instant

Time is the timestamp of when the ManagedFields entry was added.

The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.

---

### MatchCondition <a name="MatchCondition" id="cdk8s-plus-32.k8s.MatchCondition"></a>

MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchCondition.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchCondition;

MatchCondition.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchCondition.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.MatchCondition.property.name">name</a></code> | <code>java.lang.String</code> | Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.MatchCondition.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression represents the expression which will be evaluated by CEL.

Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:

'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
request resource.
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/

Required.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.MatchCondition.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes.

A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '*' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9*.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')

Required.

---

### MatchConditionV1Alpha1 <a name="MatchConditionV1Alpha1" id="cdk8s-plus-32.k8s.MatchConditionV1Alpha1"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchConditionV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchConditionV1Alpha1;

MatchConditionV1Alpha1.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchConditionV1Alpha1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.MatchConditionV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.MatchConditionV1Alpha1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression represents the expression which will be evaluated by CEL.

Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:

'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
request resource.
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/

Required.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.MatchConditionV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes.

A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '*' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9*.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')

Required.

---

### MatchConditionV1Beta1 <a name="MatchConditionV1Beta1" id="cdk8s-plus-32.k8s.MatchConditionV1Beta1"></a>

MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchConditionV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchConditionV1Beta1;

MatchConditionV1Beta1.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchConditionV1Beta1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.MatchConditionV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.MatchConditionV1Beta1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression represents the expression which will be evaluated by CEL.

Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:

'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
request resource.
Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/

Required.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.MatchConditionV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes.

A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '*' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9*.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')

Required.

---

### MatchResources <a name="MatchResources" id="cdk8s-plus-32.k8s.MatchResources"></a>

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchResources.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchResources;

MatchResources.builder()
//  .excludeResourceRules(java.util.List<NamedRuleWithOperations>)
//  .matchPolicy(java.lang.String)
//  .namespaceSelector(LabelSelector)
//  .objectSelector(LabelSelector)
//  .resourceRules(java.util.List<NamedRuleWithOperations>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchResources.property.excludeResourceRules">excludeResourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperations></code> | ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResources.property.matchPolicy">matchPolicy</a></code> | <code>java.lang.String</code> | matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". |
| <code><a href="#cdk8s-plus-32.k8s.MatchResources.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResources.property.objectSelector">objectSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | ObjectSelector decides whether to run the validation based on if the object has matching labels. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResources.property.resourceRules">resourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperations></code> | ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. |

---

##### `excludeResourceRules`<sup>Optional</sup> <a name="excludeResourceRules" id="cdk8s-plus-32.k8s.MatchResources.property.excludeResourceRules"></a>

```java
public java.util.List<NamedRuleWithOperations> getExcludeResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperations>

ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

---

##### `matchPolicy`<sup>Optional</sup> <a name="matchPolicy" id="cdk8s-plus-32.k8s.MatchResources.property.matchPolicy"></a>

```java
public java.lang.String getMatchPolicy();
```

- *Type:* java.lang.String
- *Default:* Equivalent"

matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".

* Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
* Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.

Defaults to "Equivalent"

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.MatchResources.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector.

If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.

For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "runlevel",
"operator": "NotIn",
"values": [
"0",
"1"
]
}
]
}

If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "environment",
"operator": "In",
"values": [
"prod",
"staging"
]
}
]
}

See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.

Default to the empty LabelSelector, which matches everything.

---

##### `objectSelector`<sup>Optional</sup> <a name="objectSelector" id="cdk8s-plus-32.k8s.MatchResources.property.objectSelector"></a>

```java
public LabelSelector getObjectSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

ObjectSelector decides whether to run the validation based on if the object has matching labels.

objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.

---

##### `resourceRules`<sup>Optional</sup> <a name="resourceRules" id="cdk8s-plus-32.k8s.MatchResources.property.resourceRules"></a>

```java
public java.util.List<NamedRuleWithOperations> getResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperations>

ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.

The policy cares about an operation if it matches *any* Rule.

---

### MatchResourcesV1Alpha1 <a name="MatchResourcesV1Alpha1" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1"></a>

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchResourcesV1Alpha1;

MatchResourcesV1Alpha1.builder()
//  .excludeResourceRules(java.util.List<NamedRuleWithOperationsV1Alpha1>)
//  .matchPolicy(java.lang.String)
//  .namespaceSelector(LabelSelector)
//  .objectSelector(LabelSelector)
//  .resourceRules(java.util.List<NamedRuleWithOperationsV1Alpha1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.excludeResourceRules">excludeResourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Alpha1></code> | ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.matchPolicy">matchPolicy</a></code> | <code>java.lang.String</code> | matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.objectSelector">objectSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | ObjectSelector decides whether to run the validation based on if the object has matching labels. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.resourceRules">resourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Alpha1></code> | ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. |

---

##### `excludeResourceRules`<sup>Optional</sup> <a name="excludeResourceRules" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.excludeResourceRules"></a>

```java
public java.util.List<NamedRuleWithOperationsV1Alpha1> getExcludeResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Alpha1>

ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

---

##### `matchPolicy`<sup>Optional</sup> <a name="matchPolicy" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.matchPolicy"></a>

```java
public java.lang.String getMatchPolicy();
```

- *Type:* java.lang.String
- *Default:* Equivalent"

matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".

* Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
* Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.

Defaults to "Equivalent"

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector.

If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.

For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "runlevel",
"operator": "NotIn",
"values": [
"0",
"1"
]
}
]
}

If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "environment",
"operator": "In",
"values": [
"prod",
"staging"
]
}
]
}

See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.

Default to the empty LabelSelector, which matches everything.

---

##### `objectSelector`<sup>Optional</sup> <a name="objectSelector" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.objectSelector"></a>

```java
public LabelSelector getObjectSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

ObjectSelector decides whether to run the validation based on if the object has matching labels.

objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.

---

##### `resourceRules`<sup>Optional</sup> <a name="resourceRules" id="cdk8s-plus-32.k8s.MatchResourcesV1Alpha1.property.resourceRules"></a>

```java
public java.util.List<NamedRuleWithOperationsV1Alpha1> getResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Alpha1>

ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.

The policy cares about an operation if it matches *any* Rule.

---

### MatchResourcesV1Beta1 <a name="MatchResourcesV1Beta1" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1"></a>

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MatchResourcesV1Beta1;

MatchResourcesV1Beta1.builder()
//  .excludeResourceRules(java.util.List<NamedRuleWithOperationsV1Beta1>)
//  .matchPolicy(java.lang.String)
//  .namespaceSelector(LabelSelector)
//  .objectSelector(LabelSelector)
//  .resourceRules(java.util.List<NamedRuleWithOperationsV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.excludeResourceRules">excludeResourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Beta1></code> | ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.matchPolicy">matchPolicy</a></code> | <code>java.lang.String</code> | matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.objectSelector">objectSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | ObjectSelector decides whether to run the validation based on if the object has matching labels. |
| <code><a href="#cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.resourceRules">resourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Beta1></code> | ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. |

---

##### `excludeResourceRules`<sup>Optional</sup> <a name="excludeResourceRules" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.excludeResourceRules"></a>

```java
public java.util.List<NamedRuleWithOperationsV1Beta1> getExcludeResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Beta1>

ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.

The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

---

##### `matchPolicy`<sup>Optional</sup> <a name="matchPolicy" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.matchPolicy"></a>

```java
public java.lang.String getMatchPolicy();
```

- *Type:* java.lang.String
- *Default:* Equivalent"

matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".

* Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
* Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.

Defaults to "Equivalent"

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector.

If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.

For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "runlevel",
"operator": "NotIn",
"values": [
"0",
"1"
]
}
]
}

If instead you want to only run the policy on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "environment",
"operator": "In",
"values": [
"prod",
"staging"
]
}
]
}

See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.

Default to the empty LabelSelector, which matches everything.

---

##### `objectSelector`<sup>Optional</sup> <a name="objectSelector" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.objectSelector"></a>

```java
public LabelSelector getObjectSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

ObjectSelector decides whether to run the validation based on if the object has matching labels.

objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.

---

##### `resourceRules`<sup>Optional</sup> <a name="resourceRules" id="cdk8s-plus-32.k8s.MatchResourcesV1Beta1.property.resourceRules"></a>

```java
public java.util.List<NamedRuleWithOperationsV1Beta1> getResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Beta1>

ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.

The policy cares about an operation if it matches *any* Rule.

---

### MemoryResources <a name="MemoryResources" id="cdk8s-plus-32.MemoryResources"></a>

Memory request and limit.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.MemoryResources.Initializer"></a>

```java
import org.cdk8s.plus32.MemoryResources;

MemoryResources.builder()
//  .limit(Size)
//  .request(Size)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.MemoryResources.property.limit">limit</a></code> | <code>org.cdk8s.Size</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.MemoryResources.property.request">request</a></code> | <code>org.cdk8s.Size</code> | *No description.* |

---

##### `limit`<sup>Optional</sup> <a name="limit" id="cdk8s-plus-32.MemoryResources.property.limit"></a>

```java
public Size getLimit();
```

- *Type:* org.cdk8s.Size

---

##### `request`<sup>Optional</sup> <a name="request" id="cdk8s-plus-32.MemoryResources.property.request"></a>

```java
public Size getRequest();
```

- *Type:* org.cdk8s.Size

---

### MetricContainerResourceOptions <a name="MetricContainerResourceOptions" id="cdk8s-plus-32.MetricContainerResourceOptions"></a>

Options for `Metric.containerResource()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.MetricContainerResourceOptions.Initializer"></a>

```java
import org.cdk8s.plus32.MetricContainerResourceOptions;

MetricContainerResourceOptions.builder()
    .container(Container)
    .target(MetricTarget)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.MetricContainerResourceOptions.property.container">container</a></code> | <code><a href="#cdk8s-plus-32.Container">Container</a></code> | Container where the metric can be found. |
| <code><a href="#cdk8s-plus-32.MetricContainerResourceOptions.property.target">target</a></code> | <code><a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a></code> | Target metric value that will trigger scaling. |

---

##### `container`<sup>Required</sup> <a name="container" id="cdk8s-plus-32.MetricContainerResourceOptions.property.container"></a>

```java
public Container getContainer();
```

- *Type:* <a href="#cdk8s-plus-32.Container">Container</a>

Container where the metric can be found.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.MetricContainerResourceOptions.property.target"></a>

```java
public MetricTarget getTarget();
```

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

Target metric value that will trigger scaling.

---

### MetricIdentifierV2 <a name="MetricIdentifierV2" id="cdk8s-plus-32.k8s.MetricIdentifierV2"></a>

MetricIdentifier defines the name and optionally selector for a metric.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MetricIdentifierV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MetricIdentifierV2;

MetricIdentifierV2.builder()
    .name(java.lang.String)
//  .selector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MetricIdentifierV2.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the given metric. |
| <code><a href="#cdk8s-plus-32.k8s.MetricIdentifierV2.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.MetricIdentifierV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the given metric.

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.MetricIdentifierV2.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.

When unset, just the metricName will be used to gather metrics.

---

### MetricObjectOptions <a name="MetricObjectOptions" id="cdk8s-plus-32.MetricObjectOptions"></a>

Options for `Metric.object()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.MetricObjectOptions.Initializer"></a>

```java
import org.cdk8s.plus32.MetricObjectOptions;

MetricObjectOptions.builder()
    .name(java.lang.String)
    .target(MetricTarget)
//  .labelSelector(LabelSelector)
    .object(IResource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.MetricObjectOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of the metric to scale on. |
| <code><a href="#cdk8s-plus-32.MetricObjectOptions.property.target">target</a></code> | <code><a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a></code> | The target metric value that will trigger scaling. |
| <code><a href="#cdk8s-plus-32.MetricObjectOptions.property.labelSelector">labelSelector</a></code> | <code><a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a></code> | A selector to find a metric by label. |
| <code><a href="#cdk8s-plus-32.MetricObjectOptions.property.object">object</a></code> | <code><a href="#cdk8s-plus-32.IResource">IResource</a></code> | Resource where the metric can be found. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.MetricObjectOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the metric to scale on.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.MetricObjectOptions.property.target"></a>

```java
public MetricTarget getTarget();
```

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

The target metric value that will trigger scaling.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.MetricObjectOptions.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>
- *Default:* Just the metric 'name' will be used to gather metrics.

A selector to find a metric by label.

When set, it is passed as an additional parameter to the metrics server
for more specific metrics scoping.

---

##### `object`<sup>Required</sup> <a name="object" id="cdk8s-plus-32.MetricObjectOptions.property.object"></a>

```java
public IResource getObject();
```

- *Type:* <a href="#cdk8s-plus-32.IResource">IResource</a>

Resource where the metric can be found.

---

### MetricOptions <a name="MetricOptions" id="cdk8s-plus-32.MetricOptions"></a>

Base options for a Metric.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.MetricOptions.Initializer"></a>

```java
import org.cdk8s.plus32.MetricOptions;

MetricOptions.builder()
    .name(java.lang.String)
    .target(MetricTarget)
//  .labelSelector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.MetricOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of the metric to scale on. |
| <code><a href="#cdk8s-plus-32.MetricOptions.property.target">target</a></code> | <code><a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a></code> | The target metric value that will trigger scaling. |
| <code><a href="#cdk8s-plus-32.MetricOptions.property.labelSelector">labelSelector</a></code> | <code><a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a></code> | A selector to find a metric by label. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.MetricOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the metric to scale on.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.MetricOptions.property.target"></a>

```java
public MetricTarget getTarget();
```

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

The target metric value that will trigger scaling.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.MetricOptions.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>
- *Default:* Just the metric 'name' will be used to gather metrics.

A selector to find a metric by label.

When set, it is passed as an additional parameter to the metrics server
for more specific metrics scoping.

---

### MetricSpecV2 <a name="MetricSpecV2" id="cdk8s-plus-32.k8s.MetricSpecV2"></a>

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MetricSpecV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MetricSpecV2;

MetricSpecV2.builder()
    .type(java.lang.String)
//  .containerResource(ContainerResourceMetricSourceV2)
//  .external(ExternalMetricSourceV2)
//  .object(ObjectMetricSourceV2)
//  .pods(PodsMetricSourceV2)
//  .resource(ResourceMetricSourceV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.type">type</a></code> | <code>java.lang.String</code> | type is the type of metric source. |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.containerResource">containerResource</a></code> | <code>org.cdk8s.plus32.k8s.ContainerResourceMetricSourceV2</code> | containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.external">external</a></code> | <code>org.cdk8s.plus32.k8s.ExternalMetricSourceV2</code> | external refers to a global metric that is not associated with any Kubernetes object. |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.object">object</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMetricSourceV2</code> | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.pods">pods</a></code> | <code>org.cdk8s.plus32.k8s.PodsMetricSourceV2</code> | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). |
| <code><a href="#cdk8s-plus-32.k8s.MetricSpecV2.property.resource">resource</a></code> | <code>org.cdk8s.plus32.k8s.ResourceMetricSourceV2</code> | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.MetricSpecV2.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type is the type of metric source.

It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.

---

##### `containerResource`<sup>Optional</sup> <a name="containerResource" id="cdk8s-plus-32.k8s.MetricSpecV2.property.containerResource"></a>

```java
public ContainerResourceMetricSourceV2 getContainerResource();
```

- *Type:* org.cdk8s.plus32.k8s.ContainerResourceMetricSourceV2

containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

---

##### `external`<sup>Optional</sup> <a name="external" id="cdk8s-plus-32.k8s.MetricSpecV2.property.external"></a>

```java
public ExternalMetricSourceV2 getExternal();
```

- *Type:* org.cdk8s.plus32.k8s.ExternalMetricSourceV2

external refers to a global metric that is not associated with any Kubernetes object.

It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

---

##### `object`<sup>Optional</sup> <a name="object" id="cdk8s-plus-32.k8s.MetricSpecV2.property.object"></a>

```java
public ObjectMetricSourceV2 getObject();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMetricSourceV2

object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).

---

##### `pods`<sup>Optional</sup> <a name="pods" id="cdk8s-plus-32.k8s.MetricSpecV2.property.pods"></a>

```java
public PodsMetricSourceV2 getPods();
```

- *Type:* org.cdk8s.plus32.k8s.PodsMetricSourceV2

pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

The values will be averaged together before being compared to the target value.

---

##### `resource`<sup>Optional</sup> <a name="resource" id="cdk8s-plus-32.k8s.MetricSpecV2.property.resource"></a>

```java
public ResourceMetricSourceV2 getResource();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceMetricSourceV2

resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

---

### MetricTargetV2 <a name="MetricTargetV2" id="cdk8s-plus-32.k8s.MetricTargetV2"></a>

MetricTarget defines the target value, average value, or average utilization of a specific metric.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MetricTargetV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MetricTargetV2;

MetricTargetV2.builder()
    .type(java.lang.String)
//  .averageUtilization(java.lang.Number)
//  .averageValue(Quantity)
//  .value(Quantity)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MetricTargetV2.property.type">type</a></code> | <code>java.lang.String</code> | type represents whether the metric type is Utilization, Value, or AverageValue. |
| <code><a href="#cdk8s-plus-32.k8s.MetricTargetV2.property.averageUtilization">averageUtilization</a></code> | <code>java.lang.Number</code> | averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. |
| <code><a href="#cdk8s-plus-32.k8s.MetricTargetV2.property.averageValue">averageValue</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | averageValue is the target value of the average of the metric across all relevant pods (as a quantity). |
| <code><a href="#cdk8s-plus-32.k8s.MetricTargetV2.property.value">value</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | value is the target value of the metric (as a quantity). |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.MetricTargetV2.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type represents whether the metric type is Utilization, Value, or AverageValue.

---

##### `averageUtilization`<sup>Optional</sup> <a name="averageUtilization" id="cdk8s-plus-32.k8s.MetricTargetV2.property.averageUtilization"></a>

```java
public java.lang.Number getAverageUtilization();
```

- *Type:* java.lang.Number

averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

Currently only valid for Resource metric source type

---

##### `averageValue`<sup>Optional</sup> <a name="averageValue" id="cdk8s-plus-32.k8s.MetricTargetV2.property.averageValue"></a>

```java
public Quantity getAverageValue();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

averageValue is the target value of the average of the metric across all relevant pods (as a quantity).

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.k8s.MetricTargetV2.property.value"></a>

```java
public Quantity getValue();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

value is the target value of the metric (as a quantity).

---

### MountOptions <a name="MountOptions" id="cdk8s-plus-32.MountOptions"></a>

Options for mounts.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.MountOptions.Initializer"></a>

```java
import org.cdk8s.plus32.MountOptions;

MountOptions.builder()
//  .propagation(MountPropagation)
//  .readOnly(java.lang.Boolean)
//  .subPath(java.lang.String)
//  .subPathExpr(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.MountOptions.property.propagation">propagation</a></code> | <code><a href="#cdk8s-plus-32.MountPropagation">MountPropagation</a></code> | Determines how mounts are propagated from the host to container and the other way around. |
| <code><a href="#cdk8s-plus-32.MountOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Mounted read-only if true, read-write otherwise (false or unspecified). |
| <code><a href="#cdk8s-plus-32.MountOptions.property.subPath">subPath</a></code> | <code>java.lang.String</code> | Path within the volume from which the container's volume should be mounted.). |
| <code><a href="#cdk8s-plus-32.MountOptions.property.subPathExpr">subPathExpr</a></code> | <code>java.lang.String</code> | Expanded path within the volume from which the container's volume should be mounted. |

---

##### `propagation`<sup>Optional</sup> <a name="propagation" id="cdk8s-plus-32.MountOptions.property.propagation"></a>

```java
public MountPropagation getPropagation();
```

- *Type:* <a href="#cdk8s-plus-32.MountPropagation">MountPropagation</a>
- *Default:* MountPropagation.NONE

Determines how mounts are propagated from the host to container and the other way around.

When not set, MountPropagationNone is used.

Mount propagation allows for sharing volumes mounted by a Container to
other Containers in the same Pod, or even to other Pods on the same node.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.MountOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Mounted read-only if true, read-write otherwise (false or unspecified).

Defaults to false.

---

##### `subPath`<sup>Optional</sup> <a name="subPath" id="cdk8s-plus-32.MountOptions.property.subPath"></a>

```java
public java.lang.String getSubPath();
```

- *Type:* java.lang.String
- *Default:* "" the volume's root

Path within the volume from which the container's volume should be mounted.).

---

##### `subPathExpr`<sup>Optional</sup> <a name="subPathExpr" id="cdk8s-plus-32.MountOptions.property.subPathExpr"></a>

```java
public java.lang.String getSubPathExpr();
```

- *Type:* java.lang.String
- *Default:* "" volume's root.

Expanded path within the volume from which the container's volume should be mounted.

Behaves similarly to SubPath but environment variable references
$(VAR_NAME) are expanded using the container's environment. Defaults to ""
(volume's root).

`subPathExpr` and `subPath` are mutually exclusive.

---

### MutatingAdmissionPolicyBindingSpecV1Alpha1 <a name="MutatingAdmissionPolicyBindingSpecV1Alpha1" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1"></a>

MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1;

MutatingAdmissionPolicyBindingSpecV1Alpha1.builder()
//  .matchResources(MatchResourcesV1Alpha1)
//  .paramRef(ParamRefV1Alpha1)
//  .policyName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.matchResources">matchResources</a></code> | <code>org.cdk8s.plus32.k8s.MatchResourcesV1Alpha1</code> | matchResources limits what resources match this binding and may be mutated by it. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.paramRef">paramRef</a></code> | <code>org.cdk8s.plus32.k8s.ParamRefV1Alpha1</code> | paramRef specifies the parameter resource used to configure the admission control policy. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.policyName">policyName</a></code> | <code>java.lang.String</code> | policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. |

---

##### `matchResources`<sup>Optional</sup> <a name="matchResources" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.matchResources"></a>

```java
public MatchResourcesV1Alpha1 getMatchResources();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResourcesV1Alpha1

matchResources limits what resources match this binding and may be mutated by it.

Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed.  The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT.

---

##### `paramRef`<sup>Optional</sup> <a name="paramRef" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.paramRef"></a>

```java
public ParamRefV1Alpha1 getParamRef();
```

- *Type:* org.cdk8s.plus32.k8s.ParamRefV1Alpha1

paramRef specifies the parameter resource used to configure the admission control policy.

It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.

---

##### `policyName`<sup>Optional</sup> <a name="policyName" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicyBindingSpecV1Alpha1.property.policyName"></a>

```java
public java.lang.String getPolicyName();
```

- *Type:* java.lang.String

policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to.

If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.

---

### MutatingAdmissionPolicySpecV1Alpha1 <a name="MutatingAdmissionPolicySpecV1Alpha1" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1"></a>

MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MutatingAdmissionPolicySpecV1Alpha1;

MutatingAdmissionPolicySpecV1Alpha1.builder()
//  .failurePolicy(java.lang.String)
//  .matchConditions(java.util.List<MatchConditionV1Alpha1>)
//  .matchConstraints(MatchResourcesV1Alpha1)
//  .mutations(java.util.List<MutationV1Alpha1>)
//  .paramKind(ParamKindV1Alpha1)
//  .reinvocationPolicy(java.lang.String)
//  .variables(java.util.List<VariableV1Alpha1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.failurePolicy">failurePolicy</a></code> | <code>java.lang.String</code> | failurePolicy defines how to handle failures for the admission policy. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.matchConditions">matchConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MatchConditionV1Alpha1></code> | matchConditions is a list of conditions that must be met for a request to be validated. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.matchConstraints">matchConstraints</a></code> | <code>org.cdk8s.plus32.k8s.MatchResourcesV1Alpha1</code> | matchConstraints specifies what resources this policy is designed to validate. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.mutations">mutations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MutationV1Alpha1></code> | mutations contain operations to perform on matching objects. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.paramKind">paramKind</a></code> | <code>org.cdk8s.plus32.k8s.ParamKindV1Alpha1</code> | paramKind specifies the kind of resources used to parameterize this policy. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.reinvocationPolicy">reinvocationPolicy</a></code> | <code>java.lang.String</code> | reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.variables">variables</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VariableV1Alpha1></code> | variables contain definitions of variables that can be used in composition of other expressions. |

---

##### `failurePolicy`<sup>Optional</sup> <a name="failurePolicy" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.failurePolicy"></a>

```java
public java.lang.String getFailurePolicy();
```

- *Type:* java.lang.String
- *Default:* Fail.

failurePolicy defines how to handle failures for the admission policy.

Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.

A policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.

failurePolicy does not define how validations that evaluate to false are handled.

Allowed values are Ignore or Fail. Defaults to Fail.

---

##### `matchConditions`<sup>Optional</sup> <a name="matchConditions" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.matchConditions"></a>

```java
public java.util.List<MatchConditionV1Alpha1> getMatchConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MatchConditionV1Alpha1>

matchConditions is a list of conditions that must be met for a request to be validated.

Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.

If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.

The exact matching logic is (in order):

1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
3. If any matchCondition evaluates to an error (but none are FALSE):

* If failurePolicy=Fail, reject the request
* If failurePolicy=Ignore, the policy is skipped

---

##### `matchConstraints`<sup>Optional</sup> <a name="matchConstraints" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.matchConstraints"></a>

```java
public MatchResourcesV1Alpha1 getMatchConstraints();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResourcesV1Alpha1

matchConstraints specifies what resources this policy is designed to validate.

The MutatingAdmissionPolicy cares about a request if it matches *all* Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed.  The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required.

---

##### `mutations`<sup>Optional</sup> <a name="mutations" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.mutations"></a>

```java
public java.util.List<MutationV1Alpha1> getMutations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MutationV1Alpha1>

mutations contain operations to perform on matching objects.

mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.

---

##### `paramKind`<sup>Optional</sup> <a name="paramKind" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.paramKind"></a>

```java
public ParamKindV1Alpha1 getParamKind();
```

- *Type:* org.cdk8s.plus32.k8s.ParamKindV1Alpha1

paramKind specifies the kind of resources used to parameterize this policy.

If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null.

---

##### `reinvocationPolicy`<sup>Optional</sup> <a name="reinvocationPolicy" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.reinvocationPolicy"></a>

```java
public java.lang.String getReinvocationPolicy();
```

- *Type:* java.lang.String

reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation.

Allowed values are "Never" and "IfNeeded".

Never: These mutations will not be called more than once per binding in a single admission evaluation.

IfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies.  Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.

---

##### `variables`<sup>Optional</sup> <a name="variables" id="cdk8s-plus-32.k8s.MutatingAdmissionPolicySpecV1Alpha1.property.variables"></a>

```java
public java.util.List<VariableV1Alpha1> getVariables();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VariableV1Alpha1>

variables contain definitions of variables that can be used in composition of other expressions.

Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.

The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.

---

### MutatingWebhook <a name="MutatingWebhook" id="cdk8s-plus-32.k8s.MutatingWebhook"></a>

MutatingWebhook describes an admission webhook and the resources and operations it applies to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MutatingWebhook.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MutatingWebhook;

MutatingWebhook.builder()
    .admissionReviewVersions(java.util.List<java.lang.String>)
    .clientConfig(WebhookClientConfig)
    .name(java.lang.String)
    .sideEffects(java.lang.String)
//  .failurePolicy(java.lang.String)
//  .matchConditions(java.util.List<MatchCondition>)
//  .matchPolicy(java.lang.String)
//  .namespaceSelector(LabelSelector)
//  .objectSelector(LabelSelector)
//  .reinvocationPolicy(java.lang.String)
//  .rules(java.util.List<RuleWithOperations>)
//  .timeoutSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.admissionReviewVersions">admissionReviewVersions</a></code> | <code>java.util.List<java.lang.String></code> | AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.clientConfig">clientConfig</a></code> | <code>org.cdk8s.plus32.k8s.WebhookClientConfig</code> | ClientConfig defines how to communicate with the hook. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.name">name</a></code> | <code>java.lang.String</code> | The name of the admission webhook. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.sideEffects">sideEffects</a></code> | <code>java.lang.String</code> | SideEffects states whether this webhook has side effects. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.failurePolicy">failurePolicy</a></code> | <code>java.lang.String</code> | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.matchConditions">matchConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MatchCondition></code> | MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.matchPolicy">matchPolicy</a></code> | <code>java.lang.String</code> | matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.objectSelector">objectSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | ObjectSelector decides whether to run the webhook based on if the object has matching labels. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.reinvocationPolicy">reinvocationPolicy</a></code> | <code>java.lang.String</code> | reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.RuleWithOperations></code> | Rules describes what operations on what resources/subresources the webhook cares about. |
| <code><a href="#cdk8s-plus-32.k8s.MutatingWebhook.property.timeoutSeconds">timeoutSeconds</a></code> | <code>java.lang.Number</code> | TimeoutSeconds specifies the timeout for this webhook. |

---

##### `admissionReviewVersions`<sup>Required</sup> <a name="admissionReviewVersions" id="cdk8s-plus-32.k8s.MutatingWebhook.property.admissionReviewVersions"></a>

```java
public java.util.List<java.lang.String> getAdmissionReviewVersions();
```

- *Type:* java.util.List<java.lang.String>

AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects.

API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.

---

##### `clientConfig`<sup>Required</sup> <a name="clientConfig" id="cdk8s-plus-32.k8s.MutatingWebhook.property.clientConfig"></a>

```java
public WebhookClientConfig getClientConfig();
```

- *Type:* org.cdk8s.plus32.k8s.WebhookClientConfig

ClientConfig defines how to communicate with the hook.

Required

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.MutatingWebhook.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the admission webhook.

Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.

---

##### `sideEffects`<sup>Required</sup> <a name="sideEffects" id="cdk8s-plus-32.k8s.MutatingWebhook.property.sideEffects"></a>

```java
public java.lang.String getSideEffects();
```

- *Type:* java.lang.String

SideEffects states whether this webhook has side effects.

Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.

---

##### `failurePolicy`<sup>Optional</sup> <a name="failurePolicy" id="cdk8s-plus-32.k8s.MutatingWebhook.property.failurePolicy"></a>

```java
public java.lang.String getFailurePolicy();
```

- *Type:* java.lang.String
- *Default:* Fail.

FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.

Defaults to Fail.

---

##### `matchConditions`<sup>Optional</sup> <a name="matchConditions" id="cdk8s-plus-32.k8s.MutatingWebhook.property.matchConditions"></a>

```java
public java.util.List<MatchCondition> getMatchConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MatchCondition>

MatchConditions is a list of conditions that must be met for a request to be sent to this webhook.

Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.

The exact matching logic is (in order):

1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
2. If ALL matchConditions evaluate to TRUE, the webhook is called.
3. If any matchCondition evaluates to an error (but none are FALSE):

* If failurePolicy=Fail, reject the request
* If failurePolicy=Ignore, the error is ignored and the webhook is skipped

---

##### `matchPolicy`<sup>Optional</sup> <a name="matchPolicy" id="cdk8s-plus-32.k8s.MutatingWebhook.property.matchPolicy"></a>

```java
public java.lang.String getMatchPolicy();
```

- *Type:* java.lang.String
- *Default:* Equivalent"

matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".

* Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
* Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.

Defaults to "Equivalent"

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.MutatingWebhook.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector.

If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.

For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "runlevel",
"operator": "NotIn",
"values": [
"0",
"1"
]
}
]
}

If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "environment",
"operator": "In",
"values": [
"prod",
"staging"
]
}
]
}

See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.

Default to the empty LabelSelector, which matches everything.

---

##### `objectSelector`<sup>Optional</sup> <a name="objectSelector" id="cdk8s-plus-32.k8s.MutatingWebhook.property.objectSelector"></a>

```java
public LabelSelector getObjectSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

ObjectSelector decides whether to run the webhook based on if the object has matching labels.

objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.

---

##### `reinvocationPolicy`<sup>Optional</sup> <a name="reinvocationPolicy" id="cdk8s-plus-32.k8s.MutatingWebhook.property.reinvocationPolicy"></a>

```java
public java.lang.String getReinvocationPolicy();
```

- *Type:* java.lang.String
- *Default:* Never".

reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.

Allowed values are "Never" and "IfNeeded".

Never: the webhook will not be called more than once in a single admission evaluation.

IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.

Defaults to "Never".

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.MutatingWebhook.property.rules"></a>

```java
public java.util.List<RuleWithOperations> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.RuleWithOperations>

Rules describes what operations on what resources/subresources the webhook cares about.

The webhook cares about an operation if it matches *any* Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.k8s.MutatingWebhook.property.timeoutSeconds"></a>

```java
public java.lang.Number getTimeoutSeconds();
```

- *Type:* java.lang.Number
- *Default:* 10 seconds.

TimeoutSeconds specifies the timeout for this webhook.

After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.

---

### MutationV1Alpha1 <a name="MutationV1Alpha1" id="cdk8s-plus-32.k8s.MutationV1Alpha1"></a>

Mutation specifies the CEL expression which is used to apply the Mutation.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.MutationV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.MutationV1Alpha1;

MutationV1Alpha1.builder()
    .patchType(java.lang.String)
//  .applyConfiguration(ApplyConfigurationV1Alpha1)
//  .jsonPatch(JsonPatchV1Alpha1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.MutationV1Alpha1.property.patchType">patchType</a></code> | <code>java.lang.String</code> | patchType indicates the patch strategy used. |
| <code><a href="#cdk8s-plus-32.k8s.MutationV1Alpha1.property.applyConfiguration">applyConfiguration</a></code> | <code>org.cdk8s.plus32.k8s.ApplyConfigurationV1Alpha1</code> | applyConfiguration defines the desired configuration values of an object. |
| <code><a href="#cdk8s-plus-32.k8s.MutationV1Alpha1.property.jsonPatch">jsonPatch</a></code> | <code>org.cdk8s.plus32.k8s.JsonPatchV1Alpha1</code> | jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch. |

---

##### `patchType`<sup>Required</sup> <a name="patchType" id="cdk8s-plus-32.k8s.MutationV1Alpha1.property.patchType"></a>

```java
public java.lang.String getPatchType();
```

- *Type:* java.lang.String

patchType indicates the patch strategy used.

Allowed values are "ApplyConfiguration" and "JSONPatch". Required.

---

##### `applyConfiguration`<sup>Optional</sup> <a name="applyConfiguration" id="cdk8s-plus-32.k8s.MutationV1Alpha1.property.applyConfiguration"></a>

```java
public ApplyConfigurationV1Alpha1 getApplyConfiguration();
```

- *Type:* org.cdk8s.plus32.k8s.ApplyConfigurationV1Alpha1

applyConfiguration defines the desired configuration values of an object.

The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration.

---

##### `jsonPatch`<sup>Optional</sup> <a name="jsonPatch" id="cdk8s-plus-32.k8s.MutationV1Alpha1.property.jsonPatch"></a>

```java
public JsonPatchV1Alpha1 getJsonPatch();
```

- *Type:* org.cdk8s.plus32.k8s.JsonPatchV1Alpha1

jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch.

---

### NamedRuleWithOperations <a name="NamedRuleWithOperations" id="cdk8s-plus-32.k8s.NamedRuleWithOperations"></a>

NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NamedRuleWithOperations;

NamedRuleWithOperations.builder()
//  .apiGroups(java.util.List<java.lang.String>)
//  .apiVersions(java.util.List<java.lang.String>)
//  .operations(java.util.List<java.lang.String>)
//  .resourceNames(java.util.List<java.lang.String>)
//  .resources(java.util.List<java.lang.String>)
//  .scope(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | APIGroups is the API groups the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.apiVersions">apiVersions</a></code> | <code>java.util.List<java.lang.String></code> | APIVersions is the API versions the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.operations">operations</a></code> | <code>java.util.List<java.lang.String></code> | Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.resourceNames">resourceNames</a></code> | <code>java.util.List<java.lang.String></code> | ResourceNames is an optional white list of names that the rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | Resources is a list of resources this rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperations.property.scope">scope</a></code> | <code>java.lang.String</code> | scope specifies the scope of this rule. |

---

##### `apiGroups`<sup>Optional</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

APIGroups is the API groups the resources belong to.

'*' is all groups. If '*' is present, the length of the slice must be one. Required.

---

##### `apiVersions`<sup>Optional</sup> <a name="apiVersions" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.apiVersions"></a>

```java
public java.util.List<java.lang.String> getApiVersions();
```

- *Type:* java.util.List<java.lang.String>

APIVersions is the API versions the resources belong to.

'*' is all versions. If '*' is present, the length of the slice must be one. Required.

---

##### `operations`<sup>Optional</sup> <a name="operations" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.operations"></a>

```java
public java.util.List<java.lang.String> getOperations();
```

- *Type:* java.util.List<java.lang.String>

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added.

If '*' is present, the length of the slice must be one. Required.

---

##### `resourceNames`<sup>Optional</sup> <a name="resourceNames" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.resourceNames"></a>

```java
public java.util.List<java.lang.String> getResourceNames();
```

- *Type:* java.util.List<java.lang.String>

ResourceNames is an optional white list of names that the rule applies to.

An empty set means that everything is allowed.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

Resources is a list of resources this rule applies to.

For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.

If wildcard is present, the validation rule will ensure resources do not overlap with each other.

Depending on the enclosing object, subresources might not be allowed. Required.

---

##### `scope`<sup>Optional</sup> <a name="scope" id="cdk8s-plus-32.k8s.NamedRuleWithOperations.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String
- *Default:* .

scope specifies the scope of this rule.

Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".

---

### NamedRuleWithOperationsV1Alpha1 <a name="NamedRuleWithOperationsV1Alpha1" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1"></a>

NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Alpha1;

NamedRuleWithOperationsV1Alpha1.builder()
//  .apiGroups(java.util.List<java.lang.String>)
//  .apiVersions(java.util.List<java.lang.String>)
//  .operations(java.util.List<java.lang.String>)
//  .resourceNames(java.util.List<java.lang.String>)
//  .resources(java.util.List<java.lang.String>)
//  .scope(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | APIGroups is the API groups the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.apiVersions">apiVersions</a></code> | <code>java.util.List<java.lang.String></code> | APIVersions is the API versions the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.operations">operations</a></code> | <code>java.util.List<java.lang.String></code> | Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.resourceNames">resourceNames</a></code> | <code>java.util.List<java.lang.String></code> | ResourceNames is an optional white list of names that the rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | Resources is a list of resources this rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.scope">scope</a></code> | <code>java.lang.String</code> | scope specifies the scope of this rule. |

---

##### `apiGroups`<sup>Optional</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

APIGroups is the API groups the resources belong to.

'*' is all groups. If '*' is present, the length of the slice must be one. Required.

---

##### `apiVersions`<sup>Optional</sup> <a name="apiVersions" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.apiVersions"></a>

```java
public java.util.List<java.lang.String> getApiVersions();
```

- *Type:* java.util.List<java.lang.String>

APIVersions is the API versions the resources belong to.

'*' is all versions. If '*' is present, the length of the slice must be one. Required.

---

##### `operations`<sup>Optional</sup> <a name="operations" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.operations"></a>

```java
public java.util.List<java.lang.String> getOperations();
```

- *Type:* java.util.List<java.lang.String>

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added.

If '*' is present, the length of the slice must be one. Required.

---

##### `resourceNames`<sup>Optional</sup> <a name="resourceNames" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.resourceNames"></a>

```java
public java.util.List<java.lang.String> getResourceNames();
```

- *Type:* java.util.List<java.lang.String>

ResourceNames is an optional white list of names that the rule applies to.

An empty set means that everything is allowed.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

Resources is a list of resources this rule applies to.

For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.

If wildcard is present, the validation rule will ensure resources do not overlap with each other.

Depending on the enclosing object, subresources might not be allowed. Required.

---

##### `scope`<sup>Optional</sup> <a name="scope" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Alpha1.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String
- *Default:* .

scope specifies the scope of this rule.

Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".

---

### NamedRuleWithOperationsV1Beta1 <a name="NamedRuleWithOperationsV1Beta1" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1"></a>

NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NamedRuleWithOperationsV1Beta1;

NamedRuleWithOperationsV1Beta1.builder()
//  .apiGroups(java.util.List<java.lang.String>)
//  .apiVersions(java.util.List<java.lang.String>)
//  .operations(java.util.List<java.lang.String>)
//  .resourceNames(java.util.List<java.lang.String>)
//  .resources(java.util.List<java.lang.String>)
//  .scope(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | APIGroups is the API groups the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.apiVersions">apiVersions</a></code> | <code>java.util.List<java.lang.String></code> | APIVersions is the API versions the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.operations">operations</a></code> | <code>java.util.List<java.lang.String></code> | Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.resourceNames">resourceNames</a></code> | <code>java.util.List<java.lang.String></code> | ResourceNames is an optional white list of names that the rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | Resources is a list of resources this rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.scope">scope</a></code> | <code>java.lang.String</code> | scope specifies the scope of this rule. |

---

##### `apiGroups`<sup>Optional</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

APIGroups is the API groups the resources belong to.

'*' is all groups. If '*' is present, the length of the slice must be one. Required.

---

##### `apiVersions`<sup>Optional</sup> <a name="apiVersions" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.apiVersions"></a>

```java
public java.util.List<java.lang.String> getApiVersions();
```

- *Type:* java.util.List<java.lang.String>

APIVersions is the API versions the resources belong to.

'*' is all versions. If '*' is present, the length of the slice must be one. Required.

---

##### `operations`<sup>Optional</sup> <a name="operations" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.operations"></a>

```java
public java.util.List<java.lang.String> getOperations();
```

- *Type:* java.util.List<java.lang.String>

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added.

If '*' is present, the length of the slice must be one. Required.

---

##### `resourceNames`<sup>Optional</sup> <a name="resourceNames" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.resourceNames"></a>

```java
public java.util.List<java.lang.String> getResourceNames();
```

- *Type:* java.util.List<java.lang.String>

ResourceNames is an optional white list of names that the rule applies to.

An empty set means that everything is allowed.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

Resources is a list of resources this rule applies to.

For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.

If wildcard is present, the validation rule will ensure resources do not overlap with each other.

Depending on the enclosing object, subresources might not be allowed. Required.

---

##### `scope`<sup>Optional</sup> <a name="scope" id="cdk8s-plus-32.k8s.NamedRuleWithOperationsV1Beta1.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String
- *Default:* .

scope specifies the scope of this rule.

Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".

---

### NamespaceProps <a name="NamespaceProps" id="cdk8s-plus-32.NamespaceProps"></a>

Properties for `Namespace`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NamespaceProps.Initializer"></a>

```java
import org.cdk8s.plus32.NamespaceProps;

NamespaceProps.builder()
//  .metadata(ApiObjectMetadata)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NamespaceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.NamespaceProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

### NamespaceSelectorConfig <a name="NamespaceSelectorConfig" id="cdk8s-plus-32.NamespaceSelectorConfig"></a>

Configuration for selecting namespaces.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NamespaceSelectorConfig.Initializer"></a>

```java
import org.cdk8s.plus32.NamespaceSelectorConfig;

NamespaceSelectorConfig.builder()
//  .labelSelector(LabelSelector)
//  .names(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NamespaceSelectorConfig.property.labelSelector">labelSelector</a></code> | <code><a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a></code> | A selector to select namespaces by labels. |
| <code><a href="#cdk8s-plus-32.NamespaceSelectorConfig.property.names">names</a></code> | <code>java.util.List<java.lang.String></code> | A list of names to select namespaces by names. |

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.NamespaceSelectorConfig.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>

A selector to select namespaces by labels.

---

##### `names`<sup>Optional</sup> <a name="names" id="cdk8s-plus-32.NamespaceSelectorConfig.property.names"></a>

```java
public java.util.List<java.lang.String> getNames();
```

- *Type:* java.util.List<java.lang.String>

A list of names to select namespaces by names.

---

### NamespaceSpec <a name="NamespaceSpec" id="cdk8s-plus-32.k8s.NamespaceSpec"></a>

NamespaceSpec describes the attributes on a Namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NamespaceSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NamespaceSpec;

NamespaceSpec.builder()
//  .finalizers(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NamespaceSpec.property.finalizers">finalizers</a></code> | <code>java.util.List<java.lang.String></code> | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. |

---

##### `finalizers`<sup>Optional</sup> <a name="finalizers" id="cdk8s-plus-32.k8s.NamespaceSpec.property.finalizers"></a>

```java
public java.util.List<java.lang.String> getFinalizers();
```

- *Type:* java.util.List<java.lang.String>

Finalizers is an opaque list of values that must be empty to permanently remove object from storage.

More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/

---

### NamespacesSelectOptions <a name="NamespacesSelectOptions" id="cdk8s-plus-32.NamespacesSelectOptions"></a>

Options for `Namespaces.select`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NamespacesSelectOptions.Initializer"></a>

```java
import org.cdk8s.plus32.NamespacesSelectOptions;

NamespacesSelectOptions.builder()
//  .expressions(java.util.List<LabelExpression>)
//  .labels(java.util.Map<java.lang.String, java.lang.String>)
//  .names(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NamespacesSelectOptions.property.expressions">expressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>></code> | Namespaces must satisfy these selectors. |
| <code><a href="#cdk8s-plus-32.NamespacesSelectOptions.property.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Labels the namespaces must have. |
| <code><a href="#cdk8s-plus-32.NamespacesSelectOptions.property.names">names</a></code> | <code>java.util.List<java.lang.String></code> | Namespaces names must be one of these. |

---

##### `expressions`<sup>Optional</sup> <a name="expressions" id="cdk8s-plus-32.NamespacesSelectOptions.property.expressions"></a>

```java
public java.util.List<LabelExpression> getExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>>
- *Default:* no selector requirements.

Namespaces must satisfy these selectors.

The selectors query labels, just like the `labels` property, but they
provide a more advanced matching mechanism.

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.NamespacesSelectOptions.property.labels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>
- *Default:* no strict labels requirements.

Labels the namespaces must have.

This is equivalent to using an 'Is' selector.

---

##### `names`<sup>Optional</sup> <a name="names" id="cdk8s-plus-32.NamespacesSelectOptions.property.names"></a>

```java
public java.util.List<java.lang.String> getNames();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* no name requirements.

Namespaces names must be one of these.

---

### NetworkPolicyAddEgressRuleOptions <a name="NetworkPolicyAddEgressRuleOptions" id="cdk8s-plus-32.NetworkPolicyAddEgressRuleOptions"></a>

Options for `NetworkPolicy.addEgressRule`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyAddEgressRuleOptions.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyAddEgressRuleOptions;

NetworkPolicyAddEgressRuleOptions.builder()
//  .ports(java.util.List<NetworkPolicyPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyAddEgressRuleOptions.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>></code> | Ports the rule should allow outgoing traffic to. |

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.NetworkPolicyAddEgressRuleOptions.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>
- *Default:* If the peer is a managed pod, take its ports. Otherwise, all ports are allowed.

Ports the rule should allow outgoing traffic to.

---

### NetworkPolicyEgressRule <a name="NetworkPolicyEgressRule" id="cdk8s-plus-32.k8s.NetworkPolicyEgressRule"></a>

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector.

The traffic must match both ports and to. This type is beta-level in 1.8

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NetworkPolicyEgressRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NetworkPolicyEgressRule;

NetworkPolicyEgressRule.builder()
//  .ports(java.util.List<NetworkPolicyPort>)
//  .to(java.util.List<NetworkPolicyPeer>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyEgressRule.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPort></code> | ports is a list of destination ports for outgoing traffic. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyEgressRule.property.to">to</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPeer></code> | to is a list of destinations for outgoing traffic of pods selected for this rule. |

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.NetworkPolicyEgressRule.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPort>

ports is a list of destination ports for outgoing traffic.

Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.

---

##### `to`<sup>Optional</sup> <a name="to" id="cdk8s-plus-32.k8s.NetworkPolicyEgressRule.property.to"></a>

```java
public java.util.List<NetworkPolicyPeer> getTo();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPeer>

to is a list of destinations for outgoing traffic of pods selected for this rule.

Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.

---

### NetworkPolicyIngressRule <a name="NetworkPolicyIngressRule" id="cdk8s-plus-32.k8s.NetworkPolicyIngressRule"></a>

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector.

The traffic must match both ports and from.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NetworkPolicyIngressRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NetworkPolicyIngressRule;

NetworkPolicyIngressRule.builder()
//  .from(java.util.List<NetworkPolicyPeer>)
//  .ports(java.util.List<NetworkPolicyPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyIngressRule.property.from">from</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPeer></code> | from is a list of sources which should be able to access the pods selected for this rule. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyIngressRule.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPort></code> | ports is a list of ports which should be made accessible on the pods selected for this rule. |

---

##### `from`<sup>Optional</sup> <a name="from" id="cdk8s-plus-32.k8s.NetworkPolicyIngressRule.property.from"></a>

```java
public java.util.List<NetworkPolicyPeer> getFrom();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPeer>

from is a list of sources which should be able to access the pods selected for this rule.

Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.NetworkPolicyIngressRule.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyPort>

ports is a list of ports which should be made accessible on the pods selected for this rule.

Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.

---

### NetworkPolicyPeer <a name="NetworkPolicyPeer" id="cdk8s-plus-32.k8s.NetworkPolicyPeer"></a>

NetworkPolicyPeer describes a peer to allow traffic to/from.

Only certain combinations of fields are allowed

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NetworkPolicyPeer.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NetworkPolicyPeer;

NetworkPolicyPeer.builder()
//  .ipBlock(IpBlock)
//  .namespaceSelector(LabelSelector)
//  .podSelector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPeer.property.ipBlock">ipBlock</a></code> | <code>org.cdk8s.plus32.k8s.IpBlock</code> | ipBlock defines policy on a particular IPBlock. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPeer.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | namespaceSelector selects namespaces using cluster-scoped labels. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPeer.property.podSelector">podSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | podSelector is a label selector which selects pods. |

---

##### `ipBlock`<sup>Optional</sup> <a name="ipBlock" id="cdk8s-plus-32.k8s.NetworkPolicyPeer.property.ipBlock"></a>

```java
public IpBlock getIpBlock();
```

- *Type:* org.cdk8s.plus32.k8s.IpBlock

ipBlock defines policy on a particular IPBlock.

If this field is set then neither of the other fields can be.

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.NetworkPolicyPeer.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

namespaceSelector selects namespaces using cluster-scoped labels.

This field follows standard label selector semantics; if present but empty, it selects all namespaces.

If podSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the namespaces selected by namespaceSelector. Otherwise it selects all pods in the namespaces selected by namespaceSelector.

---

##### `podSelector`<sup>Optional</sup> <a name="podSelector" id="cdk8s-plus-32.k8s.NetworkPolicyPeer.property.podSelector"></a>

```java
public LabelSelector getPodSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

podSelector is a label selector which selects pods.

This field follows standard label selector semantics; if present but empty, it selects all pods.

If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the pods matching podSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the pods matching podSelector in the policy's own namespace.

---

### NetworkPolicyPeerConfig <a name="NetworkPolicyPeerConfig" id="cdk8s-plus-32.NetworkPolicyPeerConfig"></a>

Configuration for network peers.

A peer can either by an ip block, or a selection of pods, not both.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyPeerConfig.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPeerConfig;

NetworkPolicyPeerConfig.builder()
//  .ipBlock(NetworkPolicyIpBlock)
//  .podSelector(PodSelectorConfig)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPeerConfig.property.ipBlock">ipBlock</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyIpBlock">NetworkPolicyIpBlock</a></code> | The ip block this peer represents. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPeerConfig.property.podSelector">podSelector</a></code> | <code><a href="#cdk8s-plus-32.PodSelectorConfig">PodSelectorConfig</a></code> | The pod selector this peer represents. |

---

##### `ipBlock`<sup>Optional</sup> <a name="ipBlock" id="cdk8s-plus-32.NetworkPolicyPeerConfig.property.ipBlock"></a>

```java
public NetworkPolicyIpBlock getIpBlock();
```

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyIpBlock">NetworkPolicyIpBlock</a>

The ip block this peer represents.

---

##### `podSelector`<sup>Optional</sup> <a name="podSelector" id="cdk8s-plus-32.NetworkPolicyPeerConfig.property.podSelector"></a>

```java
public PodSelectorConfig getPodSelector();
```

- *Type:* <a href="#cdk8s-plus-32.PodSelectorConfig">PodSelectorConfig</a>

The pod selector this peer represents.

---

### NetworkPolicyPort <a name="NetworkPolicyPort" id="cdk8s-plus-32.k8s.NetworkPolicyPort"></a>

NetworkPolicyPort describes a port to allow traffic on.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NetworkPolicyPort.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NetworkPolicyPort;

NetworkPolicyPort.builder()
//  .endPort(java.lang.Number)
//  .port(IntOrString)
//  .protocol(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPort.property.endPort">endPort</a></code> | <code>java.lang.Number</code> | endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPort.property.port">port</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | port represents the port on the given protocol. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicyPort.property.protocol">protocol</a></code> | <code>java.lang.String</code> | protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. |

---

##### `endPort`<sup>Optional</sup> <a name="endPort" id="cdk8s-plus-32.k8s.NetworkPolicyPort.property.endPort"></a>

```java
public java.lang.Number getEndPort();
```

- *Type:* java.lang.Number

endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy.

This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.k8s.NetworkPolicyPort.property.port"></a>

```java
public IntOrString getPort();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

port represents the port on the given protocol.

This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.k8s.NetworkPolicyPort.property.protocol"></a>

```java
public java.lang.String getProtocol();
```

- *Type:* java.lang.String

protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match.

If not specified, this field defaults to TCP.

---

### NetworkPolicyPortProps <a name="NetworkPolicyPortProps" id="cdk8s-plus-32.NetworkPolicyPortProps"></a>

Properties for `NetworkPolicyPort`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyPortProps.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPortProps;

NetworkPolicyPortProps.builder()
//  .endPort(java.lang.Number)
//  .port(java.lang.Number)
//  .protocol(NetworkProtocol)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPortProps.property.endPort">endPort</a></code> | <code>java.lang.Number</code> | End port (relative to `port`). |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPortProps.property.port">port</a></code> | <code>java.lang.Number</code> | Specific port number. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPortProps.property.protocol">protocol</a></code> | <code><a href="#cdk8s-plus-32.NetworkProtocol">NetworkProtocol</a></code> | Protocol. |

---

##### `endPort`<sup>Optional</sup> <a name="endPort" id="cdk8s-plus-32.NetworkPolicyPortProps.property.endPort"></a>

```java
public java.lang.Number getEndPort();
```

- *Type:* java.lang.Number
- *Default:* not a port range.

End port (relative to `port`).

Only applies if `port` is defined.
Use this to specify a port range, rather that a specific one.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.NetworkPolicyPortProps.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* all ports are allowed.

Specific port number.

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.NetworkPolicyPortProps.property.protocol"></a>

```java
public NetworkProtocol getProtocol();
```

- *Type:* <a href="#cdk8s-plus-32.NetworkProtocol">NetworkProtocol</a>
- *Default:* NetworkProtocol.TCP

Protocol.

---

### NetworkPolicyProps <a name="NetworkPolicyProps" id="cdk8s-plus-32.NetworkPolicyProps"></a>

Properties for `NetworkPolicy`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyProps.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyProps;

NetworkPolicyProps.builder()
//  .metadata(ApiObjectMetadata)
//  .egress(NetworkPolicyTraffic)
//  .ingress(NetworkPolicyTraffic)
//  .selector(IPodSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyProps.property.egress">egress</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a></code> | Egress traffic configuration. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyProps.property.ingress">ingress</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a></code> | Ingress traffic configuration. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyProps.property.selector">selector</a></code> | <code><a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a></code> | Which pods does this policy object applies to. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.NetworkPolicyProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `egress`<sup>Optional</sup> <a name="egress" id="cdk8s-plus-32.NetworkPolicyProps.property.egress"></a>

```java
public NetworkPolicyTraffic getEgress();
```

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a>
- *Default:* the policy doesn't change egress behavior of the pods it selects.

Egress traffic configuration.

---

##### `ingress`<sup>Optional</sup> <a name="ingress" id="cdk8s-plus-32.NetworkPolicyProps.property.ingress"></a>

```java
public NetworkPolicyTraffic getIngress();
```

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyTraffic">NetworkPolicyTraffic</a>
- *Default:* the policy doesn't change ingress behavior of the pods it selects.

Ingress traffic configuration.

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.NetworkPolicyProps.property.selector"></a>

```java
public IPodSelector getSelector();
```

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>
- *Default:* will select all pods in the namespace of the policy.

Which pods does this policy object applies to.

This can either be a single pod / workload, or a grouping of pods selected
via the `Pods.select` function. Rules is applied to any pods selected by this property.
Multiple network policies can select the same set of pods.
In this case, the rules for each are combined additively.

Note that

---

### NetworkPolicyRule <a name="NetworkPolicyRule" id="cdk8s-plus-32.NetworkPolicyRule"></a>

Describes a rule allowing traffic from / to pods matched by a network policy selector.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyRule;

NetworkPolicyRule.builder()
    .peer(INetworkPolicyPeer)
//  .ports(java.util.List<NetworkPolicyPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyRule.property.peer">peer</a></code> | <code><a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a></code> | Peer this rule interacts with. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyRule.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>></code> | The ports of the rule. |

---

##### `peer`<sup>Required</sup> <a name="peer" id="cdk8s-plus-32.NetworkPolicyRule.property.peer"></a>

```java
public INetworkPolicyPeer getPeer();
```

- *Type:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

Peer this rule interacts with.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.NetworkPolicyRule.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>
- *Default:* traffic is allowed on all ports.

The ports of the rule.

---

### NetworkPolicySpec <a name="NetworkPolicySpec" id="cdk8s-plus-32.k8s.NetworkPolicySpec"></a>

NetworkPolicySpec provides the specification of a NetworkPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NetworkPolicySpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NetworkPolicySpec;

NetworkPolicySpec.builder()
    .podSelector(LabelSelector)
//  .egress(java.util.List<NetworkPolicyEgressRule>)
//  .ingress(java.util.List<NetworkPolicyIngressRule>)
//  .policyTypes(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicySpec.property.podSelector">podSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | podSelector selects the pods to which this NetworkPolicy object applies. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicySpec.property.egress">egress</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyEgressRule></code> | egress is a list of egress rules to be applied to the selected pods. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicySpec.property.ingress">ingress</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyIngressRule></code> | ingress is a list of ingress rules to be applied to the selected pods. |
| <code><a href="#cdk8s-plus-32.k8s.NetworkPolicySpec.property.policyTypes">policyTypes</a></code> | <code>java.util.List<java.lang.String></code> | policyTypes is a list of rule types that the NetworkPolicy relates to. |

---

##### `podSelector`<sup>Required</sup> <a name="podSelector" id="cdk8s-plus-32.k8s.NetworkPolicySpec.property.podSelector"></a>

```java
public LabelSelector getPodSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

podSelector selects the pods to which this NetworkPolicy object applies.

The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.

---

##### `egress`<sup>Optional</sup> <a name="egress" id="cdk8s-plus-32.k8s.NetworkPolicySpec.property.egress"></a>

```java
public java.util.List<NetworkPolicyEgressRule> getEgress();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyEgressRule>

egress is a list of egress rules to be applied to the selected pods.

Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8

---

##### `ingress`<sup>Optional</sup> <a name="ingress" id="cdk8s-plus-32.k8s.NetworkPolicySpec.property.ingress"></a>

```java
public java.util.List<NetworkPolicyIngressRule> getIngress();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NetworkPolicyIngressRule>

ingress is a list of ingress rules to be applied to the selected pods.

Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)

---

##### `policyTypes`<sup>Optional</sup> <a name="policyTypes" id="cdk8s-plus-32.k8s.NetworkPolicySpec.property.policyTypes"></a>

```java
public java.util.List<java.lang.String> getPolicyTypes();
```

- *Type:* java.util.List<java.lang.String>

policyTypes is a list of rule types that the NetworkPolicy relates to.

Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8

---

### NetworkPolicyTraffic <a name="NetworkPolicyTraffic" id="cdk8s-plus-32.NetworkPolicyTraffic"></a>

Describes how the network policy should configure egress / ingress traffic.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NetworkPolicyTraffic.Initializer"></a>

```java
import org.cdk8s.plus32.NetworkPolicyTraffic;

NetworkPolicyTraffic.builder()
//  .default(NetworkPolicyTrafficDefault)
//  .rules(java.util.List<NetworkPolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic.property.default">default</a></code> | <code><a href="#cdk8s-plus-32.NetworkPolicyTrafficDefault">NetworkPolicyTrafficDefault</a></code> | Specifies the default behavior of the policy when no rules are defined. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyTraffic.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyRule">NetworkPolicyRule</a>></code> | List of rules to be applied to the selected pods. |

---

##### `default`<sup>Optional</sup> <a name="default" id="cdk8s-plus-32.NetworkPolicyTraffic.property.default"></a>

```java
public NetworkPolicyTrafficDefault getDefault();
```

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyTrafficDefault">NetworkPolicyTrafficDefault</a>
- *Default:* unset, the policy does not change the behavior.

Specifies the default behavior of the policy when no rules are defined.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.NetworkPolicyTraffic.property.rules"></a>

```java
public java.util.List<NetworkPolicyRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyRule">NetworkPolicyRule</a>>
- *Default:* no rules

List of rules to be applied to the selected pods.

If empty, the behavior of the policy is dictated by the `default` property.

---

### NfsVolumeOptions <a name="NfsVolumeOptions" id="cdk8s-plus-32.NfsVolumeOptions"></a>

Options for the NFS based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NfsVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.NfsVolumeOptions;

NfsVolumeOptions.builder()
    .path(java.lang.String)
    .server(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NfsVolumeOptions.property.path">path</a></code> | <code>java.lang.String</code> | Path that is exported by the NFS server. |
| <code><a href="#cdk8s-plus-32.NfsVolumeOptions.property.server">server</a></code> | <code>java.lang.String</code> | Server is the hostname or IP address of the NFS server. |
| <code><a href="#cdk8s-plus-32.NfsVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | If set to true, will force the NFS export to be mounted with read-only permissions. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.NfsVolumeOptions.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Path that is exported by the NFS server.

---

##### `server`<sup>Required</sup> <a name="server" id="cdk8s-plus-32.NfsVolumeOptions.property.server"></a>

```java
public java.lang.String getServer();
```

- *Type:* java.lang.String

Server is the hostname or IP address of the NFS server.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.NfsVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, will force the NFS export to be mounted with read-only permissions.

---

### NfsVolumeSource <a name="NfsVolumeSource" id="cdk8s-plus-32.k8s.NfsVolumeSource"></a>

Represents an NFS mount that lasts the lifetime of a pod.

NFS volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NfsVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NfsVolumeSource;

NfsVolumeSource.builder()
    .path(java.lang.String)
    .server(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NfsVolumeSource.property.path">path</a></code> | <code>java.lang.String</code> | path that is exported by the NFS server. |
| <code><a href="#cdk8s-plus-32.k8s.NfsVolumeSource.property.server">server</a></code> | <code>java.lang.String</code> | server is the hostname or IP address of the NFS server. |
| <code><a href="#cdk8s-plus-32.k8s.NfsVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the NFS export to be mounted with read-only permissions. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.NfsVolumeSource.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path that is exported by the NFS server.

More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

---

##### `server`<sup>Required</sup> <a name="server" id="cdk8s-plus-32.k8s.NfsVolumeSource.property.server"></a>

```java
public java.lang.String getServer();
```

- *Type:* java.lang.String

server is the hostname or IP address of the NFS server.

More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.NfsVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

readOnly here will force the NFS export to be mounted with read-only permissions.

Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

---

### NodeAffinity <a name="NodeAffinity" id="cdk8s-plus-32.k8s.NodeAffinity"></a>

Node affinity is a group of node affinity scheduling rules.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeAffinity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeAffinity;

NodeAffinity.builder()
//  .preferredDuringSchedulingIgnoredDuringExecution(java.util.List<PreferredSchedulingTerm>)
//  .requiredDuringSchedulingIgnoredDuringExecution(NodeSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeAffinity.property.preferredDuringSchedulingIgnoredDuringExecution">preferredDuringSchedulingIgnoredDuringExecution</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PreferredSchedulingTerm></code> | The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. |
| <code><a href="#cdk8s-plus-32.k8s.NodeAffinity.property.requiredDuringSchedulingIgnoredDuringExecution">requiredDuringSchedulingIgnoredDuringExecution</a></code> | <code>org.cdk8s.plus32.k8s.NodeSelector</code> | If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. |

---

##### `preferredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="preferredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.NodeAffinity.property.preferredDuringSchedulingIgnoredDuringExecution"></a>

```java
public java.util.List<PreferredSchedulingTerm> getPreferredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PreferredSchedulingTerm>

The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions.

The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred.

---

##### `requiredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="requiredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.NodeAffinity.property.requiredDuringSchedulingIgnoredDuringExecution"></a>

```java
public NodeSelector getRequiredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSelector

If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.

If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node.

---

### NodeConfigSource <a name="NodeConfigSource" id="cdk8s-plus-32.k8s.NodeConfigSource"></a>

NodeConfigSource specifies a source of node configuration.

Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeConfigSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeConfigSource;

NodeConfigSource.builder()
//  .configMap(ConfigMapNodeConfigSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeConfigSource.property.configMap">configMap</a></code> | <code>org.cdk8s.plus32.k8s.ConfigMapNodeConfigSource</code> | ConfigMap is a reference to a Node's ConfigMap. |

---

##### `configMap`<sup>Optional</sup> <a name="configMap" id="cdk8s-plus-32.k8s.NodeConfigSource.property.configMap"></a>

```java
public ConfigMapNodeConfigSource getConfigMap();
```

- *Type:* org.cdk8s.plus32.k8s.ConfigMapNodeConfigSource

ConfigMap is a reference to a Node's ConfigMap.

---

### NodeSelector <a name="NodeSelector" id="cdk8s-plus-32.k8s.NodeSelector"></a>

A node selector represents the union of the results of one or more label queries over a set of nodes;

that is, it represents the OR of the selectors represented by the node selector terms.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeSelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeSelector;

NodeSelector.builder()
    .nodeSelectorTerms(java.util.List<NodeSelectorTerm>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelector.property.nodeSelectorTerms">nodeSelectorTerms</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NodeSelectorTerm></code> | Required. |

---

##### `nodeSelectorTerms`<sup>Required</sup> <a name="nodeSelectorTerms" id="cdk8s-plus-32.k8s.NodeSelector.property.nodeSelectorTerms"></a>

```java
public java.util.List<NodeSelectorTerm> getNodeSelectorTerms();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NodeSelectorTerm>

Required.

A list of node selector terms. The terms are ORed.

---

### NodeSelectorRequirement <a name="NodeSelectorRequirement" id="cdk8s-plus-32.k8s.NodeSelectorRequirement"></a>

A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeSelectorRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeSelectorRequirement;

NodeSelectorRequirement.builder()
    .key(java.lang.String)
    .operator(java.lang.String)
//  .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelectorRequirement.property.key">key</a></code> | <code>java.lang.String</code> | The label key that the selector applies to. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelectorRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | Represents a key's relationship to a set of values. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelectorRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | An array of string values. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.NodeSelectorRequirement.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The label key that the selector applies to.

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.k8s.NodeSelectorRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

Represents a key's relationship to a set of values.

Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.k8s.NodeSelectorRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

An array of string values.

If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.

---

### NodeSelectorTerm <a name="NodeSelectorTerm" id="cdk8s-plus-32.k8s.NodeSelectorTerm"></a>

A null or empty node selector term matches no objects.

The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeSelectorTerm.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeSelectorTerm;

NodeSelectorTerm.builder()
//  .matchExpressions(java.util.List<NodeSelectorRequirement>)
//  .matchFields(java.util.List<NodeSelectorRequirement>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelectorTerm.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NodeSelectorRequirement></code> | A list of node selector requirements by node's labels. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSelectorTerm.property.matchFields">matchFields</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NodeSelectorRequirement></code> | A list of node selector requirements by node's fields. |

---

##### `matchExpressions`<sup>Optional</sup> <a name="matchExpressions" id="cdk8s-plus-32.k8s.NodeSelectorTerm.property.matchExpressions"></a>

```java
public java.util.List<NodeSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NodeSelectorRequirement>

A list of node selector requirements by node's labels.

---

##### `matchFields`<sup>Optional</sup> <a name="matchFields" id="cdk8s-plus-32.k8s.NodeSelectorTerm.property.matchFields"></a>

```java
public java.util.List<NodeSelectorRequirement> getMatchFields();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NodeSelectorRequirement>

A list of node selector requirements by node's fields.

---

### NodeSpec <a name="NodeSpec" id="cdk8s-plus-32.k8s.NodeSpec"></a>

NodeSpec describes the attributes that a node is created with.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NodeSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NodeSpec;

NodeSpec.builder()
//  .configSource(NodeConfigSource)
//  .externalId(java.lang.String)
//  .podCidr(java.lang.String)
//  .podCidRs(java.util.List<java.lang.String>)
//  .providerId(java.lang.String)
//  .taints(java.util.List<Taint>)
//  .unschedulable(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.configSource">configSource</a></code> | <code>org.cdk8s.plus32.k8s.NodeConfigSource</code> | Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.externalId">externalId</a></code> | <code>java.lang.String</code> | Deprecated. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.podCidr">podCidr</a></code> | <code>java.lang.String</code> | PodCIDR represents the pod IP range assigned to the node. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.podCidRs">podCidRs</a></code> | <code>java.util.List<java.lang.String></code> | podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.providerId">providerId</a></code> | <code>java.lang.String</code> | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.taints">taints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Taint></code> | If specified, the node's taints. |
| <code><a href="#cdk8s-plus-32.k8s.NodeSpec.property.unschedulable">unschedulable</a></code> | <code>java.lang.Boolean</code> | Unschedulable controls node schedulability of new pods. |

---

##### `configSource`<sup>Optional</sup> <a name="configSource" id="cdk8s-plus-32.k8s.NodeSpec.property.configSource"></a>

```java
public NodeConfigSource getConfigSource();
```

- *Type:* org.cdk8s.plus32.k8s.NodeConfigSource

Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.

This feature is removed.

---

##### `externalId`<sup>Optional</sup> <a name="externalId" id="cdk8s-plus-32.k8s.NodeSpec.property.externalId"></a>

```java
public java.lang.String getExternalId();
```

- *Type:* java.lang.String

Deprecated.

Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966

---

##### `podCidr`<sup>Optional</sup> <a name="podCidr" id="cdk8s-plus-32.k8s.NodeSpec.property.podCidr"></a>

```java
public java.lang.String getPodCidr();
```

- *Type:* java.lang.String

PodCIDR represents the pod IP range assigned to the node.

---

##### `podCidRs`<sup>Optional</sup> <a name="podCidRs" id="cdk8s-plus-32.k8s.NodeSpec.property.podCidRs"></a>

```java
public java.util.List<java.lang.String> getPodCidRs();
```

- *Type:* java.util.List<java.lang.String>

podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.

If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.

---

##### `providerId`<sup>Optional</sup> <a name="providerId" id="cdk8s-plus-32.k8s.NodeSpec.property.providerId"></a>

```java
public java.lang.String getProviderId();
```

- *Type:* java.lang.String

ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>.

---

##### `taints`<sup>Optional</sup> <a name="taints" id="cdk8s-plus-32.k8s.NodeSpec.property.taints"></a>

```java
public java.util.List<Taint> getTaints();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Taint>

If specified, the node's taints.

---

##### `unschedulable`<sup>Optional</sup> <a name="unschedulable" id="cdk8s-plus-32.k8s.NodeSpec.property.unschedulable"></a>

```java
public java.lang.Boolean getUnschedulable();
```

- *Type:* java.lang.Boolean

Unschedulable controls node schedulability of new pods.

By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration

---

### NodeTaintQueryOptions <a name="NodeTaintQueryOptions" id="cdk8s-plus-32.NodeTaintQueryOptions"></a>

Options for `NodeTaintQuery`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.NodeTaintQueryOptions.Initializer"></a>

```java
import org.cdk8s.plus32.NodeTaintQueryOptions;

NodeTaintQueryOptions.builder()
//  .effect(TaintEffect)
//  .evictAfter(Duration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NodeTaintQueryOptions.property.effect">effect</a></code> | <code><a href="#cdk8s-plus-32.TaintEffect">TaintEffect</a></code> | The taint effect to match. |
| <code><a href="#cdk8s-plus-32.NodeTaintQueryOptions.property.evictAfter">evictAfter</a></code> | <code>org.cdk8s.Duration</code> | How much time should a pod that tolerates the `NO_EXECUTE` effect be bound to the node. |

---

##### `effect`<sup>Optional</sup> <a name="effect" id="cdk8s-plus-32.NodeTaintQueryOptions.property.effect"></a>

```java
public TaintEffect getEffect();
```

- *Type:* <a href="#cdk8s-plus-32.TaintEffect">TaintEffect</a>
- *Default:* all effects are matched.

The taint effect to match.

---

##### `evictAfter`<sup>Optional</sup> <a name="evictAfter" id="cdk8s-plus-32.NodeTaintQueryOptions.property.evictAfter"></a>

```java
public Duration getEvictAfter();
```

- *Type:* org.cdk8s.Duration
- *Default:* bound forever.

How much time should a pod that tolerates the `NO_EXECUTE` effect be bound to the node.

Only applies for the `NO_EXECUTE` effect.

---

### NonResourceAttributes <a name="NonResourceAttributes" id="cdk8s-plus-32.k8s.NonResourceAttributes"></a>

NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NonResourceAttributes.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NonResourceAttributes;

NonResourceAttributes.builder()
//  .path(java.lang.String)
//  .verb(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NonResourceAttributes.property.path">path</a></code> | <code>java.lang.String</code> | Path is the URL path of the request. |
| <code><a href="#cdk8s-plus-32.k8s.NonResourceAttributes.property.verb">verb</a></code> | <code>java.lang.String</code> | Verb is the standard HTTP verb. |

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.NonResourceAttributes.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Path is the URL path of the request.

---

##### `verb`<sup>Optional</sup> <a name="verb" id="cdk8s-plus-32.k8s.NonResourceAttributes.property.verb"></a>

```java
public java.lang.String getVerb();
```

- *Type:* java.lang.String

Verb is the standard HTTP verb.

---

### NonResourcePolicyRule <a name="NonResourcePolicyRule" id="cdk8s-plus-32.k8s.NonResourcePolicyRule"></a>

NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL.

A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.NonResourcePolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.NonResourcePolicyRule;

NonResourcePolicyRule.builder()
    .nonResourceUrLs(java.util.List<java.lang.String>)
    .verbs(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.NonResourcePolicyRule.property.nonResourceUrLs">nonResourceUrLs</a></code> | <code>java.util.List<java.lang.String></code> | `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. |
| <code><a href="#cdk8s-plus-32.k8s.NonResourcePolicyRule.property.verbs">verbs</a></code> | <code>java.util.List<java.lang.String></code> | `verbs` is a list of matching verbs and may not be empty. |

---

##### `nonResourceUrLs`<sup>Required</sup> <a name="nonResourceUrLs" id="cdk8s-plus-32.k8s.NonResourcePolicyRule.property.nonResourceUrLs"></a>

```java
public java.util.List<java.lang.String> getNonResourceUrLs();
```

- *Type:* java.util.List<java.lang.String>

`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.

For example:

* "/healthz" is legal
* "/hea*" is illegal
* "/hea" is legal but matches nothing
* "/hea/*" also matches nothing
* "/healthz/*" matches all per-component health checks.
  "*" matches all non-resource urls. if it is present, it must be the only entry. Required.

---

##### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.k8s.NonResourcePolicyRule.property.verbs"></a>

```java
public java.util.List<java.lang.String> getVerbs();
```

- *Type:* java.util.List<java.lang.String>

`verbs` is a list of matching verbs and may not be empty.

"*" matches all verbs. If it is present, it must be the only entry. Required.

---

### ObjectFieldSelector <a name="ObjectFieldSelector" id="cdk8s-plus-32.k8s.ObjectFieldSelector"></a>

ObjectFieldSelector selects an APIVersioned field of an object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ObjectFieldSelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ObjectFieldSelector;

ObjectFieldSelector.builder()
    .fieldPath(java.lang.String)
//  .apiVersion(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ObjectFieldSelector.property.fieldPath">fieldPath</a></code> | <code>java.lang.String</code> | Path of the field to select in the specified API version. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectFieldSelector.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | Version of the schema the FieldPath is written in terms of, defaults to "v1". |

---

##### `fieldPath`<sup>Required</sup> <a name="fieldPath" id="cdk8s-plus-32.k8s.ObjectFieldSelector.property.fieldPath"></a>

```java
public java.lang.String getFieldPath();
```

- *Type:* java.lang.String

Path of the field to select in the specified API version.

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ObjectFieldSelector.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

Version of the schema the FieldPath is written in terms of, defaults to "v1".

---

### ObjectMeta <a name="ObjectMeta" id="cdk8s-plus-32.k8s.ObjectMeta"></a>

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ObjectMeta.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ObjectMeta;

ObjectMeta.builder()
//  .annotations(java.util.Map<java.lang.String, java.lang.String>)
//  .creationTimestamp(java.time.Instant)
//  .deletionGracePeriodSeconds(java.lang.Number)
//  .deletionTimestamp(java.time.Instant)
//  .finalizers(java.util.List<java.lang.String>)
//  .generateName(java.lang.String)
//  .generation(java.lang.Number)
//  .labels(java.util.Map<java.lang.String, java.lang.String>)
//  .managedFields(java.util.List<ManagedFieldsEntry>)
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .ownerReferences(java.util.List<OwnerReference>)
//  .resourceVersion(java.lang.String)
//  .selfLink(java.lang.String)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.annotations">annotations</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.creationTimestamp">creationTimestamp</a></code> | <code>java.time.Instant</code> | CreationTimestamp is a timestamp representing the server time when this object was created. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.deletionGracePeriodSeconds">deletionGracePeriodSeconds</a></code> | <code>java.lang.Number</code> | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.deletionTimestamp">deletionTimestamp</a></code> | <code>java.time.Instant</code> | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.finalizers">finalizers</a></code> | <code>java.util.List<java.lang.String></code> | Must be empty before the object is deleted from the registry. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.generateName">generateName</a></code> | <code>java.lang.String</code> | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.generation">generation</a></code> | <code>java.lang.Number</code> | A sequence number representing a specific generation of the desired state. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Map of string keys and values that can be used to organize and categorize (scope and select) objects. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.managedFields">managedFields</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ManagedFieldsEntry></code> | ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.name">name</a></code> | <code>java.lang.String</code> | Name must be unique within a namespace. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace defines the space within which each name must be unique. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.ownerReferences">ownerReferences</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.OwnerReference></code> | List of objects depended by this object. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.resourceVersion">resourceVersion</a></code> | <code>java.lang.String</code> | An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.selfLink">selfLink</a></code> | <code>java.lang.String</code> | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMeta.property.uid">uid</a></code> | <code>java.lang.String</code> | UID is the unique in time and space value for this object. |

---

##### `annotations`<sup>Optional</sup> <a name="annotations" id="cdk8s-plus-32.k8s.ObjectMeta.property.annotations"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getAnnotations();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.

They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations

---

##### `creationTimestamp`<sup>Optional</sup> <a name="creationTimestamp" id="cdk8s-plus-32.k8s.ObjectMeta.property.creationTimestamp"></a>

```java
public java.time.Instant getCreationTimestamp();
```

- *Type:* java.time.Instant

CreationTimestamp is a timestamp representing the server time when this object was created.

It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.

Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `deletionGracePeriodSeconds`<sup>Optional</sup> <a name="deletionGracePeriodSeconds" id="cdk8s-plus-32.k8s.ObjectMeta.property.deletionGracePeriodSeconds"></a>

```java
public java.lang.Number getDeletionGracePeriodSeconds();
```

- *Type:* java.lang.Number

Number of seconds allowed for this object to gracefully terminate before it will be removed from the system.

Only set when deletionTimestamp is also set. May only be shortened. Read-only.

---

##### `deletionTimestamp`<sup>Optional</sup> <a name="deletionTimestamp" id="cdk8s-plus-32.k8s.ObjectMeta.property.deletionTimestamp"></a>

```java
public java.time.Instant getDeletionTimestamp();
```

- *Type:* java.time.Instant

DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted.

This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.

Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `finalizers`<sup>Optional</sup> <a name="finalizers" id="cdk8s-plus-32.k8s.ObjectMeta.property.finalizers"></a>

```java
public java.util.List<java.lang.String> getFinalizers();
```

- *Type:* java.util.List<java.lang.String>

Must be empty before the object is deleted from the registry.

Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order.  Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.

---

##### `generateName`<sup>Optional</sup> <a name="generateName" id="cdk8s-plus-32.k8s.ObjectMeta.property.generateName"></a>

```java
public java.lang.String getGenerateName();
```

- *Type:* java.lang.String

GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided.

If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.

If this field is specified and the generated name exists, the server will return a 409.

Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency

---

##### `generation`<sup>Optional</sup> <a name="generation" id="cdk8s-plus-32.k8s.ObjectMeta.property.generation"></a>

```java
public java.lang.Number getGeneration();
```

- *Type:* java.lang.Number

A sequence number representing a specific generation of the desired state.

Populated by the system. Read-only.

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.k8s.ObjectMeta.property.labels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Map of string keys and values that can be used to organize and categorize (scope and select) objects.

May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels

---

##### `managedFields`<sup>Optional</sup> <a name="managedFields" id="cdk8s-plus-32.k8s.ObjectMeta.property.managedFields"></a>

```java
public java.util.List<ManagedFieldsEntry> getManagedFields();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ManagedFieldsEntry>

ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow.

This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ObjectMeta.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name must be unique within a namespace.

Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ObjectMeta.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace defines the space within which each name must be unique.

An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.

Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces

---

##### `ownerReferences`<sup>Optional</sup> <a name="ownerReferences" id="cdk8s-plus-32.k8s.ObjectMeta.property.ownerReferences"></a>

```java
public java.util.List<OwnerReference> getOwnerReferences();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.OwnerReference>

List of objects depended by this object.

If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.

---

##### `resourceVersion`<sup>Optional</sup> <a name="resourceVersion" id="cdk8s-plus-32.k8s.ObjectMeta.property.resourceVersion"></a>

```java
public java.lang.String getResourceVersion();
```

- *Type:* java.lang.String

An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed.

May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.

Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

---

##### `selfLink`<sup>Optional</sup> <a name="selfLink" id="cdk8s-plus-32.k8s.ObjectMeta.property.selfLink"></a>

```java
public java.lang.String getSelfLink();
```

- *Type:* java.lang.String

Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.ObjectMeta.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID is the unique in time and space value for this object.

It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.

Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

---

### ObjectMetricSourceV2 <a name="ObjectMetricSourceV2" id="cdk8s-plus-32.k8s.ObjectMetricSourceV2"></a>

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ObjectMetricSourceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ObjectMetricSourceV2;

ObjectMetricSourceV2.builder()
    .describedObject(CrossVersionObjectReferenceV2)
    .metric(MetricIdentifierV2)
    .target(MetricTargetV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.describedObject">describedObject</a></code> | <code>org.cdk8s.plus32.k8s.CrossVersionObjectReferenceV2</code> | describedObject specifies the descriptions of a object,such as kind,name apiVersion. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.metric">metric</a></code> | <code>org.cdk8s.plus32.k8s.MetricIdentifierV2</code> | metric identifies the target metric by name and selector. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.MetricTargetV2</code> | target specifies the target value for the given metric. |

---

##### `describedObject`<sup>Required</sup> <a name="describedObject" id="cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.describedObject"></a>

```java
public CrossVersionObjectReferenceV2 getDescribedObject();
```

- *Type:* org.cdk8s.plus32.k8s.CrossVersionObjectReferenceV2

describedObject specifies the descriptions of a object,such as kind,name apiVersion.

---

##### `metric`<sup>Required</sup> <a name="metric" id="cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.metric"></a>

```java
public MetricIdentifierV2 getMetric();
```

- *Type:* org.cdk8s.plus32.k8s.MetricIdentifierV2

metric identifies the target metric by name and selector.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.ObjectMetricSourceV2.property.target"></a>

```java
public MetricTargetV2 getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.MetricTargetV2

target specifies the target value for the given metric.

---

### ObjectReference <a name="ObjectReference" id="cdk8s-plus-32.k8s.ObjectReference"></a>

ObjectReference contains enough information to let you inspect or modify the referred object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ObjectReference;

ObjectReference.builder()
//  .apiVersion(java.lang.String)
//  .fieldPath(java.lang.String)
//  .kind(java.lang.String)
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .resourceVersion(java.lang.String)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | API version of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.fieldPath">fieldPath</a></code> | <code>java.lang.String</code> | If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.resourceVersion">resourceVersion</a></code> | <code>java.lang.String</code> | Specific resourceVersion to which this reference is made, if any. |
| <code><a href="#cdk8s-plus-32.k8s.ObjectReference.property.uid">uid</a></code> | <code>java.lang.String</code> | UID of the referent. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ObjectReference.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

API version of the referent.

---

##### `fieldPath`<sup>Optional</sup> <a name="fieldPath" id="cdk8s-plus-32.k8s.ObjectReference.property.fieldPath"></a>

```java
public java.lang.String getFieldPath();
```

- *Type:* java.lang.String

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.ObjectReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind of the referent.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ObjectReference.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

---

##### `resourceVersion`<sup>Optional</sup> <a name="resourceVersion" id="cdk8s-plus-32.k8s.ObjectReference.property.resourceVersion"></a>

```java
public java.lang.String getResourceVersion();
```

- *Type:* java.lang.String

Specific resourceVersion to which this reference is made, if any.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.ObjectReference.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

---

### OpaqueDeviceConfigurationV1Alpha3 <a name="OpaqueDeviceConfigurationV1Alpha3" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3"></a>

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Alpha3;

OpaqueDeviceConfigurationV1Alpha3.builder()
    .driver(java.lang.String)
    .parameters(java.lang.Object)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3.property.driver">driver</a></code> | <code>java.lang.String</code> | Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. |
| <code><a href="#cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3.property.parameters">parameters</a></code> | <code>java.lang.Object</code> | Parameters can contain arbitrary data. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

---

##### `parameters`<sup>Required</sup> <a name="parameters" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Alpha3.property.parameters"></a>

```java
public java.lang.Object getParameters();
```

- *Type:* java.lang.Object

Parameters can contain arbitrary data.

It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

---

### OpaqueDeviceConfigurationV1Beta1 <a name="OpaqueDeviceConfigurationV1Beta1" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1"></a>

OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.OpaqueDeviceConfigurationV1Beta1;

OpaqueDeviceConfigurationV1Beta1.builder()
    .driver(java.lang.String)
    .parameters(java.lang.Object)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1.property.driver">driver</a></code> | <code>java.lang.String</code> | Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. |
| <code><a href="#cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1.property.parameters">parameters</a></code> | <code>java.lang.Object</code> | Parameters can contain arbitrary data. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.

An admission policy provided by the driver developer could use this to decide whether it needs to validate them.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

---

##### `parameters`<sup>Required</sup> <a name="parameters" id="cdk8s-plus-32.k8s.OpaqueDeviceConfigurationV1Beta1.property.parameters"></a>

```java
public java.lang.Object getParameters();
```

- *Type:* java.lang.Object

Parameters can contain arbitrary data.

It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version ("kind" + "apiVersion" for Kubernetes types), with conversion between different versions.

The length of the raw data must be smaller or equal to 10 Ki.

---

### Overhead <a name="Overhead" id="cdk8s-plus-32.k8s.Overhead"></a>

Overhead structure represents the resource overhead associated with running a pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Overhead.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Overhead;

Overhead.builder()
//  .podFixed(java.util.Map<java.lang.String, Quantity>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Overhead.property.podFixed">podFixed</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | podFixed represents the fixed resource overhead associated with running a pod. |

---

##### `podFixed`<sup>Optional</sup> <a name="podFixed" id="cdk8s-plus-32.k8s.Overhead.property.podFixed"></a>

```java
public java.util.Map<java.lang.String, Quantity> getPodFixed();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

podFixed represents the fixed resource overhead associated with running a pod.

---

### OwnerReference <a name="OwnerReference" id="cdk8s-plus-32.k8s.OwnerReference"></a>

OwnerReference contains enough information to let you identify an owning object.

An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.OwnerReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.OwnerReference;

OwnerReference.builder()
    .apiVersion(java.lang.String)
    .kind(java.lang.String)
    .name(java.lang.String)
    .uid(java.lang.String)
//  .blockOwnerDeletion(java.lang.Boolean)
//  .controller(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | API version of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.uid">uid</a></code> | <code>java.lang.String</code> | UID of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.blockOwnerDeletion">blockOwnerDeletion</a></code> | <code>java.lang.Boolean</code> | If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. |
| <code><a href="#cdk8s-plus-32.k8s.OwnerReference.property.controller">controller</a></code> | <code>java.lang.Boolean</code> | If true, this reference points to the managing controller. |

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.OwnerReference.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

API version of the referent.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.OwnerReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind of the referent.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.OwnerReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names

---

##### `uid`<sup>Required</sup> <a name="uid" id="cdk8s-plus-32.k8s.OwnerReference.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID of the referent.

More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

---

##### `blockOwnerDeletion`<sup>Optional</sup> <a name="blockOwnerDeletion" id="cdk8s-plus-32.k8s.OwnerReference.property.blockOwnerDeletion"></a>

```java
public java.lang.Boolean getBlockOwnerDeletion();
```

- *Type:* java.lang.Boolean
- *Default:* false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed.

See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

---

##### `controller`<sup>Optional</sup> <a name="controller" id="cdk8s-plus-32.k8s.OwnerReference.property.controller"></a>

```java
public java.lang.Boolean getController();
```

- *Type:* java.lang.Boolean

If true, this reference points to the managing controller.

---

### ParamKind <a name="ParamKind" id="cdk8s-plus-32.k8s.ParamKind"></a>

ParamKind is a tuple of Group Kind and Version.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamKind.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamKind;

ParamKind.builder()
//  .apiVersion(java.lang.String)
//  .kind(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamKind.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | APIVersion is the API group version the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.ParamKind.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the API kind the resources belong to. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ParamKind.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

APIVersion is the API group version the resources belong to.

In format of "group/version". Required.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.ParamKind.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the API kind the resources belong to.

Required.

---

### ParamKindV1Alpha1 <a name="ParamKindV1Alpha1" id="cdk8s-plus-32.k8s.ParamKindV1Alpha1"></a>

ParamKind is a tuple of Group Kind and Version.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamKindV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamKindV1Alpha1;

ParamKindV1Alpha1.builder()
//  .apiVersion(java.lang.String)
//  .kind(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamKindV1Alpha1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | APIVersion is the API group version the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.ParamKindV1Alpha1.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the API kind the resources belong to. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ParamKindV1Alpha1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

APIVersion is the API group version the resources belong to.

In format of "group/version". Required.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.ParamKindV1Alpha1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the API kind the resources belong to.

Required.

---

### ParamKindV1Beta1 <a name="ParamKindV1Beta1" id="cdk8s-plus-32.k8s.ParamKindV1Beta1"></a>

ParamKind is a tuple of Group Kind and Version.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamKindV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamKindV1Beta1;

ParamKindV1Beta1.builder()
//  .apiVersion(java.lang.String)
//  .kind(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamKindV1Beta1.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | APIVersion is the API group version the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.ParamKindV1Beta1.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the API kind the resources belong to. |

---

##### `apiVersion`<sup>Optional</sup> <a name="apiVersion" id="cdk8s-plus-32.k8s.ParamKindV1Beta1.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

APIVersion is the API group version the resources belong to.

In format of "group/version". Required.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.ParamKindV1Beta1.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the API kind the resources belong to.

Required.

---

### ParamRef <a name="ParamRef" id="cdk8s-plus-32.k8s.ParamRef"></a>

ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamRef.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamRef;

ParamRef.builder()
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .parameterNotFoundAction(java.lang.String)
//  .selector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamRef.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRef.property.namespace">namespace</a></code> | <code>java.lang.String</code> | namespace is the namespace of the referenced resource. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRef.property.parameterNotFoundAction">parameterNotFoundAction</a></code> | <code>java.lang.String</code> | `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRef.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector can be used to match multiple param objects based on their labels. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ParamRef.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the resource being referenced.

One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ParamRef.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

namespace is the namespace of the referenced resource.

Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.

A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.

* If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
* If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.

---

##### `parameterNotFoundAction`<sup>Optional</sup> <a name="parameterNotFoundAction" id="cdk8s-plus-32.k8s.ParamRef.property.parameterNotFoundAction"></a>

```java
public java.lang.String getParameterNotFoundAction();
```

- *Type:* java.lang.String

`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding.

If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.

Allowed values are `Allow` or `Deny`

Required

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.ParamRef.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector can be used to match multiple param objects based on their labels.

Supply selector: {} to match all resources of the ParamKind.

If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.

One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

---

### ParamRefV1Alpha1 <a name="ParamRefV1Alpha1" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1"></a>

ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamRefV1Alpha1;

ParamRefV1Alpha1.builder()
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .parameterNotFoundAction(java.lang.String)
//  .selector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | `name` is the name of the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.namespace">namespace</a></code> | <code>java.lang.String</code> | namespace is the namespace of the referenced resource. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.parameterNotFoundAction">parameterNotFoundAction</a></code> | <code>java.lang.String</code> | `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector can be used to match multiple param objects based on their labels. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

`name` is the name of the resource being referenced.

`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

namespace is the namespace of the referenced resource.

Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.

A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.

* If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
* If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.

---

##### `parameterNotFoundAction`<sup>Optional</sup> <a name="parameterNotFoundAction" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.parameterNotFoundAction"></a>

```java
public java.lang.String getParameterNotFoundAction();
```

- *Type:* java.lang.String
- *Default:* Deny`

`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding.

If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.

Allowed values are `Allow` or `Deny` Default to `Deny`

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.ParamRefV1Alpha1.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector can be used to match multiple param objects based on their labels.

Supply selector: {} to match all resources of the ParamKind.

If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.

One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

---

### ParamRefV1Beta1 <a name="ParamRefV1Beta1" id="cdk8s-plus-32.k8s.ParamRefV1Beta1"></a>

ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParamRefV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParamRefV1Beta1;

ParamRefV1Beta1.builder()
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .parameterNotFoundAction(java.lang.String)
//  .selector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Beta1.property.namespace">namespace</a></code> | <code>java.lang.String</code> | namespace is the namespace of the referenced resource. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Beta1.property.parameterNotFoundAction">parameterNotFoundAction</a></code> | <code>java.lang.String</code> | `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. |
| <code><a href="#cdk8s-plus-32.k8s.ParamRefV1Beta1.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector can be used to match multiple param objects based on their labels. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ParamRefV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the resource being referenced.

One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ParamRefV1Beta1.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

namespace is the namespace of the referenced resource.

Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.

A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.

* If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
* If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.

---

##### `parameterNotFoundAction`<sup>Optional</sup> <a name="parameterNotFoundAction" id="cdk8s-plus-32.k8s.ParamRefV1Beta1.property.parameterNotFoundAction"></a>

```java
public java.lang.String getParameterNotFoundAction();
```

- *Type:* java.lang.String

`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding.

If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.

Allowed values are `Allow` or `Deny`

Required

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.ParamRefV1Beta1.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector can be used to match multiple param objects based on their labels.

Supply selector: {} to match all resources of the ParamKind.

If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.

One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.

---

### ParentReferenceV1Beta1 <a name="ParentReferenceV1Beta1" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1"></a>

ParentReference describes a reference to a parent object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ParentReferenceV1Beta1;

ParentReferenceV1Beta1.builder()
    .name(java.lang.String)
    .resource(java.lang.String)
//  .group(java.lang.String)
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the object being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.resource">resource</a></code> | <code>java.lang.String</code> | Resource is the resource of the object being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.group">group</a></code> | <code>java.lang.String</code> | Group is the group of the object being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace is the namespace of the object being referenced. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the object being referenced.

---

##### `resource`<sup>Required</sup> <a name="resource" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.resource"></a>

```java
public java.lang.String getResource();
```

- *Type:* java.lang.String

Resource is the resource of the object being referenced.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

Group is the group of the object being referenced.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ParentReferenceV1Beta1.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace is the namespace of the object being referenced.

---

### PathMapping <a name="PathMapping" id="cdk8s-plus-32.PathMapping"></a>

Maps a string key to a path within a volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PathMapping.Initializer"></a>

```java
import org.cdk8s.plus32.PathMapping;

PathMapping.builder()
    .path(java.lang.String)
//  .mode(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PathMapping.property.path">path</a></code> | <code>java.lang.String</code> | The relative path of the file to map the key to. |
| <code><a href="#cdk8s-plus-32.PathMapping.property.mode">mode</a></code> | <code>java.lang.Number</code> | Optional: mode bits to use on this file, must be a value between 0 and 0777. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.PathMapping.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

The relative path of the file to map the key to.

May not be an absolute
path. May not contain the path element '..'. May not start with the string
'..'.

---

##### `mode`<sup>Optional</sup> <a name="mode" id="cdk8s-plus-32.PathMapping.property.mode"></a>

```java
public java.lang.Number getMode();
```

- *Type:* java.lang.Number

Optional: mode bits to use on this file, must be a value between 0 and 0777.

If not specified, the volume defaultMode will be used. This might be
in conflict with other options that affect the file mode, like fsGroup, and
the result can be other mode bits set.

---

### PersistentVolumeClaimProps <a name="PersistentVolumeClaimProps" id="cdk8s-plus-32.PersistentVolumeClaimProps"></a>

Properties for `PersistentVolumeClaim`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PersistentVolumeClaimProps.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaimProps;

PersistentVolumeClaimProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volume(IPersistentVolume)
//  .volumeMode(PersistentVolumeMode)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains the access modes the volume should support. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Minimum storage size the volume should have. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.volume">volume</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a></code> | The PersistentVolume backing this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes requirement.

Contains the access modes the volume should support.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No storage requirement.

Minimum storage size the volume should have.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Not set.

Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:.

* If the admission plugin is turned on, the storage class marked as default will be used.
* If the admission plugin is turned off, the pvc can only be bound to volumes without a storage class.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1)

---

##### `volume`<sup>Optional</sup> <a name="volume" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.volume"></a>

```java
public IPersistentVolume getVolume();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>
- *Default:* No specific volume binding.

The PersistentVolume backing this claim.

The control plane still checks that storage class, access modes,
and requested storage size on the volume are valid.

Note that in order to guarantee a proper binding, the volume should
also define a `claimRef` referring to this claim. Otherwise, the volume may be
claimed be other pvc's before it gets a chance to bind to this one.

If the volume is managed (i.e not imported), you can use `pv.claim()` to easily
create a bi-directional bounded claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.)

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolumeClaimProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

### PersistentVolumeClaimSpec <a name="PersistentVolumeClaimSpec" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec"></a>

PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec;

PersistentVolumeClaimSpec.builder()
//  .accessModes(java.util.List<java.lang.String>)
//  .dataSource(TypedLocalObjectReference)
//  .dataSourceRef(TypedObjectReference)
//  .resources(VolumeResourceRequirements)
//  .selector(LabelSelector)
//  .storageClassName(java.lang.String)
//  .volumeAttributesClassName(java.lang.String)
//  .volumeMode(java.lang.String)
//  .volumeName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.accessModes">accessModes</a></code> | <code>java.util.List<java.lang.String></code> | accessModes contains the desired access modes the volume should have. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.dataSource">dataSource</a></code> | <code>org.cdk8s.plus32.k8s.TypedLocalObjectReference</code> | dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.dataSourceRef">dataSourceRef</a></code> | <code>org.cdk8s.plus32.k8s.TypedObjectReference</code> | dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.resources">resources</a></code> | <code>org.cdk8s.plus32.k8s.VolumeResourceRequirements</code> | resources represents the minimum resources the volume should have. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector is a label query over volumes to consider for binding. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | storageClassName is the name of the StorageClass required by the claim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeAttributesClassName">volumeAttributesClassName</a></code> | <code>java.lang.String</code> | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeMode">volumeMode</a></code> | <code>java.lang.String</code> | volumeMode defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeName">volumeName</a></code> | <code>java.lang.String</code> | volumeName is the binding reference to the PersistentVolume backing this claim. |

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.accessModes"></a>

```java
public java.util.List<java.lang.String> getAccessModes();
```

- *Type:* java.util.List<java.lang.String>

accessModes contains the desired access modes the volume should have.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

---

##### `dataSource`<sup>Optional</sup> <a name="dataSource" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.dataSource"></a>

```java
public TypedLocalObjectReference getDataSource();
```

- *Type:* org.cdk8s.plus32.k8s.TypedLocalObjectReference

dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.

---

##### `dataSourceRef`<sup>Optional</sup> <a name="dataSourceRef" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.dataSourceRef"></a>

```java
public TypedObjectReference getDataSourceRef();
```

- *Type:* org.cdk8s.plus32.k8s.TypedObjectReference

dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired.

This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef
allows any non-core object, as well as PersistentVolumeClaim objects.

* While dataSource ignores disallowed values (dropping them), dataSourceRef
  preserves all values, and generates an error if a disallowed value is
  specified.
* While dataSource only allows local objects, dataSourceRef allows objects
  in any namespaces.
  (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.resources"></a>

```java
public VolumeResourceRequirements getResources();
```

- *Type:* org.cdk8s.plus32.k8s.VolumeResourceRequirements

resources represents the minimum resources the volume should have.

If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector is a label query over volumes to consider for binding.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

storageClassName is the name of the StorageClass required by the claim.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

---

##### `volumeAttributesClassName`<sup>Optional</sup> <a name="volumeAttributesClassName" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeAttributesClassName"></a>

```java
public java.lang.String getVolumeAttributesClassName();
```

- *Type:* java.lang.String

volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim.

If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default).

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeMode"></a>

```java
public java.lang.String getVolumeMode();
```

- *Type:* java.lang.String

volumeMode defines what type of volume is required by the claim.

Value of Filesystem is implied when not included in claim spec.

---

##### `volumeName`<sup>Optional</sup> <a name="volumeName" id="cdk8s-plus-32.k8s.PersistentVolumeClaimSpec.property.volumeName"></a>

```java
public java.lang.String getVolumeName();
```

- *Type:* java.lang.String

volumeName is the binding reference to the PersistentVolume backing this claim.

---

### PersistentVolumeClaimTemplate <a name="PersistentVolumeClaimTemplate" id="cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate"></a>

PersistentVolumeClaimTemplate is used to produce PersistentVolumeClaim objects as part of an EphemeralVolumeSource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PersistentVolumeClaimTemplate;

PersistentVolumeClaimTemplate.builder()
    .spec(PersistentVolumeClaimSpec)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec</code> | The specification for the PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | May contain labels and annotations that will be copied into the PVC when creating it. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate.property.spec"></a>

```java
public PersistentVolumeClaimSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeClaimSpec

The specification for the PersistentVolumeClaim.

The entire content is copied unchanged into the PVC that gets created from this template. The same fields as in a PersistentVolumeClaim are also valid here.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.PersistentVolumeClaimTemplate.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

May contain labels and annotations that will be copied into the PVC when creating it.

No other fields are allowed and will be rejected during validation.

---

### PersistentVolumeClaimTemplateProps <a name="PersistentVolumeClaimTemplateProps" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps"></a>

A PersistentVolumeClaim template for StatefulSets.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaimTemplateProps;

PersistentVolumeClaimTemplateProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volume(IPersistentVolume)
//  .volumeMode(PersistentVolumeMode)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains the access modes the volume should support. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | Minimum storage size the volume should have. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.volume">volume</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a></code> | The PersistentVolume backing this claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.name">name</a></code> | <code>java.lang.String</code> | The name of the claim that the StatefulSet controller will create for each pod. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes requirement.

Contains the access modes the volume should support.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No storage requirement.

Minimum storage size the volume should have.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Not set.

Name of the StorageClass required by the claim. When this property is not set, the behavior is as follows:.

* If the admission plugin is turned on, the storage class marked as default will be used.
* If the admission plugin is turned off, the pvc can only be bound to volumes without a storage class.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1](https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1)

---

##### `volume`<sup>Optional</sup> <a name="volume" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.volume"></a>

```java
public IPersistentVolume getVolume();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>
- *Default:* No specific volume binding.

The PersistentVolume backing this claim.

The control plane still checks that storage class, access modes,
and requested storage size on the volume are valid.

Note that in order to guarantee a proper binding, the volume should
also define a `claimRef` referring to this claim. Otherwise, the volume may be
claimed be other pvc's before it gets a chance to bind to this one.

If the volume is managed (i.e not imported), you can use `pv.claim()` to easily
create a bi-directional bounded claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#binding.)

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.PersistentVolumeClaimTemplateProps.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the claim that the StatefulSet controller will create for each pod.

This will be used to name the created PVC in the format <claim-name>-<pod-name>

This name should match the name of a volume mount in one of the containers.

---

### PersistentVolumeClaimVolumeOptions <a name="PersistentVolumeClaimVolumeOptions" id="cdk8s-plus-32.PersistentVolumeClaimVolumeOptions"></a>

Options for a PersistentVolumeClaim-based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PersistentVolumeClaimVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolumeClaimVolumeOptions;

PersistentVolumeClaimVolumeOptions.builder()
//  .name(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeClaimVolumeOptions.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Will force the ReadOnly setting in VolumeMounts. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.PersistentVolumeClaimVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* Derived from the PVC name.

The volume name.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.PersistentVolumeClaimVolumeOptions.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Will force the ReadOnly setting in VolumeMounts.

---

### PersistentVolumeClaimVolumeSource <a name="PersistentVolumeClaimVolumeSource" id="cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource"></a>

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.

This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PersistentVolumeClaimVolumeSource;

PersistentVolumeClaimVolumeSource.builder()
    .claimName(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource.property.claimName">claimName</a></code> | <code>java.lang.String</code> | claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly Will force the ReadOnly setting in VolumeMounts. |

---

##### `claimName`<sup>Required</sup> <a name="claimName" id="cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource.property.claimName"></a>

```java
public java.lang.String getClaimName();
```

- *Type:* java.lang.String

claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.PersistentVolumeClaimVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly Will force the ReadOnly setting in VolumeMounts.

Default false.

---

### PersistentVolumeProps <a name="PersistentVolumeProps" id="cdk8s-plus-32.PersistentVolumeProps"></a>

Properties for `PersistentVolume`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PersistentVolumeProps.Initializer"></a>

```java
import org.cdk8s.plus32.PersistentVolumeProps;

PersistentVolumeProps.builder()
//  .metadata(ApiObjectMetadata)
//  .accessModes(java.util.List<PersistentVolumeAccessMode>)
//  .claim(IPersistentVolumeClaim)
//  .mountOptions(java.util.List<java.lang.String>)
//  .reclaimPolicy(PersistentVolumeReclaimPolicy)
//  .storage(Size)
//  .storageClassName(java.lang.String)
//  .volumeMode(PersistentVolumeMode)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.accessModes">accessModes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>></code> | Contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.claim">claim</a></code> | <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a></code> | Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.reclaimPolicy">reclaimPolicy</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a></code> | When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.storage">storage</a></code> | <code>org.cdk8s.Size</code> | What is the storage capacity of this volume. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | Name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeProps.property.volumeMode">volumeMode</a></code> | <code><a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a></code> | Defines what type of volume is required by the claim. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PersistentVolumeProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.PersistentVolumeProps.property.accessModes"></a>

```java
public java.util.List<PersistentVolumeAccessMode> getAccessModes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeAccessMode">PersistentVolumeAccessMode</a>>
- *Default:* No access modes.

Contains all ways the volume can be mounted.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes](https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes)

---

##### `claim`<sup>Optional</sup> <a name="claim" id="cdk8s-plus-32.PersistentVolumeProps.property.claim"></a>

```java
public IPersistentVolumeClaim getClaim();
```

- *Type:* <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>
- *Default:* Not bound to a specific claim.

Part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding](https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding)

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.PersistentVolumeProps.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* No options.

A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options)

---

##### `reclaimPolicy`<sup>Optional</sup> <a name="reclaimPolicy" id="cdk8s-plus-32.PersistentVolumeProps.property.reclaimPolicy"></a>

```java
public PersistentVolumeReclaimPolicy getReclaimPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy">PersistentVolumeReclaimPolicy</a>
- *Default:* PersistentVolumeReclaimPolicy.RETAIN

When a user is done with their volume, they can delete the PVC objects from the API that allows reclamation of the resource.

The reclaim policy tells the cluster what to do with
the volume after it has been released of its claim.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)

---

##### `storage`<sup>Optional</sup> <a name="storage" id="cdk8s-plus-32.PersistentVolumeProps.property.storage"></a>

```java
public Size getStorage();
```

- *Type:* org.cdk8s.Size
- *Default:* No specified.

What is the storage capacity of this volume.

> [https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources](https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources)

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.PersistentVolumeProps.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String
- *Default:* Volume does not belong to any storage class.

Name of StorageClass to which this persistent volume belongs.

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.PersistentVolumeProps.property.volumeMode"></a>

```java
public PersistentVolumeMode getVolumeMode();
```

- *Type:* <a href="#cdk8s-plus-32.PersistentVolumeMode">PersistentVolumeMode</a>
- *Default:* VolumeMode.FILE_SYSTEM

Defines what type of volume is required by the claim.

---

### PersistentVolumeSpec <a name="PersistentVolumeSpec" id="cdk8s-plus-32.k8s.PersistentVolumeSpec"></a>

PersistentVolumeSpec is the specification of a persistent volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PersistentVolumeSpec;

PersistentVolumeSpec.builder()
//  .accessModes(java.util.List<java.lang.String>)
//  .awsElasticBlockStore(AwsElasticBlockStoreVolumeSource)
//  .azureDisk(AzureDiskVolumeSource)
//  .azureFile(AzureFilePersistentVolumeSource)
//  .capacity(java.util.Map<java.lang.String, Quantity>)
//  .cephfs(CephFsPersistentVolumeSource)
//  .cinder(CinderPersistentVolumeSource)
//  .claimRef(ObjectReference)
//  .csi(CsiPersistentVolumeSource)
//  .fc(FcVolumeSource)
//  .flexVolume(FlexPersistentVolumeSource)
//  .flocker(FlockerVolumeSource)
//  .gcePersistentDisk(GcePersistentDiskVolumeSource)
//  .glusterfs(GlusterfsPersistentVolumeSource)
//  .hostPath(HostPathVolumeSource)
//  .iscsi(IscsiPersistentVolumeSource)
//  .local(LocalVolumeSource)
//  .mountOptions(java.util.List<java.lang.String>)
//  .nfs(NfsVolumeSource)
//  .nodeAffinity(VolumeNodeAffinity)
//  .persistentVolumeReclaimPolicy(java.lang.String)
//  .photonPersistentDisk(PhotonPersistentDiskVolumeSource)
//  .portworxVolume(PortworxVolumeSource)
//  .quobyte(QuobyteVolumeSource)
//  .rbd(RbdPersistentVolumeSource)
//  .scaleIo(ScaleIoPersistentVolumeSource)
//  .storageClassName(java.lang.String)
//  .storageos(StorageOsPersistentVolumeSource)
//  .volumeAttributesClassName(java.lang.String)
//  .volumeMode(java.lang.String)
//  .vsphereVolume(VsphereVirtualDiskVolumeSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.accessModes">accessModes</a></code> | <code>java.util.List<java.lang.String></code> | accessModes contains all ways the volume can be mounted. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.awsElasticBlockStore">awsElasticBlockStore</a></code> | <code>org.cdk8s.plus32.k8s.AwsElasticBlockStoreVolumeSource</code> | awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.azureDisk">azureDisk</a></code> | <code>org.cdk8s.plus32.k8s.AzureDiskVolumeSource</code> | azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.azureFile">azureFile</a></code> | <code>org.cdk8s.plus32.k8s.AzureFilePersistentVolumeSource</code> | azureFile represents an Azure File Service mount on the host and bind mount to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.capacity">capacity</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | capacity is the description of the persistent volume's resources and capacity. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.cephfs">cephfs</a></code> | <code>org.cdk8s.plus32.k8s.CephFsPersistentVolumeSource</code> | cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.cinder">cinder</a></code> | <code>org.cdk8s.plus32.k8s.CinderPersistentVolumeSource</code> | cinder represents a cinder volume attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.claimRef">claimRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.csi">csi</a></code> | <code>org.cdk8s.plus32.k8s.CsiPersistentVolumeSource</code> | csi represents storage that is handled by an external CSI driver. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.fc">fc</a></code> | <code>org.cdk8s.plus32.k8s.FcVolumeSource</code> | fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.flexVolume">flexVolume</a></code> | <code>org.cdk8s.plus32.k8s.FlexPersistentVolumeSource</code> | flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.flocker">flocker</a></code> | <code>org.cdk8s.plus32.k8s.FlockerVolumeSource</code> | flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.gcePersistentDisk">gcePersistentDisk</a></code> | <code>org.cdk8s.plus32.k8s.GcePersistentDiskVolumeSource</code> | gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.glusterfs">glusterfs</a></code> | <code>org.cdk8s.plus32.k8s.GlusterfsPersistentVolumeSource</code> | glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.hostPath">hostPath</a></code> | <code>org.cdk8s.plus32.k8s.HostPathVolumeSource</code> | hostPath represents a directory on the host. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.iscsi">iscsi</a></code> | <code>org.cdk8s.plus32.k8s.IscsiPersistentVolumeSource</code> | iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.local">local</a></code> | <code>org.cdk8s.plus32.k8s.LocalVolumeSource</code> | local represents directly-attached storage with node affinity. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.mountOptions">mountOptions</a></code> | <code>java.util.List<java.lang.String></code> | mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.nfs">nfs</a></code> | <code>org.cdk8s.plus32.k8s.NfsVolumeSource</code> | nfs represents an NFS mount on the host. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.nodeAffinity">nodeAffinity</a></code> | <code>org.cdk8s.plus32.k8s.VolumeNodeAffinity</code> | nodeAffinity defines constraints that limit what nodes this volume can be accessed from. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.persistentVolumeReclaimPolicy">persistentVolumeReclaimPolicy</a></code> | <code>java.lang.String</code> | persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.photonPersistentDisk">photonPersistentDisk</a></code> | <code>org.cdk8s.plus32.k8s.PhotonPersistentDiskVolumeSource</code> | photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.portworxVolume">portworxVolume</a></code> | <code>org.cdk8s.plus32.k8s.PortworxVolumeSource</code> | portworxVolume represents a portworx volume attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.quobyte">quobyte</a></code> | <code>org.cdk8s.plus32.k8s.QuobyteVolumeSource</code> | quobyte represents a Quobyte mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.rbd">rbd</a></code> | <code>org.cdk8s.plus32.k8s.RbdPersistentVolumeSource</code> | rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.scaleIo">scaleIo</a></code> | <code>org.cdk8s.plus32.k8s.ScaleIoPersistentVolumeSource</code> | scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.storageClassName">storageClassName</a></code> | <code>java.lang.String</code> | storageClassName is the name of StorageClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.storageos">storageos</a></code> | <code>org.cdk8s.plus32.k8s.StorageOsPersistentVolumeSource</code> | storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.volumeAttributesClassName">volumeAttributesClassName</a></code> | <code>java.lang.String</code> | Name of VolumeAttributesClass to which this persistent volume belongs. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.volumeMode">volumeMode</a></code> | <code>java.lang.String</code> | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. |
| <code><a href="#cdk8s-plus-32.k8s.PersistentVolumeSpec.property.vsphereVolume">vsphereVolume</a></code> | <code>org.cdk8s.plus32.k8s.VsphereVirtualDiskVolumeSource</code> | vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. |

---

##### `accessModes`<sup>Optional</sup> <a name="accessModes" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.accessModes"></a>

```java
public java.util.List<java.lang.String> getAccessModes();
```

- *Type:* java.util.List<java.lang.String>

accessModes contains all ways the volume can be mounted.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes

---

##### `awsElasticBlockStore`<sup>Optional</sup> <a name="awsElasticBlockStore" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.awsElasticBlockStore"></a>

```java
public AwsElasticBlockStoreVolumeSource getAwsElasticBlockStore();
```

- *Type:* org.cdk8s.plus32.k8s.AwsElasticBlockStoreVolumeSource

awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

---

##### `azureDisk`<sup>Optional</sup> <a name="azureDisk" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.azureDisk"></a>

```java
public AzureDiskVolumeSource getAzureDisk();
```

- *Type:* org.cdk8s.plus32.k8s.AzureDiskVolumeSource

azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.

---

##### `azureFile`<sup>Optional</sup> <a name="azureFile" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.azureFile"></a>

```java
public AzureFilePersistentVolumeSource getAzureFile();
```

- *Type:* org.cdk8s.plus32.k8s.AzureFilePersistentVolumeSource

azureFile represents an Azure File Service mount on the host and bind mount to the pod.

Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.

---

##### `capacity`<sup>Optional</sup> <a name="capacity" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.capacity"></a>

```java
public java.util.Map<java.lang.String, Quantity> getCapacity();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

capacity is the description of the persistent volume's resources and capacity.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity

---

##### `cephfs`<sup>Optional</sup> <a name="cephfs" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.cephfs"></a>

```java
public CephFsPersistentVolumeSource getCephfs();
```

- *Type:* org.cdk8s.plus32.k8s.CephFsPersistentVolumeSource

cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.

Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.

---

##### `cinder`<sup>Optional</sup> <a name="cinder" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.cinder"></a>

```java
public CinderPersistentVolumeSource getCinder();
```

- *Type:* org.cdk8s.plus32.k8s.CinderPersistentVolumeSource

cinder represents a cinder volume attached and mounted on kubelets host machine.

Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `claimRef`<sup>Optional</sup> <a name="claimRef" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.claimRef"></a>

```java
public ObjectReference getClaimRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.

Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding

---

##### `csi`<sup>Optional</sup> <a name="csi" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.csi"></a>

```java
public CsiPersistentVolumeSource getCsi();
```

- *Type:* org.cdk8s.plus32.k8s.CsiPersistentVolumeSource

csi represents storage that is handled by an external CSI driver.

---

##### `fc`<sup>Optional</sup> <a name="fc" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.fc"></a>

```java
public FcVolumeSource getFc();
```

- *Type:* org.cdk8s.plus32.k8s.FcVolumeSource

fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

---

##### `flexVolume`<sup>Optional</sup> <a name="flexVolume" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.flexVolume"></a>

```java
public FlexPersistentVolumeSource getFlexVolume();
```

- *Type:* org.cdk8s.plus32.k8s.FlexPersistentVolumeSource

flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.

---

##### `flocker`<sup>Optional</sup> <a name="flocker" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.flocker"></a>

```java
public FlockerVolumeSource getFlocker();
```

- *Type:* org.cdk8s.plus32.k8s.FlockerVolumeSource

flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage.

This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.

---

##### `gcePersistentDisk`<sup>Optional</sup> <a name="gcePersistentDisk" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.gcePersistentDisk"></a>

```java
public GcePersistentDiskVolumeSource getGcePersistentDisk();
```

- *Type:* org.cdk8s.plus32.k8s.GcePersistentDiskVolumeSource

gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

##### `glusterfs`<sup>Optional</sup> <a name="glusterfs" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.glusterfs"></a>

```java
public GlusterfsPersistentVolumeSource getGlusterfs();
```

- *Type:* org.cdk8s.plus32.k8s.GlusterfsPersistentVolumeSource

glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod.

Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md

---

##### `hostPath`<sup>Optional</sup> <a name="hostPath" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.hostPath"></a>

```java
public HostPathVolumeSource getHostPath();
```

- *Type:* org.cdk8s.plus32.k8s.HostPathVolumeSource

hostPath represents a directory on the host.

Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

---

##### `iscsi`<sup>Optional</sup> <a name="iscsi" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.iscsi"></a>

```java
public IscsiPersistentVolumeSource getIscsi();
```

- *Type:* org.cdk8s.plus32.k8s.IscsiPersistentVolumeSource

iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Provisioned by an admin.

---

##### `local`<sup>Optional</sup> <a name="local" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.local"></a>

```java
public LocalVolumeSource getLocal();
```

- *Type:* org.cdk8s.plus32.k8s.LocalVolumeSource

local represents directly-attached storage with node affinity.

---

##### `mountOptions`<sup>Optional</sup> <a name="mountOptions" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.mountOptions"></a>

```java
public java.util.List<java.lang.String> getMountOptions();
```

- *Type:* java.util.List<java.lang.String>

mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options.

---

##### `nfs`<sup>Optional</sup> <a name="nfs" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.nfs"></a>

```java
public NfsVolumeSource getNfs();
```

- *Type:* org.cdk8s.plus32.k8s.NfsVolumeSource

nfs represents an NFS mount on the host.

Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

---

##### `nodeAffinity`<sup>Optional</sup> <a name="nodeAffinity" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.nodeAffinity"></a>

```java
public VolumeNodeAffinity getNodeAffinity();
```

- *Type:* org.cdk8s.plus32.k8s.VolumeNodeAffinity

nodeAffinity defines constraints that limit what nodes this volume can be accessed from.

This field influences the scheduling of pods that use this volume.

---

##### `persistentVolumeReclaimPolicy`<sup>Optional</sup> <a name="persistentVolumeReclaimPolicy" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.persistentVolumeReclaimPolicy"></a>

```java
public java.lang.String getPersistentVolumeReclaimPolicy();
```

- *Type:* java.lang.String

persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim.

Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming

---

##### `photonPersistentDisk`<sup>Optional</sup> <a name="photonPersistentDisk" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.photonPersistentDisk"></a>

```java
public PhotonPersistentDiskVolumeSource getPhotonPersistentDisk();
```

- *Type:* org.cdk8s.plus32.k8s.PhotonPersistentDiskVolumeSource

photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.

Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.

---

##### `portworxVolume`<sup>Optional</sup> <a name="portworxVolume" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.portworxVolume"></a>

```java
public PortworxVolumeSource getPortworxVolume();
```

- *Type:* org.cdk8s.plus32.k8s.PortworxVolumeSource

portworxVolume represents a portworx volume attached and mounted on kubelets host machine.

Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.

---

##### `quobyte`<sup>Optional</sup> <a name="quobyte" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.quobyte"></a>

```java
public QuobyteVolumeSource getQuobyte();
```

- *Type:* org.cdk8s.plus32.k8s.QuobyteVolumeSource

quobyte represents a Quobyte mount on the host that shares a pod's lifetime.

Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.

---

##### `rbd`<sup>Optional</sup> <a name="rbd" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.rbd"></a>

```java
public RbdPersistentVolumeSource getRbd();
```

- *Type:* org.cdk8s.plus32.k8s.RbdPersistentVolumeSource

rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.

Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md

---

##### `scaleIo`<sup>Optional</sup> <a name="scaleIo" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.scaleIo"></a>

```java
public ScaleIoPersistentVolumeSource getScaleIo();
```

- *Type:* org.cdk8s.plus32.k8s.ScaleIoPersistentVolumeSource

scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.

---

##### `storageClassName`<sup>Optional</sup> <a name="storageClassName" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.storageClassName"></a>

```java
public java.lang.String getStorageClassName();
```

- *Type:* java.lang.String

storageClassName is the name of StorageClass to which this persistent volume belongs.

Empty value means that this volume does not belong to any StorageClass.

---

##### `storageos`<sup>Optional</sup> <a name="storageos" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.storageos"></a>

```java
public StorageOsPersistentVolumeSource getStorageos();
```

- *Type:* org.cdk8s.plus32.k8s.StorageOsPersistentVolumeSource

storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod.

Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md

---

##### `volumeAttributesClassName`<sup>Optional</sup> <a name="volumeAttributesClassName" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.volumeAttributesClassName"></a>

```java
public java.lang.String getVolumeAttributesClassName();
```

- *Type:* java.lang.String

Name of VolumeAttributesClass to which this persistent volume belongs.

Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).

---

##### `volumeMode`<sup>Optional</sup> <a name="volumeMode" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.volumeMode"></a>

```java
public java.lang.String getVolumeMode();
```

- *Type:* java.lang.String

volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.

Value of Filesystem is implied when not included in spec.

---

##### `vsphereVolume`<sup>Optional</sup> <a name="vsphereVolume" id="cdk8s-plus-32.k8s.PersistentVolumeSpec.property.vsphereVolume"></a>

```java
public VsphereVirtualDiskVolumeSource getVsphereVolume();
```

- *Type:* org.cdk8s.plus32.k8s.VsphereVirtualDiskVolumeSource

vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.

Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.

---

### PhotonPersistentDiskVolumeSource <a name="PhotonPersistentDiskVolumeSource" id="cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource"></a>

Represents a Photon Controller persistent disk resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PhotonPersistentDiskVolumeSource;

PhotonPersistentDiskVolumeSource.builder()
    .pdId(java.lang.String)
//  .fsType(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource.property.pdId">pdId</a></code> | <code>java.lang.String</code> | pdID is the ID that identifies Photon Controller persistent disk. |
| <code><a href="#cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |

---

##### `pdId`<sup>Required</sup> <a name="pdId" id="cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource.property.pdId"></a>

```java
public java.lang.String getPdId();
```

- *Type:* java.lang.String

pdID is the ID that identifies Photon Controller persistent disk.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.PhotonPersistentDiskVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

### PodAffinity <a name="PodAffinity" id="cdk8s-plus-32.k8s.PodAffinity"></a>

Pod affinity is a group of inter pod affinity scheduling rules.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodAffinity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodAffinity;

PodAffinity.builder()
//  .preferredDuringSchedulingIgnoredDuringExecution(java.util.List<WeightedPodAffinityTerm>)
//  .requiredDuringSchedulingIgnoredDuringExecution(java.util.List<PodAffinityTerm>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinity.property.preferredDuringSchedulingIgnoredDuringExecution">preferredDuringSchedulingIgnoredDuringExecution</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.WeightedPodAffinityTerm></code> | The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinity.property.requiredDuringSchedulingIgnoredDuringExecution">requiredDuringSchedulingIgnoredDuringExecution</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodAffinityTerm></code> | If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. |

---

##### `preferredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="preferredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.PodAffinity.property.preferredDuringSchedulingIgnoredDuringExecution"></a>

```java
public java.util.List<WeightedPodAffinityTerm> getPreferredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.WeightedPodAffinityTerm>

The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions.

The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.

---

##### `requiredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="requiredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.PodAffinity.property.requiredDuringSchedulingIgnoredDuringExecution"></a>

```java
public java.util.List<PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodAffinityTerm>

If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.

If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.

---

### PodAffinityTerm <a name="PodAffinityTerm" id="cdk8s-plus-32.k8s.PodAffinityTerm"></a>

Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodAffinityTerm.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodAffinityTerm;

PodAffinityTerm.builder()
    .topologyKey(java.lang.String)
//  .labelSelector(LabelSelector)
//  .matchLabelKeys(java.util.List<java.lang.String>)
//  .mismatchLabelKeys(java.util.List<java.lang.String>)
//  .namespaces(java.util.List<java.lang.String>)
//  .namespaceSelector(LabelSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.topologyKey">topologyKey</a></code> | <code>java.lang.String</code> | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.labelSelector">labelSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | A label query over a set of resources, in this case pods. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.matchLabelKeys">matchLabelKeys</a></code> | <code>java.util.List<java.lang.String></code> | MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.mismatchLabelKeys">mismatchLabelKeys</a></code> | <code>java.util.List<java.lang.String></code> | MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.namespaces">namespaces</a></code> | <code>java.util.List<java.lang.String></code> | namespaces specifies a static list of namespace names that the term applies to. |
| <code><a href="#cdk8s-plus-32.k8s.PodAffinityTerm.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | A label query over the set of namespaces that the term applies to. |

---

##### `topologyKey`<sup>Required</sup> <a name="topologyKey" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.topologyKey"></a>

```java
public java.lang.String getTopologyKey();
```

- *Type:* java.lang.String

This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running.

Empty topologyKey is not allowed.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

A label query over a set of resources, in this case pods.

If it's null, this PodAffinityTerm matches with no Pods.

---

##### `matchLabelKeys`<sup>Optional</sup> <a name="matchLabelKeys" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.matchLabelKeys"></a>

```java
public java.util.List<java.lang.String> getMatchLabelKeys();
```

- *Type:* java.util.List<java.lang.String>

MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration.

The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).

---

##### `mismatchLabelKeys`<sup>Optional</sup> <a name="mismatchLabelKeys" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.mismatchLabelKeys"></a>

```java
public java.util.List<java.lang.String> getMismatchLabelKeys();
```

- *Type:* java.util.List<java.lang.String>

MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration.

The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is a beta field and requires enabling MatchLabelKeysInPodAffinity feature gate (enabled by default).

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.namespaces"></a>

```java
public java.util.List<java.lang.String> getNamespaces();
```

- *Type:* java.util.List<java.lang.String>

namespaces specifies a static list of namespace names that the term applies to.

The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.PodAffinityTerm.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

A label query over the set of namespaces that the term applies to.

The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.

---

### PodAntiAffinity <a name="PodAntiAffinity" id="cdk8s-plus-32.k8s.PodAntiAffinity"></a>

Pod anti affinity is a group of inter pod anti affinity scheduling rules.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodAntiAffinity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodAntiAffinity;

PodAntiAffinity.builder()
//  .preferredDuringSchedulingIgnoredDuringExecution(java.util.List<WeightedPodAffinityTerm>)
//  .requiredDuringSchedulingIgnoredDuringExecution(java.util.List<PodAffinityTerm>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodAntiAffinity.property.preferredDuringSchedulingIgnoredDuringExecution">preferredDuringSchedulingIgnoredDuringExecution</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.WeightedPodAffinityTerm></code> | The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. |
| <code><a href="#cdk8s-plus-32.k8s.PodAntiAffinity.property.requiredDuringSchedulingIgnoredDuringExecution">requiredDuringSchedulingIgnoredDuringExecution</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodAffinityTerm></code> | If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. |

---

##### `preferredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="preferredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.PodAntiAffinity.property.preferredDuringSchedulingIgnoredDuringExecution"></a>

```java
public java.util.List<WeightedPodAffinityTerm> getPreferredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.WeightedPodAffinityTerm>

The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions.

The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.

---

##### `requiredDuringSchedulingIgnoredDuringExecution`<sup>Optional</sup> <a name="requiredDuringSchedulingIgnoredDuringExecution" id="cdk8s-plus-32.k8s.PodAntiAffinity.property.requiredDuringSchedulingIgnoredDuringExecution"></a>

```java
public java.util.List<PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecution();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodAffinityTerm>

If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.

If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.

---

### PodConnectionsAllowFromOptions <a name="PodConnectionsAllowFromOptions" id="cdk8s-plus-32.PodConnectionsAllowFromOptions"></a>

Options for `PodConnections.allowFrom`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodConnectionsAllowFromOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodConnectionsAllowFromOptions;

PodConnectionsAllowFromOptions.builder()
//  .isolation(PodConnectionsIsolation)
//  .ports(java.util.List<NetworkPolicyPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodConnectionsAllowFromOptions.property.isolation">isolation</a></code> | <code><a href="#cdk8s-plus-32.PodConnectionsIsolation">PodConnectionsIsolation</a></code> | Which isolation should be applied to establish the connection. |
| <code><a href="#cdk8s-plus-32.PodConnectionsAllowFromOptions.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>></code> | Ports to allow incoming traffic to. |

---

##### `isolation`<sup>Optional</sup> <a name="isolation" id="cdk8s-plus-32.PodConnectionsAllowFromOptions.property.isolation"></a>

```java
public PodConnectionsIsolation getIsolation();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnectionsIsolation">PodConnectionsIsolation</a>
- *Default:* unset, isolates both the pod and the peer.

Which isolation should be applied to establish the connection.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.PodConnectionsAllowFromOptions.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>
- *Default:* The pod ports.

Ports to allow incoming traffic to.

---

### PodConnectionsAllowToOptions <a name="PodConnectionsAllowToOptions" id="cdk8s-plus-32.PodConnectionsAllowToOptions"></a>

Options for `PodConnections.allowTo`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodConnectionsAllowToOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodConnectionsAllowToOptions;

PodConnectionsAllowToOptions.builder()
//  .isolation(PodConnectionsIsolation)
//  .ports(java.util.List<NetworkPolicyPort>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodConnectionsAllowToOptions.property.isolation">isolation</a></code> | <code><a href="#cdk8s-plus-32.PodConnectionsIsolation">PodConnectionsIsolation</a></code> | Which isolation should be applied to establish the connection. |
| <code><a href="#cdk8s-plus-32.PodConnectionsAllowToOptions.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>></code> | Ports to allow outgoing traffic to. |

---

##### `isolation`<sup>Optional</sup> <a name="isolation" id="cdk8s-plus-32.PodConnectionsAllowToOptions.property.isolation"></a>

```java
public PodConnectionsIsolation getIsolation();
```

- *Type:* <a href="#cdk8s-plus-32.PodConnectionsIsolation">PodConnectionsIsolation</a>
- *Default:* unset, isolates both the pod and the peer.

Which isolation should be applied to establish the connection.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.PodConnectionsAllowToOptions.property.ports"></a>

```java
public java.util.List<NetworkPolicyPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NetworkPolicyPort">NetworkPolicyPort</a>>
- *Default:* If the peer is a managed pod, take its ports. Otherwise, all ports are allowed.

Ports to allow outgoing traffic to.

---

### PodDisruptionBudgetSpec <a name="PodDisruptionBudgetSpec" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec"></a>

PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodDisruptionBudgetSpec;

PodDisruptionBudgetSpec.builder()
//  .maxUnavailable(IntOrString)
//  .minAvailable(IntOrString)
//  .selector(LabelSelector)
//  .unhealthyPodEvictionPolicy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.maxUnavailable">maxUnavailable</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable". |
| <code><a href="#cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.minAvailable">minAvailable</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod.  So for example you can prevent all voluntary evictions by specifying "100%". |
| <code><a href="#cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | Label query over pods whose evictions are managed by the disruption budget. |
| <code><a href="#cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.unhealthyPodEvictionPolicy">unhealthyPodEvictionPolicy</a></code> | <code>java.lang.String</code> | UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. |

---

##### `maxUnavailable`<sup>Optional</sup> <a name="maxUnavailable" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.maxUnavailable"></a>

```java
public IntOrString getMaxUnavailable();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".

---

##### `minAvailable`<sup>Optional</sup> <a name="minAvailable" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.minAvailable"></a>

```java
public IntOrString getMinAvailable();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod.  So for example you can prevent all voluntary evictions by specifying "100%".

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

Label query over pods whose evictions are managed by the disruption budget.

A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.

---

##### `unhealthyPodEvictionPolicy`<sup>Optional</sup> <a name="unhealthyPodEvictionPolicy" id="cdk8s-plus-32.k8s.PodDisruptionBudgetSpec.property.unhealthyPodEvictionPolicy"></a>

```java
public java.lang.String getUnhealthyPodEvictionPolicy();
```

- *Type:* java.lang.String

UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction.

Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True".

Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.

IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.

AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.

Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.

This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).

---

### PodDnsConfig <a name="PodDnsConfig" id="cdk8s-plus-32.k8s.PodDnsConfig"></a>

PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodDnsConfig.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodDnsConfig;

PodDnsConfig.builder()
//  .nameservers(java.util.List<java.lang.String>)
//  .options(java.util.List<PodDnsConfigOption>)
//  .searches(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodDnsConfig.property.nameservers">nameservers</a></code> | <code>java.util.List<java.lang.String></code> | A list of DNS name server IP addresses. |
| <code><a href="#cdk8s-plus-32.k8s.PodDnsConfig.property.options">options</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodDnsConfigOption></code> | A list of DNS resolver options. |
| <code><a href="#cdk8s-plus-32.k8s.PodDnsConfig.property.searches">searches</a></code> | <code>java.util.List<java.lang.String></code> | A list of DNS search domains for host-name lookup. |

---

##### `nameservers`<sup>Optional</sup> <a name="nameservers" id="cdk8s-plus-32.k8s.PodDnsConfig.property.nameservers"></a>

```java
public java.util.List<java.lang.String> getNameservers();
```

- *Type:* java.util.List<java.lang.String>

A list of DNS name server IP addresses.

This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

---

##### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.k8s.PodDnsConfig.property.options"></a>

```java
public java.util.List<PodDnsConfigOption> getOptions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodDnsConfigOption>

A list of DNS resolver options.

This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.

---

##### `searches`<sup>Optional</sup> <a name="searches" id="cdk8s-plus-32.k8s.PodDnsConfig.property.searches"></a>

```java
public java.util.List<java.lang.String> getSearches();
```

- *Type:* java.util.List<java.lang.String>

A list of DNS search domains for host-name lookup.

This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.

---

### PodDnsConfigOption <a name="PodDnsConfigOption" id="cdk8s-plus-32.k8s.PodDnsConfigOption"></a>

PodDNSConfigOption defines DNS resolver options of a pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodDnsConfigOption.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodDnsConfigOption;

PodDnsConfigOption.builder()
//  .name(java.lang.String)
//  .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodDnsConfigOption.property.name">name</a></code> | <code>java.lang.String</code> | Name is this DNS resolver option's name. |
| <code><a href="#cdk8s-plus-32.k8s.PodDnsConfigOption.property.value">value</a></code> | <code>java.lang.String</code> | Value is this DNS resolver option's value. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.PodDnsConfigOption.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is this DNS resolver option's name.

Required.

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.k8s.PodDnsConfigOption.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

Value is this DNS resolver option's value.

---

### PodDnsProps <a name="PodDnsProps" id="cdk8s-plus-32.PodDnsProps"></a>

Properties for `PodDns`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodDnsProps.Initializer"></a>

```java
import org.cdk8s.plus32.PodDnsProps;

PodDnsProps.builder()
//  .hostname(java.lang.String)
//  .hostnameAsFQDN(java.lang.Boolean)
//  .nameservers(java.util.List<java.lang.String>)
//  .options(java.util.List<DnsOption>)
//  .policy(DnsPolicy)
//  .searches(java.util.List<java.lang.String>)
//  .subdomain(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.hostname">hostname</a></code> | <code>java.lang.String</code> | Specifies the hostname of the Pod. |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.hostnameAsFQDN">hostnameAsFQDN</a></code> | <code>java.lang.Boolean</code> | If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.nameservers">nameservers</a></code> | <code>java.util.List<java.lang.String></code> | A list of IP addresses that will be used as DNS servers for the Pod. |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.options">options</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>></code> | List of objects where each object may have a name property (required) and a value property (optional). |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.policy">policy</a></code> | <code><a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a></code> | Set DNS policy for the pod. |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.searches">searches</a></code> | <code>java.util.List<java.lang.String></code> | A list of DNS search domains for hostname lookup in the Pod. |
| <code><a href="#cdk8s-plus-32.PodDnsProps.property.subdomain">subdomain</a></code> | <code>java.lang.String</code> | If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". |

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.PodDnsProps.property.hostname"></a>

```java
public java.lang.String getHostname();
```

- *Type:* java.lang.String
- *Default:* Set to a system-defined value.

Specifies the hostname of the Pod.

---

##### `hostnameAsFQDN`<sup>Optional</sup> <a name="hostnameAsFQDN" id="cdk8s-plus-32.PodDnsProps.property.hostnameAsFQDN"></a>

```java
public java.lang.Boolean getHostnameAsFQDN();
```

- *Type:* java.lang.Boolean
- *Default:* false

If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).

In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
In Windows containers, this means setting the registry value of hostname for the registry
key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to FQDN.
If a pod does not have FQDN, this has no effect.

---

##### `nameservers`<sup>Optional</sup> <a name="nameservers" id="cdk8s-plus-32.PodDnsProps.property.nameservers"></a>

```java
public java.util.List<java.lang.String> getNameservers();
```

- *Type:* java.util.List<java.lang.String>

A list of IP addresses that will be used as DNS servers for the Pod.

There can be at most 3 IP addresses specified.
When the policy is set to "NONE", the list must contain at least one IP address,
otherwise this property is optional.
The servers listed will be combined to the base nameservers generated from
the specified DNS policy with duplicate addresses removed.

---

##### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodDnsProps.property.options"></a>

```java
public java.util.List<DnsOption> getOptions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>>

List of objects where each object may have a name property (required) and a value property (optional).

The contents in this property
will be merged to the options generated from the specified DNS policy.
Duplicate entries are removed.

---

##### `policy`<sup>Optional</sup> <a name="policy" id="cdk8s-plus-32.PodDnsProps.property.policy"></a>

```java
public DnsPolicy getPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a>
- *Default:* DnsPolicy.CLUSTER_FIRST

Set DNS policy for the pod.

If policy is set to `None`, other configuration must be supplied.

---

##### `searches`<sup>Optional</sup> <a name="searches" id="cdk8s-plus-32.PodDnsProps.property.searches"></a>

```java
public java.util.List<java.lang.String> getSearches();
```

- *Type:* java.util.List<java.lang.String>

A list of DNS search domains for hostname lookup in the Pod.

When specified, the provided list will be merged into the base
search domain names generated from the chosen DNS policy.
Duplicate domain names are removed.

Kubernetes allows for at most 6 search domains.

---

##### `subdomain`<sup>Optional</sup> <a name="subdomain" id="cdk8s-plus-32.PodDnsProps.property.subdomain"></a>

```java
public java.lang.String getSubdomain();
```

- *Type:* java.lang.String
- *Default:* No subdomain.

If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".

---

### PodFailurePolicy <a name="PodFailurePolicy" id="cdk8s-plus-32.k8s.PodFailurePolicy"></a>

PodFailurePolicy describes how failed pods influence the backoffLimit.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodFailurePolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodFailurePolicy;

PodFailurePolicy.builder()
    .rules(java.util.List<PodFailurePolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicy.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodFailurePolicyRule></code> | A list of pod failure policy rules. |

---

##### `rules`<sup>Required</sup> <a name="rules" id="cdk8s-plus-32.k8s.PodFailurePolicy.property.rules"></a>

```java
public java.util.List<PodFailurePolicyRule> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodFailurePolicyRule>

A list of pod failure policy rules.

The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.

---

### PodFailurePolicyOnExitCodesRequirement <a name="PodFailurePolicyOnExitCodesRequirement" id="cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement"></a>

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes.

In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodFailurePolicyOnExitCodesRequirement;

PodFailurePolicyOnExitCodesRequirement.builder()
    .operator(java.lang.String)
    .values(java.util.List<java.lang.Number>)
//  .containerName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | Represents the relationship between the container exit code(s) and the specified values. |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.Number></code> | Specifies the set of values. |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.containerName">containerName</a></code> | <code>java.lang.String</code> | Restricts the check for exit codes to the container with the specified name. |

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

Represents the relationship between the container exit code(s) and the specified values.

Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:

* In: the requirement is satisfied if at least one container exit code
  (might be multiple if there are multiple containers not restricted
  by the 'containerName' field) is in the set of specified values.
* NotIn: the requirement is satisfied if at least one container exit code
  (might be multiple if there are multiple containers not restricted
  by the 'containerName' field) is not in the set of specified values.
  Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.

---

##### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.values"></a>

```java
public java.util.List<java.lang.Number> getValues();
```

- *Type:* java.util.List<java.lang.Number>

Specifies the set of values.

Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.

---

##### `containerName`<sup>Optional</sup> <a name="containerName" id="cdk8s-plus-32.k8s.PodFailurePolicyOnExitCodesRequirement.property.containerName"></a>

```java
public java.lang.String getContainerName();
```

- *Type:* java.lang.String

Restricts the check for exit codes to the container with the specified name.

When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.

---

### PodFailurePolicyOnPodConditionsPattern <a name="PodFailurePolicyOnPodConditionsPattern" id="cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern"></a>

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodFailurePolicyOnPodConditionsPattern;

PodFailurePolicyOnPodConditionsPattern.builder()
    .status(java.lang.String)
    .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern.property.status">status</a></code> | <code>java.lang.String</code> | Specifies the required Pod condition status. |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern.property.type">type</a></code> | <code>java.lang.String</code> | Specifies the required Pod condition type. |

---

##### `status`<sup>Required</sup> <a name="status" id="cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern.property.status"></a>

```java
public java.lang.String getStatus();
```

- *Type:* java.lang.String
- *Default:* True.

Specifies the required Pod condition status.

To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.PodFailurePolicyOnPodConditionsPattern.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

Specifies the required Pod condition type.

To match a pod condition it is required that specified type equals the pod condition type.

---

### PodFailurePolicyRule <a name="PodFailurePolicyRule" id="cdk8s-plus-32.k8s.PodFailurePolicyRule"></a>

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.

One of onExitCodes and onPodConditions, but not both, can be used in each rule.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodFailurePolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodFailurePolicyRule;

PodFailurePolicyRule.builder()
    .action(java.lang.String)
//  .onExitCodes(PodFailurePolicyOnExitCodesRequirement)
//  .onPodConditions(java.util.List<PodFailurePolicyOnPodConditionsPattern>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyRule.property.action">action</a></code> | <code>java.lang.String</code> | Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:. |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyRule.property.onExitCodes">onExitCodes</a></code> | <code>org.cdk8s.plus32.k8s.PodFailurePolicyOnExitCodesRequirement</code> | Represents the requirement on the container exit codes. |
| <code><a href="#cdk8s-plus-32.k8s.PodFailurePolicyRule.property.onPodConditions">onPodConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodFailurePolicyOnPodConditionsPattern></code> | Represents the requirement on the pod conditions. |

---

##### `action`<sup>Required</sup> <a name="action" id="cdk8s-plus-32.k8s.PodFailurePolicyRule.property.action"></a>

```java
public java.lang.String getAction();
```

- *Type:* java.lang.String

Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:.

* FailJob: indicates that the pod's job is marked as Failed and all
  running pods are terminated.
* FailIndex: indicates that the pod's index is marked as Failed and will
  not be restarted.
  This value is beta-level. It can be used when the
  `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
* Ignore: indicates that the counter towards the .backoffLimit is not
  incremented and a replacement pod is created.
* Count: indicates that the pod is handled in the default way - the
  counter towards the .backoffLimit is incremented.
  Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.

---

##### `onExitCodes`<sup>Optional</sup> <a name="onExitCodes" id="cdk8s-plus-32.k8s.PodFailurePolicyRule.property.onExitCodes"></a>

```java
public PodFailurePolicyOnExitCodesRequirement getOnExitCodes();
```

- *Type:* org.cdk8s.plus32.k8s.PodFailurePolicyOnExitCodesRequirement

Represents the requirement on the container exit codes.

---

##### `onPodConditions`<sup>Optional</sup> <a name="onPodConditions" id="cdk8s-plus-32.k8s.PodFailurePolicyRule.property.onPodConditions"></a>

```java
public java.util.List<PodFailurePolicyOnPodConditionsPattern> getOnPodConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodFailurePolicyOnPodConditionsPattern>

Represents the requirement on the pod conditions.

The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.

---

### PodOs <a name="PodOs" id="cdk8s-plus-32.k8s.PodOs"></a>

PodOS defines the OS parameters of a pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodOs.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodOs;

PodOs.builder()
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodOs.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the operating system. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.PodOs.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the operating system.

The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null

---

### PodProps <a name="PodProps" id="cdk8s-plus-32.PodProps"></a>

Properties for `Pod`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodProps.Initializer"></a>

```java
import org.cdk8s.plus32.PodProps;

PodProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.PodProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.PodProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.PodProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.PodProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.PodProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.PodProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.PodProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.PodProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.PodProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.PodProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.PodProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.PodProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.PodProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.PodProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.PodProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.PodProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.PodProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.PodProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.PodProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.PodProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.PodProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.PodProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.PodProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.PodProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

### PodReadinessGate <a name="PodReadinessGate" id="cdk8s-plus-32.k8s.PodReadinessGate"></a>

PodReadinessGate contains the reference to a pod condition.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodReadinessGate.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodReadinessGate;

PodReadinessGate.builder()
    .conditionType(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodReadinessGate.property.conditionType">conditionType</a></code> | <code>java.lang.String</code> | ConditionType refers to a condition in the pod's condition list with matching type. |

---

##### `conditionType`<sup>Required</sup> <a name="conditionType" id="cdk8s-plus-32.k8s.PodReadinessGate.property.conditionType"></a>

```java
public java.lang.String getConditionType();
```

- *Type:* java.lang.String

ConditionType refers to a condition in the pod's condition list with matching type.

---

### PodResourceClaim <a name="PodResourceClaim" id="cdk8s-plus-32.k8s.PodResourceClaim"></a>

PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.

It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodResourceClaim.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodResourceClaim;

PodResourceClaim.builder()
    .name(java.lang.String)
//  .resourceClaimName(java.lang.String)
//  .resourceClaimTemplateName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodResourceClaim.property.name">name</a></code> | <code>java.lang.String</code> | Name uniquely identifies this resource claim inside the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodResourceClaim.property.resourceClaimName">resourceClaimName</a></code> | <code>java.lang.String</code> | ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodResourceClaim.property.resourceClaimTemplateName">resourceClaimTemplateName</a></code> | <code>java.lang.String</code> | ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.PodResourceClaim.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name uniquely identifies this resource claim inside the pod.

This must be a DNS_LABEL.

---

##### `resourceClaimName`<sup>Optional</sup> <a name="resourceClaimName" id="cdk8s-plus-32.k8s.PodResourceClaim.property.resourceClaimName"></a>

```java
public java.lang.String getResourceClaimName();
```

- *Type:* java.lang.String

ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.

Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.

---

##### `resourceClaimTemplateName`<sup>Optional</sup> <a name="resourceClaimTemplateName" id="cdk8s-plus-32.k8s.PodResourceClaim.property.resourceClaimTemplateName"></a>

```java
public java.lang.String getResourceClaimTemplateName();
```

- *Type:* java.lang.String

ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.

The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.

This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.

Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.

---

### PodsAllOptions <a name="PodsAllOptions" id="cdk8s-plus-32.PodsAllOptions"></a>

Options for `Pods.all`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodsAllOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodsAllOptions;

PodsAllOptions.builder()
//  .namespaces(Namespaces)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodsAllOptions.property.namespaces">namespaces</a></code> | <code><a href="#cdk8s-plus-32.Namespaces">Namespaces</a></code> | Namespaces the pods are allowed to be in. |

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.PodsAllOptions.property.namespaces"></a>

```java
public Namespaces getNamespaces();
```

- *Type:* <a href="#cdk8s-plus-32.Namespaces">Namespaces</a>
- *Default:* unset, implies the namespace of the resource this selection is used in.

Namespaces the pods are allowed to be in.

Use `Namespaces.all()` to allow all namespaces.

---

### PodSchedulingAttractOptions <a name="PodSchedulingAttractOptions" id="cdk8s-plus-32.PodSchedulingAttractOptions"></a>

Options for `PodScheduling.attract`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodSchedulingAttractOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodSchedulingAttractOptions;

PodSchedulingAttractOptions.builder()
//  .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSchedulingAttractOptions.property.weight">weight</a></code> | <code>java.lang.Number</code> | Indicates the attraction is optional (soft), with this weight score. |

---

##### `weight`<sup>Optional</sup> <a name="weight" id="cdk8s-plus-32.PodSchedulingAttractOptions.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number
- *Default:* no weight. assignment is assumed to be required (hard).

Indicates the attraction is optional (soft), with this weight score.

---

### PodSchedulingColocateOptions <a name="PodSchedulingColocateOptions" id="cdk8s-plus-32.PodSchedulingColocateOptions"></a>

Options for `PodScheduling.colocate`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodSchedulingColocateOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodSchedulingColocateOptions;

PodSchedulingColocateOptions.builder()
//  .topology(Topology)
//  .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSchedulingColocateOptions.property.topology">topology</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | Which topology to coloate on. |
| <code><a href="#cdk8s-plus-32.PodSchedulingColocateOptions.property.weight">weight</a></code> | <code>java.lang.Number</code> | Indicates the co-location is optional (soft), with this weight score. |

---

##### `topology`<sup>Optional</sup> <a name="topology" id="cdk8s-plus-32.PodSchedulingColocateOptions.property.topology"></a>

```java
public Topology getTopology();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>
- *Default:* Topology.HOSTNAME

Which topology to coloate on.

---

##### `weight`<sup>Optional</sup> <a name="weight" id="cdk8s-plus-32.PodSchedulingColocateOptions.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number
- *Default:* no weight. co-location is assumed to be required (hard).

Indicates the co-location is optional (soft), with this weight score.

---

### PodSchedulingGate <a name="PodSchedulingGate" id="cdk8s-plus-32.k8s.PodSchedulingGate"></a>

PodSchedulingGate is associated to a Pod to guard its scheduling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodSchedulingGate.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodSchedulingGate;

PodSchedulingGate.builder()
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodSchedulingGate.property.name">name</a></code> | <code>java.lang.String</code> | Name of the scheduling gate. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.PodSchedulingGate.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the scheduling gate.

Each scheduling gate must have a unique name field.

---

### PodSchedulingSeparateOptions <a name="PodSchedulingSeparateOptions" id="cdk8s-plus-32.PodSchedulingSeparateOptions"></a>

Options for `PodScheduling.separate`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodSchedulingSeparateOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodSchedulingSeparateOptions;

PodSchedulingSeparateOptions.builder()
//  .topology(Topology)
//  .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSchedulingSeparateOptions.property.topology">topology</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | Which topology to separate on. |
| <code><a href="#cdk8s-plus-32.PodSchedulingSeparateOptions.property.weight">weight</a></code> | <code>java.lang.Number</code> | Indicates the separation is optional (soft), with this weight score. |

---

##### `topology`<sup>Optional</sup> <a name="topology" id="cdk8s-plus-32.PodSchedulingSeparateOptions.property.topology"></a>

```java
public Topology getTopology();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>
- *Default:* Topology.HOSTNAME

Which topology to separate on.

---

##### `weight`<sup>Optional</sup> <a name="weight" id="cdk8s-plus-32.PodSchedulingSeparateOptions.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number
- *Default:* no weight. separation is assumed to be required (hard).

Indicates the separation is optional (soft), with this weight score.

---

### PodSecurityContext <a name="PodSecurityContext" id="cdk8s-plus-32.k8s.PodSecurityContext"></a>

PodSecurityContext holds pod-level security attributes and common container settings.

Some fields are also present in container.securityContext.  Field values of container.securityContext take precedence over field values of PodSecurityContext.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodSecurityContext.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodSecurityContext;

PodSecurityContext.builder()
//  .appArmorProfile(AppArmorProfile)
//  .fsGroup(java.lang.Number)
//  .fsGroupChangePolicy(java.lang.String)
//  .runAsGroup(java.lang.Number)
//  .runAsNonRoot(java.lang.Boolean)
//  .runAsUser(java.lang.Number)
//  .seccompProfile(SeccompProfile)
//  .seLinuxChangePolicy(java.lang.String)
//  .seLinuxOptions(SeLinuxOptions)
//  .supplementalGroups(java.util.List<java.lang.Number>)
//  .supplementalGroupsPolicy(java.lang.String)
//  .sysctls(java.util.List<Sysctl>)
//  .windowsOptions(WindowsSecurityContextOptions)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.appArmorProfile">appArmorProfile</a></code> | <code>org.cdk8s.plus32.k8s.AppArmorProfile</code> | appArmorProfile is the AppArmor options to use by the containers in this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.fsGroup">fsGroup</a></code> | <code>java.lang.Number</code> | A special supplemental group that applies to all containers in a pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.fsGroupChangePolicy">fsGroupChangePolicy</a></code> | <code>java.lang.String</code> | fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.runAsGroup">runAsGroup</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.runAsNonRoot">runAsNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.runAsUser">runAsUser</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.seccompProfile">seccompProfile</a></code> | <code>org.cdk8s.plus32.k8s.SeccompProfile</code> | The seccomp options to use by the containers in this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.seLinuxChangePolicy">seLinuxChangePolicy</a></code> | <code>java.lang.String</code> | seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.seLinuxOptions">seLinuxOptions</a></code> | <code>org.cdk8s.plus32.k8s.SeLinuxOptions</code> | The SELinux context to be applied to all containers. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.supplementalGroups">supplementalGroups</a></code> | <code>java.util.List<java.lang.Number></code> | A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.supplementalGroupsPolicy">supplementalGroupsPolicy</a></code> | <code>java.lang.String</code> | Defines how supplemental groups of the first container processes are calculated. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.sysctls">sysctls</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Sysctl></code> | Sysctls hold a list of namespaced sysctls used for the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSecurityContext.property.windowsOptions">windowsOptions</a></code> | <code>org.cdk8s.plus32.k8s.WindowsSecurityContextOptions</code> | The Windows specific settings applied to all containers. |

---

##### `appArmorProfile`<sup>Optional</sup> <a name="appArmorProfile" id="cdk8s-plus-32.k8s.PodSecurityContext.property.appArmorProfile"></a>

```java
public AppArmorProfile getAppArmorProfile();
```

- *Type:* org.cdk8s.plus32.k8s.AppArmorProfile

appArmorProfile is the AppArmor options to use by the containers in this pod.

Note that this field cannot be set when spec.os.name is windows.

---

##### `fsGroup`<sup>Optional</sup> <a name="fsGroup" id="cdk8s-plus-32.k8s.PodSecurityContext.property.fsGroup"></a>

```java
public java.lang.Number getFsGroup();
```

- *Type:* java.lang.Number

A special supplemental group that applies to all containers in a pod.

Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:

1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----

If unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows.

---

##### `fsGroupChangePolicy`<sup>Optional</sup> <a name="fsGroupChangePolicy" id="cdk8s-plus-32.k8s.PodSecurityContext.property.fsGroupChangePolicy"></a>

```java
public java.lang.String getFsGroupChangePolicy();
```

- *Type:* java.lang.String

fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod.

This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. Note that this field cannot be set when spec.os.name is windows.

---

##### `runAsGroup`<sup>Optional</sup> <a name="runAsGroup" id="cdk8s-plus-32.k8s.PodSecurityContext.property.runAsGroup"></a>

```java
public java.lang.Number getRunAsGroup();
```

- *Type:* java.lang.Number

The GID to run the entrypoint of the container process.

Uses runtime default if unset. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

---

##### `runAsNonRoot`<sup>Optional</sup> <a name="runAsNonRoot" id="cdk8s-plus-32.k8s.PodSecurityContext.property.runAsNonRoot"></a>

```java
public java.lang.Boolean getRunAsNonRoot();
```

- *Type:* java.lang.Boolean

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

---

##### `runAsUser`<sup>Optional</sup> <a name="runAsUser" id="cdk8s-plus-32.k8s.PodSecurityContext.property.runAsUser"></a>

```java
public java.lang.Number getRunAsUser();
```

- *Type:* java.lang.Number
- *Default:* user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

The UID to run the entrypoint of the container process.

Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

---

##### `seccompProfile`<sup>Optional</sup> <a name="seccompProfile" id="cdk8s-plus-32.k8s.PodSecurityContext.property.seccompProfile"></a>

```java
public SeccompProfile getSeccompProfile();
```

- *Type:* org.cdk8s.plus32.k8s.SeccompProfile

The seccomp options to use by the containers in this pod.

Note that this field cannot be set when spec.os.name is windows.

---

##### `seLinuxChangePolicy`<sup>Optional</sup> <a name="seLinuxChangePolicy" id="cdk8s-plus-32.k8s.PodSecurityContext.property.seLinuxChangePolicy"></a>

```java
public java.lang.String getSeLinuxChangePolicy();
```

- *Type:* java.lang.String

seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod.

It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are "MountOption" and "Recursive".

"Recursive" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.

"MountOption" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. "MountOption" value is allowed only when SELinuxMount feature gate is enabled.

If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes and "Recursive" for all other volumes.

This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.

All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.

---

##### `seLinuxOptions`<sup>Optional</sup> <a name="seLinuxOptions" id="cdk8s-plus-32.k8s.PodSecurityContext.property.seLinuxOptions"></a>

```java
public SeLinuxOptions getSeLinuxOptions();
```

- *Type:* org.cdk8s.plus32.k8s.SeLinuxOptions

The SELinux context to be applied to all containers.

If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in SecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.

---

##### `supplementalGroups`<sup>Optional</sup> <a name="supplementalGroups" id="cdk8s-plus-32.k8s.PodSecurityContext.property.supplementalGroups"></a>

```java
public java.util.List<java.lang.Number> getSupplementalGroups();
```

- *Type:* java.util.List<java.lang.Number>

A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified).

If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.

---

##### `supplementalGroupsPolicy`<sup>Optional</sup> <a name="supplementalGroupsPolicy" id="cdk8s-plus-32.k8s.PodSecurityContext.property.supplementalGroupsPolicy"></a>

```java
public java.lang.String getSupplementalGroupsPolicy();
```

- *Type:* java.lang.String

Defines how supplemental groups of the first container processes are calculated.

Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.

---

##### `sysctls`<sup>Optional</sup> <a name="sysctls" id="cdk8s-plus-32.k8s.PodSecurityContext.property.sysctls"></a>

```java
public java.util.List<Sysctl> getSysctls();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Sysctl>

Sysctls hold a list of namespaced sysctls used for the pod.

Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.

---

##### `windowsOptions`<sup>Optional</sup> <a name="windowsOptions" id="cdk8s-plus-32.k8s.PodSecurityContext.property.windowsOptions"></a>

```java
public WindowsSecurityContextOptions getWindowsOptions();
```

- *Type:* org.cdk8s.plus32.k8s.WindowsSecurityContextOptions

The Windows specific settings applied to all containers.

If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.

---

### PodSecurityContextProps <a name="PodSecurityContextProps" id="cdk8s-plus-32.PodSecurityContextProps"></a>

Properties for `PodSecurityContext`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodSecurityContextProps.Initializer"></a>

```java
import org.cdk8s.plus32.PodSecurityContextProps;

PodSecurityContextProps.builder()
//  .ensureNonRoot(java.lang.Boolean)
//  .fsGroup(java.lang.Number)
//  .fsGroupChangePolicy(FsGroupChangePolicy)
//  .group(java.lang.Number)
//  .sysctls(java.util.List<Sysctl>)
//  .user(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.fsGroup">fsGroup</a></code> | <code>java.lang.Number</code> | Modify the ownership and permissions of pod volumes to this GID. |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.fsGroupChangePolicy">fsGroupChangePolicy</a></code> | <code><a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a></code> | Defines behavior of changing ownership and permission of the volume before being exposed inside Pod. |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.group">group</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.sysctls">sysctls</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>></code> | Sysctls hold a list of namespaced sysctls used for the pod. |
| <code><a href="#cdk8s-plus-32.PodSecurityContextProps.property.user">user</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |

---

##### `ensureNonRoot`<sup>Optional</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.PodSecurityContextProps.property.ensureNonRoot"></a>

```java
public java.lang.Boolean getEnsureNonRoot();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does
not run as UID 0 (root) and fail to start the container if it does.

---

##### `fsGroup`<sup>Optional</sup> <a name="fsGroup" id="cdk8s-plus-32.PodSecurityContextProps.property.fsGroup"></a>

```java
public java.lang.Number getFsGroup();
```

- *Type:* java.lang.Number
- *Default:* Volume ownership is not changed.

Modify the ownership and permissions of pod volumes to this GID.

---

##### `fsGroupChangePolicy`<sup>Optional</sup> <a name="fsGroupChangePolicy" id="cdk8s-plus-32.PodSecurityContextProps.property.fsGroupChangePolicy"></a>

```java
public FsGroupChangePolicy getFsGroupChangePolicy();
```

- *Type:* <a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a>
- *Default:* FsGroupChangePolicy.ALWAYS

Defines behavior of changing ownership and permission of the volume before being exposed inside Pod.

This field will only apply to volume types which support fsGroup based ownership(and permissions).
It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.PodSecurityContextProps.property.group"></a>

```java
public java.lang.Number getGroup();
```

- *Type:* java.lang.Number
- *Default:* Group configured by container runtime

The GID to run the entrypoint of the container process.

---

##### `sysctls`<sup>Optional</sup> <a name="sysctls" id="cdk8s-plus-32.PodSecurityContextProps.property.sysctls"></a>

```java
public java.util.List<Sysctl> getSysctls();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>>
- *Default:* No sysctls

Sysctls hold a list of namespaced sysctls used for the pod.

Pods with unsupported sysctls (by the container runtime) might fail to launch.

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.PodSecurityContextProps.property.user"></a>

```java
public java.lang.Number getUser();
```

- *Type:* java.lang.Number
- *Default:* User specified in image metadata

The UID to run the entrypoint of the container process.

---

### PodSelectorConfig <a name="PodSelectorConfig" id="cdk8s-plus-32.PodSelectorConfig"></a>

Configuration for selecting pods, optionally in particular namespaces.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodSelectorConfig.Initializer"></a>

```java
import org.cdk8s.plus32.PodSelectorConfig;

PodSelectorConfig.builder()
    .labelSelector(LabelSelector)
//  .namespaces(NamespaceSelectorConfig)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSelectorConfig.property.labelSelector">labelSelector</a></code> | <code><a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a></code> | A selector to select pods by labels. |
| <code><a href="#cdk8s-plus-32.PodSelectorConfig.property.namespaces">namespaces</a></code> | <code><a href="#cdk8s-plus-32.NamespaceSelectorConfig">NamespaceSelectorConfig</a></code> | Configuration for selecting which namepsaces are the pods allowed to be in. |

---

##### `labelSelector`<sup>Required</sup> <a name="labelSelector" id="cdk8s-plus-32.PodSelectorConfig.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* <a href="#cdk8s-plus-32.LabelSelector">LabelSelector</a>

A selector to select pods by labels.

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.PodSelectorConfig.property.namespaces"></a>

```java
public NamespaceSelectorConfig getNamespaces();
```

- *Type:* <a href="#cdk8s-plus-32.NamespaceSelectorConfig">NamespaceSelectorConfig</a>

Configuration for selecting which namepsaces are the pods allowed to be in.

---

### PodsMetricSourceV2 <a name="PodsMetricSourceV2" id="cdk8s-plus-32.k8s.PodsMetricSourceV2"></a>

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

The values will be averaged together before being compared to the target value.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodsMetricSourceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodsMetricSourceV2;

PodsMetricSourceV2.builder()
    .metric(MetricIdentifierV2)
    .target(MetricTargetV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodsMetricSourceV2.property.metric">metric</a></code> | <code>org.cdk8s.plus32.k8s.MetricIdentifierV2</code> | metric identifies the target metric by name and selector. |
| <code><a href="#cdk8s-plus-32.k8s.PodsMetricSourceV2.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.MetricTargetV2</code> | target specifies the target value for the given metric. |

---

##### `metric`<sup>Required</sup> <a name="metric" id="cdk8s-plus-32.k8s.PodsMetricSourceV2.property.metric"></a>

```java
public MetricIdentifierV2 getMetric();
```

- *Type:* org.cdk8s.plus32.k8s.MetricIdentifierV2

metric identifies the target metric by name and selector.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.PodsMetricSourceV2.property.target"></a>

```java
public MetricTargetV2 getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.MetricTargetV2

target specifies the target value for the given metric.

---

### PodSpec <a name="PodSpec" id="cdk8s-plus-32.k8s.PodSpec"></a>

PodSpec is a description of a pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodSpec;

PodSpec.builder()
    .containers(java.util.List<Container>)
//  .activeDeadlineSeconds(java.lang.Number)
//  .affinity(Affinity)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .dnsConfig(PodDnsConfig)
//  .dnsPolicy(java.lang.String)
//  .enableServiceLinks(java.lang.Boolean)
//  .ephemeralContainers(java.util.List<EphemeralContainer>)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostIpc(java.lang.Boolean)
//  .hostname(java.lang.String)
//  .hostNetwork(java.lang.Boolean)
//  .hostPid(java.lang.Boolean)
//  .hostUsers(java.lang.Boolean)
//  .imagePullSecrets(java.util.List<LocalObjectReference>)
//  .initContainers(java.util.List<Container>)
//  .nodeName(java.lang.String)
//  .nodeSelector(java.util.Map<java.lang.String, java.lang.String>)
//  .os(PodOs)
//  .overhead(java.util.Map<java.lang.String, Quantity>)
//  .preemptionPolicy(java.lang.String)
//  .priority(java.lang.Number)
//  .priorityClassName(java.lang.String)
//  .readinessGates(java.util.List<PodReadinessGate>)
//  .resourceClaims(java.util.List<PodResourceClaim>)
//  .resources(ResourceRequirements)
//  .restartPolicy(java.lang.String)
//  .runtimeClassName(java.lang.String)
//  .schedulerName(java.lang.String)
//  .schedulingGates(java.util.List<PodSchedulingGate>)
//  .securityContext(PodSecurityContext)
//  .serviceAccount(java.lang.String)
//  .serviceAccountName(java.lang.String)
//  .setHostnameAsFqdn(java.lang.Boolean)
//  .shareProcessNamespace(java.lang.Boolean)
//  .subdomain(java.lang.String)
//  .terminationGracePeriodSeconds(java.lang.Number)
//  .tolerations(java.util.List<Toleration>)
//  .topologySpreadConstraints(java.util.List<TopologySpreadConstraint>)
//  .volumes(java.util.List<Volume>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.containers">containers</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Container></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.activeDeadlineSeconds">activeDeadlineSeconds</a></code> | <code>java.lang.Number</code> | Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.affinity">affinity</a></code> | <code>org.cdk8s.plus32.k8s.Affinity</code> | If specified, the pod's scheduling constraints. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.dnsConfig">dnsConfig</a></code> | <code>org.cdk8s.plus32.k8s.PodDnsConfig</code> | Specifies the DNS parameters of a pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.dnsPolicy">dnsPolicy</a></code> | <code>java.lang.String</code> | Set DNS policy for the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.ephemeralContainers">ephemeralContainers</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.EphemeralContainer></code> | List of ephemeral containers run in this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostAliases">hostAliases</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.HostAlias></code> | HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostIpc">hostIpc</a></code> | <code>java.lang.Boolean</code> | Use the host's ipc namespace. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostname">hostname</a></code> | <code>java.lang.String</code> | Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host networking requested for this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostPid">hostPid</a></code> | <code>java.lang.Boolean</code> | Use the host's pid namespace. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.hostUsers">hostUsers</a></code> | <code>java.lang.Boolean</code> | Use the host's user namespace. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.imagePullSecrets">imagePullSecrets</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference></code> | ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.initContainers">initContainers</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Container></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | NodeName indicates in which node this pod is scheduled. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.nodeSelector">nodeSelector</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | NodeSelector is a selector which must be true for the pod to fit on a node. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.os">os</a></code> | <code>org.cdk8s.plus32.k8s.PodOs</code> | Specifies the OS of the containers in the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.overhead">overhead</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.preemptionPolicy">preemptionPolicy</a></code> | <code>java.lang.String</code> | PreemptionPolicy is the Policy for preempting pods with lower priority. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.priority">priority</a></code> | <code>java.lang.Number</code> | The priority value. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.priorityClassName">priorityClassName</a></code> | <code>java.lang.String</code> | If specified, indicates the pod's priority. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.readinessGates">readinessGates</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodReadinessGate></code> | If specified, all readiness gates will be evaluated for pod readiness. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.resourceClaims">resourceClaims</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodResourceClaim></code> | ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.resources">resources</a></code> | <code>org.cdk8s.plus32.k8s.ResourceRequirements</code> | Resources is the total amount of CPU and Memory resources required by all containers in the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.restartPolicy">restartPolicy</a></code> | <code>java.lang.String</code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.runtimeClassName">runtimeClassName</a></code> | <code>java.lang.String</code> | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.schedulerName">schedulerName</a></code> | <code>java.lang.String</code> | If specified, the pod will be dispatched by specified scheduler. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.schedulingGates">schedulingGates</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.PodSchedulingGate></code> | SchedulingGates is an opaque list of values that if specified will block scheduling the pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.securityContext">securityContext</a></code> | <code>org.cdk8s.plus32.k8s.PodSecurityContext</code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.serviceAccount">serviceAccount</a></code> | <code>java.lang.String</code> | DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.serviceAccountName">serviceAccountName</a></code> | <code>java.lang.String</code> | ServiceAccountName is the name of the ServiceAccount to use to run this pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.setHostnameAsFqdn">setHostnameAsFqdn</a></code> | <code>java.lang.Boolean</code> | If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | Share a single process namespace between all of the containers in a pod. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.subdomain">subdomain</a></code> | <code>java.lang.String</code> | If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.terminationGracePeriodSeconds">terminationGracePeriodSeconds</a></code> | <code>java.lang.Number</code> | Optional duration in seconds the pod needs to terminate gracefully. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.tolerations">tolerations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Toleration></code> | If specified, the pod's tolerations. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.topologySpreadConstraints">topologySpreadConstraints</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.TopologySpreadConstraint></code> | TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. |
| <code><a href="#cdk8s-plus-32.k8s.PodSpec.property.volumes">volumes</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Volume></code> | List of volumes that can be mounted by containers belonging to the pod. |

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.k8s.PodSpec.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Container>

List of containers belonging to the pod.

Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.

---

##### `activeDeadlineSeconds`<sup>Optional</sup> <a name="activeDeadlineSeconds" id="cdk8s-plus-32.k8s.PodSpec.property.activeDeadlineSeconds"></a>

```java
public java.lang.Number getActiveDeadlineSeconds();
```

- *Type:* java.lang.Number

Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers.

Value must be a positive integer.

---

##### `affinity`<sup>Optional</sup> <a name="affinity" id="cdk8s-plus-32.k8s.PodSpec.property.affinity"></a>

```java
public Affinity getAffinity();
```

- *Type:* org.cdk8s.plus32.k8s.Affinity

If specified, the pod's scheduling constraints.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.k8s.PodSpec.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean

AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.

---

##### `dnsConfig`<sup>Optional</sup> <a name="dnsConfig" id="cdk8s-plus-32.k8s.PodSpec.property.dnsConfig"></a>

```java
public PodDnsConfig getDnsConfig();
```

- *Type:* org.cdk8s.plus32.k8s.PodDnsConfig

Specifies the DNS parameters of a pod.

Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.

---

##### `dnsPolicy`<sup>Optional</sup> <a name="dnsPolicy" id="cdk8s-plus-32.k8s.PodSpec.property.dnsPolicy"></a>

```java
public java.lang.String getDnsPolicy();
```

- *Type:* java.lang.String
- *Default:* ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

Set DNS policy for the pod.

Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.k8s.PodSpec.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true.

EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

Optional: Defaults to true.

---

##### `ephemeralContainers`<sup>Optional</sup> <a name="ephemeralContainers" id="cdk8s-plus-32.k8s.PodSpec.property.ephemeralContainers"></a>

```java
public java.util.List<EphemeralContainer> getEphemeralContainers();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.EphemeralContainer>

List of ephemeral containers run in this pod.

Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.k8s.PodSpec.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.HostAlias>

HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified.

---

##### `hostIpc`<sup>Optional</sup> <a name="hostIpc" id="cdk8s-plus-32.k8s.PodSpec.property.hostIpc"></a>

```java
public java.lang.Boolean getHostIpc();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Use the host's ipc namespace.

Optional: Default to false.

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.k8s.PodSpec.property.hostname"></a>

```java
public java.lang.String getHostname();
```

- *Type:* java.lang.String

Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.k8s.PodSpec.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Host networking requested for this pod.

Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.

---

##### `hostPid`<sup>Optional</sup> <a name="hostPid" id="cdk8s-plus-32.k8s.PodSpec.property.hostPid"></a>

```java
public java.lang.Boolean getHostPid();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Use the host's pid namespace.

Optional: Default to false.

---

##### `hostUsers`<sup>Optional</sup> <a name="hostUsers" id="cdk8s-plus-32.k8s.PodSpec.property.hostUsers"></a>

```java
public java.lang.Boolean getHostUsers();
```

- *Type:* java.lang.Boolean
- *Default:* true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.

Use the host's user namespace.

Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.

---

##### `imagePullSecrets`<sup>Optional</sup> <a name="imagePullSecrets" id="cdk8s-plus-32.k8s.PodSpec.property.imagePullSecrets"></a>

```java
public java.util.List<LocalObjectReference> getImagePullSecrets();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.LocalObjectReference>

ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.

If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.k8s.PodSpec.property.initContainers"></a>

```java
public java.util.List<Container> getInitContainers();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Container>

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

---

##### `nodeName`<sup>Optional</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.PodSpec.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

NodeName indicates in which node this pod is scheduled.

If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename

---

##### `nodeSelector`<sup>Optional</sup> <a name="nodeSelector" id="cdk8s-plus-32.k8s.PodSpec.property.nodeSelector"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getNodeSelector();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

NodeSelector is a selector which must be true for the pod to fit on a node.

Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

---

##### `os`<sup>Optional</sup> <a name="os" id="cdk8s-plus-32.k8s.PodSpec.property.os"></a>

```java
public PodOs getOs();
```

- *Type:* org.cdk8s.plus32.k8s.PodOs

Specifies the OS of the containers in the pod.

Some pod and container fields are restricted if this is set.

If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions

If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup

---

##### `overhead`<sup>Optional</sup> <a name="overhead" id="cdk8s-plus-32.k8s.PodSpec.property.overhead"></a>

```java
public java.util.Map<java.lang.String, Quantity> getOverhead();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.

This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md

---

##### `preemptionPolicy`<sup>Optional</sup> <a name="preemptionPolicy" id="cdk8s-plus-32.k8s.PodSpec.property.preemptionPolicy"></a>

```java
public java.lang.String getPreemptionPolicy();
```

- *Type:* java.lang.String
- *Default:* PreemptLowerPriority if unset.

PreemptionPolicy is the Policy for preempting pods with lower priority.

One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.

---

##### `priority`<sup>Optional</sup> <a name="priority" id="cdk8s-plus-32.k8s.PodSpec.property.priority"></a>

```java
public java.lang.Number getPriority();
```

- *Type:* java.lang.Number

The priority value.

Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.

---

##### `priorityClassName`<sup>Optional</sup> <a name="priorityClassName" id="cdk8s-plus-32.k8s.PodSpec.property.priorityClassName"></a>

```java
public java.lang.String getPriorityClassName();
```

- *Type:* java.lang.String

If specified, indicates the pod's priority.

"system-node-critical" and "system-cluster-critical" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.

---

##### `readinessGates`<sup>Optional</sup> <a name="readinessGates" id="cdk8s-plus-32.k8s.PodSpec.property.readinessGates"></a>

```java
public java.util.List<PodReadinessGate> getReadinessGates();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodReadinessGate>

If specified, all readiness gates will be evaluated for pod readiness.

A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to "True" More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates

---

##### `resourceClaims`<sup>Optional</sup> <a name="resourceClaims" id="cdk8s-plus-32.k8s.PodSpec.property.resourceClaims"></a>

```java
public java.util.List<PodResourceClaim> getResourceClaims();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodResourceClaim>

ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start.

The resources will be made available to those containers which consume them by name.

This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.

This field is immutable.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.PodSpec.property.resources"></a>

```java
public ResourceRequirements getResources();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceRequirements

Resources is the total amount of CPU and Memory resources required by all containers in the pod.

It supports specifying Requests and Limits for "cpu" and "memory" resource names only. ResourceClaims are not supported.

This field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.

This is an alpha field and requires enabling the PodLevelResources feature gate.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.k8s.PodSpec.property.restartPolicy"></a>

```java
public java.lang.String getRestartPolicy();
```

- *Type:* java.lang.String
- *Default:* Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

Restart policy for all containers within the pod.

One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

---

##### `runtimeClassName`<sup>Optional</sup> <a name="runtimeClassName" id="cdk8s-plus-32.k8s.PodSpec.property.runtimeClassName"></a>

```java
public java.lang.String getRuntimeClassName();
```

- *Type:* java.lang.String

RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod.  If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the "legacy" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class.

---

##### `schedulerName`<sup>Optional</sup> <a name="schedulerName" id="cdk8s-plus-32.k8s.PodSpec.property.schedulerName"></a>

```java
public java.lang.String getSchedulerName();
```

- *Type:* java.lang.String

If specified, the pod will be dispatched by specified scheduler.

If not specified, the pod will be dispatched by default scheduler.

---

##### `schedulingGates`<sup>Optional</sup> <a name="schedulingGates" id="cdk8s-plus-32.k8s.PodSpec.property.schedulingGates"></a>

```java
public java.util.List<PodSchedulingGate> getSchedulingGates();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.PodSchedulingGate>

SchedulingGates is an opaque list of values that if specified will block scheduling the pod.

If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.

SchedulingGates can only be set at pod creation time, and be removed only afterwards.

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.k8s.PodSpec.property.securityContext"></a>

```java
public PodSecurityContext getSecurityContext();
```

- *Type:* org.cdk8s.plus32.k8s.PodSecurityContext
- *Default:* empty.  See type description for default values of each field.

SecurityContext holds pod-level security attributes and common container settings.

Optional: Defaults to empty.  See type description for default values of each field.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.k8s.PodSpec.property.serviceAccount"></a>

```java
public java.lang.String getServiceAccount();
```

- *Type:* java.lang.String

DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.

Deprecated: Use serviceAccountName instead.

---

##### `serviceAccountName`<sup>Optional</sup> <a name="serviceAccountName" id="cdk8s-plus-32.k8s.PodSpec.property.serviceAccountName"></a>

```java
public java.lang.String getServiceAccountName();
```

- *Type:* java.lang.String

ServiceAccountName is the name of the ServiceAccount to use to run this pod.

More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

---

##### `setHostnameAsFqdn`<sup>Optional</sup> <a name="setHostnameAsFqdn" id="cdk8s-plus-32.k8s.PodSpec.property.setHostnameAsFqdn"></a>

```java
public java.lang.Boolean getSetHostnameAsFqdn();
```

- *Type:* java.lang.Boolean
- *Default:* false.

If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).

In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.k8s.PodSpec.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Share a single process namespace between all of the containers in a pod.

When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false.

---

##### `subdomain`<sup>Optional</sup> <a name="subdomain" id="cdk8s-plus-32.k8s.PodSpec.property.subdomain"></a>

```java
public java.lang.String getSubdomain();
```

- *Type:* java.lang.String

If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not specified, the pod will not have a domainname at all.

---

##### `terminationGracePeriodSeconds`<sup>Optional</sup> <a name="terminationGracePeriodSeconds" id="cdk8s-plus-32.k8s.PodSpec.property.terminationGracePeriodSeconds"></a>

```java
public java.lang.Number getTerminationGracePeriodSeconds();
```

- *Type:* java.lang.Number
- *Default:* 30 seconds.

Optional duration in seconds the pod needs to terminate gracefully.

May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.

---

##### `tolerations`<sup>Optional</sup> <a name="tolerations" id="cdk8s-plus-32.k8s.PodSpec.property.tolerations"></a>

```java
public java.util.List<Toleration> getTolerations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Toleration>

If specified, the pod's tolerations.

---

##### `topologySpreadConstraints`<sup>Optional</sup> <a name="topologySpreadConstraints" id="cdk8s-plus-32.k8s.PodSpec.property.topologySpreadConstraints"></a>

```java
public java.util.List<TopologySpreadConstraint> getTopologySpreadConstraints();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.TopologySpreadConstraint>

TopologySpreadConstraints describes how a group of pods ought to spread across topology domains.

Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.k8s.PodSpec.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Volume>

List of volumes that can be mounted by containers belonging to the pod.

More info: https://kubernetes.io/docs/concepts/storage/volumes

---

### PodsSelectOptions <a name="PodsSelectOptions" id="cdk8s-plus-32.PodsSelectOptions"></a>

Options for `Pods.select`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.PodsSelectOptions.Initializer"></a>

```java
import org.cdk8s.plus32.PodsSelectOptions;

PodsSelectOptions.builder()
//  .expressions(java.util.List<LabelExpression>)
//  .labels(java.util.Map<java.lang.String, java.lang.String>)
//  .namespaces(Namespaces)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodsSelectOptions.property.expressions">expressions</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>></code> | Expressions the pods must satisify. |
| <code><a href="#cdk8s-plus-32.PodsSelectOptions.property.labels">labels</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Labels the pods must have. |
| <code><a href="#cdk8s-plus-32.PodsSelectOptions.property.namespaces">namespaces</a></code> | <code><a href="#cdk8s-plus-32.Namespaces">Namespaces</a></code> | Namespaces the pods are allowed to be in. |

---

##### `expressions`<sup>Optional</sup> <a name="expressions" id="cdk8s-plus-32.PodsSelectOptions.property.expressions"></a>

```java
public java.util.List<LabelExpression> getExpressions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.LabelExpression">LabelExpression</a>>
- *Default:* no expressions requirements.

Expressions the pods must satisify.

---

##### `labels`<sup>Optional</sup> <a name="labels" id="cdk8s-plus-32.PodsSelectOptions.property.labels"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getLabels();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>
- *Default:* no strict labels requirements.

Labels the pods must have.

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.PodsSelectOptions.property.namespaces"></a>

```java
public Namespaces getNamespaces();
```

- *Type:* <a href="#cdk8s-plus-32.Namespaces">Namespaces</a>
- *Default:* unset, implies the namespace of the resource this selection is used in.

Namespaces the pods are allowed to be in.

Use `Namespaces.all()` to allow all namespaces.

---

### PodTemplateSpec <a name="PodTemplateSpec" id="cdk8s-plus-32.k8s.PodTemplateSpec"></a>

PodTemplateSpec describes the data a pod should have when created from a template.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PodTemplateSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PodTemplateSpec;

PodTemplateSpec.builder()
//  .metadata(ObjectMeta)
//  .spec(PodSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PodTemplateSpec.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | Standard object's metadata. |
| <code><a href="#cdk8s-plus-32.k8s.PodTemplateSpec.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.PodSpec</code> | Specification of the desired behavior of the pod. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.PodTemplateSpec.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

Standard object's metadata.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

---

##### `spec`<sup>Optional</sup> <a name="spec" id="cdk8s-plus-32.k8s.PodTemplateSpec.property.spec"></a>

```java
public PodSpec getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PodSpec

Specification of the desired behavior of the pod.

More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

---

### PolicyRule <a name="PolicyRule" id="cdk8s-plus-32.k8s.PolicyRule"></a>

PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PolicyRule;

PolicyRule.builder()
    .verbs(java.util.List<java.lang.String>)
//  .apiGroups(java.util.List<java.lang.String>)
//  .nonResourceUrLs(java.util.List<java.lang.String>)
//  .resourceNames(java.util.List<java.lang.String>)
//  .resources(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRule.property.verbs">verbs</a></code> | <code>java.util.List<java.lang.String></code> | Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRule.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | APIGroups is the name of the APIGroup that contains the resources. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRule.property.nonResourceUrLs">nonResourceUrLs</a></code> | <code>java.util.List<java.lang.String></code> | NonResourceURLs is a set of partial urls that a user should have access to. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRule.property.resourceNames">resourceNames</a></code> | <code>java.util.List<java.lang.String></code> | ResourceNames is an optional white list of names that the rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRule.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | Resources is a list of resources this rule applies to. |

---

##### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.k8s.PolicyRule.property.verbs"></a>

```java
public java.util.List<java.lang.String> getVerbs();
```

- *Type:* java.util.List<java.lang.String>

Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule.

'*' represents all verbs.

---

##### `apiGroups`<sup>Optional</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.PolicyRule.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

APIGroups is the name of the APIGroup that contains the resources.

If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.

---

##### `nonResourceUrLs`<sup>Optional</sup> <a name="nonResourceUrLs" id="cdk8s-plus-32.k8s.PolicyRule.property.nonResourceUrLs"></a>

```java
public java.util.List<java.lang.String> getNonResourceUrLs();
```

- *Type:* java.util.List<java.lang.String>

NonResourceURLs is a set of partial urls that a user should have access to.

*s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.

---

##### `resourceNames`<sup>Optional</sup> <a name="resourceNames" id="cdk8s-plus-32.k8s.PolicyRule.property.resourceNames"></a>

```java
public java.util.List<java.lang.String> getResourceNames();
```

- *Type:* java.util.List<java.lang.String>

ResourceNames is an optional white list of names that the rule applies to.

An empty set means that everything is allowed.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.PolicyRule.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

Resources is a list of resources this rule applies to.

'*' represents all resources.

---

### PolicyRulesWithSubjects <a name="PolicyRulesWithSubjects" id="cdk8s-plus-32.k8s.PolicyRulesWithSubjects"></a>

PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver.

The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PolicyRulesWithSubjects.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PolicyRulesWithSubjects;

PolicyRulesWithSubjects.builder()
    .subjects(java.util.List<Subject>)
//  .nonResourceRules(java.util.List<NonResourcePolicyRule>)
//  .resourceRules(java.util.List<ResourcePolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.subjects">subjects</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Subject></code> | subjects is the list of normal user, serviceaccount, or group that this rule cares about. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.nonResourceRules">nonResourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.NonResourcePolicyRule></code> | `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. |
| <code><a href="#cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.resourceRules">resourceRules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ResourcePolicyRule></code> | `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. |

---

##### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.subjects"></a>

```java
public java.util.List<Subject> getSubjects();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Subject>

subjects is the list of normal user, serviceaccount, or group that this rule cares about.

There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.

---

##### `nonResourceRules`<sup>Optional</sup> <a name="nonResourceRules" id="cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.nonResourceRules"></a>

```java
public java.util.List<NonResourcePolicyRule> getNonResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.NonResourcePolicyRule>

`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.

---

##### `resourceRules`<sup>Optional</sup> <a name="resourceRules" id="cdk8s-plus-32.k8s.PolicyRulesWithSubjects.property.resourceRules"></a>

```java
public java.util.List<ResourcePolicyRule> getResourceRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ResourcePolicyRule>

`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource.

At least one of `resourceRules` and `nonResourceRules` has to be non-empty.

---

### PortworxVolumeSource <a name="PortworxVolumeSource" id="cdk8s-plus-32.k8s.PortworxVolumeSource"></a>

PortworxVolumeSource represents a Portworx volume resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PortworxVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PortworxVolumeSource;

PortworxVolumeSource.builder()
    .volumeId(java.lang.String)
//  .fsType(java.lang.String)
//  .readOnly(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PortworxVolumeSource.property.volumeId">volumeId</a></code> | <code>java.lang.String</code> | volumeID uniquely identifies a Portworx volume. |
| <code><a href="#cdk8s-plus-32.k8s.PortworxVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. |
| <code><a href="#cdk8s-plus-32.k8s.PortworxVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |

---

##### `volumeId`<sup>Required</sup> <a name="volumeId" id="cdk8s-plus-32.k8s.PortworxVolumeSource.property.volumeId"></a>

```java
public java.lang.String getVolumeId();
```

- *Type:* java.lang.String

volumeID uniquely identifies a Portworx volume.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.PortworxVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.

Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.PortworxVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

### Preconditions <a name="Preconditions" id="cdk8s-plus-32.k8s.Preconditions"></a>

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Preconditions.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Preconditions;

Preconditions.builder()
//  .resourceVersion(java.lang.String)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Preconditions.property.resourceVersion">resourceVersion</a></code> | <code>java.lang.String</code> | Specifies the target ResourceVersion. |
| <code><a href="#cdk8s-plus-32.k8s.Preconditions.property.uid">uid</a></code> | <code>java.lang.String</code> | Specifies the target UID. |

---

##### `resourceVersion`<sup>Optional</sup> <a name="resourceVersion" id="cdk8s-plus-32.k8s.Preconditions.property.resourceVersion"></a>

```java
public java.lang.String getResourceVersion();
```

- *Type:* java.lang.String

Specifies the target ResourceVersion.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.Preconditions.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

Specifies the target UID.

---

### PreferredSchedulingTerm <a name="PreferredSchedulingTerm" id="cdk8s-plus-32.k8s.PreferredSchedulingTerm"></a>

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PreferredSchedulingTerm.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PreferredSchedulingTerm;

PreferredSchedulingTerm.builder()
    .preference(NodeSelectorTerm)
    .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PreferredSchedulingTerm.property.preference">preference</a></code> | <code>org.cdk8s.plus32.k8s.NodeSelectorTerm</code> | A node selector term, associated with the corresponding weight. |
| <code><a href="#cdk8s-plus-32.k8s.PreferredSchedulingTerm.property.weight">weight</a></code> | <code>java.lang.Number</code> | Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. |

---

##### `preference`<sup>Required</sup> <a name="preference" id="cdk8s-plus-32.k8s.PreferredSchedulingTerm.property.preference"></a>

```java
public NodeSelectorTerm getPreference();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSelectorTerm

A node selector term, associated with the corresponding weight.

---

##### `weight`<sup>Required</sup> <a name="weight" id="cdk8s-plus-32.k8s.PreferredSchedulingTerm.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number

Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

---

### PriorityLevelConfigurationReference <a name="PriorityLevelConfigurationReference" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationReference"></a>

PriorityLevelConfigurationReference contains information that points to the "request-priority" being used.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PriorityLevelConfigurationReference;

PriorityLevelConfigurationReference.builder()
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PriorityLevelConfigurationReference.property.name">name</a></code> | <code>java.lang.String</code> | `name` is the name of the priority level configuration being referenced Required. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

`name` is the name of the priority level configuration being referenced Required.

---

### PriorityLevelConfigurationSpec <a name="PriorityLevelConfigurationSpec" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec"></a>

PriorityLevelConfigurationSpec specifies the configuration of a priority level.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.PriorityLevelConfigurationSpec;

PriorityLevelConfigurationSpec.builder()
    .type(java.lang.String)
//  .exempt(ExemptPriorityLevelConfiguration)
//  .limited(LimitedPriorityLevelConfiguration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.type">type</a></code> | <code>java.lang.String</code> | `type` indicates whether this priority level is subject to limitation on request execution. |
| <code><a href="#cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.exempt">exempt</a></code> | <code>org.cdk8s.plus32.k8s.ExemptPriorityLevelConfiguration</code> | `exempt` specifies how requests are handled for an exempt priority level. |
| <code><a href="#cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.limited">limited</a></code> | <code>org.cdk8s.plus32.k8s.LimitedPriorityLevelConfiguration</code> | `limited` specifies how requests are handled for a Limited priority level. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

`type` indicates whether this priority level is subject to limitation on request execution.

A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels.  A value of `"Limited"` means that (a) requests of this priority level *are* subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.

---

##### `exempt`<sup>Optional</sup> <a name="exempt" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.exempt"></a>

```java
public ExemptPriorityLevelConfiguration getExempt();
```

- *Type:* org.cdk8s.plus32.k8s.ExemptPriorityLevelConfiguration

`exempt` specifies how requests are handled for an exempt priority level.

This field MUST be empty if `type` is `"Limited"`. This field MAY be non-empty if `type` is `"Exempt"`. If empty and `type` is `"Exempt"` then the default values for `ExemptPriorityLevelConfiguration` apply.

---

##### `limited`<sup>Optional</sup> <a name="limited" id="cdk8s-plus-32.k8s.PriorityLevelConfigurationSpec.property.limited"></a>

```java
public LimitedPriorityLevelConfiguration getLimited();
```

- *Type:* org.cdk8s.plus32.k8s.LimitedPriorityLevelConfiguration

`limited` specifies how requests are handled for a Limited priority level.

This field must be non-empty if and only if `type` is `"Limited"`.

---

### Probe <a name="Probe" id="cdk8s-plus-32.k8s.Probe"></a>

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Probe.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Probe;

Probe.builder()
//  .exec(ExecAction)
//  .failureThreshold(java.lang.Number)
//  .grpc(GrpcAction)
//  .httpGet(HttpGetAction)
//  .initialDelaySeconds(java.lang.Number)
//  .periodSeconds(java.lang.Number)
//  .successThreshold(java.lang.Number)
//  .tcpSocket(TcpSocketAction)
//  .terminationGracePeriodSeconds(java.lang.Number)
//  .timeoutSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.exec">exec</a></code> | <code>org.cdk8s.plus32.k8s.ExecAction</code> | Exec specifies a command to execute in the container. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.grpc">grpc</a></code> | <code>org.cdk8s.plus32.k8s.GrpcAction</code> | GRPC specifies a GRPC HealthCheckRequest. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.httpGet">httpGet</a></code> | <code>org.cdk8s.plus32.k8s.HttpGetAction</code> | HTTPGet specifies an HTTP GET request to perform. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>java.lang.Number</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.periodSeconds">periodSeconds</a></code> | <code>java.lang.Number</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.tcpSocket">tcpSocket</a></code> | <code>org.cdk8s.plus32.k8s.TcpSocketAction</code> | TCPSocket specifies a connection to a TCP port. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.terminationGracePeriodSeconds">terminationGracePeriodSeconds</a></code> | <code>java.lang.Number</code> | Optional duration in seconds the pod needs to terminate gracefully upon probe failure. |
| <code><a href="#cdk8s-plus-32.k8s.Probe.property.timeoutSeconds">timeoutSeconds</a></code> | <code>java.lang.Number</code> | Number of seconds after which the probe times out. |

---

##### `exec`<sup>Optional</sup> <a name="exec" id="cdk8s-plus-32.k8s.Probe.property.exec"></a>

```java
public ExecAction getExec();
```

- *Type:* org.cdk8s.plus32.k8s.ExecAction

Exec specifies a command to execute in the container.

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.k8s.Probe.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3. Minimum value is 1.

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `grpc`<sup>Optional</sup> <a name="grpc" id="cdk8s-plus-32.k8s.Probe.property.grpc"></a>

```java
public GrpcAction getGrpc();
```

- *Type:* org.cdk8s.plus32.k8s.GrpcAction

GRPC specifies a GRPC HealthCheckRequest.

---

##### `httpGet`<sup>Optional</sup> <a name="httpGet" id="cdk8s-plus-32.k8s.Probe.property.httpGet"></a>

```java
public HttpGetAction getHttpGet();
```

- *Type:* org.cdk8s.plus32.k8s.HttpGetAction

HTTPGet specifies an HTTP GET request to perform.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.k8s.Probe.property.initialDelaySeconds"></a>

```java
public java.lang.Number getInitialDelaySeconds();
```

- *Type:* java.lang.Number

Number of seconds after the container has started before liveness probes are initiated.

More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.k8s.Probe.property.periodSeconds"></a>

```java
public java.lang.Number getPeriodSeconds();
```

- *Type:* java.lang.Number
- *Default:* 10 seconds. Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.k8s.Probe.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1. Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed.

Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.

---

##### `tcpSocket`<sup>Optional</sup> <a name="tcpSocket" id="cdk8s-plus-32.k8s.Probe.property.tcpSocket"></a>

```java
public TcpSocketAction getTcpSocket();
```

- *Type:* org.cdk8s.plus32.k8s.TcpSocketAction

TCPSocket specifies a connection to a TCP port.

---

##### `terminationGracePeriodSeconds`<sup>Optional</sup> <a name="terminationGracePeriodSeconds" id="cdk8s-plus-32.k8s.Probe.property.terminationGracePeriodSeconds"></a>

```java
public java.lang.Number getTerminationGracePeriodSeconds();
```

- *Type:* java.lang.Number

Optional duration in seconds the pod needs to terminate gracefully upon probe failure.

The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.k8s.Probe.property.timeoutSeconds"></a>

```java
public java.lang.Number getTimeoutSeconds();
```

- *Type:* java.lang.Number
- *Default:* 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

---

### ProbeOptions <a name="ProbeOptions" id="cdk8s-plus-32.ProbeOptions"></a>

Probe options.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ProbeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ProbeOptions;

ProbeOptions.builder()
//  .failureThreshold(java.lang.Number)
//  .initialDelaySeconds(Duration)
//  .periodSeconds(Duration)
//  .successThreshold(java.lang.Number)
//  .timeoutSeconds(Duration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ProbeOptions.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.ProbeOptions.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.ProbeOptions.property.periodSeconds">periodSeconds</a></code> | <code>org.cdk8s.Duration</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.ProbeOptions.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. |
| <code><a href="#cdk8s-plus-32.ProbeOptions.property.timeoutSeconds">timeoutSeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after which the probe times out. |

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.ProbeOptions.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.ProbeOptions.property.initialDelaySeconds"></a>

```java
public Duration getInitialDelaySeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* immediate

Number of seconds after the container has started before liveness probes are initiated.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.ProbeOptions.property.periodSeconds"></a>

```java
public Duration getPeriodSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10) Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.ProbeOptions.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

Must be 1 for liveness and startup. Minimum value is 1.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.ProbeOptions.property.timeoutSeconds"></a>

```java
public Duration getTimeoutSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(1)

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

### ProjectedVolumeSource <a name="ProjectedVolumeSource" id="cdk8s-plus-32.k8s.ProjectedVolumeSource"></a>

Represents a projected volume source.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ProjectedVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ProjectedVolumeSource;

ProjectedVolumeSource.builder()
//  .defaultMode(java.lang.Number)
//  .sources(java.util.List<VolumeProjection>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ProjectedVolumeSource.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | defaultMode are the mode bits used to set permissions on created files by default. |
| <code><a href="#cdk8s-plus-32.k8s.ProjectedVolumeSource.property.sources">sources</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VolumeProjection></code> | sources is the list of volume projections. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.k8s.ProjectedVolumeSource.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number

defaultMode are the mode bits used to set permissions on created files by default.

Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

##### `sources`<sup>Optional</sup> <a name="sources" id="cdk8s-plus-32.k8s.ProjectedVolumeSource.property.sources"></a>

```java
public java.util.List<VolumeProjection> getSources();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VolumeProjection>

sources is the list of volume projections.

Each entry in this list handles one source.

---

### QueuingConfiguration <a name="QueuingConfiguration" id="cdk8s-plus-32.k8s.QueuingConfiguration"></a>

QueuingConfiguration holds the configuration parameters for queuing.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.QueuingConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.QueuingConfiguration;

QueuingConfiguration.builder()
//  .handSize(java.lang.Number)
//  .queueLengthLimit(java.lang.Number)
//  .queues(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.QueuingConfiguration.property.handSize">handSize</a></code> | <code>java.lang.Number</code> | `handSize` is a small positive number that configures the shuffle sharding of requests into queues. |
| <code><a href="#cdk8s-plus-32.k8s.QueuingConfiguration.property.queueLengthLimit">queueLengthLimit</a></code> | <code>java.lang.Number</code> | `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; |
| <code><a href="#cdk8s-plus-32.k8s.QueuingConfiguration.property.queues">queues</a></code> | <code>java.lang.Number</code> | `queues` is the number of queues for this priority level. |

---

##### `handSize`<sup>Optional</sup> <a name="handSize" id="cdk8s-plus-32.k8s.QueuingConfiguration.property.handSize"></a>

```java
public java.lang.Number getHandSize();
```

- *Type:* java.lang.Number

`handSize` is a small positive number that configures the shuffle sharding of requests into queues.

When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here.  The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues).  See the user-facing documentation for more extensive guidance on setting this field.  This field has a default value of 8.

---

##### `queueLengthLimit`<sup>Optional</sup> <a name="queueLengthLimit" id="cdk8s-plus-32.k8s.QueuingConfiguration.property.queueLengthLimit"></a>

```java
public java.lang.Number getQueueLengthLimit();
```

- *Type:* java.lang.Number

`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time;

excess requests are rejected.  This value must be positive.  If not specified, it will be defaulted to 50.

---

##### `queues`<sup>Optional</sup> <a name="queues" id="cdk8s-plus-32.k8s.QueuingConfiguration.property.queues"></a>

```java
public java.lang.Number getQueues();
```

- *Type:* java.lang.Number

`queues` is the number of queues for this priority level.

The queues exist independently at each apiserver. The value must be positive.  Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant.  This field has a default value of 64.

---

### QuobyteVolumeSource <a name="QuobyteVolumeSource" id="cdk8s-plus-32.k8s.QuobyteVolumeSource"></a>

Represents a Quobyte mount that lasts the lifetime of a pod.

Quobyte volumes do not support ownership management or SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.QuobyteVolumeSource;

QuobyteVolumeSource.builder()
    .registry(java.lang.String)
    .volume(java.lang.String)
//  .group(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .tenant(java.lang.String)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.registry">registry</a></code> | <code>java.lang.String</code> | registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes. |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.volume">volume</a></code> | <code>java.lang.String</code> | volume is a string that references an already created Quobyte volume by name. |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.group">group</a></code> | <code>java.lang.String</code> | group to map volume access to Default is no group. |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the Quobyte volume to be mounted with read-only permissions. |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.tenant">tenant</a></code> | <code>java.lang.String</code> | tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin. |
| <code><a href="#cdk8s-plus-32.k8s.QuobyteVolumeSource.property.user">user</a></code> | <code>java.lang.String</code> | user to map volume access to Defaults to serivceaccount user. |

---

##### `registry`<sup>Required</sup> <a name="registry" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.registry"></a>

```java
public java.lang.String getRegistry();
```

- *Type:* java.lang.String

registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes.

---

##### `volume`<sup>Required</sup> <a name="volume" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.volume"></a>

```java
public java.lang.String getVolume();
```

- *Type:* java.lang.String

volume is a string that references an already created Quobyte volume by name.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String
- *Default:* no group

group to map volume access to Default is no group.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false.

readOnly here will force the Quobyte volume to be mounted with read-only permissions.

Defaults to false.

---

##### `tenant`<sup>Optional</sup> <a name="tenant" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.tenant"></a>

```java
public java.lang.String getTenant();
```

- *Type:* java.lang.String

tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin.

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.QuobyteVolumeSource.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String
- *Default:* serivceaccount user

user to map volume access to Defaults to serivceaccount user.

---

### RbdPersistentVolumeSource <a name="RbdPersistentVolumeSource" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource"></a>

Represents a Rados Block Device mount that lasts the lifetime of a pod.

RBD volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RbdPersistentVolumeSource;

RbdPersistentVolumeSource.builder()
    .image(java.lang.String)
    .monitors(java.util.List<java.lang.String>)
//  .fsType(java.lang.String)
//  .keyring(java.lang.String)
//  .pool(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(SecretReference)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.image">image</a></code> | <code>java.lang.String</code> | image is the rados image name. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.monitors">monitors</a></code> | <code>java.util.List<java.lang.String></code> | monitors is a collection of Ceph monitors. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.keyring">keyring</a></code> | <code>java.lang.String</code> | keyring is the path to key ring for RBDUser. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.pool">pool</a></code> | <code>java.lang.String</code> | pool is the rados pool name. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the ReadOnly setting in VolumeMounts. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef is name of the authentication secret for RBDUser. |
| <code><a href="#cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.user">user</a></code> | <code>java.lang.String</code> | user is the rados user name. |

---

##### `image`<sup>Required</sup> <a name="image" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

image is the rados image name.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `monitors`<sup>Required</sup> <a name="monitors" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.monitors"></a>

```java
public java.util.List<java.lang.String> getMonitors();
```

- *Type:* java.util.List<java.lang.String>

monitors is a collection of Ceph monitors.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd

---

##### `keyring`<sup>Optional</sup> <a name="keyring" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.keyring"></a>

```java
public java.lang.String getKeyring();
```

- *Type:* java.lang.String
- *Default:* etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

keyring is the path to key ring for RBDUser.

Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `pool`<sup>Optional</sup> <a name="pool" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.pool"></a>

```java
public java.lang.String getPool();
```

- *Type:* java.lang.String
- *Default:* rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

pool is the rados pool name.

Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference
- *Default:* nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

secretRef is name of the authentication secret for RBDUser.

If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.RbdPersistentVolumeSource.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String
- *Default:* admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

user is the rados user name.

Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

### RbdVolumeSource <a name="RbdVolumeSource" id="cdk8s-plus-32.k8s.RbdVolumeSource"></a>

Represents a Rados Block Device mount that lasts the lifetime of a pod.

RBD volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RbdVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RbdVolumeSource;

RbdVolumeSource.builder()
    .image(java.lang.String)
    .monitors(java.util.List<java.lang.String>)
//  .fsType(java.lang.String)
//  .keyring(java.lang.String)
//  .pool(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(LocalObjectReference)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.image">image</a></code> | <code>java.lang.String</code> | image is the rados image name. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.monitors">monitors</a></code> | <code>java.util.List<java.lang.String></code> | monitors is a collection of Ceph monitors. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type of the volume that you want to mount. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.keyring">keyring</a></code> | <code>java.lang.String</code> | keyring is the path to key ring for RBDUser. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.pool">pool</a></code> | <code>java.lang.String</code> | pool is the rados pool name. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly here will force the ReadOnly setting in VolumeMounts. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef is name of the authentication secret for RBDUser. |
| <code><a href="#cdk8s-plus-32.k8s.RbdVolumeSource.property.user">user</a></code> | <code>java.lang.String</code> | user is the rados user name. |

---

##### `image`<sup>Required</sup> <a name="image" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

image is the rados image name.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `monitors`<sup>Required</sup> <a name="monitors" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.monitors"></a>

```java
public java.util.List<java.lang.String> getMonitors();
```

- *Type:* java.util.List<java.lang.String>

monitors is a collection of Ceph monitors.

More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type of the volume that you want to mount.

Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd

---

##### `keyring`<sup>Optional</sup> <a name="keyring" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.keyring"></a>

```java
public java.lang.String getKeyring();
```

- *Type:* java.lang.String
- *Default:* etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

keyring is the path to key ring for RBDUser.

Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `pool`<sup>Optional</sup> <a name="pool" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.pool"></a>

```java
public java.lang.String getPool();
```

- *Type:* java.lang.String
- *Default:* rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

pool is the rados pool name.

Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

readOnly here will force the ReadOnly setting in VolumeMounts.

Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference
- *Default:* nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

secretRef is name of the authentication secret for RBDUser.

If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.RbdVolumeSource.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String
- *Default:* admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

user is the rados user name.

Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

---

### ReplicaSetSpec <a name="ReplicaSetSpec" id="cdk8s-plus-32.k8s.ReplicaSetSpec"></a>

ReplicaSetSpec is the specification of a ReplicaSet.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ReplicaSetSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ReplicaSetSpec;

ReplicaSetSpec.builder()
    .selector(LabelSelector)
//  .minReadySeconds(java.lang.Number)
//  .replicas(java.lang.Number)
//  .template(PodTemplateSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ReplicaSetSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | Selector is a label query over pods that should match the replica count. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicaSetSpec.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicaSetSpec.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Replicas is the number of desired replicas. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicaSetSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Template is the object that describes the pod that will be created if insufficient replicas are detected. |

---

##### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.k8s.ReplicaSetSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

Selector is a label query over pods that should match the replica count.

Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.k8s.ReplicaSetSpec.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0 (pod will be considered available as soon as it is ready)

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready)

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.k8s.ReplicaSetSpec.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number
- *Default:* 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

Replicas is the number of desired replicas.

This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

---

##### `template`<sup>Optional</sup> <a name="template" id="cdk8s-plus-32.k8s.ReplicaSetSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Template is the object that describes the pod that will be created if insufficient replicas are detected.

More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

---

### ReplicationControllerSpec <a name="ReplicationControllerSpec" id="cdk8s-plus-32.k8s.ReplicationControllerSpec"></a>

ReplicationControllerSpec is the specification of a replication controller.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ReplicationControllerSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ReplicationControllerSpec;

ReplicationControllerSpec.builder()
//  .minReadySeconds(java.lang.Number)
//  .replicas(java.lang.Number)
//  .selector(java.util.Map<java.lang.String, java.lang.String>)
//  .template(PodTemplateSpec)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ReplicationControllerSpec.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicationControllerSpec.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Replicas is the number of desired replicas. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicationControllerSpec.property.selector">selector</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Selector is a label query over pods that should match the Replicas count. |
| <code><a href="#cdk8s-plus-32.k8s.ReplicationControllerSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | Template is the object that describes the pod that will be created if insufficient replicas are detected. |

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.k8s.ReplicationControllerSpec.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0 (pod will be considered available as soon as it is ready)

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready)

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.k8s.ReplicationControllerSpec.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number
- *Default:* 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

Replicas is the number of desired replicas.

This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.ReplicationControllerSpec.property.selector"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getSelector();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Selector is a label query over pods that should match the Replicas count.

If Selector is empty, it is defaulted to the labels present on the Pod template. Label keys and values that must match in order to be controlled by this replication controller, if empty defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

---

##### `template`<sup>Optional</sup> <a name="template" id="cdk8s-plus-32.k8s.ReplicationControllerSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

Template is the object that describes the pod that will be created if insufficient replicas are detected.

This takes precedence over a TemplateRef. The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template

---

### ResourceAttributes <a name="ResourceAttributes" id="cdk8s-plus-32.k8s.ResourceAttributes"></a>

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceAttributes.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceAttributes;

ResourceAttributes.builder()
//  .fieldSelector(FieldSelectorAttributes)
//  .group(java.lang.String)
//  .labelSelector(LabelSelectorAttributes)
//  .name(java.lang.String)
//  .namespace(java.lang.String)
//  .resource(java.lang.String)
//  .subresource(java.lang.String)
//  .verb(java.lang.String)
//  .version(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.fieldSelector">fieldSelector</a></code> | <code>org.cdk8s.plus32.k8s.FieldSelectorAttributes</code> | fieldSelector describes the limitation on access based on field.  It can only limit access, not broaden it. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.group">group</a></code> | <code>java.lang.String</code> | Group is the API Group of the Resource. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.labelSelector">labelSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelectorAttributes</code> | labelSelector describes the limitation on access based on labels.  It can only limit access, not broaden it. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the resource being requested for a "get" or deleted for a "delete". |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace is the namespace of the action being requested. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.resource">resource</a></code> | <code>java.lang.String</code> | Resource is one of the existing resource types. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.subresource">subresource</a></code> | <code>java.lang.String</code> | Subresource is one of the existing resource types. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.verb">verb</a></code> | <code>java.lang.String</code> | Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceAttributes.property.version">version</a></code> | <code>java.lang.String</code> | Version is the API Version of the Resource. |

---

##### `fieldSelector`<sup>Optional</sup> <a name="fieldSelector" id="cdk8s-plus-32.k8s.ResourceAttributes.property.fieldSelector"></a>

```java
public FieldSelectorAttributes getFieldSelector();
```

- *Type:* org.cdk8s.plus32.k8s.FieldSelectorAttributes

fieldSelector describes the limitation on access based on field.  It can only limit access, not broaden it.

This field  is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.ResourceAttributes.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

Group is the API Group of the Resource.

"*" means all.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.k8s.ResourceAttributes.property.labelSelector"></a>

```java
public LabelSelectorAttributes getLabelSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelectorAttributes

labelSelector describes the limitation on access based on labels.  It can only limit access, not broaden it.

This field  is alpha-level. To use this field, you must enable the `AuthorizeWithSelectors` feature gate (disabled by default).

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ResourceAttributes.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the resource being requested for a "get" or deleted for a "delete".

"" (empty) means all.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ResourceAttributes.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace is the namespace of the action being requested.

Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview

---

##### `resource`<sup>Optional</sup> <a name="resource" id="cdk8s-plus-32.k8s.ResourceAttributes.property.resource"></a>

```java
public java.lang.String getResource();
```

- *Type:* java.lang.String

Resource is one of the existing resource types.

"*" means all.

---

##### `subresource`<sup>Optional</sup> <a name="subresource" id="cdk8s-plus-32.k8s.ResourceAttributes.property.subresource"></a>

```java
public java.lang.String getSubresource();
```

- *Type:* java.lang.String

Subresource is one of the existing resource types.

"" means none.

---

##### `verb`<sup>Optional</sup> <a name="verb" id="cdk8s-plus-32.k8s.ResourceAttributes.property.verb"></a>

```java
public java.lang.String getVerb();
```

- *Type:* java.lang.String

Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.

"*" means all.

---

##### `version`<sup>Optional</sup> <a name="version" id="cdk8s-plus-32.k8s.ResourceAttributes.property.version"></a>

```java
public java.lang.String getVersion();
```

- *Type:* java.lang.String

Version is the API Version of the Resource.

"*" means all.

---

### ResourceClaim <a name="ResourceClaim" id="cdk8s-plus-32.k8s.ResourceClaim"></a>

ResourceClaim references one entry in PodSpec.ResourceClaims.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceClaim.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceClaim;

ResourceClaim.builder()
    .name(java.lang.String)
//  .request(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaim.property.name">name</a></code> | <code>java.lang.String</code> | Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaim.property.request">request</a></code> | <code>java.lang.String</code> | Request is the name chosen for a request in the referenced claim. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ResourceClaim.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.

---

##### `request`<sup>Optional</sup> <a name="request" id="cdk8s-plus-32.k8s.ResourceClaim.property.request"></a>

```java
public java.lang.String getRequest();
```

- *Type:* java.lang.String

Request is the name chosen for a request in the referenced claim.

If empty, everything from the claim is made available, otherwise only the result of this request.

---

### ResourceClaimSpecV1Alpha3 <a name="ResourceClaimSpecV1Alpha3" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Alpha3"></a>

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3;

ResourceClaimSpecV1Alpha3.builder()
//  .devices(DeviceClaimV1Alpha3)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimSpecV1Alpha3.property.devices">devices</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClaimV1Alpha3</code> | Devices defines how to request devices. |

---

##### `devices`<sup>Optional</sup> <a name="devices" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Alpha3.property.devices"></a>

```java
public DeviceClaimV1Alpha3 getDevices();
```

- *Type:* org.cdk8s.plus32.k8s.DeviceClaimV1Alpha3

Devices defines how to request devices.

---

### ResourceClaimSpecV1Beta1 <a name="ResourceClaimSpecV1Beta1" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Beta1"></a>

ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1;

ResourceClaimSpecV1Beta1.builder()
//  .devices(DeviceClaimV1Beta1)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimSpecV1Beta1.property.devices">devices</a></code> | <code>org.cdk8s.plus32.k8s.DeviceClaimV1Beta1</code> | Devices defines how to request devices. |

---

##### `devices`<sup>Optional</sup> <a name="devices" id="cdk8s-plus-32.k8s.ResourceClaimSpecV1Beta1.property.devices"></a>

```java
public DeviceClaimV1Beta1 getDevices();
```

- *Type:* org.cdk8s.plus32.k8s.DeviceClaimV1Beta1

Devices defines how to request devices.

---

### ResourceClaimTemplateSpecV1Alpha3 <a name="ResourceClaimTemplateSpecV1Alpha3" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3"></a>

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Alpha3;

ResourceClaimTemplateSpecV1Alpha3.builder()
    .spec(ResourceClaimSpecV1Alpha3)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3</code> | Spec for the ResourceClaim. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3.property.spec"></a>

```java
public ResourceClaimSpecV1Alpha3 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Alpha3

Spec for the ResourceClaim.

The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Alpha3.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it.

No other fields are allowed and will be rejected during validation.

---

### ResourceClaimTemplateSpecV1Beta1 <a name="ResourceClaimTemplateSpecV1Beta1" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1"></a>

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceClaimTemplateSpecV1Beta1;

ResourceClaimTemplateSpecV1Beta1.builder()
    .spec(ResourceClaimSpecV1Beta1)
//  .metadata(ObjectMeta)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1.property.spec">spec</a></code> | <code>org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1</code> | Spec for the ResourceClaim. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1.property.metadata">metadata</a></code> | <code>org.cdk8s.plus32.k8s.ObjectMeta</code> | ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. |

---

##### `spec`<sup>Required</sup> <a name="spec" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1.property.spec"></a>

```java
public ResourceClaimSpecV1Beta1 getSpec();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceClaimSpecV1Beta1

Spec for the ResourceClaim.

The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.k8s.ResourceClaimTemplateSpecV1Beta1.property.metadata"></a>

```java
public ObjectMeta getMetadata();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectMeta

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it.

No other fields are allowed and will be rejected during validation.

---

### ResourceFieldSelector <a name="ResourceFieldSelector" id="cdk8s-plus-32.k8s.ResourceFieldSelector"></a>

ResourceFieldSelector represents container resources (cpu, memory) and their output format.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceFieldSelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceFieldSelector;

ResourceFieldSelector.builder()
    .resource(java.lang.String)
//  .containerName(java.lang.String)
//  .divisor(Quantity)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceFieldSelector.property.resource">resource</a></code> | <code>java.lang.String</code> | Required: resource to select. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceFieldSelector.property.containerName">containerName</a></code> | <code>java.lang.String</code> | Container name: required for volumes, optional for env vars. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceFieldSelector.property.divisor">divisor</a></code> | <code>org.cdk8s.plus32.k8s.Quantity</code> | Specifies the output format of the exposed resources, defaults to "1". |

---

##### `resource`<sup>Required</sup> <a name="resource" id="cdk8s-plus-32.k8s.ResourceFieldSelector.property.resource"></a>

```java
public java.lang.String getResource();
```

- *Type:* java.lang.String

Required: resource to select.

---

##### `containerName`<sup>Optional</sup> <a name="containerName" id="cdk8s-plus-32.k8s.ResourceFieldSelector.property.containerName"></a>

```java
public java.lang.String getContainerName();
```

- *Type:* java.lang.String

Container name: required for volumes, optional for env vars.

---

##### `divisor`<sup>Optional</sup> <a name="divisor" id="cdk8s-plus-32.k8s.ResourceFieldSelector.property.divisor"></a>

```java
public Quantity getDivisor();
```

- *Type:* org.cdk8s.plus32.k8s.Quantity

Specifies the output format of the exposed resources, defaults to "1".

---

### ResourceMetricSourceV2 <a name="ResourceMetricSourceV2" id="cdk8s-plus-32.k8s.ResourceMetricSourceV2"></a>

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory).  The values will be averaged together before being compared to the target.  Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.  Only one "target" type should be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceMetricSourceV2.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceMetricSourceV2;

ResourceMetricSourceV2.builder()
    .name(java.lang.String)
    .target(MetricTargetV2)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceMetricSourceV2.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the resource in question. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceMetricSourceV2.property.target">target</a></code> | <code>org.cdk8s.plus32.k8s.MetricTargetV2</code> | target specifies the target value for the given metric. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ResourceMetricSourceV2.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the resource in question.

---

##### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.k8s.ResourceMetricSourceV2.property.target"></a>

```java
public MetricTargetV2 getTarget();
```

- *Type:* org.cdk8s.plus32.k8s.MetricTargetV2

target specifies the target value for the given metric.

---

### ResourcePolicyRule <a name="ResourcePolicyRule" id="cdk8s-plus-32.k8s.ResourcePolicyRule"></a>

ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource.

A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==""`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourcePolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourcePolicyRule;

ResourcePolicyRule.builder()
    .apiGroups(java.util.List<java.lang.String>)
    .resources(java.util.List<java.lang.String>)
    .verbs(java.util.List<java.lang.String>)
//  .clusterScope(java.lang.Boolean)
//  .namespaces(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePolicyRule.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | `apiGroups` is a list of matching API groups and may not be empty. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePolicyRule.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource.  For example, [ "services", "nodes/status" ].  This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePolicyRule.property.verbs">verbs</a></code> | <code>java.util.List<java.lang.String></code> | `verbs` is a list of matching verbs and may not be empty. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePolicyRule.property.clusterScope">clusterScope</a></code> | <code>java.lang.Boolean</code> | `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePolicyRule.property.namespaces">namespaces</a></code> | <code>java.util.List<java.lang.String></code> | `namespaces` is a list of target namespaces that restricts matches. |

---

##### `apiGroups`<sup>Required</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.ResourcePolicyRule.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

`apiGroups` is a list of matching API groups and may not be empty.

"*" matches all API groups and, if present, must be the only entry. Required.

---

##### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.k8s.ResourcePolicyRule.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource.  For example, [ "services", "nodes/status" ].  This list may not be empty. "*" matches all resources and, if present, must be the only entry. Required.

---

##### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.k8s.ResourcePolicyRule.property.verbs"></a>

```java
public java.util.List<java.lang.String> getVerbs();
```

- *Type:* java.util.List<java.lang.String>

`verbs` is a list of matching verbs and may not be empty.

"*" matches all verbs and, if present, must be the only entry. Required.

---

##### `clusterScope`<sup>Optional</sup> <a name="clusterScope" id="cdk8s-plus-32.k8s.ResourcePolicyRule.property.clusterScope"></a>

```java
public java.lang.Boolean getClusterScope();
```

- *Type:* java.lang.Boolean

`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces).

If this field is omitted or false then the `namespaces` field must contain a non-empty list.

---

##### `namespaces`<sup>Optional</sup> <a name="namespaces" id="cdk8s-plus-32.k8s.ResourcePolicyRule.property.namespaces"></a>

```java
public java.util.List<java.lang.String> getNamespaces();
```

- *Type:* java.util.List<java.lang.String>

`namespaces` is a list of target namespaces that restricts matches.

A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains "*".  Note that "*" matches any specified namespace but does not match a request that *does not specify* a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.

---

### ResourcePoolV1Alpha3 <a name="ResourcePoolV1Alpha3" id="cdk8s-plus-32.k8s.ResourcePoolV1Alpha3"></a>

ResourcePool describes the pool that ResourceSlices belong to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourcePoolV1Alpha3;

ResourcePoolV1Alpha3.builder()
    .generation(java.lang.Number)
    .name(java.lang.String)
    .resourceSliceCount(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.generation">generation</a></code> | <code>java.lang.Number</code> | Generation tracks the change in a pool over time. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.name">name</a></code> | <code>java.lang.String</code> | Name is used to identify the pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.resourceSliceCount">resourceSliceCount</a></code> | <code>java.lang.Number</code> | ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. |

---

##### `generation`<sup>Required</sup> <a name="generation" id="cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.generation"></a>

```java
public java.lang.Number getGeneration();
```

- *Type:* java.lang.Number

Generation tracks the change in a pool over time.

Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.

Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is used to identify the pool.

For node-local devices, this is often the node name, but this is not required.

It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

---

##### `resourceSliceCount`<sup>Required</sup> <a name="resourceSliceCount" id="cdk8s-plus-32.k8s.ResourcePoolV1Alpha3.property.resourceSliceCount"></a>

```java
public java.lang.Number getResourceSliceCount();
```

- *Type:* java.lang.Number

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.

---

### ResourcePoolV1Beta1 <a name="ResourcePoolV1Beta1" id="cdk8s-plus-32.k8s.ResourcePoolV1Beta1"></a>

ResourcePool describes the pool that ResourceSlices belong to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourcePoolV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourcePoolV1Beta1;

ResourcePoolV1Beta1.builder()
    .generation(java.lang.Number)
    .name(java.lang.String)
    .resourceSliceCount(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.generation">generation</a></code> | <code>java.lang.Number</code> | Generation tracks the change in a pool over time. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name is used to identify the pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.resourceSliceCount">resourceSliceCount</a></code> | <code>java.lang.Number</code> | ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero. |

---

##### `generation`<sup>Required</sup> <a name="generation" id="cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.generation"></a>

```java
public java.lang.Number getGeneration();
```

- *Type:* java.lang.Number

Generation tracks the change in a pool over time.

Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.

Combined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is used to identify the pool.

For node-local devices, this is often the node name, but this is not required.

It must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.

---

##### `resourceSliceCount`<sup>Required</sup> <a name="resourceSliceCount" id="cdk8s-plus-32.k8s.ResourcePoolV1Beta1.property.resourceSliceCount"></a>

```java
public java.lang.Number getResourceSliceCount();
```

- *Type:* java.lang.Number

ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.

Consumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.

---

### ResourceProps <a name="ResourceProps" id="cdk8s-plus-32.ResourceProps"></a>

Initialization properties for resources.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ResourceProps.Initializer"></a>

```java
import org.cdk8s.plus32.ResourceProps;

ResourceProps.builder()
//  .metadata(ApiObjectMetadata)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ResourceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ResourceProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

### ResourceQuotaSpec <a name="ResourceQuotaSpec" id="cdk8s-plus-32.k8s.ResourceQuotaSpec"></a>

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceQuotaSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceQuotaSpec;

ResourceQuotaSpec.builder()
//  .hard(java.util.Map<java.lang.String, Quantity>)
//  .scopes(java.util.List<java.lang.String>)
//  .scopeSelector(ScopeSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceQuotaSpec.property.hard">hard</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | hard is the set of desired hard limits for each named resource. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceQuotaSpec.property.scopes">scopes</a></code> | <code>java.util.List<java.lang.String></code> | A collection of filters that must match each object tracked by a quota. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceQuotaSpec.property.scopeSelector">scopeSelector</a></code> | <code>org.cdk8s.plus32.k8s.ScopeSelector</code> | scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. |

---

##### `hard`<sup>Optional</sup> <a name="hard" id="cdk8s-plus-32.k8s.ResourceQuotaSpec.property.hard"></a>

```java
public java.util.Map<java.lang.String, Quantity> getHard();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

hard is the set of desired hard limits for each named resource.

More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/

---

##### `scopes`<sup>Optional</sup> <a name="scopes" id="cdk8s-plus-32.k8s.ResourceQuotaSpec.property.scopes"></a>

```java
public java.util.List<java.lang.String> getScopes();
```

- *Type:* java.util.List<java.lang.String>

A collection of filters that must match each object tracked by a quota.

If not specified, the quota matches all objects.

---

##### `scopeSelector`<sup>Optional</sup> <a name="scopeSelector" id="cdk8s-plus-32.k8s.ResourceQuotaSpec.property.scopeSelector"></a>

```java
public ScopeSelector getScopeSelector();
```

- *Type:* org.cdk8s.plus32.k8s.ScopeSelector

scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.

For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.

---

### ResourceRequirements <a name="ResourceRequirements" id="cdk8s-plus-32.k8s.ResourceRequirements"></a>

ResourceRequirements describes the compute resource requirements.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceRequirements.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceRequirements;

ResourceRequirements.builder()
//  .claims(java.util.List<ResourceClaim>)
//  .limits(java.util.Map<java.lang.String, Quantity>)
//  .requests(java.util.Map<java.lang.String, Quantity>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceRequirements.property.claims">claims</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ResourceClaim></code> | Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceRequirements.property.limits">limits</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Limits describes the maximum amount of compute resources allowed. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceRequirements.property.requests">requests</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Requests describes the minimum amount of compute resources required. |

---

##### `claims`<sup>Optional</sup> <a name="claims" id="cdk8s-plus-32.k8s.ResourceRequirements.property.claims"></a>

```java
public java.util.List<ResourceClaim> getClaims();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ResourceClaim>

Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.

This is an alpha field and requires enabling the DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.

---

##### `limits`<sup>Optional</sup> <a name="limits" id="cdk8s-plus-32.k8s.ResourceRequirements.property.limits"></a>

```java
public java.util.Map<java.lang.String, Quantity> getLimits();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Limits describes the maximum amount of compute resources allowed.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.ResourceRequirements.property.requests"></a>

```java
public java.util.Map<java.lang.String, Quantity> getRequests();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Requests describes the minimum amount of compute resources required.

If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

### ResourceSliceSpecV1Alpha3 <a name="ResourceSliceSpecV1Alpha3" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3"></a>

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceSliceSpecV1Alpha3;

ResourceSliceSpecV1Alpha3.builder()
    .driver(java.lang.String)
    .pool(ResourcePoolV1Alpha3)
//  .allNodes(java.lang.Boolean)
//  .devices(java.util.List<DeviceV1Alpha3>)
//  .nodeName(java.lang.String)
//  .nodeSelector(NodeSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.driver">driver</a></code> | <code>java.lang.String</code> | Driver identifies the DRA driver providing the capacity information. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.pool">pool</a></code> | <code>org.cdk8s.plus32.k8s.ResourcePoolV1Alpha3</code> | Pool describes the pool that this ResourceSlice belongs to. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.allNodes">allNodes</a></code> | <code>java.lang.Boolean</code> | AllNodes indicates that all nodes have access to the resources in the pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.devices">devices</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceV1Alpha3></code> | Devices lists some or all of the devices in this pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | NodeName identifies the node which provides the resources in this pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.nodeSelector">nodeSelector</a></code> | <code>org.cdk8s.plus32.k8s.NodeSelector</code> | NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

Driver identifies the DRA driver providing the capacity information.

A field selector can be used to list only ResourceSlice objects with a certain driver name.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

---

##### `pool`<sup>Required</sup> <a name="pool" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.pool"></a>

```java
public ResourcePoolV1Alpha3 getPool();
```

- *Type:* org.cdk8s.plus32.k8s.ResourcePoolV1Alpha3

Pool describes the pool that this ResourceSlice belongs to.

---

##### `allNodes`<sup>Optional</sup> <a name="allNodes" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.allNodes"></a>

```java
public java.lang.Boolean getAllNodes();
```

- *Type:* java.lang.Boolean

AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

---

##### `devices`<sup>Optional</sup> <a name="devices" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.devices"></a>

```java
public java.util.List<DeviceV1Alpha3> getDevices();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceV1Alpha3>

Devices lists some or all of the devices in this pool.

Must not have more than 128 entries.

---

##### `nodeName`<sup>Optional</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

NodeName identifies the node which provides the resources in this pool.

A field selector can be used to list only ResourceSlice objects belonging to a certain node.

This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.

Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

---

##### `nodeSelector`<sup>Optional</sup> <a name="nodeSelector" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Alpha3.property.nodeSelector"></a>

```java
public NodeSelector getNodeSelector();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.

Must use exactly one term.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

---

### ResourceSliceSpecV1Beta1 <a name="ResourceSliceSpecV1Beta1" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1"></a>

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ResourceSliceSpecV1Beta1;

ResourceSliceSpecV1Beta1.builder()
    .driver(java.lang.String)
    .pool(ResourcePoolV1Beta1)
//  .allNodes(java.lang.Boolean)
//  .devices(java.util.List<DeviceV1Beta1>)
//  .nodeName(java.lang.String)
//  .nodeSelector(NodeSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.driver">driver</a></code> | <code>java.lang.String</code> | Driver identifies the DRA driver providing the capacity information. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.pool">pool</a></code> | <code>org.cdk8s.plus32.k8s.ResourcePoolV1Beta1</code> | Pool describes the pool that this ResourceSlice belongs to. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.allNodes">allNodes</a></code> | <code>java.lang.Boolean</code> | AllNodes indicates that all nodes have access to the resources in the pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.devices">devices</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.DeviceV1Beta1></code> | Devices lists some or all of the devices in this pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | NodeName identifies the node which provides the resources in this pool. |
| <code><a href="#cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.nodeSelector">nodeSelector</a></code> | <code>org.cdk8s.plus32.k8s.NodeSelector</code> | NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node. |

---

##### `driver`<sup>Required</sup> <a name="driver" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.driver"></a>

```java
public java.lang.String getDriver();
```

- *Type:* java.lang.String

Driver identifies the DRA driver providing the capacity information.

A field selector can be used to list only ResourceSlice objects with a certain driver name.

Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

---

##### `pool`<sup>Required</sup> <a name="pool" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.pool"></a>

```java
public ResourcePoolV1Beta1 getPool();
```

- *Type:* org.cdk8s.plus32.k8s.ResourcePoolV1Beta1

Pool describes the pool that this ResourceSlice belongs to.

---

##### `allNodes`<sup>Optional</sup> <a name="allNodes" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.allNodes"></a>

```java
public java.lang.Boolean getAllNodes();
```

- *Type:* java.lang.Boolean

AllNodes indicates that all nodes have access to the resources in the pool.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

---

##### `devices`<sup>Optional</sup> <a name="devices" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.devices"></a>

```java
public java.util.List<DeviceV1Beta1> getDevices();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.DeviceV1Beta1>

Devices lists some or all of the devices in this pool.

Must not have more than 128 entries.

---

##### `nodeName`<sup>Optional</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

NodeName identifies the node which provides the resources in this pool.

A field selector can be used to list only ResourceSlice objects belonging to a certain node.

This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.

Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

---

##### `nodeSelector`<sup>Optional</sup> <a name="nodeSelector" id="cdk8s-plus-32.k8s.ResourceSliceSpecV1Beta1.property.nodeSelector"></a>

```java
public NodeSelector getNodeSelector();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.

Must use exactly one term.

Exactly one of NodeName, NodeSelector and AllNodes must be set.

---

### RoleBindingProps <a name="RoleBindingProps" id="cdk8s-plus-32.RoleBindingProps"></a>

Properties for `RoleBinding`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.RoleBindingProps.Initializer"></a>

```java
import org.cdk8s.plus32.RoleBindingProps;

RoleBindingProps.builder()
//  .metadata(ApiObjectMetadata)
    .role(IRole)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.RoleBindingProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.RoleBindingProps.property.role">role</a></code> | <code><a href="#cdk8s-plus-32.IRole">IRole</a></code> | The role to bind to. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.RoleBindingProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `role`<sup>Required</sup> <a name="role" id="cdk8s-plus-32.RoleBindingProps.property.role"></a>

```java
public IRole getRole();
```

- *Type:* <a href="#cdk8s-plus-32.IRole">IRole</a>

The role to bind to.

A RoleBinding can reference a Role or a ClusterRole.

---

### RolePolicyRule <a name="RolePolicyRule" id="cdk8s-plus-32.RolePolicyRule"></a>

Policy rule of a `Role.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.RolePolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.RolePolicyRule;

RolePolicyRule.builder()
    .resources(java.util.List<IApiResource>)
    .verbs(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.RolePolicyRule.property.resources">resources</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.IApiResource">IApiResource</a>></code> | Resources this rule applies to. |
| <code><a href="#cdk8s-plus-32.RolePolicyRule.property.verbs">verbs</a></code> | <code>java.util.List<java.lang.String></code> | Verbs to allow. |

---

##### `resources`<sup>Required</sup> <a name="resources" id="cdk8s-plus-32.RolePolicyRule.property.resources"></a>

```java
public java.util.List<IApiResource> getResources();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.IApiResource">IApiResource</a>>

Resources this rule applies to.

---

##### `verbs`<sup>Required</sup> <a name="verbs" id="cdk8s-plus-32.RolePolicyRule.property.verbs"></a>

```java
public java.util.List<java.lang.String> getVerbs();
```

- *Type:* java.util.List<java.lang.String>

Verbs to allow.

(e.g ['get', 'watch'])

---

### RoleProps <a name="RoleProps" id="cdk8s-plus-32.RoleProps"></a>

Properties for `Role`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.RoleProps.Initializer"></a>

```java
import org.cdk8s.plus32.RoleProps;

RoleProps.builder()
//  .metadata(ApiObjectMetadata)
//  .rules(java.util.List<RolePolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.RoleProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.RoleProps.property.rules">rules</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>></code> | A list of rules the role should allow. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.RoleProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.RoleProps.property.rules"></a>

```java
public java.util.List<RolePolicyRule> getRules();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.RolePolicyRule">RolePolicyRule</a>>
- *Default:* []

A list of rules the role should allow.

---

### RoleRef <a name="RoleRef" id="cdk8s-plus-32.k8s.RoleRef"></a>

RoleRef contains information that points to the role being used.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RoleRef.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RoleRef;

RoleRef.builder()
    .apiGroup(java.lang.String)
    .kind(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RoleRef.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | APIGroup is the group for the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.RoleRef.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the type of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.RoleRef.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of resource being referenced. |

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.RoleRef.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

APIGroup is the group for the resource being referenced.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.RoleRef.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the type of resource being referenced.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.RoleRef.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of resource being referenced.

---

### RollingUpdateDaemonSet <a name="RollingUpdateDaemonSet" id="cdk8s-plus-32.k8s.RollingUpdateDaemonSet"></a>

Spec to control the desired behavior of daemon set rolling update.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RollingUpdateDaemonSet.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RollingUpdateDaemonSet;

RollingUpdateDaemonSet.builder()
//  .maxSurge(IntOrString)
//  .maxUnavailable(IntOrString)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateDaemonSet.property.maxSurge">maxSurge</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateDaemonSet.property.maxUnavailable">maxUnavailable</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | The maximum number of DaemonSet pods that can be unavailable during the update. |

---

##### `maxSurge`<sup>Optional</sup> <a name="maxSurge" id="cdk8s-plus-32.k8s.RollingUpdateDaemonSet.property.maxSurge"></a>

```java
public IntOrString getMaxSurge();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.

---

##### `maxUnavailable`<sup>Optional</sup> <a name="maxUnavailable" id="cdk8s-plus-32.k8s.RollingUpdateDaemonSet.property.maxUnavailable"></a>

```java
public IntOrString getMaxUnavailable();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

The maximum number of DaemonSet pods that can be unavailable during the update.

Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.

---

### RollingUpdateDeployment <a name="RollingUpdateDeployment" id="cdk8s-plus-32.k8s.RollingUpdateDeployment"></a>

Spec to control the desired behavior of rolling update.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RollingUpdateDeployment.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RollingUpdateDeployment;

RollingUpdateDeployment.builder()
//  .maxSurge(IntOrString)
//  .maxUnavailable(IntOrString)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateDeployment.property.maxSurge">maxSurge</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | The maximum number of pods that can be scheduled above the desired number of pods. |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateDeployment.property.maxUnavailable">maxUnavailable</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | The maximum number of pods that can be unavailable during the update. |

---

##### `maxSurge`<sup>Optional</sup> <a name="maxSurge" id="cdk8s-plus-32.k8s.RollingUpdateDeployment.property.maxSurge"></a>

```java
public IntOrString getMaxSurge();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString
- *Default:* 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

The maximum number of pods that can be scheduled above the desired number of pods.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

---

##### `maxUnavailable`<sup>Optional</sup> <a name="maxUnavailable" id="cdk8s-plus-32.k8s.RollingUpdateDeployment.property.maxUnavailable"></a>

```java
public IntOrString getMaxUnavailable();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString
- *Default:* 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

The maximum number of pods that can be unavailable during the update.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

---

### RollingUpdateStatefulSetStrategy <a name="RollingUpdateStatefulSetStrategy" id="cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy"></a>

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RollingUpdateStatefulSetStrategy;

RollingUpdateStatefulSetStrategy.builder()
//  .maxUnavailable(IntOrString)
//  .partition(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy.property.maxUnavailable">maxUnavailable</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | The maximum number of pods that can be unavailable during the update. |
| <code><a href="#cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy.property.partition">partition</a></code> | <code>java.lang.Number</code> | Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. |

---

##### `maxUnavailable`<sup>Optional</sup> <a name="maxUnavailable" id="cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy.property.maxUnavailable"></a>

```java
public IntOrString getMaxUnavailable();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString
- *Default:* 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.

The maximum number of pods that can be unavailable during the update.

Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.k8s.RollingUpdateStatefulSetStrategy.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number

Partition indicates the ordinal at which the StatefulSet should be partitioned for updates.

During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.

---

### RuleWithOperations <a name="RuleWithOperations" id="cdk8s-plus-32.k8s.RuleWithOperations"></a>

RuleWithOperations is a tuple of Operations and Resources.

It is recommended to make sure that all the tuple expansions are valid.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.RuleWithOperations.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.RuleWithOperations;

RuleWithOperations.builder()
//  .apiGroups(java.util.List<java.lang.String>)
//  .apiVersions(java.util.List<java.lang.String>)
//  .operations(java.util.List<java.lang.String>)
//  .resources(java.util.List<java.lang.String>)
//  .scope(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.RuleWithOperations.property.apiGroups">apiGroups</a></code> | <code>java.util.List<java.lang.String></code> | APIGroups is the API groups the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.RuleWithOperations.property.apiVersions">apiVersions</a></code> | <code>java.util.List<java.lang.String></code> | APIVersions is the API versions the resources belong to. |
| <code><a href="#cdk8s-plus-32.k8s.RuleWithOperations.property.operations">operations</a></code> | <code>java.util.List<java.lang.String></code> | Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. |
| <code><a href="#cdk8s-plus-32.k8s.RuleWithOperations.property.resources">resources</a></code> | <code>java.util.List<java.lang.String></code> | Resources is a list of resources this rule applies to. |
| <code><a href="#cdk8s-plus-32.k8s.RuleWithOperations.property.scope">scope</a></code> | <code>java.lang.String</code> | scope specifies the scope of this rule. |

---

##### `apiGroups`<sup>Optional</sup> <a name="apiGroups" id="cdk8s-plus-32.k8s.RuleWithOperations.property.apiGroups"></a>

```java
public java.util.List<java.lang.String> getApiGroups();
```

- *Type:* java.util.List<java.lang.String>

APIGroups is the API groups the resources belong to.

'*' is all groups. If '*' is present, the length of the slice must be one. Required.

---

##### `apiVersions`<sup>Optional</sup> <a name="apiVersions" id="cdk8s-plus-32.k8s.RuleWithOperations.property.apiVersions"></a>

```java
public java.util.List<java.lang.String> getApiVersions();
```

- *Type:* java.util.List<java.lang.String>

APIVersions is the API versions the resources belong to.

'*' is all versions. If '*' is present, the length of the slice must be one. Required.

---

##### `operations`<sup>Optional</sup> <a name="operations" id="cdk8s-plus-32.k8s.RuleWithOperations.property.operations"></a>

```java
public java.util.List<java.lang.String> getOperations();
```

- *Type:* java.util.List<java.lang.String>

Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added.

If '*' is present, the length of the slice must be one. Required.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.k8s.RuleWithOperations.property.resources"></a>

```java
public java.util.List<java.lang.String> getResources();
```

- *Type:* java.util.List<java.lang.String>

Resources is a list of resources this rule applies to.

For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.

If wildcard is present, the validation rule will ensure resources do not overlap with each other.

Depending on the enclosing object, subresources might not be allowed. Required.

---

##### `scope`<sup>Optional</sup> <a name="scope" id="cdk8s-plus-32.k8s.RuleWithOperations.property.scope"></a>

```java
public java.lang.String getScope();
```

- *Type:* java.lang.String
- *Default:* .

scope specifies the scope of this rule.

Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".

---

### ScaleIoPersistentVolumeSource <a name="ScaleIoPersistentVolumeSource" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource"></a>

ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ScaleIoPersistentVolumeSource;

ScaleIoPersistentVolumeSource.builder()
    .gateway(java.lang.String)
    .secretRef(SecretReference)
    .system(java.lang.String)
//  .fsType(java.lang.String)
//  .protectionDomain(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .sslEnabled(java.lang.Boolean)
//  .storageMode(java.lang.String)
//  .storagePool(java.lang.String)
//  .volumeName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.gateway">gateway</a></code> | <code>java.lang.String</code> | gateway is the host address of the ScaleIO API Gateway. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.SecretReference</code> | secretRef references to the secret for ScaleIO user and other sensitive information. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.system">system</a></code> | <code>java.lang.String</code> | system is the name of the storage system as configured in ScaleIO. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.protectionDomain">protectionDomain</a></code> | <code>java.lang.String</code> | protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.sslEnabled">sslEnabled</a></code> | <code>java.lang.Boolean</code> | sslEnabled is the flag to enable/disable SSL communication with Gateway, default false. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.storageMode">storageMode</a></code> | <code>java.lang.String</code> | storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.storagePool">storagePool</a></code> | <code>java.lang.String</code> | storagePool is the ScaleIO Storage Pool associated with the protection domain. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.volumeName">volumeName</a></code> | <code>java.lang.String</code> | volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source. |

---

##### `gateway`<sup>Required</sup> <a name="gateway" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.gateway"></a>

```java
public java.lang.String getGateway();
```

- *Type:* java.lang.String

gateway is the host address of the ScaleIO API Gateway.

---

##### `secretRef`<sup>Required</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.secretRef"></a>

```java
public SecretReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.SecretReference

secretRef references to the secret for ScaleIO user and other sensitive information.

If this is not provided, Login operation will fail.

---

##### `system`<sup>Required</sup> <a name="system" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.system"></a>

```java
public java.lang.String getSystem();
```

- *Type:* java.lang.String

system is the name of the storage system as configured in ScaleIO.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* xfs"

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs"

---

##### `protectionDomain`<sup>Optional</sup> <a name="protectionDomain" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.protectionDomain"></a>

```java
public java.lang.String getProtectionDomain();
```

- *Type:* java.lang.String

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `sslEnabled`<sup>Optional</sup> <a name="sslEnabled" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.sslEnabled"></a>

```java
public java.lang.Boolean getSslEnabled();
```

- *Type:* java.lang.Boolean

sslEnabled is the flag to enable/disable SSL communication with Gateway, default false.

---

##### `storageMode`<sup>Optional</sup> <a name="storageMode" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.storageMode"></a>

```java
public java.lang.String getStorageMode();
```

- *Type:* java.lang.String
- *Default:* ThinProvisioned.

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.

Default is ThinProvisioned.

---

##### `storagePool`<sup>Optional</sup> <a name="storagePool" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.storagePool"></a>

```java
public java.lang.String getStoragePool();
```

- *Type:* java.lang.String

storagePool is the ScaleIO Storage Pool associated with the protection domain.

---

##### `volumeName`<sup>Optional</sup> <a name="volumeName" id="cdk8s-plus-32.k8s.ScaleIoPersistentVolumeSource.property.volumeName"></a>

```java
public java.lang.String getVolumeName();
```

- *Type:* java.lang.String

volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.

---

### ScaleIoVolumeSource <a name="ScaleIoVolumeSource" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource"></a>

ScaleIOVolumeSource represents a persistent ScaleIO volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ScaleIoVolumeSource;

ScaleIoVolumeSource.builder()
    .gateway(java.lang.String)
    .secretRef(LocalObjectReference)
    .system(java.lang.String)
//  .fsType(java.lang.String)
//  .protectionDomain(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .sslEnabled(java.lang.Boolean)
//  .storageMode(java.lang.String)
//  .storagePool(java.lang.String)
//  .volumeName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.gateway">gateway</a></code> | <code>java.lang.String</code> | gateway is the host address of the ScaleIO API Gateway. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef references to the secret for ScaleIO user and other sensitive information. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.system">system</a></code> | <code>java.lang.String</code> | system is the name of the storage system as configured in ScaleIO. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.protectionDomain">protectionDomain</a></code> | <code>java.lang.String</code> | protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly Defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.sslEnabled">sslEnabled</a></code> | <code>java.lang.Boolean</code> | sslEnabled Flag enable/disable SSL communication with Gateway, default false. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.storageMode">storageMode</a></code> | <code>java.lang.String</code> | storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.storagePool">storagePool</a></code> | <code>java.lang.String</code> | storagePool is the ScaleIO Storage Pool associated with the protection domain. |
| <code><a href="#cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.volumeName">volumeName</a></code> | <code>java.lang.String</code> | volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source. |

---

##### `gateway`<sup>Required</sup> <a name="gateway" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.gateway"></a>

```java
public java.lang.String getGateway();
```

- *Type:* java.lang.String

gateway is the host address of the ScaleIO API Gateway.

---

##### `secretRef`<sup>Required</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef references to the secret for ScaleIO user and other sensitive information.

If this is not provided, Login operation will fail.

---

##### `system`<sup>Required</sup> <a name="system" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.system"></a>

```java
public java.lang.String getSystem();
```

- *Type:* java.lang.String

system is the name of the storage system as configured in ScaleIO.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String
- *Default:* xfs".

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".

---

##### `protectionDomain`<sup>Optional</sup> <a name="protectionDomain" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.protectionDomain"></a>

```java
public java.lang.String getProtectionDomain();
```

- *Type:* java.lang.String

protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

readOnly Defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `sslEnabled`<sup>Optional</sup> <a name="sslEnabled" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.sslEnabled"></a>

```java
public java.lang.Boolean getSslEnabled();
```

- *Type:* java.lang.Boolean

sslEnabled Flag enable/disable SSL communication with Gateway, default false.

---

##### `storageMode`<sup>Optional</sup> <a name="storageMode" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.storageMode"></a>

```java
public java.lang.String getStorageMode();
```

- *Type:* java.lang.String
- *Default:* ThinProvisioned.

storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.

Default is ThinProvisioned.

---

##### `storagePool`<sup>Optional</sup> <a name="storagePool" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.storagePool"></a>

```java
public java.lang.String getStoragePool();
```

- *Type:* java.lang.String

storagePool is the ScaleIO Storage Pool associated with the protection domain.

---

##### `volumeName`<sup>Optional</sup> <a name="volumeName" id="cdk8s-plus-32.k8s.ScaleIoVolumeSource.property.volumeName"></a>

```java
public java.lang.String getVolumeName();
```

- *Type:* java.lang.String

volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.

---

### ScaleSpec <a name="ScaleSpec" id="cdk8s-plus-32.k8s.ScaleSpec"></a>

ScaleSpec describes the attributes of a scale subresource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ScaleSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ScaleSpec;

ScaleSpec.builder()
//  .replicas(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ScaleSpec.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | replicas is the desired number of instances for the scaled object. |

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.k8s.ScaleSpec.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number

replicas is the desired number of instances for the scaled object.

---

### ScalingPolicy <a name="ScalingPolicy" id="cdk8s-plus-32.ScalingPolicy"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ScalingPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.ScalingPolicy;

ScalingPolicy.builder()
    .replicas(Replicas)
//  .duration(Duration)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ScalingPolicy.property.replicas">replicas</a></code> | <code><a href="#cdk8s-plus-32.Replicas">Replicas</a></code> | The type and quantity of replicas to change. |
| <code><a href="#cdk8s-plus-32.ScalingPolicy.property.duration">duration</a></code> | <code>org.cdk8s.Duration</code> | The amount of time the scaling policy has to continue scaling before the target metric must be revalidated. |

---

##### `replicas`<sup>Required</sup> <a name="replicas" id="cdk8s-plus-32.ScalingPolicy.property.replicas"></a>

```java
public Replicas getReplicas();
```

- *Type:* <a href="#cdk8s-plus-32.Replicas">Replicas</a>

The type and quantity of replicas to change.

---

##### `duration`<sup>Optional</sup> <a name="duration" id="cdk8s-plus-32.ScalingPolicy.property.duration"></a>

```java
public Duration getDuration();
```

- *Type:* org.cdk8s.Duration
- *Default:* 15 seconds

The amount of time the scaling policy has to continue scaling before the target metric must be revalidated.

Must be greater than 0 seconds and no longer than 30 minutes.

---

### ScalingRules <a name="ScalingRules" id="cdk8s-plus-32.ScalingRules"></a>

Defines the scaling behavior for one direction.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ScalingRules.Initializer"></a>

```java
import org.cdk8s.plus32.ScalingRules;

ScalingRules.builder()
//  .policies(java.util.List<ScalingPolicy>)
//  .stabilizationWindow(Duration)
//  .strategy(ScalingStrategy)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ScalingRules.property.policies">policies</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ScalingPolicy">ScalingPolicy</a>></code> | The scaling policies. |
| <code><a href="#cdk8s-plus-32.ScalingRules.property.stabilizationWindow">stabilizationWindow</a></code> | <code>org.cdk8s.Duration</code> | Defines the window of past metrics that the autoscaler should consider when calculating wether or not autoscaling should occur. |
| <code><a href="#cdk8s-plus-32.ScalingRules.property.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.ScalingStrategy">ScalingStrategy</a></code> | The strategy to use when scaling. |

---

##### `policies`<sup>Optional</sup> <a name="policies" id="cdk8s-plus-32.ScalingRules.property.policies"></a>

```java
public java.util.List<ScalingPolicy> getPolicies();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ScalingPolicy">ScalingPolicy</a>>
- *Default:* * Scale up   * Increase no more than 4 pods per 60 seconds   * Double the number of pods per 60 seconds * Scale down   * Decrease to minReplica count

The scaling policies.

---

##### `stabilizationWindow`<sup>Optional</sup> <a name="stabilizationWindow" id="cdk8s-plus-32.ScalingRules.property.stabilizationWindow"></a>

```java
public Duration getStabilizationWindow();
```

- *Type:* org.cdk8s.Duration
- *Default:* * On scale down no stabilization is performed. * On scale up stabilization is performed for 5 minutes.

Defines the window of past metrics that the autoscaler should consider when calculating wether or not autoscaling should occur.

Minimum duration is 1 second, max is 1 hour.

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
stabilizationWindow: Duration.minutes(30)
```


##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.ScalingRules.property.strategy"></a>

```java
public ScalingStrategy getStrategy();
```

- *Type:* <a href="#cdk8s-plus-32.ScalingStrategy">ScalingStrategy</a>
- *Default:* MAX_CHANGE

The strategy to use when scaling.

---

### ScalingTarget <a name="ScalingTarget" id="cdk8s-plus-32.ScalingTarget"></a>

Properties used to configure the target of an Autoscaler.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ScalingTarget.Initializer"></a>

```java
import org.cdk8s.plus32.ScalingTarget;

ScalingTarget.builder()
    .apiVersion(java.lang.String)
    .containers(java.util.List<Container>)
    .kind(java.lang.String)
    .name(java.lang.String)
//  .replicas(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ScalingTarget.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ScalingTarget.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>></code> | Container definitions associated with the target. |
| <code><a href="#cdk8s-plus-32.ScalingTarget.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ScalingTarget.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |
| <code><a href="#cdk8s-plus-32.ScalingTarget.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | The fixed number of replicas defined on the target. |

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ScalingTarget.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `containers`<sup>Required</sup> <a name="containers" id="cdk8s-plus-32.ScalingTarget.property.containers"></a>

```java
public java.util.List<Container> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Container">Container</a>>

Container definitions associated with the target.

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ScalingTarget.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ScalingTarget.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.ScalingTarget.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number

The fixed number of replicas defined on the target.

This is used
for validation purposes as Scalable targets should not have a
fixed number of replicas.

---

### Scheduling <a name="Scheduling" id="cdk8s-plus-32.k8s.Scheduling"></a>

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Scheduling.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Scheduling;

Scheduling.builder()
//  .nodeSelector(java.util.Map<java.lang.String, java.lang.String>)
//  .tolerations(java.util.List<Toleration>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Scheduling.property.nodeSelector">nodeSelector</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | nodeSelector lists labels that must be present on nodes that support this RuntimeClass. |
| <code><a href="#cdk8s-plus-32.k8s.Scheduling.property.tolerations">tolerations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Toleration></code> | tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass. |

---

##### `nodeSelector`<sup>Optional</sup> <a name="nodeSelector" id="cdk8s-plus-32.k8s.Scheduling.property.nodeSelector"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getNodeSelector();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

nodeSelector lists labels that must be present on nodes that support this RuntimeClass.

Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.

---

##### `tolerations`<sup>Optional</sup> <a name="tolerations" id="cdk8s-plus-32.k8s.Scheduling.property.tolerations"></a>

```java
public java.util.List<Toleration> getTolerations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Toleration>

tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.

---

### ScopedResourceSelectorRequirement <a name="ScopedResourceSelectorRequirement" id="cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement"></a>

A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ScopedResourceSelectorRequirement;

ScopedResourceSelectorRequirement.builder()
    .operator(java.lang.String)
    .scopeName(java.lang.String)
//  .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.operator">operator</a></code> | <code>java.lang.String</code> | Represents a scope's relationship to a set of values. |
| <code><a href="#cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.scopeName">scopeName</a></code> | <code>java.lang.String</code> | The name of the scope that the selector applies to. |
| <code><a href="#cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | An array of string values. |

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

Represents a scope's relationship to a set of values.

Valid operators are In, NotIn, Exists, DoesNotExist.

---

##### `scopeName`<sup>Required</sup> <a name="scopeName" id="cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.scopeName"></a>

```java
public java.lang.String getScopeName();
```

- *Type:* java.lang.String

The name of the scope that the selector applies to.

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.k8s.ScopedResourceSelectorRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

An array of string values.

If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

---

### ScopeSelector <a name="ScopeSelector" id="cdk8s-plus-32.k8s.ScopeSelector"></a>

A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ScopeSelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ScopeSelector;

ScopeSelector.builder()
//  .matchExpressions(java.util.List<ScopedResourceSelectorRequirement>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ScopeSelector.property.matchExpressions">matchExpressions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ScopedResourceSelectorRequirement></code> | A list of scope selector requirements by scope of the resources. |

---

##### `matchExpressions`<sup>Optional</sup> <a name="matchExpressions" id="cdk8s-plus-32.k8s.ScopeSelector.property.matchExpressions"></a>

```java
public java.util.List<ScopedResourceSelectorRequirement> getMatchExpressions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ScopedResourceSelectorRequirement>

A list of scope selector requirements by scope of the resources.

---

### SeccompProfile <a name="SeccompProfile" id="cdk8s-plus-32.SeccompProfile"></a>

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SeccompProfile.Initializer"></a>

```java
import org.cdk8s.plus32.SeccompProfile;

SeccompProfile.builder()
    .type(SeccompProfileType)
//  .localhostProfile(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SeccompProfile.property.type">type</a></code> | <code><a href="#cdk8s-plus-32.SeccompProfileType">SeccompProfileType</a></code> | Indicates which kind of seccomp profile will be applied. |
| <code><a href="#cdk8s-plus-32.SeccompProfile.property.localhostProfile">localhostProfile</a></code> | <code>java.lang.String</code> | localhostProfile indicates a profile defined in a file on the node should be used. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.SeccompProfile.property.type"></a>

```java
public SeccompProfileType getType();
```

- *Type:* <a href="#cdk8s-plus-32.SeccompProfileType">SeccompProfileType</a>

Indicates which kind of seccomp profile will be applied.

---

##### `localhostProfile`<sup>Optional</sup> <a name="localhostProfile" id="cdk8s-plus-32.SeccompProfile.property.localhostProfile"></a>

```java
public java.lang.String getLocalhostProfile();
```

- *Type:* java.lang.String
- *Default:* empty string

localhostProfile indicates a profile defined in a file on the node should be used.

The profile must be preconfigured on the node to work. Must be a descending path,
relative to the kubelet's configured seccomp profile location.
Must only be set if type is "Localhost".

---

### SeccompProfile <a name="SeccompProfile" id="cdk8s-plus-32.k8s.SeccompProfile"></a>

SeccompProfile defines a pod/container's seccomp profile settings.

Only one profile source may be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SeccompProfile.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SeccompProfile;

SeccompProfile.builder()
    .type(java.lang.String)
//  .localhostProfile(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SeccompProfile.property.type">type</a></code> | <code>java.lang.String</code> | type indicates which kind of seccomp profile will be applied. Valid options are:. |
| <code><a href="#cdk8s-plus-32.k8s.SeccompProfile.property.localhostProfile">localhostProfile</a></code> | <code>java.lang.String</code> | localhostProfile indicates a profile defined in a file on the node should be used. |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.k8s.SeccompProfile.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

type indicates which kind of seccomp profile will be applied. Valid options are:.

Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.

---

##### `localhostProfile`<sup>Optional</sup> <a name="localhostProfile" id="cdk8s-plus-32.k8s.SeccompProfile.property.localhostProfile"></a>

```java
public java.lang.String getLocalhostProfile();
```

- *Type:* java.lang.String

localhostProfile indicates a profile defined in a file on the node should be used.

The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must be set if type is "Localhost". Must NOT be set for any other type.

---

### SecretEnvSource <a name="SecretEnvSource" id="cdk8s-plus-32.k8s.SecretEnvSource"></a>

SecretEnvSource selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecretEnvSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecretEnvSource;

SecretEnvSource.builder()
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecretEnvSource.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.SecretEnvSource.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the Secret must be defined. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.SecretEnvSource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.SecretEnvSource.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

Specify whether the Secret must be defined.

---

### SecretKeySelector <a name="SecretKeySelector" id="cdk8s-plus-32.k8s.SecretKeySelector"></a>

SecretKeySelector selects a key of a Secret.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecretKeySelector.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecretKeySelector;

SecretKeySelector.builder()
    .key(java.lang.String)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecretKeySelector.property.key">key</a></code> | <code>java.lang.String</code> | The key of the secret to select from. |
| <code><a href="#cdk8s-plus-32.k8s.SecretKeySelector.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.SecretKeySelector.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the Secret or its key must be defined. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.SecretKeySelector.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The key of the secret to select from.

Must be a valid secret key.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.SecretKeySelector.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.SecretKeySelector.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

Specify whether the Secret or its key must be defined.

---

### SecretProjection <a name="SecretProjection" id="cdk8s-plus-32.k8s.SecretProjection"></a>

Adapts a secret into a projected volume.

The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecretProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecretProjection;

SecretProjection.builder()
//  .items(java.util.List<KeyToPath>)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecretProjection.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KeyToPath></code> | items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.k8s.SecretProjection.property.name">name</a></code> | <code>java.lang.String</code> | Name of the referent. |
| <code><a href="#cdk8s-plus-32.k8s.SecretProjection.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | optional field specify whether the Secret or its key must be defined. |

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.SecretProjection.property.items"></a>

```java
public java.util.List<KeyToPath> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KeyToPath>

items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.SecretProjection.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the referent.

This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.SecretProjection.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

optional field specify whether the Secret or its key must be defined.

---

### SecretProps <a name="SecretProps" id="cdk8s-plus-32.SecretProps"></a>

Options for `Secret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.SecretProps;

SecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
//  .stringData(java.util.Map<java.lang.String, java.lang.String>)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.SecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.SecretProps.property.stringData">stringData</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | stringData allows specifying non-binary secret data in string form. |
| <code><a href="#cdk8s-plus-32.SecretProps.property.type">type</a></code> | <code>java.lang.String</code> | Optional type associated with the secret. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.SecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.SecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `stringData`<sup>Optional</sup> <a name="stringData" id="cdk8s-plus-32.SecretProps.property.stringData"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getStringData();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

stringData allows specifying non-binary secret data in string form.

It is
provided as a write-only convenience method. All keys and values are merged
into the data field on write, overwriting any existing values. It is never
output when reading from the API.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.SecretProps.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* undefined - Don't set a type.

Optional type associated with the secret.

Used to facilitate programmatic
handling of secret data by various controllers.

---

### SecretReference <a name="SecretReference" id="cdk8s-plus-32.k8s.SecretReference"></a>

SecretReference represents a Secret Reference.

It has enough information to retrieve secret in any namespace

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecretReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecretReference;

SecretReference.builder()
//  .name(java.lang.String)
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecretReference.property.name">name</a></code> | <code>java.lang.String</code> | name is unique within a namespace to reference a secret resource. |
| <code><a href="#cdk8s-plus-32.k8s.SecretReference.property.namespace">namespace</a></code> | <code>java.lang.String</code> | namespace defines the space within which the secret name must be unique. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.SecretReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is unique within a namespace to reference a secret resource.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.SecretReference.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

namespace defines the space within which the secret name must be unique.

---

### SecretValue <a name="SecretValue" id="cdk8s-plus-32.SecretValue"></a>

Represents a specific value in JSON secret.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SecretValue.Initializer"></a>

```java
import org.cdk8s.plus32.SecretValue;

SecretValue.builder()
    .key(java.lang.String)
    .secret(ISecret)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SecretValue.property.key">key</a></code> | <code>java.lang.String</code> | The JSON key. |
| <code><a href="#cdk8s-plus-32.SecretValue.property.secret">secret</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | The secret. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.SecretValue.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The JSON key.

---

##### `secret`<sup>Required</sup> <a name="secret" id="cdk8s-plus-32.SecretValue.property.secret"></a>

```java
public ISecret getSecret();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

The secret.

---

### SecretVolumeOptions <a name="SecretVolumeOptions" id="cdk8s-plus-32.SecretVolumeOptions"></a>

Options for the Secret-based volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SecretVolumeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.SecretVolumeOptions;

SecretVolumeOptions.builder()
//  .defaultMode(java.lang.Number)
//  .items(java.util.Map<java.lang.String, PathMapping>)
//  .name(java.lang.String)
//  .optional(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SecretVolumeOptions.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | Mode bits to use on created files by default. |
| <code><a href="#cdk8s-plus-32.SecretVolumeOptions.property.items">items</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.PathMapping">PathMapping</a>></code> | If unspecified, each key-value pair in the Data field of the referenced secret will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.SecretVolumeOptions.property.name">name</a></code> | <code>java.lang.String</code> | The volume name. |
| <code><a href="#cdk8s-plus-32.SecretVolumeOptions.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | Specify whether the secret or its keys must be defined. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.SecretVolumeOptions.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number
- *Default:* 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

Mode bits to use on created files by default.

Must be a value between 0 and
0777. Defaults to 0644. Directories within the path are not affected by
this setting. This might be in conflict with other options that affect the
file mode, like fsGroup, and the result can be other mode bits set.

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.SecretVolumeOptions.property.items"></a>

```java
public java.util.Map<java.lang.String, PathMapping> getItems();
```

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.PathMapping">PathMapping</a>>
- *Default:* no mapping

If unspecified, each key-value pair in the Data field of the referenced secret will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected
into the specified paths, and unlisted keys will not be present. If a key
is specified which is not present in the secret, the volume setup will
error unless it is marked optional. Paths must be relative and may not
contain the '..' path or start with '..'.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.SecretVolumeOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String
- *Default:* auto-generated

The volume name.

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.SecretVolumeOptions.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean
- *Default:* undocumented

Specify whether the secret or its keys must be defined.

---

### SecretVolumeSource <a name="SecretVolumeSource" id="cdk8s-plus-32.k8s.SecretVolumeSource"></a>

Adapts a Secret into a volume.

The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecretVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecretVolumeSource;

SecretVolumeSource.builder()
//  .defaultMode(java.lang.Number)
//  .items(java.util.List<KeyToPath>)
//  .optional(java.lang.Boolean)
//  .secretName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecretVolumeSource.property.defaultMode">defaultMode</a></code> | <code>java.lang.Number</code> | defaultMode is Optional: mode bits used to set permissions on created files by default. |
| <code><a href="#cdk8s-plus-32.k8s.SecretVolumeSource.property.items">items</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KeyToPath></code> | items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. |
| <code><a href="#cdk8s-plus-32.k8s.SecretVolumeSource.property.optional">optional</a></code> | <code>java.lang.Boolean</code> | optional field specify whether the Secret or its keys must be defined. |
| <code><a href="#cdk8s-plus-32.k8s.SecretVolumeSource.property.secretName">secretName</a></code> | <code>java.lang.String</code> | secretName is the name of the secret in the pod's namespace to use. |

---

##### `defaultMode`<sup>Optional</sup> <a name="defaultMode" id="cdk8s-plus-32.k8s.SecretVolumeSource.property.defaultMode"></a>

```java
public java.lang.Number getDefaultMode();
```

- *Type:* java.lang.Number
- *Default:* 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

defaultMode is Optional: mode bits used to set permissions on created files by default.

Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.

---

##### `items`<sup>Optional</sup> <a name="items" id="cdk8s-plus-32.k8s.SecretVolumeSource.property.items"></a>

```java
public java.util.List<KeyToPath> getItems();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KeyToPath>

items If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.

If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.

---

##### `optional`<sup>Optional</sup> <a name="optional" id="cdk8s-plus-32.k8s.SecretVolumeSource.property.optional"></a>

```java
public java.lang.Boolean getOptional();
```

- *Type:* java.lang.Boolean

optional field specify whether the Secret or its keys must be defined.

---

##### `secretName`<sup>Optional</sup> <a name="secretName" id="cdk8s-plus-32.k8s.SecretVolumeSource.property.secretName"></a>

```java
public java.lang.String getSecretName();
```

- *Type:* java.lang.String

secretName is the name of the secret in the pod's namespace to use.

More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

---

### SecurityContext <a name="SecurityContext" id="cdk8s-plus-32.k8s.SecurityContext"></a>

SecurityContext holds security configuration that will be applied to a container.

Some fields are present in both SecurityContext and PodSecurityContext.  When both are set, the values in SecurityContext take precedence.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SecurityContext.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SecurityContext;

SecurityContext.builder()
//  .allowPrivilegeEscalation(java.lang.Boolean)
//  .appArmorProfile(AppArmorProfile)
//  .capabilities(Capabilities)
//  .privileged(java.lang.Boolean)
//  .procMount(java.lang.String)
//  .readOnlyRootFilesystem(java.lang.Boolean)
//  .runAsGroup(java.lang.Number)
//  .runAsNonRoot(java.lang.Boolean)
//  .runAsUser(java.lang.Number)
//  .seccompProfile(SeccompProfile)
//  .seLinuxOptions(SeLinuxOptions)
//  .windowsOptions(WindowsSecurityContextOptions)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.allowPrivilegeEscalation">allowPrivilegeEscalation</a></code> | <code>java.lang.Boolean</code> | AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.appArmorProfile">appArmorProfile</a></code> | <code>org.cdk8s.plus32.k8s.AppArmorProfile</code> | appArmorProfile is the AppArmor options to use by this container. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.capabilities">capabilities</a></code> | <code>org.cdk8s.plus32.k8s.Capabilities</code> | The capabilities to add/drop when running containers. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.privileged">privileged</a></code> | <code>java.lang.Boolean</code> | Run container in privileged mode. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.procMount">procMount</a></code> | <code>java.lang.String</code> | procMount denotes the type of proc mount to use for the containers. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.readOnlyRootFilesystem">readOnlyRootFilesystem</a></code> | <code>java.lang.Boolean</code> | Whether this container has a read-only root filesystem. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.runAsGroup">runAsGroup</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.runAsNonRoot">runAsNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.runAsUser">runAsUser</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.seccompProfile">seccompProfile</a></code> | <code>org.cdk8s.plus32.k8s.SeccompProfile</code> | The seccomp options to use by this container. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.seLinuxOptions">seLinuxOptions</a></code> | <code>org.cdk8s.plus32.k8s.SeLinuxOptions</code> | The SELinux context to be applied to the container. |
| <code><a href="#cdk8s-plus-32.k8s.SecurityContext.property.windowsOptions">windowsOptions</a></code> | <code>org.cdk8s.plus32.k8s.WindowsSecurityContextOptions</code> | The Windows specific settings applied to all containers. |

---

##### `allowPrivilegeEscalation`<sup>Optional</sup> <a name="allowPrivilegeEscalation" id="cdk8s-plus-32.k8s.SecurityContext.property.allowPrivilegeEscalation"></a>

```java
public java.lang.Boolean getAllowPrivilegeEscalation();
```

- *Type:* java.lang.Boolean

AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process.

This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.

---

##### `appArmorProfile`<sup>Optional</sup> <a name="appArmorProfile" id="cdk8s-plus-32.k8s.SecurityContext.property.appArmorProfile"></a>

```java
public AppArmorProfile getAppArmorProfile();
```

- *Type:* org.cdk8s.plus32.k8s.AppArmorProfile

appArmorProfile is the AppArmor options to use by this container.

If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.

---

##### `capabilities`<sup>Optional</sup> <a name="capabilities" id="cdk8s-plus-32.k8s.SecurityContext.property.capabilities"></a>

```java
public Capabilities getCapabilities();
```

- *Type:* org.cdk8s.plus32.k8s.Capabilities
- *Default:* the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.

The capabilities to add/drop when running containers.

Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.

---

##### `privileged`<sup>Optional</sup> <a name="privileged" id="cdk8s-plus-32.k8s.SecurityContext.property.privileged"></a>

```java
public java.lang.Boolean getPrivileged();
```

- *Type:* java.lang.Boolean
- *Default:* false. Note that this field cannot be set when spec.os.name is windows.

Run container in privileged mode.

Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.

---

##### `procMount`<sup>Optional</sup> <a name="procMount" id="cdk8s-plus-32.k8s.SecurityContext.property.procMount"></a>

```java
public java.lang.String getProcMount();
```

- *Type:* java.lang.String

procMount denotes the type of proc mount to use for the containers.

The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.

---

##### `readOnlyRootFilesystem`<sup>Optional</sup> <a name="readOnlyRootFilesystem" id="cdk8s-plus-32.k8s.SecurityContext.property.readOnlyRootFilesystem"></a>

```java
public java.lang.Boolean getReadOnlyRootFilesystem();
```

- *Type:* java.lang.Boolean
- *Default:* false. Note that this field cannot be set when spec.os.name is windows.

Whether this container has a read-only root filesystem.

Default is false. Note that this field cannot be set when spec.os.name is windows.

---

##### `runAsGroup`<sup>Optional</sup> <a name="runAsGroup" id="cdk8s-plus-32.k8s.SecurityContext.property.runAsGroup"></a>

```java
public java.lang.Number getRunAsGroup();
```

- *Type:* java.lang.Number

The GID to run the entrypoint of the container process.

Uses runtime default if unset. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

---

##### `runAsNonRoot`<sup>Optional</sup> <a name="runAsNonRoot" id="cdk8s-plus-32.k8s.SecurityContext.property.runAsNonRoot"></a>

```java
public java.lang.Boolean getRunAsNonRoot();
```

- *Type:* java.lang.Boolean

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

---

##### `runAsUser`<sup>Optional</sup> <a name="runAsUser" id="cdk8s-plus-32.k8s.SecurityContext.property.runAsUser"></a>

```java
public java.lang.Number getRunAsUser();
```

- *Type:* java.lang.Number
- *Default:* user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

The UID to run the entrypoint of the container process.

Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

---

##### `seccompProfile`<sup>Optional</sup> <a name="seccompProfile" id="cdk8s-plus-32.k8s.SecurityContext.property.seccompProfile"></a>

```java
public SeccompProfile getSeccompProfile();
```

- *Type:* org.cdk8s.plus32.k8s.SeccompProfile

The seccomp options to use by this container.

If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.

---

##### `seLinuxOptions`<sup>Optional</sup> <a name="seLinuxOptions" id="cdk8s-plus-32.k8s.SecurityContext.property.seLinuxOptions"></a>

```java
public SeLinuxOptions getSeLinuxOptions();
```

- *Type:* org.cdk8s.plus32.k8s.SeLinuxOptions

The SELinux context to be applied to the container.

If unspecified, the container runtime will allocate a random SELinux context for each container.  May also be set in PodSecurityContext.  If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.

---

##### `windowsOptions`<sup>Optional</sup> <a name="windowsOptions" id="cdk8s-plus-32.k8s.SecurityContext.property.windowsOptions"></a>

```java
public WindowsSecurityContextOptions getWindowsOptions();
```

- *Type:* org.cdk8s.plus32.k8s.WindowsSecurityContextOptions

The Windows specific settings applied to all containers.

If unspecified, the options from the PodSecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.

---

### SelectableField <a name="SelectableField" id="cdk8s-plus-32.k8s.SelectableField"></a>

SelectableField specifies the JSON path of a field that may be used with field selectors.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SelectableField.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SelectableField;

SelectableField.builder()
    .jsonPath(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SelectableField.property.jsonPath">jsonPath</a></code> | <code>java.lang.String</code> | jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. |

---

##### `jsonPath`<sup>Required</sup> <a name="jsonPath" id="cdk8s-plus-32.k8s.SelectableField.property.jsonPath"></a>

```java
public java.lang.String getJsonPath();
```

- *Type:* java.lang.String

jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value.

Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.

---

### SelfSubjectAccessReviewSpec <a name="SelfSubjectAccessReviewSpec" id="cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec"></a>

SelfSubjectAccessReviewSpec is a description of the access request.

Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SelfSubjectAccessReviewSpec;

SelfSubjectAccessReviewSpec.builder()
//  .nonResourceAttributes(NonResourceAttributes)
//  .resourceAttributes(ResourceAttributes)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec.property.nonResourceAttributes">nonResourceAttributes</a></code> | <code>org.cdk8s.plus32.k8s.NonResourceAttributes</code> | NonResourceAttributes describes information for a non-resource access request. |
| <code><a href="#cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec.property.resourceAttributes">resourceAttributes</a></code> | <code>org.cdk8s.plus32.k8s.ResourceAttributes</code> | ResourceAuthorizationAttributes describes information for a resource access request. |

---

##### `nonResourceAttributes`<sup>Optional</sup> <a name="nonResourceAttributes" id="cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec.property.nonResourceAttributes"></a>

```java
public NonResourceAttributes getNonResourceAttributes();
```

- *Type:* org.cdk8s.plus32.k8s.NonResourceAttributes

NonResourceAttributes describes information for a non-resource access request.

---

##### `resourceAttributes`<sup>Optional</sup> <a name="resourceAttributes" id="cdk8s-plus-32.k8s.SelfSubjectAccessReviewSpec.property.resourceAttributes"></a>

```java
public ResourceAttributes getResourceAttributes();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceAttributes

ResourceAuthorizationAttributes describes information for a resource access request.

---

### SelfSubjectRulesReviewSpec <a name="SelfSubjectRulesReviewSpec" id="cdk8s-plus-32.k8s.SelfSubjectRulesReviewSpec"></a>

SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SelfSubjectRulesReviewSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SelfSubjectRulesReviewSpec;

SelfSubjectRulesReviewSpec.builder()
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SelfSubjectRulesReviewSpec.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace to evaluate rules for. |

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.SelfSubjectRulesReviewSpec.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace to evaluate rules for.

Required.

---

### SeLinuxOptions <a name="SeLinuxOptions" id="cdk8s-plus-32.k8s.SeLinuxOptions"></a>

SELinuxOptions are the labels to be applied to the container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SeLinuxOptions.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SeLinuxOptions;

SeLinuxOptions.builder()
//  .level(java.lang.String)
//  .role(java.lang.String)
//  .type(java.lang.String)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SeLinuxOptions.property.level">level</a></code> | <code>java.lang.String</code> | Level is SELinux level label that applies to the container. |
| <code><a href="#cdk8s-plus-32.k8s.SeLinuxOptions.property.role">role</a></code> | <code>java.lang.String</code> | Role is a SELinux role label that applies to the container. |
| <code><a href="#cdk8s-plus-32.k8s.SeLinuxOptions.property.type">type</a></code> | <code>java.lang.String</code> | Type is a SELinux type label that applies to the container. |
| <code><a href="#cdk8s-plus-32.k8s.SeLinuxOptions.property.user">user</a></code> | <code>java.lang.String</code> | User is a SELinux user label that applies to the container. |

---

##### `level`<sup>Optional</sup> <a name="level" id="cdk8s-plus-32.k8s.SeLinuxOptions.property.level"></a>

```java
public java.lang.String getLevel();
```

- *Type:* java.lang.String

Level is SELinux level label that applies to the container.

---

##### `role`<sup>Optional</sup> <a name="role" id="cdk8s-plus-32.k8s.SeLinuxOptions.property.role"></a>

```java
public java.lang.String getRole();
```

- *Type:* java.lang.String

Role is a SELinux role label that applies to the container.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.SeLinuxOptions.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

Type is a SELinux type label that applies to the container.

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.SeLinuxOptions.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String

User is a SELinux user label that applies to the container.

---

### ServiceAccountProps <a name="ServiceAccountProps" id="cdk8s-plus-32.ServiceAccountProps"></a>

Properties for initialization of `ServiceAccount`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServiceAccountProps.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceAccountProps;

ServiceAccountProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountToken(java.lang.Boolean)
//  .secrets(java.util.List<ISecret>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ServiceAccountProps.property.automountToken">automountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether pods running as this service account should have an API token automatically mounted. |
| <code><a href="#cdk8s-plus-32.ServiceAccountProps.property.secrets">secrets</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>></code> | List of secrets allowed to be used by pods running using this ServiceAccount. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccountProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountToken`<sup>Optional</sup> <a name="automountToken" id="cdk8s-plus-32.ServiceAccountProps.property.automountToken"></a>

```java
public java.lang.Boolean getAutomountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether pods running as this service account should have an API token automatically mounted.

Can be overridden at the pod level.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `secrets`<sup>Optional</sup> <a name="secrets" id="cdk8s-plus-32.ServiceAccountProps.property.secrets"></a>

```java
public java.util.List<ISecret> getSecrets();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ISecret">ISecret</a>>

List of secrets allowed to be used by pods running using this ServiceAccount.

> [https://kubernetes.io/docs/concepts/configuration/secret](https://kubernetes.io/docs/concepts/configuration/secret)

---

### ServiceAccountTokenProjection <a name="ServiceAccountTokenProjection" id="cdk8s-plus-32.k8s.ServiceAccountTokenProjection"></a>

ServiceAccountTokenProjection represents a projected service account token volume.

This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServiceAccountTokenProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServiceAccountTokenProjection;

ServiceAccountTokenProjection.builder()
    .path(java.lang.String)
//  .audience(java.lang.String)
//  .expirationSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.path">path</a></code> | <code>java.lang.String</code> | path is the path relative to the mount point of the file to project the token into. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.audience">audience</a></code> | <code>java.lang.String</code> | audience is the intended audience of the token. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.expirationSeconds">expirationSeconds</a></code> | <code>java.lang.Number</code> | expirationSeconds is the requested duration of validity of the service account token. |

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

path is the path relative to the mount point of the file to project the token into.

---

##### `audience`<sup>Optional</sup> <a name="audience" id="cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.audience"></a>

```java
public java.lang.String getAudience();
```

- *Type:* java.lang.String

audience is the intended audience of the token.

A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.

---

##### `expirationSeconds`<sup>Optional</sup> <a name="expirationSeconds" id="cdk8s-plus-32.k8s.ServiceAccountTokenProjection.property.expirationSeconds"></a>

```java
public java.lang.Number getExpirationSeconds();
```

- *Type:* java.lang.Number
- *Default:* 1 hour and must be at least 10 minutes.

expirationSeconds is the requested duration of validity of the service account token.

As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.

---

### ServiceAccountTokenSecretProps <a name="ServiceAccountTokenSecretProps" id="cdk8s-plus-32.ServiceAccountTokenSecretProps"></a>

Options for `ServiceAccountTokenSecret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServiceAccountTokenSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceAccountTokenSecretProps;

ServiceAccountTokenSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .serviceAccount(IServiceAccount)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.ServiceAccountTokenSecretProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | The service account to store a secret for. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ServiceAccountTokenSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.ServiceAccountTokenSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `serviceAccount`<sup>Required</sup> <a name="serviceAccount" id="cdk8s-plus-32.ServiceAccountTokenSecretProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

The service account to store a secret for.

---

### ServiceBackendPort <a name="ServiceBackendPort" id="cdk8s-plus-32.k8s.ServiceBackendPort"></a>

ServiceBackendPort is the service port being referenced.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServiceBackendPort.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServiceBackendPort;

ServiceBackendPort.builder()
//  .name(java.lang.String)
//  .number(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServiceBackendPort.property.name">name</a></code> | <code>java.lang.String</code> | name is the name of the port on the Service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceBackendPort.property.number">number</a></code> | <code>java.lang.Number</code> | number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name". |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ServiceBackendPort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name is the name of the port on the Service.

This is a mutually exclusive setting with "Number".

---

##### `number`<sup>Optional</sup> <a name="number" id="cdk8s-plus-32.k8s.ServiceBackendPort.property.number"></a>

```java
public java.lang.Number getNumber();
```

- *Type:* java.lang.Number

number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".

---

### ServiceBindOptions <a name="ServiceBindOptions" id="cdk8s-plus-32.ServiceBindOptions"></a>

Options for `Service.bind`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServiceBindOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceBindOptions;

ServiceBindOptions.builder()
//  .name(java.lang.String)
//  .nodePort(java.lang.Number)
//  .protocol(Protocol)
//  .targetPort(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceBindOptions.property.name">name</a></code> | <code>java.lang.String</code> | The name of this port within the service. |
| <code><a href="#cdk8s-plus-32.ServiceBindOptions.property.nodePort">nodePort</a></code> | <code>java.lang.Number</code> | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. |
| <code><a href="#cdk8s-plus-32.ServiceBindOptions.property.protocol">protocol</a></code> | <code><a href="#cdk8s-plus-32.Protocol">Protocol</a></code> | The IP protocol for this port. |
| <code><a href="#cdk8s-plus-32.ServiceBindOptions.property.targetPort">targetPort</a></code> | <code>java.lang.Number</code> | The port number the service will redirect to. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ServiceBindOptions.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this port within the service.

This must be a DNS_LABEL. All
ports within a ServiceSpec must have unique names. This maps to the 'Name'
field in EndpointPort objects. Optional if only one ServicePort is defined
on this service.

---

##### `nodePort`<sup>Optional</sup> <a name="nodePort" id="cdk8s-plus-32.ServiceBindOptions.property.nodePort"></a>

```java
public java.lang.Number getNodePort();
```

- *Type:* java.lang.Number
- *Default:* auto-allocate a port if the ServiceType of this Service requires one.

The port on each node on which this service is exposed when type=NodePort or LoadBalancer.

Usually assigned by the system. If specified, it will be
allocated to the service if unused or else creation of the service will
fail. Default is to auto-allocate a port if the ServiceType of this Service
requires one.

> [https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.ServiceBindOptions.property.protocol"></a>

```java
public Protocol getProtocol();
```

- *Type:* <a href="#cdk8s-plus-32.Protocol">Protocol</a>
- *Default:* Protocol.TCP

The IP protocol for this port.

Supports "TCP", "UDP", and "SCTP". Default is TCP.

---

##### `targetPort`<sup>Optional</sup> <a name="targetPort" id="cdk8s-plus-32.ServiceBindOptions.property.targetPort"></a>

```java
public java.lang.Number getTargetPort();
```

- *Type:* java.lang.Number
- *Default:* The value of `port` will be used.

The port number the service will redirect to.

---

### ServiceCidrSpecV1Beta1 <a name="ServiceCidrSpecV1Beta1" id="cdk8s-plus-32.k8s.ServiceCidrSpecV1Beta1"></a>

ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServiceCidrSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServiceCidrSpecV1Beta1;

ServiceCidrSpecV1Beta1.builder()
//  .cidrs(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServiceCidrSpecV1Beta1.property.cidrs">cidrs</a></code> | <code>java.util.List<java.lang.String></code> | CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. |

---

##### `cidrs`<sup>Optional</sup> <a name="cidrs" id="cdk8s-plus-32.k8s.ServiceCidrSpecV1Beta1.property.cidrs"></a>

```java
public java.util.List<java.lang.String> getCidrs();
```

- *Type:* java.util.List<java.lang.String>

CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.

---

### ServiceIngressBackendOptions <a name="ServiceIngressBackendOptions" id="cdk8s-plus-32.ServiceIngressBackendOptions"></a>

Options for setting up backends for ingress rules.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServiceIngressBackendOptions.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceIngressBackendOptions;

ServiceIngressBackendOptions.builder()
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceIngressBackendOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The port to use to access the service. |

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.ServiceIngressBackendOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* if the service exposes a single port, this port will be used.

The port to use to access the service.

* This option will fail if the service does not expose any ports.
* If the service exposes multiple ports, this option must be specified.
* If the service exposes a single port, this option is optional and if
  specified, it must be the same port exposed by the service.

---

### ServicePort <a name="ServicePort" id="cdk8s-plus-32.ServicePort"></a>

Definition of a service port.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServicePort.Initializer"></a>

```java
import org.cdk8s.plus32.ServicePort;

ServicePort.builder()
//  .name(java.lang.String)
//  .nodePort(java.lang.Number)
//  .protocol(Protocol)
//  .targetPort(java.lang.Number)
    .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServicePort.property.name">name</a></code> | <code>java.lang.String</code> | The name of this port within the service. |
| <code><a href="#cdk8s-plus-32.ServicePort.property.nodePort">nodePort</a></code> | <code>java.lang.Number</code> | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. |
| <code><a href="#cdk8s-plus-32.ServicePort.property.protocol">protocol</a></code> | <code><a href="#cdk8s-plus-32.Protocol">Protocol</a></code> | The IP protocol for this port. |
| <code><a href="#cdk8s-plus-32.ServicePort.property.targetPort">targetPort</a></code> | <code>java.lang.Number</code> | The port number the service will redirect to. |
| <code><a href="#cdk8s-plus-32.ServicePort.property.port">port</a></code> | <code>java.lang.Number</code> | The port number the service will bind to. |

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.ServicePort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this port within the service.

This must be a DNS_LABEL. All
ports within a ServiceSpec must have unique names. This maps to the 'Name'
field in EndpointPort objects. Optional if only one ServicePort is defined
on this service.

---

##### `nodePort`<sup>Optional</sup> <a name="nodePort" id="cdk8s-plus-32.ServicePort.property.nodePort"></a>

```java
public java.lang.Number getNodePort();
```

- *Type:* java.lang.Number
- *Default:* auto-allocate a port if the ServiceType of this Service requires one.

The port on each node on which this service is exposed when type=NodePort or LoadBalancer.

Usually assigned by the system. If specified, it will be
allocated to the service if unused or else creation of the service will
fail. Default is to auto-allocate a port if the ServiceType of this Service
requires one.

> [https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport)

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.ServicePort.property.protocol"></a>

```java
public Protocol getProtocol();
```

- *Type:* <a href="#cdk8s-plus-32.Protocol">Protocol</a>
- *Default:* Protocol.TCP

The IP protocol for this port.

Supports "TCP", "UDP", and "SCTP". Default is TCP.

---

##### `targetPort`<sup>Optional</sup> <a name="targetPort" id="cdk8s-plus-32.ServicePort.property.targetPort"></a>

```java
public java.lang.Number getTargetPort();
```

- *Type:* java.lang.Number
- *Default:* The value of `port` will be used.

The port number the service will redirect to.

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.ServicePort.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

The port number the service will bind to.

---

### ServicePort <a name="ServicePort" id="cdk8s-plus-32.k8s.ServicePort"></a>

ServicePort contains information on service's port.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServicePort.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServicePort;

ServicePort.builder()
    .port(java.lang.Number)
//  .appProtocol(java.lang.String)
//  .name(java.lang.String)
//  .nodePort(java.lang.Number)
//  .protocol(java.lang.String)
//  .targetPort(IntOrString)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.port">port</a></code> | <code>java.lang.Number</code> | The port that will be exposed by this service. |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.appProtocol">appProtocol</a></code> | <code>java.lang.String</code> | The application protocol for this port. |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.name">name</a></code> | <code>java.lang.String</code> | The name of this port within the service. |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.nodePort">nodePort</a></code> | <code>java.lang.Number</code> | The port on each node on which this service is exposed when type is NodePort or LoadBalancer. |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.protocol">protocol</a></code> | <code>java.lang.String</code> | The IP protocol for this port. |
| <code><a href="#cdk8s-plus-32.k8s.ServicePort.property.targetPort">targetPort</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | Number or name of the port to access on the pods targeted by the service. |

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.k8s.ServicePort.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

The port that will be exposed by this service.

---

##### `appProtocol`<sup>Optional</sup> <a name="appProtocol" id="cdk8s-plus-32.k8s.ServicePort.property.appProtocol"></a>

```java
public java.lang.String getAppProtocol();
```

- *Type:* java.lang.String

The application protocol for this port.

This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:

* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).
* Kubernetes-defined prefixed names:
* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
* 'kubernetes.io/ws'  - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.ServicePort.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of this port within the service.

This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.

---

##### `nodePort`<sup>Optional</sup> <a name="nodePort" id="cdk8s-plus-32.k8s.ServicePort.property.nodePort"></a>

```java
public java.lang.Number getNodePort();
```

- *Type:* java.lang.Number

The port on each node on which this service is exposed when type is NodePort or LoadBalancer.

Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail.  If not specified, a port will be allocated if this Service requires one.  If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

---

##### `protocol`<sup>Optional</sup> <a name="protocol" id="cdk8s-plus-32.k8s.ServicePort.property.protocol"></a>

```java
public java.lang.String getProtocol();
```

- *Type:* java.lang.String
- *Default:* TCP.

The IP protocol for this port.

Supports "TCP", "UDP", and "SCTP". Default is TCP.

---

##### `targetPort`<sup>Optional</sup> <a name="targetPort" id="cdk8s-plus-32.k8s.ServicePort.property.targetPort"></a>

```java
public IntOrString getTargetPort();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

Number or name of the port to access on the pods targeted by the service.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service

---

### ServiceProps <a name="ServiceProps" id="cdk8s-plus-32.ServiceProps"></a>

Properties for `Service`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.ServiceProps.Initializer"></a>

```java
import org.cdk8s.plus32.ServiceProps;

ServiceProps.builder()
//  .metadata(ApiObjectMetadata)
//  .clusterIP(java.lang.String)
//  .externalIPs(java.util.List<java.lang.String>)
//  .externalName(java.lang.String)
//  .loadBalancerSourceRanges(java.util.List<java.lang.String>)
//  .ports(java.util.List<ServicePort>)
//  .publishNotReadyAddresses(java.lang.Boolean)
//  .selector(IPodSelector)
//  .type(ServiceType)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.clusterIP">clusterIP</a></code> | <code>java.lang.String</code> | The IP address of the service and is usually assigned randomly by the master. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.externalIPs">externalIPs</a></code> | <code>java.util.List<java.lang.String></code> | A list of IP addresses for which nodes in the cluster will also accept traffic for this service. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.externalName">externalName</a></code> | <code>java.lang.String</code> | The externalName to be used when ServiceType.EXTERNAL_NAME is set. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.loadBalancerSourceRanges">loadBalancerSourceRanges</a></code> | <code>java.util.List<java.lang.String></code> | A list of CIDR IP addresses, if specified and supported by the platform, will restrict traffic through the cloud-provider load-balancer to the specified client IPs. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>></code> | The ports this service binds to. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.publishNotReadyAddresses">publishNotReadyAddresses</a></code> | <code>java.lang.Boolean</code> | The publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.selector">selector</a></code> | <code><a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a></code> | Which pods should the service select and route to. |
| <code><a href="#cdk8s-plus-32.ServiceProps.property.type">type</a></code> | <code><a href="#cdk8s-plus-32.ServiceType">ServiceType</a></code> | Determines how the Service is exposed. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.ServiceProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `clusterIP`<sup>Optional</sup> <a name="clusterIP" id="cdk8s-plus-32.ServiceProps.property.clusterIP"></a>

```java
public java.lang.String getClusterIP();
```

- *Type:* java.lang.String
- *Default:* Automatically assigned.

The IP address of the service and is usually assigned randomly by the master.

If an address is specified manually and is not in use by others, it
will be allocated to the service; otherwise, creation of the service will
fail. This field can not be changed through updates. Valid values are
"None", empty string (""), or a valid IP address. "None" can be specified
for headless services when proxying is not required. Only applies to types
ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName.

> [https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies](https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies)

---

##### `externalIPs`<sup>Optional</sup> <a name="externalIPs" id="cdk8s-plus-32.ServiceProps.property.externalIPs"></a>

```java
public java.util.List<java.lang.String> getExternalIPs();
```

- *Type:* java.util.List<java.lang.String>
- *Default:* No external IPs.

A list of IP addresses for which nodes in the cluster will also accept traffic for this service.

These IPs are not managed by Kubernetes. The user
is responsible for ensuring that traffic arrives at a node with this IP. A
common example is external load-balancers that are not part of the
Kubernetes system.

---

##### `externalName`<sup>Optional</sup> <a name="externalName" id="cdk8s-plus-32.ServiceProps.property.externalName"></a>

```java
public java.lang.String getExternalName();
```

- *Type:* java.lang.String
- *Default:* No external name.

The externalName to be used when ServiceType.EXTERNAL_NAME is set.

---

##### `loadBalancerSourceRanges`<sup>Optional</sup> <a name="loadBalancerSourceRanges" id="cdk8s-plus-32.ServiceProps.property.loadBalancerSourceRanges"></a>

```java
public java.util.List<java.lang.String> getLoadBalancerSourceRanges();
```

- *Type:* java.util.List<java.lang.String>

A list of CIDR IP addresses, if specified and supported by the platform, will restrict traffic through the cloud-provider load-balancer to the specified client IPs.

More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.ServiceProps.property.ports"></a>

```java
public java.util.List<ServicePort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ServicePort">ServicePort</a>>
- *Default:* either the selector ports, or none.

The ports this service binds to.

If the selector of the service is a managed pod / workload,
its ports will are automatically extracted and used as the default value.
Otherwise, no ports are bound.

---

##### `publishNotReadyAddresses`<sup>Optional</sup> <a name="publishNotReadyAddresses" id="cdk8s-plus-32.ServiceProps.property.publishNotReadyAddresses"></a>

```java
public java.lang.Boolean getPublishNotReadyAddresses();
```

- *Type:* java.lang.Boolean
- *Default:* false

The publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready.

More info: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#servicespec-v1-core

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.ServiceProps.property.selector"></a>

```java
public IPodSelector getSelector();
```

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>
- *Default:* unset, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify.

Which pods should the service select and route to.

You can pass one of the following:

* An instance of `Pod` or any workload resource (e.g `Deployment`, `StatefulSet`, ...)
* Pods selected by the `Pods.select` function. Note that in this case only labels can be specified.

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
// select the pods of a specific deployment
Object backend = new Deployment(this, "Backend", ...);
Service.Builder.create(this, "Service").selector(backend).build();

// select all pods labeled with the `tier=backend` label
Object backend = kplus.Pod.labeled(Map.of("tier", "backend"));
Service.Builder.create(this, "Service").selector(backend).build();
```


##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.ServiceProps.property.type"></a>

```java
public ServiceType getType();
```

- *Type:* <a href="#cdk8s-plus-32.ServiceType">ServiceType</a>
- *Default:* ServiceType.ClusterIP

Determines how the Service is exposed.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types

---

### ServiceReference <a name="ServiceReference" id="cdk8s-plus-32.k8s.ServiceReference"></a>

ServiceReference holds a reference to Service.legacy.k8s.io.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServiceReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServiceReference;

ServiceReference.builder()
    .name(java.lang.String)
    .namespace(java.lang.String)
//  .path(java.lang.String)
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServiceReference.property.name">name</a></code> | <code>java.lang.String</code> | `name` is the name of the service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceReference.property.namespace">namespace</a></code> | <code>java.lang.String</code> | `namespace` is the namespace of the service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceReference.property.path">path</a></code> | <code>java.lang.String</code> | `path` is an optional URL path which will be sent in any request to this service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceReference.property.port">port</a></code> | <code>java.lang.Number</code> | If specified, the port on the service that hosting webhook. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ServiceReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

`name` is the name of the service.

Required

---

##### `namespace`<sup>Required</sup> <a name="namespace" id="cdk8s-plus-32.k8s.ServiceReference.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

`namespace` is the namespace of the service.

Required

---

##### `path`<sup>Optional</sup> <a name="path" id="cdk8s-plus-32.k8s.ServiceReference.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

`path` is an optional URL path which will be sent in any request to this service.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.k8s.ServiceReference.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).

If specified, the port on the service that hosting webhook.

Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).

---

### ServiceSpec <a name="ServiceSpec" id="cdk8s-plus-32.k8s.ServiceSpec"></a>

ServiceSpec describes the attributes that a user creates on a service.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ServiceSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ServiceSpec;

ServiceSpec.builder()
//  .allocateLoadBalancerNodePorts(java.lang.Boolean)
//  .clusterIp(java.lang.String)
//  .clusterIPs(java.util.List<java.lang.String>)
//  .externalIPs(java.util.List<java.lang.String>)
//  .externalName(java.lang.String)
//  .externalTrafficPolicy(java.lang.String)
//  .healthCheckNodePort(java.lang.Number)
//  .internalTrafficPolicy(java.lang.String)
//  .ipFamilies(java.util.List<java.lang.String>)
//  .ipFamilyPolicy(java.lang.String)
//  .loadBalancerClass(java.lang.String)
//  .loadBalancerIp(java.lang.String)
//  .loadBalancerSourceRanges(java.util.List<java.lang.String>)
//  .ports(java.util.List<ServicePort>)
//  .publishNotReadyAddresses(java.lang.Boolean)
//  .selector(java.util.Map<java.lang.String, java.lang.String>)
//  .sessionAffinity(java.lang.String)
//  .sessionAffinityConfig(SessionAffinityConfig)
//  .trafficDistribution(java.lang.String)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.allocateLoadBalancerNodePorts">allocateLoadBalancerNodePorts</a></code> | <code>java.lang.Boolean</code> | allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.clusterIp">clusterIp</a></code> | <code>java.lang.String</code> | clusterIP is the IP address of the service and is usually assigned randomly. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.clusterIPs">clusterIPs</a></code> | <code>java.util.List<java.lang.String></code> | ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.externalIPs">externalIPs</a></code> | <code>java.util.List<java.lang.String></code> | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.externalName">externalName</a></code> | <code>java.lang.String</code> | externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved.  Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName". |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.externalTrafficPolicy">externalTrafficPolicy</a></code> | <code>java.lang.String</code> | externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.healthCheckNodePort">healthCheckNodePort</a></code> | <code>java.lang.Number</code> | healthCheckNodePort specifies the healthcheck nodePort for the service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.internalTrafficPolicy">internalTrafficPolicy</a></code> | <code>java.lang.String</code> | InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.ipFamilies">ipFamilies</a></code> | <code>java.util.List<java.lang.String></code> | IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6".  This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.ipFamilyPolicy">ipFamilyPolicy</a></code> | <code>java.lang.String</code> | IPFamilyPolicy represents the dual-stack-ness requested or required by this Service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerClass">loadBalancerClass</a></code> | <code>java.lang.String</code> | loadBalancerClass is the class of the load balancer implementation this Service belongs to. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerIp">loadBalancerIp</a></code> | <code>java.lang.String</code> | Only applies to Service Type: LoadBalancer. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerSourceRanges">loadBalancerSourceRanges</a></code> | <code>java.util.List<java.lang.String></code> | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.ports">ports</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ServicePort></code> | The list of ports that are exposed by this service. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.publishNotReadyAddresses">publishNotReadyAddresses</a></code> | <code>java.lang.Boolean</code> | publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.selector">selector</a></code> | <code>java.util.Map<java.lang.String, java.lang.String></code> | Route service traffic to pods with label keys and values matching this selector. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.sessionAffinity">sessionAffinity</a></code> | <code>java.lang.String</code> | Supports "ClientIP" and "None". |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.sessionAffinityConfig">sessionAffinityConfig</a></code> | <code>org.cdk8s.plus32.k8s.SessionAffinityConfig</code> | sessionAffinityConfig contains the configurations of session affinity. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.trafficDistribution">trafficDistribution</a></code> | <code>java.lang.String</code> | TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. |
| <code><a href="#cdk8s-plus-32.k8s.ServiceSpec.property.type">type</a></code> | <code>java.lang.String</code> | type determines how the Service is exposed. |

---

##### `allocateLoadBalancerNodePorts`<sup>Optional</sup> <a name="allocateLoadBalancerNodePorts" id="cdk8s-plus-32.k8s.ServiceSpec.property.allocateLoadBalancerNodePorts"></a>

```java
public java.lang.Boolean getAllocateLoadBalancerNodePorts();
```

- *Type:* java.lang.Boolean
- *Default:* true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts.  If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.

allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer.

Default is "true". It may be set to "false" if the cluster load-balancer does not rely on NodePorts.  If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.

---

##### `clusterIp`<sup>Optional</sup> <a name="clusterIp" id="cdk8s-plus-32.k8s.ServiceSpec.property.clusterIp"></a>

```java
public java.lang.String getClusterIp();
```

- *Type:* java.lang.String

clusterIP is the IP address of the service and is usually assigned randomly.

If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be blank) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above).  Valid values are "None", empty string (""), or a valid IP address. Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required.  Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

---

##### `clusterIPs`<sup>Optional</sup> <a name="clusterIPs" id="cdk8s-plus-32.k8s.ServiceSpec.property.clusterIPs"></a>

```java
public java.util.List<java.lang.String> getClusterIPs();
```

- *Type:* java.util.List<java.lang.String>

ClusterIPs is a list of IP addresses assigned to this service, and are usually assigned randomly.

If an address is specified manually, is in-range (as per system configuration), and is not in use, it will be allocated to the service; otherwise creation of the service will fail. This field may not be changed through updates unless the type field is also being changed to ExternalName (which requires this field to be empty) or the type field is being changed from ExternalName (in which case this field may optionally be specified, as describe above).  Valid values are "None", empty string (""), or a valid IP address.  Setting this to "None" makes a "headless service" (no virtual IP), which is useful when direct endpoint connections are preferred and proxying is not required.  Only applies to types ClusterIP, NodePort, and LoadBalancer. If this field is specified when creating a Service of type ExternalName, creation will fail. This field will be wiped when updating a Service to type ExternalName.  If this field is not specified, it will be initialized from the clusterIP field.  If this field is specified, clients must ensure that clusterIPs[0] and clusterIP have the same value.

This field may hold a maximum of two entries (dual-stack IPs, in either order). These IPs must correspond to the values of the ipFamilies field. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

---

##### `externalIPs`<sup>Optional</sup> <a name="externalIPs" id="cdk8s-plus-32.k8s.ServiceSpec.property.externalIPs"></a>

```java
public java.util.List<java.lang.String> getExternalIPs();
```

- *Type:* java.util.List<java.lang.String>

externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service.

These IPs are not managed by Kubernetes.  The user is responsible for ensuring that traffic arrives at a node with this IP.  A common example is external load-balancers that are not part of the Kubernetes system.

---

##### `externalName`<sup>Optional</sup> <a name="externalName" id="cdk8s-plus-32.k8s.ServiceSpec.property.externalName"></a>

```java
public java.lang.String getExternalName();
```

- *Type:* java.lang.String

externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved.  Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be "ExternalName".

---

##### `externalTrafficPolicy`<sup>Optional</sup> <a name="externalTrafficPolicy" id="cdk8s-plus-32.k8s.ServiceSpec.property.externalTrafficPolicy"></a>

```java
public java.lang.String getExternalTrafficPolicy();
```

- *Type:* java.lang.String

externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's "externally-facing" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs).

If set to "Local", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, "Cluster", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get "Cluster" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node.

---

##### `healthCheckNodePort`<sup>Optional</sup> <a name="healthCheckNodePort" id="cdk8s-plus-32.k8s.ServiceSpec.property.healthCheckNodePort"></a>

```java
public java.lang.Number getHealthCheckNodePort();
```

- *Type:* java.lang.Number

healthCheckNodePort specifies the healthcheck nodePort for the service.

This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used.  If not specified, a value will be automatically allocated.  External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not.  If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set.

---

##### `internalTrafficPolicy`<sup>Optional</sup> <a name="internalTrafficPolicy" id="cdk8s-plus-32.k8s.ServiceSpec.property.internalTrafficPolicy"></a>

```java
public java.lang.String getInternalTrafficPolicy();
```

- *Type:* java.lang.String

InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP.

If set to "Local", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, "Cluster", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features).

---

##### `ipFamilies`<sup>Optional</sup> <a name="ipFamilies" id="cdk8s-plus-32.k8s.ServiceSpec.property.ipFamilies"></a>

```java
public java.util.List<java.lang.String> getIpFamilies();
```

- *Type:* java.util.List<java.lang.String>

IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are "IPv4" and "IPv6".  This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to "headless" services. This field will be wiped when updating a Service to type ExternalName.

This field may hold a maximum of two entries (dual-stack families, in either order).  These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.

---

##### `ipFamilyPolicy`<sup>Optional</sup> <a name="ipFamilyPolicy" id="cdk8s-plus-32.k8s.ServiceSpec.property.ipFamilyPolicy"></a>

```java
public java.lang.String getIpFamilyPolicy();
```

- *Type:* java.lang.String

IPFamilyPolicy represents the dual-stack-ness requested or required by this Service.

If there is no value provided, then this field will be set to SingleStack. Services can be "SingleStack" (a single IP family), "PreferDualStack" (two IP families on dual-stack configured clusters or a single IP family on single-stack clusters), or "RequireDualStack" (two IP families on dual-stack configured clusters, otherwise fail). The ipFamilies and clusterIPs fields depend on the value of this field. This field will be wiped when updating a service to type ExternalName.

---

##### `loadBalancerClass`<sup>Optional</sup> <a name="loadBalancerClass" id="cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerClass"></a>

```java
public java.lang.String getLoadBalancerClass();
```

- *Type:* java.lang.String

loadBalancerClass is the class of the load balancer implementation this Service belongs to.

If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. "internal-vip" or "example.com/internal-vip". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.

---

##### `loadBalancerIp`<sup>Optional</sup> <a name="loadBalancerIp" id="cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerIp"></a>

```java
public java.lang.String getLoadBalancerIp();
```

- *Type:* java.lang.String

Only applies to Service Type: LoadBalancer.

This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. Deprecated: This field was under-specified and its meaning varies across implementations. Using it is non-portable and it may not support dual-stack. Users are encouraged to use implementation-specific annotations when available.

---

##### `loadBalancerSourceRanges`<sup>Optional</sup> <a name="loadBalancerSourceRanges" id="cdk8s-plus-32.k8s.ServiceSpec.property.loadBalancerSourceRanges"></a>

```java
public java.util.List<java.lang.String> getLoadBalancerSourceRanges();
```

- *Type:* java.util.List<java.lang.String>

If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs.

This field will be ignored if the cloud-provider does not support the feature." More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.k8s.ServiceSpec.property.ports"></a>

```java
public java.util.List<ServicePort> getPorts();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ServicePort>

The list of ports that are exposed by this service.

More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

---

##### `publishNotReadyAddresses`<sup>Optional</sup> <a name="publishNotReadyAddresses" id="cdk8s-plus-32.k8s.ServiceSpec.property.publishNotReadyAddresses"></a>

```java
public java.lang.Boolean getPublishNotReadyAddresses();
```

- *Type:* java.lang.Boolean

publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready.

The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered "ready" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.

---

##### `selector`<sup>Optional</sup> <a name="selector" id="cdk8s-plus-32.k8s.ServiceSpec.property.selector"></a>

```java
public java.util.Map<java.lang.String, java.lang.String> getSelector();
```

- *Type:* java.util.Map<java.lang.String, java.lang.String>

Route service traffic to pods with label keys and values matching this selector.

If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/

---

##### `sessionAffinity`<sup>Optional</sup> <a name="sessionAffinity" id="cdk8s-plus-32.k8s.ServiceSpec.property.sessionAffinity"></a>

```java
public java.lang.String getSessionAffinity();
```

- *Type:* java.lang.String
- *Default:* None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

Supports "ClientIP" and "None".

Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies

---

##### `sessionAffinityConfig`<sup>Optional</sup> <a name="sessionAffinityConfig" id="cdk8s-plus-32.k8s.ServiceSpec.property.sessionAffinityConfig"></a>

```java
public SessionAffinityConfig getSessionAffinityConfig();
```

- *Type:* org.cdk8s.plus32.k8s.SessionAffinityConfig

sessionAffinityConfig contains the configurations of session affinity.

---

##### `trafficDistribution`<sup>Optional</sup> <a name="trafficDistribution" id="cdk8s-plus-32.k8s.ServiceSpec.property.trafficDistribution"></a>

```java
public java.lang.String getTrafficDistribution();
```

- *Type:* java.lang.String

TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints.

Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is a beta field and requires enabling ServiceTrafficDistribution feature.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.ServiceSpec.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types

type determines how the Service is exposed.

Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types

---

### SessionAffinityConfig <a name="SessionAffinityConfig" id="cdk8s-plus-32.k8s.SessionAffinityConfig"></a>

SessionAffinityConfig represents the configurations of session affinity.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SessionAffinityConfig.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SessionAffinityConfig;

SessionAffinityConfig.builder()
//  .clientIp(ClientIpConfig)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SessionAffinityConfig.property.clientIp">clientIp</a></code> | <code>org.cdk8s.plus32.k8s.ClientIpConfig</code> | clientIP contains the configurations of Client IP based session affinity. |

---

##### `clientIp`<sup>Optional</sup> <a name="clientIp" id="cdk8s-plus-32.k8s.SessionAffinityConfig.property.clientIp"></a>

```java
public ClientIpConfig getClientIp();
```

- *Type:* org.cdk8s.plus32.k8s.ClientIpConfig

clientIP contains the configurations of Client IP based session affinity.

---

### SleepAction <a name="SleepAction" id="cdk8s-plus-32.k8s.SleepAction"></a>

SleepAction describes a "sleep" action.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SleepAction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SleepAction;

SleepAction.builder()
    .seconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SleepAction.property.seconds">seconds</a></code> | <code>java.lang.Number</code> | Seconds is the number of seconds to sleep. |

---

##### `seconds`<sup>Required</sup> <a name="seconds" id="cdk8s-plus-32.k8s.SleepAction.property.seconds"></a>

```java
public java.lang.Number getSeconds();
```

- *Type:* java.lang.Number

Seconds is the number of seconds to sleep.

---

### SshAuthSecretProps <a name="SshAuthSecretProps" id="cdk8s-plus-32.SshAuthSecretProps"></a>

Options for `SshAuthSecret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SshAuthSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.SshAuthSecretProps;

SshAuthSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .sshPrivateKey(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SshAuthSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.SshAuthSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.SshAuthSecretProps.property.sshPrivateKey">sshPrivateKey</a></code> | <code>java.lang.String</code> | The SSH private key to use. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.SshAuthSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.SshAuthSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `sshPrivateKey`<sup>Required</sup> <a name="sshPrivateKey" id="cdk8s-plus-32.SshAuthSecretProps.property.sshPrivateKey"></a>

```java
public java.lang.String getSshPrivateKey();
```

- *Type:* java.lang.String

The SSH private key to use.

---

### StatefulSetOrdinals <a name="StatefulSetOrdinals" id="cdk8s-plus-32.k8s.StatefulSetOrdinals"></a>

StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatefulSetOrdinals.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatefulSetOrdinals;

StatefulSetOrdinals.builder()
//  .start(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetOrdinals.property.start">start</a></code> | <code>java.lang.Number</code> | start is the number representing the first replica's index. |

---

##### `start`<sup>Optional</sup> <a name="start" id="cdk8s-plus-32.k8s.StatefulSetOrdinals.property.start"></a>

```java
public java.lang.Number getStart();
```

- *Type:* java.lang.Number

start is the number representing the first replica's index.

It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
If unset, defaults to 0. Replica indices will be in the range:
[0, .spec.replicas).

---

### StatefulSetPersistentVolumeClaimRetentionPolicy <a name="StatefulSetPersistentVolumeClaimRetentionPolicy" id="cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy"></a>

StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy;

StatefulSetPersistentVolumeClaimRetentionPolicy.builder()
//  .whenDeleted(java.lang.String)
//  .whenScaled(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.property.whenDeleted">whenDeleted</a></code> | <code>java.lang.String</code> | WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.property.whenScaled">whenScaled</a></code> | <code>java.lang.String</code> | WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. |

---

##### `whenDeleted`<sup>Optional</sup> <a name="whenDeleted" id="cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.property.whenDeleted"></a>

```java
public java.lang.String getWhenDeleted();
```

- *Type:* java.lang.String

WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted.

The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.

---

##### `whenScaled`<sup>Optional</sup> <a name="whenScaled" id="cdk8s-plus-32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy.property.whenScaled"></a>

```java
public java.lang.String getWhenScaled();
```

- *Type:* java.lang.String

WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down.

The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.

---

### StatefulSetProps <a name="StatefulSetProps" id="cdk8s-plus-32.StatefulSetProps"></a>

Properties for initialization of `StatefulSet`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.StatefulSetProps.Initializer"></a>

```java
import org.cdk8s.plus32.StatefulSetProps;

StatefulSetProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
//  .minReady(Duration)
//  .podManagementPolicy(PodManagementPolicy)
//  .replicas(java.lang.Number)
//  .service(Service)
//  .strategy(StatefulSetUpdateStrategy)
//  .volumeClaimTemplates(java.util.List<PersistentVolumeClaimTemplateProps>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.minReady">minReady</a></code> | <code>org.cdk8s.Duration</code> | Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.podManagementPolicy">podManagementPolicy</a></code> | <code><a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a></code> | Pod management policy to use for this statefulset. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | Number of desired pods. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.service">service</a></code> | <code><a href="#cdk8s-plus-32.Service">Service</a></code> | Service to associate with the statefulset. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.strategy">strategy</a></code> | <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a></code> | Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. |
| <code><a href="#cdk8s-plus-32.StatefulSetProps.property.volumeClaimTemplates">volumeClaimTemplates</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>></code> | A list of PersistentVolumeClaim templates that will be created for each pod in the StatefulSet. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.StatefulSetProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.StatefulSetProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.StatefulSetProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.StatefulSetProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.StatefulSetProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.StatefulSetProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.StatefulSetProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.StatefulSetProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.StatefulSetProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.StatefulSetProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.StatefulSetProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.StatefulSetProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.StatefulSetProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.StatefulSetProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.StatefulSetProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.StatefulSetProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.StatefulSetProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.StatefulSetProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.StatefulSetProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

##### `minReady`<sup>Optional</sup> <a name="minReady" id="cdk8s-plus-32.StatefulSetProps.property.minReady"></a>

```java
public Duration getMinReady();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(0)

Minimum duration for which a newly created pod should be ready without any of its container crashing, for it to be considered available.

Zero means the pod will be considered available as soon as it is ready.

This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds)

---

##### `podManagementPolicy`<sup>Optional</sup> <a name="podManagementPolicy" id="cdk8s-plus-32.StatefulSetProps.property.podManagementPolicy"></a>

```java
public PodManagementPolicy getPodManagementPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.PodManagementPolicy">PodManagementPolicy</a>
- *Default:* PodManagementPolicy.ORDERED_READY

Pod management policy to use for this statefulset.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.StatefulSetProps.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number
- *Default:* 1

Number of desired pods.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.StatefulSetProps.property.service"></a>

```java
public Service getService();
```

- *Type:* <a href="#cdk8s-plus-32.Service">Service</a>
- *Default:* A new headless service will be created.

Service to associate with the statefulset.

---

##### `strategy`<sup>Optional</sup> <a name="strategy" id="cdk8s-plus-32.StatefulSetProps.property.strategy"></a>

```java
public StatefulSetUpdateStrategy getStrategy();
```

- *Type:* <a href="#cdk8s-plus-32.StatefulSetUpdateStrategy">StatefulSetUpdateStrategy</a>
- *Default:* RollingUpdate with partition set to 0

Indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

---

##### `volumeClaimTemplates`<sup>Optional</sup> <a name="volumeClaimTemplates" id="cdk8s-plus-32.StatefulSetProps.property.volumeClaimTemplates"></a>

```java
public java.util.List<PersistentVolumeClaimTemplateProps> getVolumeClaimTemplates();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.PersistentVolumeClaimTemplateProps">PersistentVolumeClaimTemplateProps</a>>
- *Default:* No volume claim templates will be created.

A list of PersistentVolumeClaim templates that will be created for each pod in the StatefulSet.

The StatefulSet controller creates a PVC and a PV for each template based on the pod's ordinal index,
ensuring stable storage across pod restarts and rescheduling.

Each claim in this list must have at least one matching (by name) volumeMount in one of the containers.

---

### StatefulSetSpec <a name="StatefulSetSpec" id="cdk8s-plus-32.k8s.StatefulSetSpec"></a>

A StatefulSetSpec is the specification of a StatefulSet.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatefulSetSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatefulSetSpec;

StatefulSetSpec.builder()
    .selector(LabelSelector)
    .serviceName(java.lang.String)
    .template(PodTemplateSpec)
//  .minReadySeconds(java.lang.Number)
//  .ordinals(StatefulSetOrdinals)
//  .persistentVolumeClaimRetentionPolicy(StatefulSetPersistentVolumeClaimRetentionPolicy)
//  .podManagementPolicy(java.lang.String)
//  .replicas(java.lang.Number)
//  .revisionHistoryLimit(java.lang.Number)
//  .updateStrategy(StatefulSetUpdateStrategy)
//  .volumeClaimTemplates(java.util.List<KubePersistentVolumeClaimProps>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.selector">selector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | selector is a label query over pods that should match the replica count. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.serviceName">serviceName</a></code> | <code>java.lang.String</code> | serviceName is the name of the service that governs this StatefulSet. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.template">template</a></code> | <code>org.cdk8s.plus32.k8s.PodTemplateSpec</code> | template is the object that describes the pod that will be created if insufficient replicas are detected. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.minReadySeconds">minReadySeconds</a></code> | <code>java.lang.Number</code> | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.ordinals">ordinals</a></code> | <code>org.cdk8s.plus32.k8s.StatefulSetOrdinals</code> | ordinals controls the numbering of replica indices in a StatefulSet. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.persistentVolumeClaimRetentionPolicy">persistentVolumeClaimRetentionPolicy</a></code> | <code>org.cdk8s.plus32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy</code> | persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.podManagementPolicy">podManagementPolicy</a></code> | <code>java.lang.String</code> | podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.replicas">replicas</a></code> | <code>java.lang.Number</code> | replicas is the desired number of replicas of the given Template. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.revisionHistoryLimit">revisionHistoryLimit</a></code> | <code>java.lang.Number</code> | revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.updateStrategy">updateStrategy</a></code> | <code>org.cdk8s.plus32.k8s.StatefulSetUpdateStrategy</code> | updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetSpec.property.volumeClaimTemplates">volumeClaimTemplates</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps></code> | volumeClaimTemplates is a list of claims that pods are allowed to reference. |

---

##### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.selector"></a>

```java
public LabelSelector getSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

selector is a label query over pods that should match the replica count.

It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

---

##### `serviceName`<sup>Required</sup> <a name="serviceName" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.serviceName"></a>

```java
public java.lang.String getServiceName();
```

- *Type:* java.lang.String

serviceName is the name of the service that governs this StatefulSet.

This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.

---

##### `template`<sup>Required</sup> <a name="template" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.template"></a>

```java
public PodTemplateSpec getTemplate();
```

- *Type:* org.cdk8s.plus32.k8s.PodTemplateSpec

template is the object that describes the pod that will be created if insufficient replicas are detected.

Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".

---

##### `minReadySeconds`<sup>Optional</sup> <a name="minReadySeconds" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.minReadySeconds"></a>

```java
public java.lang.Number getMinReadySeconds();
```

- *Type:* java.lang.Number
- *Default:* 0 (pod will be considered available as soon as it is ready)

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available.

Defaults to 0 (pod will be considered available as soon as it is ready)

---

##### `ordinals`<sup>Optional</sup> <a name="ordinals" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.ordinals"></a>

```java
public StatefulSetOrdinals getOrdinals();
```

- *Type:* org.cdk8s.plus32.k8s.StatefulSetOrdinals

ordinals controls the numbering of replica indices in a StatefulSet.

The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.

---

##### `persistentVolumeClaimRetentionPolicy`<sup>Optional</sup> <a name="persistentVolumeClaimRetentionPolicy" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.persistentVolumeClaimRetentionPolicy"></a>

```java
public StatefulSetPersistentVolumeClaimRetentionPolicy getPersistentVolumeClaimRetentionPolicy();
```

- *Type:* org.cdk8s.plus32.k8s.StatefulSetPersistentVolumeClaimRetentionPolicy

persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates.

By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.

---

##### `podManagementPolicy`<sup>Optional</sup> <a name="podManagementPolicy" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.podManagementPolicy"></a>

```java
public java.lang.String getPodManagementPolicy();
```

- *Type:* java.lang.String

podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.

The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.

---

##### `replicas`<sup>Optional</sup> <a name="replicas" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.replicas"></a>

```java
public java.lang.Number getReplicas();
```

- *Type:* java.lang.Number

replicas is the desired number of replicas of the given Template.

These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.

---

##### `revisionHistoryLimit`<sup>Optional</sup> <a name="revisionHistoryLimit" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.revisionHistoryLimit"></a>

```java
public java.lang.Number getRevisionHistoryLimit();
```

- *Type:* java.lang.Number

revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history.

The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.

---

##### `updateStrategy`<sup>Optional</sup> <a name="updateStrategy" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.updateStrategy"></a>

```java
public StatefulSetUpdateStrategy getUpdateStrategy();
```

- *Type:* org.cdk8s.plus32.k8s.StatefulSetUpdateStrategy

updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

---

##### `volumeClaimTemplates`<sup>Optional</sup> <a name="volumeClaimTemplates" id="cdk8s-plus-32.k8s.StatefulSetSpec.property.volumeClaimTemplates"></a>

```java
public java.util.List<KubePersistentVolumeClaimProps> getVolumeClaimTemplates();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.KubePersistentVolumeClaimProps>

volumeClaimTemplates is a list of claims that pods are allowed to reference.

The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.

---

### StatefulSetUpdateStrategy <a name="StatefulSetUpdateStrategy" id="cdk8s-plus-32.k8s.StatefulSetUpdateStrategy"></a>

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates.

It includes any additional parameters necessary to perform the update for the indicated strategy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatefulSetUpdateStrategy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatefulSetUpdateStrategy;

StatefulSetUpdateStrategy.builder()
//  .rollingUpdate(RollingUpdateStatefulSetStrategy)
//  .type(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetUpdateStrategy.property.rollingUpdate">rollingUpdate</a></code> | <code>org.cdk8s.plus32.k8s.RollingUpdateStatefulSetStrategy</code> | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. |
| <code><a href="#cdk8s-plus-32.k8s.StatefulSetUpdateStrategy.property.type">type</a></code> | <code>java.lang.String</code> | Type indicates the type of the StatefulSetUpdateStrategy. |

---

##### `rollingUpdate`<sup>Optional</sup> <a name="rollingUpdate" id="cdk8s-plus-32.k8s.StatefulSetUpdateStrategy.property.rollingUpdate"></a>

```java
public RollingUpdateStatefulSetStrategy getRollingUpdate();
```

- *Type:* org.cdk8s.plus32.k8s.RollingUpdateStatefulSetStrategy

RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.

---

##### `type`<sup>Optional</sup> <a name="type" id="cdk8s-plus-32.k8s.StatefulSetUpdateStrategy.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String
- *Default:* RollingUpdate.

Type indicates the type of the StatefulSetUpdateStrategy.

Default is RollingUpdate.

---

### StatefulSetUpdateStrategyRollingUpdateOptions <a name="StatefulSetUpdateStrategyRollingUpdateOptions" id="cdk8s-plus-32.StatefulSetUpdateStrategyRollingUpdateOptions"></a>

Options for `StatefulSetUpdateStrategy.rollingUpdate`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.StatefulSetUpdateStrategyRollingUpdateOptions.Initializer"></a>

```java
import org.cdk8s.plus32.StatefulSetUpdateStrategyRollingUpdateOptions;

StatefulSetUpdateStrategyRollingUpdateOptions.builder()
//  .partition(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategyRollingUpdateOptions.property.partition">partition</a></code> | <code>java.lang.Number</code> | If specified, all Pods with an ordinal that is greater than or equal to the partition will be updated when the StatefulSet's .spec.template is updated. All Pods with an ordinal that is less than the partition will not be updated, and, even if they are deleted, they will be recreated at the previous version. |

---

##### `partition`<sup>Optional</sup> <a name="partition" id="cdk8s-plus-32.StatefulSetUpdateStrategyRollingUpdateOptions.property.partition"></a>

```java
public java.lang.Number getPartition();
```

- *Type:* java.lang.Number
- *Default:* 0

If specified, all Pods with an ordinal that is greater than or equal to the partition will be updated when the StatefulSet's .spec.template is updated. All Pods with an ordinal that is less than the partition will not be updated, and, even if they are deleted, they will be recreated at the previous version.

If the partition is greater than replicas, updates to the pod template will not be propagated to Pods.
In most cases you will not need to use a partition, but they are useful if you want to stage an
update, roll out a canary, or perform a phased roll out.

> [https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions)

---

### StatusCause <a name="StatusCause" id="cdk8s-plus-32.k8s.StatusCause"></a>

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatusCause.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatusCause;

StatusCause.builder()
//  .field(java.lang.String)
//  .message(java.lang.String)
//  .reason(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatusCause.property.field">field</a></code> | <code>java.lang.String</code> | The field of the resource that has caused this error, as named by its JSON serialization. |
| <code><a href="#cdk8s-plus-32.k8s.StatusCause.property.message">message</a></code> | <code>java.lang.String</code> | A human-readable description of the cause of the error. |
| <code><a href="#cdk8s-plus-32.k8s.StatusCause.property.reason">reason</a></code> | <code>java.lang.String</code> | A machine-readable description of the cause of the error. |

---

##### `field`<sup>Optional</sup> <a name="field" id="cdk8s-plus-32.k8s.StatusCause.property.field"></a>

```java
public java.lang.String getField();
```

- *Type:* java.lang.String

The field of the resource that has caused this error, as named by its JSON serialization.

May include dot and postfix notation for nested attributes. Arrays are zero-indexed.  Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

Examples:
"name" - the field "name" on the current resource
"items[0].name" - the field "name" on the first array entry in "items"

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.StatusCause.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

A human-readable description of the cause of the error.

This field may be presented as-is to a reader.

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.StatusCause.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

A machine-readable description of the cause of the error.

If this value is empty there is no information available.

---

### StatusDetails <a name="StatusDetails" id="cdk8s-plus-32.k8s.StatusDetails"></a>

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.

The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StatusDetails.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StatusDetails;

StatusDetails.builder()
//  .causes(java.util.List<StatusCause>)
//  .group(java.lang.String)
//  .kind(java.lang.String)
//  .name(java.lang.String)
//  .retryAfterSeconds(java.lang.Number)
//  .uid(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.causes">causes</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.StatusCause></code> | The Causes array includes more details associated with the StatusReason failure. |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.group">group</a></code> | <code>java.lang.String</code> | The group attribute of the resource associated with the status StatusReason. |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.kind">kind</a></code> | <code>java.lang.String</code> | The kind attribute of the resource associated with the status StatusReason. |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.name">name</a></code> | <code>java.lang.String</code> | The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.retryAfterSeconds">retryAfterSeconds</a></code> | <code>java.lang.Number</code> | If specified, the time in seconds before the operation should be retried. |
| <code><a href="#cdk8s-plus-32.k8s.StatusDetails.property.uid">uid</a></code> | <code>java.lang.String</code> | UID of the resource. |

---

##### `causes`<sup>Optional</sup> <a name="causes" id="cdk8s-plus-32.k8s.StatusDetails.property.causes"></a>

```java
public java.util.List<StatusCause> getCauses();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.StatusCause>

The Causes array includes more details associated with the StatusReason failure.

Not all StatusReasons may provide detailed causes.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.k8s.StatusDetails.property.group"></a>

```java
public java.lang.String getGroup();
```

- *Type:* java.lang.String

The group attribute of the resource associated with the status StatusReason.

---

##### `kind`<sup>Optional</sup> <a name="kind" id="cdk8s-plus-32.k8s.StatusDetails.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The kind attribute of the resource associated with the status StatusReason.

On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.k8s.StatusDetails.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).

---

##### `retryAfterSeconds`<sup>Optional</sup> <a name="retryAfterSeconds" id="cdk8s-plus-32.k8s.StatusDetails.property.retryAfterSeconds"></a>

```java
public java.lang.Number getRetryAfterSeconds();
```

- *Type:* java.lang.Number

If specified, the time in seconds before the operation should be retried.

Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.StatusDetails.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID of the resource.

(when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

---

### StorageOsPersistentVolumeSource <a name="StorageOsPersistentVolumeSource" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource"></a>

Represents a StorageOS persistent volume resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StorageOsPersistentVolumeSource;

StorageOsPersistentVolumeSource.builder()
//  .fsType(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(ObjectReference)
//  .volumeName(java.lang.String)
//  .volumeNamespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.ObjectReference</code> | secretRef specifies the secret to use for obtaining the StorageOS API credentials. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.volumeName">volumeName</a></code> | <code>java.lang.String</code> | volumeName is the human-readable name of the StorageOS volume. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.volumeNamespace">volumeNamespace</a></code> | <code>java.lang.String</code> | volumeNamespace specifies the scope of the volume within StorageOS. |

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.secretRef"></a>

```java
public ObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.ObjectReference

secretRef specifies the secret to use for obtaining the StorageOS API credentials.

If not specified, default values will be attempted.

---

##### `volumeName`<sup>Optional</sup> <a name="volumeName" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.volumeName"></a>

```java
public java.lang.String getVolumeName();
```

- *Type:* java.lang.String

volumeName is the human-readable name of the StorageOS volume.

Volume names are only unique within a namespace.

---

##### `volumeNamespace`<sup>Optional</sup> <a name="volumeNamespace" id="cdk8s-plus-32.k8s.StorageOsPersistentVolumeSource.property.volumeNamespace"></a>

```java
public java.lang.String getVolumeNamespace();
```

- *Type:* java.lang.String

volumeNamespace specifies the scope of the volume within StorageOS.

If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.

---

### StorageOsVolumeSource <a name="StorageOsVolumeSource" id="cdk8s-plus-32.k8s.StorageOsVolumeSource"></a>

Represents a StorageOS persistent volume resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StorageOsVolumeSource;

StorageOsVolumeSource.builder()
//  .fsType(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .secretRef(LocalObjectReference)
//  .volumeName(java.lang.String)
//  .volumeNamespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is the filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsVolumeSource.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | readOnly defaults to false (read/write). |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsVolumeSource.property.secretRef">secretRef</a></code> | <code>org.cdk8s.plus32.k8s.LocalObjectReference</code> | secretRef specifies the secret to use for obtaining the StorageOS API credentials. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsVolumeSource.property.volumeName">volumeName</a></code> | <code>java.lang.String</code> | volumeName is the human-readable name of the StorageOS volume. |
| <code><a href="#cdk8s-plus-32.k8s.StorageOsVolumeSource.property.volumeNamespace">volumeNamespace</a></code> | <code>java.lang.String</code> | volumeNamespace specifies the scope of the volume within StorageOS. |

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is the filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean

readOnly defaults to false (read/write).

ReadOnly here will force the ReadOnly setting in VolumeMounts.

---

##### `secretRef`<sup>Optional</sup> <a name="secretRef" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.property.secretRef"></a>

```java
public LocalObjectReference getSecretRef();
```

- *Type:* org.cdk8s.plus32.k8s.LocalObjectReference

secretRef specifies the secret to use for obtaining the StorageOS API credentials.

If not specified, default values will be attempted.

---

##### `volumeName`<sup>Optional</sup> <a name="volumeName" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.property.volumeName"></a>

```java
public java.lang.String getVolumeName();
```

- *Type:* java.lang.String

volumeName is the human-readable name of the StorageOS volume.

Volume names are only unique within a namespace.

---

##### `volumeNamespace`<sup>Optional</sup> <a name="volumeNamespace" id="cdk8s-plus-32.k8s.StorageOsVolumeSource.property.volumeNamespace"></a>

```java
public java.lang.String getVolumeNamespace();
```

- *Type:* java.lang.String

volumeNamespace specifies the scope of the volume within StorageOS.

If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.

---

### StorageVersionMigrationSpecV1Alpha1 <a name="StorageVersionMigrationSpecV1Alpha1" id="cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1"></a>

Spec of the storage version migration.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.StorageVersionMigrationSpecV1Alpha1;

StorageVersionMigrationSpecV1Alpha1.builder()
    .resource(GroupVersionResourceV1Alpha1)
//  .continueToken(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1.property.resource">resource</a></code> | <code>org.cdk8s.plus32.k8s.GroupVersionResourceV1Alpha1</code> | The resource that is being migrated. |
| <code><a href="#cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1.property.continueToken">continueToken</a></code> | <code>java.lang.String</code> | The token used in the list options to get the next chunk of objects to migrate. |

---

##### `resource`<sup>Required</sup> <a name="resource" id="cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1.property.resource"></a>

```java
public GroupVersionResourceV1Alpha1 getResource();
```

- *Type:* org.cdk8s.plus32.k8s.GroupVersionResourceV1Alpha1

The resource that is being migrated.

The migrator sends requests to the endpoint serving the resource. Immutable.

---

##### `continueToken`<sup>Optional</sup> <a name="continueToken" id="cdk8s-plus-32.k8s.StorageVersionMigrationSpecV1Alpha1.property.continueToken"></a>

```java
public java.lang.String getContinueToken();
```

- *Type:* java.lang.String

The token used in the list options to get the next chunk of objects to migrate.

When the .status.conditions indicates the migration is "Running", users can use this token to check the progress of the migration.

---

### Subject <a name="Subject" id="cdk8s-plus-32.k8s.Subject"></a>

Subject contains a reference to the object or user identities a role binding applies to.

This can either hold a direct API object reference, or a value for non-objects such as user and group names.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Subject.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Subject;

Subject.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiGroup(java.lang.String)
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Subject.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind of object being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.Subject.property.name">name</a></code> | <code>java.lang.String</code> | Name of the object being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.Subject.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | APIGroup holds the API group of the referenced subject. |
| <code><a href="#cdk8s-plus-32.k8s.Subject.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace of the referenced object. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.Subject.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind of object being referenced.

Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.Subject.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the object being referenced.

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.Subject.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String
- *Default:* for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

APIGroup holds the API group of the referenced subject.

Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.Subject.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace of the referenced object.

If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.

---

### SubjectAccessReviewSpec <a name="SubjectAccessReviewSpec" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec"></a>

SubjectAccessReviewSpec is a description of the access request.

Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SubjectAccessReviewSpec;

SubjectAccessReviewSpec.builder()
//  .extra(java.util.Map<java.lang.String, java.util.List<java.lang.String>>)
//  .groups(java.util.List<java.lang.String>)
//  .nonResourceAttributes(NonResourceAttributes)
//  .resourceAttributes(ResourceAttributes)
//  .uid(java.lang.String)
//  .user(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.extra">extra</a></code> | <code>java.util.Map<java.lang.String, java.util.List<java.lang.String>></code> | Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer it needs a reflection here. |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.groups">groups</a></code> | <code>java.util.List<java.lang.String></code> | Groups is the groups you're testing for. |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.nonResourceAttributes">nonResourceAttributes</a></code> | <code>org.cdk8s.plus32.k8s.NonResourceAttributes</code> | NonResourceAttributes describes information for a non-resource access request. |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.resourceAttributes">resourceAttributes</a></code> | <code>org.cdk8s.plus32.k8s.ResourceAttributes</code> | ResourceAuthorizationAttributes describes information for a resource access request. |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.uid">uid</a></code> | <code>java.lang.String</code> | UID information about the requesting user. |
| <code><a href="#cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.user">user</a></code> | <code>java.lang.String</code> | User is the user you're testing for. |

---

##### `extra`<sup>Optional</sup> <a name="extra" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.extra"></a>

```java
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> getExtra();
```

- *Type:* java.util.Map<java.lang.String, java.util.List<java.lang.String>>

Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer it needs a reflection here.

---

##### `groups`<sup>Optional</sup> <a name="groups" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.groups"></a>

```java
public java.util.List<java.lang.String> getGroups();
```

- *Type:* java.util.List<java.lang.String>

Groups is the groups you're testing for.

---

##### `nonResourceAttributes`<sup>Optional</sup> <a name="nonResourceAttributes" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.nonResourceAttributes"></a>

```java
public NonResourceAttributes getNonResourceAttributes();
```

- *Type:* org.cdk8s.plus32.k8s.NonResourceAttributes

NonResourceAttributes describes information for a non-resource access request.

---

##### `resourceAttributes`<sup>Optional</sup> <a name="resourceAttributes" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.resourceAttributes"></a>

```java
public ResourceAttributes getResourceAttributes();
```

- *Type:* org.cdk8s.plus32.k8s.ResourceAttributes

ResourceAuthorizationAttributes describes information for a resource access request.

---

##### `uid`<sup>Optional</sup> <a name="uid" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.uid"></a>

```java
public java.lang.String getUid();
```

- *Type:* java.lang.String

UID information about the requesting user.

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.k8s.SubjectAccessReviewSpec.property.user"></a>

```java
public java.lang.String getUser();
```

- *Type:* java.lang.String

User is the user you're testing for.

If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

---

### SubjectConfiguration <a name="SubjectConfiguration" id="cdk8s-plus-32.SubjectConfiguration"></a>

Subject contains a reference to the object or user identities a role binding applies to.

This can either hold a direct API object reference, or a value
for non-objects such as user and group names.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.SubjectConfiguration.Initializer"></a>

```java
import org.cdk8s.plus32.SubjectConfiguration;

SubjectConfiguration.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiGroup(java.lang.String)
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.SubjectConfiguration.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind of object being referenced. |
| <code><a href="#cdk8s-plus-32.SubjectConfiguration.property.name">name</a></code> | <code>java.lang.String</code> | Name of the object being referenced. |
| <code><a href="#cdk8s-plus-32.SubjectConfiguration.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | APIGroup holds the API group of the referenced subject. |
| <code><a href="#cdk8s-plus-32.SubjectConfiguration.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace of the referenced object. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.SubjectConfiguration.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind of object being referenced.

Values defined by this API group are
"User", "Group", and "ServiceAccount". If the Authorizer does not
recognized the kind value, the Authorizer should report an error.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.SubjectConfiguration.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of the object being referenced.

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.SubjectConfiguration.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

APIGroup holds the API group of the referenced subject.

Defaults to "" for
ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User
and Group subjects.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.SubjectConfiguration.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace of the referenced object.

If the object kind is non-namespace,
such as "User" or "Group", and this value is not empty the Authorizer
should report an error.

---

### SuccessPolicy <a name="SuccessPolicy" id="cdk8s-plus-32.k8s.SuccessPolicy"></a>

SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SuccessPolicy.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SuccessPolicy;

SuccessPolicy.builder()
    .rules(java.util.List<SuccessPolicyRule>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SuccessPolicy.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.SuccessPolicyRule></code> | rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed. |

---

##### `rules`<sup>Required</sup> <a name="rules" id="cdk8s-plus-32.k8s.SuccessPolicy.property.rules"></a>

```java
public java.util.List<SuccessPolicyRule> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.SuccessPolicyRule>

rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.

---

### SuccessPolicyRule <a name="SuccessPolicyRule" id="cdk8s-plus-32.k8s.SuccessPolicyRule"></a>

SuccessPolicyRule describes rule for declaring a Job as succeeded.

Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.SuccessPolicyRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.SuccessPolicyRule;

SuccessPolicyRule.builder()
//  .succeededCount(java.lang.Number)
//  .succeededIndexes(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.SuccessPolicyRule.property.succeededCount">succeededCount</a></code> | <code>java.lang.Number</code> | succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. |
| <code><a href="#cdk8s-plus-32.k8s.SuccessPolicyRule.property.succeededIndexes">succeededIndexes</a></code> | <code>java.lang.String</code> | succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. |

---

##### `succeededCount`<sup>Optional</sup> <a name="succeededCount" id="cdk8s-plus-32.k8s.SuccessPolicyRule.property.succeededCount"></a>

```java
public java.lang.Number getSucceededCount();
```

- *Type:* java.lang.Number

succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job.

When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.

---

##### `succeededIndexes`<sup>Optional</sup> <a name="succeededIndexes" id="cdk8s-plus-32.k8s.SuccessPolicyRule.property.succeededIndexes"></a>

```java
public java.lang.String getSucceededIndexes();
```

- *Type:* java.lang.String

succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job.

The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.

---

### Sysctl <a name="Sysctl" id="cdk8s-plus-32.Sysctl"></a>

Sysctl defines a kernel parameter to be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.Sysctl.Initializer"></a>

```java
import org.cdk8s.plus32.Sysctl;

Sysctl.builder()
    .name(java.lang.String)
    .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Sysctl.property.name">name</a></code> | <code>java.lang.String</code> | Name of a property to set. |
| <code><a href="#cdk8s-plus-32.Sysctl.property.value">value</a></code> | <code>java.lang.String</code> | Value of a property to set. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Sysctl.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of a property to set.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Sysctl.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

Value of a property to set.

---

### Sysctl <a name="Sysctl" id="cdk8s-plus-32.k8s.Sysctl"></a>

Sysctl defines a kernel parameter to be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Sysctl.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Sysctl;

Sysctl.builder()
    .name(java.lang.String)
    .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Sysctl.property.name">name</a></code> | <code>java.lang.String</code> | Name of a property to set. |
| <code><a href="#cdk8s-plus-32.k8s.Sysctl.property.value">value</a></code> | <code>java.lang.String</code> | Value of a property to set. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.Sysctl.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name of a property to set.

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.Sysctl.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

Value of a property to set.

---

### Taint <a name="Taint" id="cdk8s-plus-32.k8s.Taint"></a>

The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Taint.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Taint;

Taint.builder()
    .effect(java.lang.String)
    .key(java.lang.String)
//  .timeAdded(java.time.Instant)
//  .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Taint.property.effect">effect</a></code> | <code>java.lang.String</code> | Required. |
| <code><a href="#cdk8s-plus-32.k8s.Taint.property.key">key</a></code> | <code>java.lang.String</code> | Required. |
| <code><a href="#cdk8s-plus-32.k8s.Taint.property.timeAdded">timeAdded</a></code> | <code>java.time.Instant</code> | TimeAdded represents the time at which the taint was added. |
| <code><a href="#cdk8s-plus-32.k8s.Taint.property.value">value</a></code> | <code>java.lang.String</code> | The taint value corresponding to the taint key. |

---

##### `effect`<sup>Required</sup> <a name="effect" id="cdk8s-plus-32.k8s.Taint.property.effect"></a>

```java
public java.lang.String getEffect();
```

- *Type:* java.lang.String

Required.

The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.Taint.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

Required.

The taint key to be applied to a node.

---

##### `timeAdded`<sup>Optional</sup> <a name="timeAdded" id="cdk8s-plus-32.k8s.Taint.property.timeAdded"></a>

```java
public java.time.Instant getTimeAdded();
```

- *Type:* java.time.Instant

TimeAdded represents the time at which the taint was added.

It is only written for NoExecute taints.

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.k8s.Taint.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

The taint value corresponding to the taint key.

---

### TcpSocketAction <a name="TcpSocketAction" id="cdk8s-plus-32.k8s.TcpSocketAction"></a>

TCPSocketAction describes an action based on opening a socket.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TcpSocketAction.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TcpSocketAction;

TcpSocketAction.builder()
    .port(IntOrString)
//  .host(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TcpSocketAction.property.port">port</a></code> | <code>org.cdk8s.plus32.k8s.IntOrString</code> | Number or name of the port to access on the container. |
| <code><a href="#cdk8s-plus-32.k8s.TcpSocketAction.property.host">host</a></code> | <code>java.lang.String</code> | Optional: Host name to connect to, defaults to the pod IP. |

---

##### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.k8s.TcpSocketAction.property.port"></a>

```java
public IntOrString getPort();
```

- *Type:* org.cdk8s.plus32.k8s.IntOrString

Number or name of the port to access on the container.

Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.k8s.TcpSocketAction.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String

Optional: Host name to connect to, defaults to the pod IP.

---

### TcpSocketProbeOptions <a name="TcpSocketProbeOptions" id="cdk8s-plus-32.TcpSocketProbeOptions"></a>

Options for `Probe.fromTcpSocket()`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.TcpSocketProbeOptions.Initializer"></a>

```java
import org.cdk8s.plus32.TcpSocketProbeOptions;

TcpSocketProbeOptions.builder()
//  .failureThreshold(java.lang.Number)
//  .initialDelaySeconds(Duration)
//  .periodSeconds(Duration)
//  .successThreshold(java.lang.Number)
//  .timeoutSeconds(Duration)
//  .host(java.lang.String)
//  .port(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.failureThreshold">failureThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive failures for the probe to be considered failed after having succeeded. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.initialDelaySeconds">initialDelaySeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after the container has started before liveness probes are initiated. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.periodSeconds">periodSeconds</a></code> | <code>org.cdk8s.Duration</code> | How often (in seconds) to perform the probe. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.successThreshold">successThreshold</a></code> | <code>java.lang.Number</code> | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.timeoutSeconds">timeoutSeconds</a></code> | <code>org.cdk8s.Duration</code> | Number of seconds after which the probe times out. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.host">host</a></code> | <code>java.lang.String</code> | The host name to connect to on the container. |
| <code><a href="#cdk8s-plus-32.TcpSocketProbeOptions.property.port">port</a></code> | <code>java.lang.Number</code> | The TCP port to connect to on the container. |

---

##### `failureThreshold`<sup>Optional</sup> <a name="failureThreshold" id="cdk8s-plus-32.TcpSocketProbeOptions.property.failureThreshold"></a>

```java
public java.lang.Number getFailureThreshold();
```

- *Type:* java.lang.Number
- *Default:* 3

Minimum consecutive failures for the probe to be considered failed after having succeeded.

Defaults to 3. Minimum value is 1.

---

##### `initialDelaySeconds`<sup>Optional</sup> <a name="initialDelaySeconds" id="cdk8s-plus-32.TcpSocketProbeOptions.property.initialDelaySeconds"></a>

```java
public Duration getInitialDelaySeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* immediate

Number of seconds after the container has started before liveness probes are initiated.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `periodSeconds`<sup>Optional</sup> <a name="periodSeconds" id="cdk8s-plus-32.TcpSocketProbeOptions.property.periodSeconds"></a>

```java
public Duration getPeriodSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(10) Minimum value is 1.

How often (in seconds) to perform the probe.

Default to 10 seconds. Minimum value is 1.

---

##### `successThreshold`<sup>Optional</sup> <a name="successThreshold" id="cdk8s-plus-32.TcpSocketProbeOptions.property.successThreshold"></a>

```java
public java.lang.Number getSuccessThreshold();
```

- *Type:* java.lang.Number
- *Default:* 1 Must be 1 for liveness and startup. Minimum value is 1.

Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1.

Must be 1 for liveness and startup. Minimum value is 1.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.TcpSocketProbeOptions.property.timeoutSeconds"></a>

```java
public Duration getTimeoutSeconds();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(1)

Number of seconds after which the probe times out.

Defaults to 1 second. Minimum value is 1.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes)

---

##### `host`<sup>Optional</sup> <a name="host" id="cdk8s-plus-32.TcpSocketProbeOptions.property.host"></a>

```java
public java.lang.String getHost();
```

- *Type:* java.lang.String
- *Default:* defaults to the pod IP

The host name to connect to on the container.

---

##### `port`<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.TcpSocketProbeOptions.property.port"></a>

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number
- *Default:* defaults to `container.port`.

The TCP port to connect to on the container.

---

### TlsSecretProps <a name="TlsSecretProps" id="cdk8s-plus-32.TlsSecretProps"></a>

Options for `TlsSecret`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.TlsSecretProps.Initializer"></a>

```java
import org.cdk8s.plus32.TlsSecretProps;

TlsSecretProps.builder()
//  .metadata(ApiObjectMetadata)
//  .immutable(java.lang.Boolean)
    .tlsCert(java.lang.String)
    .tlsKey(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TlsSecretProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.TlsSecretProps.property.immutable">immutable</a></code> | <code>java.lang.Boolean</code> | If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). |
| <code><a href="#cdk8s-plus-32.TlsSecretProps.property.tlsCert">tlsCert</a></code> | <code>java.lang.String</code> | The TLS cert. |
| <code><a href="#cdk8s-plus-32.TlsSecretProps.property.tlsKey">tlsKey</a></code> | <code>java.lang.String</code> | The TLS key. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.TlsSecretProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `immutable`<sup>Optional</sup> <a name="immutable" id="cdk8s-plus-32.TlsSecretProps.property.immutable"></a>

```java
public java.lang.Boolean getImmutable();
```

- *Type:* java.lang.Boolean
- *Default:* false

If set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified).

If not set to true, the field can be modified at any time.

---

##### `tlsCert`<sup>Required</sup> <a name="tlsCert" id="cdk8s-plus-32.TlsSecretProps.property.tlsCert"></a>

```java
public java.lang.String getTlsCert();
```

- *Type:* java.lang.String

The TLS cert.

---

##### `tlsKey`<sup>Required</sup> <a name="tlsKey" id="cdk8s-plus-32.TlsSecretProps.property.tlsKey"></a>

```java
public java.lang.String getTlsKey();
```

- *Type:* java.lang.String

The TLS key.

---

### TokenRequest <a name="TokenRequest" id="cdk8s-plus-32.k8s.TokenRequest"></a>

TokenRequest contains parameters of a service account token.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TokenRequest.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TokenRequest;

TokenRequest.builder()
    .audience(java.lang.String)
//  .expirationSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TokenRequest.property.audience">audience</a></code> | <code>java.lang.String</code> | audience is the intended audience of the token in "TokenRequestSpec". |
| <code><a href="#cdk8s-plus-32.k8s.TokenRequest.property.expirationSeconds">expirationSeconds</a></code> | <code>java.lang.Number</code> | expirationSeconds is the duration of validity of the token in "TokenRequestSpec". |

---

##### `audience`<sup>Required</sup> <a name="audience" id="cdk8s-plus-32.k8s.TokenRequest.property.audience"></a>

```java
public java.lang.String getAudience();
```

- *Type:* java.lang.String

audience is the intended audience of the token in "TokenRequestSpec".

It will default to the audiences of kube apiserver.

---

##### `expirationSeconds`<sup>Optional</sup> <a name="expirationSeconds" id="cdk8s-plus-32.k8s.TokenRequest.property.expirationSeconds"></a>

```java
public java.lang.Number getExpirationSeconds();
```

- *Type:* java.lang.Number

expirationSeconds is the duration of validity of the token in "TokenRequestSpec".

It has the same default value of "ExpirationSeconds" in "TokenRequestSpec".

---

### TokenRequestSpec <a name="TokenRequestSpec" id="cdk8s-plus-32.k8s.TokenRequestSpec"></a>

TokenRequestSpec contains client provided parameters of a token request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TokenRequestSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TokenRequestSpec;

TokenRequestSpec.builder()
    .audiences(java.util.List<java.lang.String>)
//  .boundObjectRef(BoundObjectReference)
//  .expirationSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TokenRequestSpec.property.audiences">audiences</a></code> | <code>java.util.List<java.lang.String></code> | Audiences are the intendend audiences of the token. |
| <code><a href="#cdk8s-plus-32.k8s.TokenRequestSpec.property.boundObjectRef">boundObjectRef</a></code> | <code>org.cdk8s.plus32.k8s.BoundObjectReference</code> | BoundObjectRef is a reference to an object that the token will be bound to. |
| <code><a href="#cdk8s-plus-32.k8s.TokenRequestSpec.property.expirationSeconds">expirationSeconds</a></code> | <code>java.lang.Number</code> | ExpirationSeconds is the requested duration of validity of the request. |

---

##### `audiences`<sup>Required</sup> <a name="audiences" id="cdk8s-plus-32.k8s.TokenRequestSpec.property.audiences"></a>

```java
public java.util.List<java.lang.String> getAudiences();
```

- *Type:* java.util.List<java.lang.String>

Audiences are the intendend audiences of the token.

A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.

---

##### `boundObjectRef`<sup>Optional</sup> <a name="boundObjectRef" id="cdk8s-plus-32.k8s.TokenRequestSpec.property.boundObjectRef"></a>

```java
public BoundObjectReference getBoundObjectRef();
```

- *Type:* org.cdk8s.plus32.k8s.BoundObjectReference

BoundObjectRef is a reference to an object that the token will be bound to.

The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.

---

##### `expirationSeconds`<sup>Optional</sup> <a name="expirationSeconds" id="cdk8s-plus-32.k8s.TokenRequestSpec.property.expirationSeconds"></a>

```java
public java.lang.Number getExpirationSeconds();
```

- *Type:* java.lang.Number

ExpirationSeconds is the requested duration of validity of the request.

The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.

---

### TokenReviewSpec <a name="TokenReviewSpec" id="cdk8s-plus-32.k8s.TokenReviewSpec"></a>

TokenReviewSpec is a description of the token authentication request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TokenReviewSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TokenReviewSpec;

TokenReviewSpec.builder()
//  .audiences(java.util.List<java.lang.String>)
//  .token(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TokenReviewSpec.property.audiences">audiences</a></code> | <code>java.util.List<java.lang.String></code> | Audiences is a list of the identifiers that the resource server presented with the token identifies as. |
| <code><a href="#cdk8s-plus-32.k8s.TokenReviewSpec.property.token">token</a></code> | <code>java.lang.String</code> | Token is the opaque bearer token. |

---

##### `audiences`<sup>Optional</sup> <a name="audiences" id="cdk8s-plus-32.k8s.TokenReviewSpec.property.audiences"></a>

```java
public java.util.List<java.lang.String> getAudiences();
```

- *Type:* java.util.List<java.lang.String>

Audiences is a list of the identifiers that the resource server presented with the token identifies as.

Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.

---

##### `token`<sup>Optional</sup> <a name="token" id="cdk8s-plus-32.k8s.TokenReviewSpec.property.token"></a>

```java
public java.lang.String getToken();
```

- *Type:* java.lang.String

Token is the opaque bearer token.

---

### Toleration <a name="Toleration" id="cdk8s-plus-32.k8s.Toleration"></a>

The pod this Toleration is attached to tolerates any taint that matches the triple <key,value,effect> using the matching operator <operator>.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Toleration.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Toleration;

Toleration.builder()
//  .effect(java.lang.String)
//  .key(java.lang.String)
//  .operator(java.lang.String)
//  .tolerationSeconds(java.lang.Number)
//  .value(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Toleration.property.effect">effect</a></code> | <code>java.lang.String</code> | Effect indicates the taint effect to match. |
| <code><a href="#cdk8s-plus-32.k8s.Toleration.property.key">key</a></code> | <code>java.lang.String</code> | Key is the taint key that the toleration applies to. |
| <code><a href="#cdk8s-plus-32.k8s.Toleration.property.operator">operator</a></code> | <code>java.lang.String</code> | Operator represents a key's relationship to the value. |
| <code><a href="#cdk8s-plus-32.k8s.Toleration.property.tolerationSeconds">tolerationSeconds</a></code> | <code>java.lang.Number</code> | TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. |
| <code><a href="#cdk8s-plus-32.k8s.Toleration.property.value">value</a></code> | <code>java.lang.String</code> | Value is the taint value the toleration matches to. |

---

##### `effect`<sup>Optional</sup> <a name="effect" id="cdk8s-plus-32.k8s.Toleration.property.effect"></a>

```java
public java.lang.String getEffect();
```

- *Type:* java.lang.String

Effect indicates the taint effect to match.

Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.

---

##### `key`<sup>Optional</sup> <a name="key" id="cdk8s-plus-32.k8s.Toleration.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

Key is the taint key that the toleration applies to.

Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.

---

##### `operator`<sup>Optional</sup> <a name="operator" id="cdk8s-plus-32.k8s.Toleration.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String
- *Default:* Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.

Operator represents a key's relationship to the value.

Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.

---

##### `tolerationSeconds`<sup>Optional</sup> <a name="tolerationSeconds" id="cdk8s-plus-32.k8s.Toleration.property.tolerationSeconds"></a>

```java
public java.lang.Number getTolerationSeconds();
```

- *Type:* java.lang.Number

TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.

By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.k8s.Toleration.property.value"></a>

```java
public java.lang.String getValue();
```

- *Type:* java.lang.String

Value is the taint value the toleration matches to.

If the operator is Exists, the value should be empty, otherwise just a regular string.

---

### TopologySelectorLabelRequirement <a name="TopologySelectorLabelRequirement" id="cdk8s-plus-32.k8s.TopologySelectorLabelRequirement"></a>

A topology selector requirement is a selector that matches given label.

This is an alpha feature and may change in the future.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TopologySelectorLabelRequirement.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TopologySelectorLabelRequirement;

TopologySelectorLabelRequirement.builder()
    .key(java.lang.String)
    .values(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TopologySelectorLabelRequirement.property.key">key</a></code> | <code>java.lang.String</code> | The label key that the selector applies to. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySelectorLabelRequirement.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | An array of string values. |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.k8s.TopologySelectorLabelRequirement.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

The label key that the selector applies to.

---

##### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.k8s.TopologySelectorLabelRequirement.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

An array of string values.

One value must match the label to be selected. Each entry in Values is ORed.

---

### TopologySelectorTerm <a name="TopologySelectorTerm" id="cdk8s-plus-32.k8s.TopologySelectorTerm"></a>

A topology selector term represents the result of label queries.

A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TopologySelectorTerm.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TopologySelectorTerm;

TopologySelectorTerm.builder()
//  .matchLabelExpressions(java.util.List<TopologySelectorLabelRequirement>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TopologySelectorTerm.property.matchLabelExpressions">matchLabelExpressions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.TopologySelectorLabelRequirement></code> | A list of topology selector requirements by labels. |

---

##### `matchLabelExpressions`<sup>Optional</sup> <a name="matchLabelExpressions" id="cdk8s-plus-32.k8s.TopologySelectorTerm.property.matchLabelExpressions"></a>

```java
public java.util.List<TopologySelectorLabelRequirement> getMatchLabelExpressions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.TopologySelectorLabelRequirement>

A list of topology selector requirements by labels.

---

### TopologySpreadConstraint <a name="TopologySpreadConstraint" id="cdk8s-plus-32.k8s.TopologySpreadConstraint"></a>

TopologySpreadConstraint specifies how to spread matching pods among the given topology.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TopologySpreadConstraint;

TopologySpreadConstraint.builder()
    .maxSkew(java.lang.Number)
    .topologyKey(java.lang.String)
    .whenUnsatisfiable(java.lang.String)
//  .labelSelector(LabelSelector)
//  .matchLabelKeys(java.util.List<java.lang.String>)
//  .minDomains(java.lang.Number)
//  .nodeAffinityPolicy(java.lang.String)
//  .nodeTaintsPolicy(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.maxSkew">maxSkew</a></code> | <code>java.lang.Number</code> | MaxSkew describes the degree to which pods may be unevenly distributed. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.topologyKey">topologyKey</a></code> | <code>java.lang.String</code> | TopologyKey is the key of node labels. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.whenUnsatisfiable">whenUnsatisfiable</a></code> | <code>java.lang.String</code> | WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.labelSelector">labelSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | LabelSelector is used to find matching pods. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.matchLabelKeys">matchLabelKeys</a></code> | <code>java.util.List<java.lang.String></code> | MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.minDomains">minDomains</a></code> | <code>java.lang.Number</code> | MinDomains indicates a minimum number of eligible domains. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.nodeAffinityPolicy">nodeAffinityPolicy</a></code> | <code>java.lang.String</code> | NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. |
| <code><a href="#cdk8s-plus-32.k8s.TopologySpreadConstraint.property.nodeTaintsPolicy">nodeTaintsPolicy</a></code> | <code>java.lang.String</code> | NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. |

---

##### `maxSkew`<sup>Required</sup> <a name="maxSkew" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.maxSkew"></a>

```java
public java.lang.Number getMaxSkew();
```

- *Type:* java.lang.Number

MaxSkew describes the degree to which pods may be unevenly distributed.

When `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference between the number of matching pods in the target topology and the global minimum. The global minimum is the minimum number of matching pods in an eligible domain or zero if the number of eligible domains is less than MinDomains. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 2/2/1: In this case, the global minimum is 1. | zone1 | zone2 | zone3 | |  P P  |  P P  |   P   | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 2/2/2; scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence to topologies that satisfy it. It's a required field. Default value is 1 and 0 is not allowed.

---

##### `topologyKey`<sup>Required</sup> <a name="topologyKey" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.topologyKey"></a>

```java
public java.lang.String getTopologyKey();
```

- *Type:* java.lang.String

TopologyKey is the key of node labels.

Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each <key, value> as a "bucket", and try to put balanced number of pods into each bucket. We define a domain as a particular instance of a topology. Also, we define an eligible domain as a domain whose nodes meet the requirements of nodeAffinityPolicy and nodeTaintsPolicy. e.g. If TopologyKey is "kubernetes.io/hostname", each Node is a domain of that topology. And, if TopologyKey is "topology.kubernetes.io/zone", each zone is a domain of that topology. It's a required field.

---

##### `whenUnsatisfiable`<sup>Required</sup> <a name="whenUnsatisfiable" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.whenUnsatisfiable"></a>

```java
public java.lang.String getWhenUnsatisfiable();
```

- *Type:* java.lang.String

WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint.

* DoNotSchedule (default) tells the scheduler not to schedule it. - ScheduleAnyway tells the scheduler to schedule the pod in any location,
  but giving higher precedence to topologies that would help reduce the
  skew.
  A constraint is considered "Unsatisfiable" for an incoming pod if and only if every possible node assignment for that pod would violate "MaxSkew" on some topology. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P |   P   |   P   | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.

---

##### `labelSelector`<sup>Optional</sup> <a name="labelSelector" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.labelSelector"></a>

```java
public LabelSelector getLabelSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector

LabelSelector is used to find matching pods.

Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain.

---

##### `matchLabelKeys`<sup>Optional</sup> <a name="matchLabelKeys" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.matchLabelKeys"></a>

```java
public java.util.List<java.lang.String> getMatchLabelKeys();
```

- *Type:* java.util.List<java.lang.String>

MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated.

The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.

This is a beta field and requires the MatchLabelKeysInPodTopologySpread feature gate to be enabled (enabled by default).

---

##### `minDomains`<sup>Optional</sup> <a name="minDomains" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.minDomains"></a>

```java
public java.lang.Number getMinDomains();
```

- *Type:* java.lang.Number

MinDomains indicates a minimum number of eligible domains.

When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats "global minimum" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.

For example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: | zone1 | zone2 | zone3 | |  P P  |  P P  |  P P  | The number of domains is less than 5(MinDomains), so "global minimum" is treated as 0. In this situation, new pod with the same labelSelector cannot be scheduled, because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, it will violate MaxSkew.

---

##### `nodeAffinityPolicy`<sup>Optional</sup> <a name="nodeAffinityPolicy" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.nodeAffinityPolicy"></a>

```java
public java.lang.String getNodeAffinityPolicy();
```

- *Type:* java.lang.String

NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew.

Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.

If this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

---

##### `nodeTaintsPolicy`<sup>Optional</sup> <a name="nodeTaintsPolicy" id="cdk8s-plus-32.k8s.TopologySpreadConstraint.property.nodeTaintsPolicy"></a>

```java
public java.lang.String getNodeTaintsPolicy();
```

- *Type:* java.lang.String

NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew.

Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.

If this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.

---

### TypedLocalObjectReference <a name="TypedLocalObjectReference" id="cdk8s-plus-32.k8s.TypedLocalObjectReference"></a>

TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TypedLocalObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TypedLocalObjectReference;

TypedLocalObjectReference.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiGroup(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TypedLocalObjectReference.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the type of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.TypedLocalObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.TypedLocalObjectReference.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | APIGroup is the group for the resource being referenced. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.TypedLocalObjectReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the type of resource being referenced.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.TypedLocalObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of resource being referenced.

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.TypedLocalObjectReference.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

APIGroup is the group for the resource being referenced.

If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

---

### TypedObjectReference <a name="TypedObjectReference" id="cdk8s-plus-32.k8s.TypedObjectReference"></a>

TypedObjectReference contains enough information to let you locate the typed referenced object.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.TypedObjectReference.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.TypedObjectReference;

TypedObjectReference.builder()
    .kind(java.lang.String)
    .name(java.lang.String)
//  .apiGroup(java.lang.String)
//  .namespace(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.TypedObjectReference.property.kind">kind</a></code> | <code>java.lang.String</code> | Kind is the type of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.TypedObjectReference.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.TypedObjectReference.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | APIGroup is the group for the resource being referenced. |
| <code><a href="#cdk8s-plus-32.k8s.TypedObjectReference.property.namespace">namespace</a></code> | <code>java.lang.String</code> | Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. |

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.k8s.TypedObjectReference.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

Kind is the type of resource being referenced.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.TypedObjectReference.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of resource being referenced.

---

##### `apiGroup`<sup>Optional</sup> <a name="apiGroup" id="cdk8s-plus-32.k8s.TypedObjectReference.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

APIGroup is the group for the resource being referenced.

If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

---

##### `namespace`<sup>Optional</sup> <a name="namespace" id="cdk8s-plus-32.k8s.TypedObjectReference.property.namespace"></a>

```java
public java.lang.String getNamespace();
```

- *Type:* java.lang.String

Namespace is the namespace of resource being referenced Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.

---

### ValidatingAdmissionPolicyBindingSpec <a name="ValidatingAdmissionPolicyBindingSpec" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec"></a>

ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpec;

ValidatingAdmissionPolicyBindingSpec.builder()
//  .matchResources(MatchResources)
//  .paramRef(ParamRef)
//  .policyName(java.lang.String)
//  .validationActions(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.matchResources">matchResources</a></code> | <code>org.cdk8s.plus32.k8s.MatchResources</code> | MatchResources declares what resources match this binding and will be validated by it. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.paramRef">paramRef</a></code> | <code>org.cdk8s.plus32.k8s.ParamRef</code> | paramRef specifies the parameter resource used to configure the admission control policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.policyName">policyName</a></code> | <code>java.lang.String</code> | PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.validationActions">validationActions</a></code> | <code>java.util.List<java.lang.String></code> | validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. |

---

##### `matchResources`<sup>Optional</sup> <a name="matchResources" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.matchResources"></a>

```java
public MatchResources getMatchResources();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResources

MatchResources declares what resources match this binding and will be validated by it.

Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.

---

##### `paramRef`<sup>Optional</sup> <a name="paramRef" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.paramRef"></a>

```java
public ParamRef getParamRef();
```

- *Type:* org.cdk8s.plus32.k8s.ParamRef

paramRef specifies the parameter resource used to configure the admission control policy.

It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.

---

##### `policyName`<sup>Optional</sup> <a name="policyName" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.policyName"></a>

```java
public java.lang.String getPolicyName();
```

- *Type:* java.lang.String

PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.

If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.

---

##### `validationActions`<sup>Optional</sup> <a name="validationActions" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpec.property.validationActions"></a>

```java
public java.util.List<java.lang.String> getValidationActions();
```

- *Type:* java.util.List<java.lang.String>

validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced.

If a validation evaluates to false it is always enforced according to these actions.

Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.

validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.

The supported actions values are:

"Deny" specifies that a validation failure results in a denied request.

"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.

"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`

Clients should expect to handle additional values by ignoring any values not recognized.

"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.

Required.

---

### ValidatingAdmissionPolicyBindingSpecV1Beta1 <a name="ValidatingAdmissionPolicyBindingSpecV1Beta1" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1"></a>

ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1;

ValidatingAdmissionPolicyBindingSpecV1Beta1.builder()
//  .matchResources(MatchResourcesV1Beta1)
//  .paramRef(ParamRefV1Beta1)
//  .policyName(java.lang.String)
//  .validationActions(java.util.List<java.lang.String>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.matchResources">matchResources</a></code> | <code>org.cdk8s.plus32.k8s.MatchResourcesV1Beta1</code> | MatchResources declares what resources match this binding and will be validated by it. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.paramRef">paramRef</a></code> | <code>org.cdk8s.plus32.k8s.ParamRefV1Beta1</code> | paramRef specifies the parameter resource used to configure the admission control policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.policyName">policyName</a></code> | <code>java.lang.String</code> | PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.validationActions">validationActions</a></code> | <code>java.util.List<java.lang.String></code> | validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. |

---

##### `matchResources`<sup>Optional</sup> <a name="matchResources" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.matchResources"></a>

```java
public MatchResourcesV1Beta1 getMatchResources();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResourcesV1Beta1

MatchResources declares what resources match this binding and will be validated by it.

Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.

---

##### `paramRef`<sup>Optional</sup> <a name="paramRef" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.paramRef"></a>

```java
public ParamRefV1Beta1 getParamRef();
```

- *Type:* org.cdk8s.plus32.k8s.ParamRefV1Beta1

paramRef specifies the parameter resource used to configure the admission control policy.

It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.

---

##### `policyName`<sup>Optional</sup> <a name="policyName" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.policyName"></a>

```java
public java.lang.String getPolicyName();
```

- *Type:* java.lang.String

PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.

If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.

---

##### `validationActions`<sup>Optional</sup> <a name="validationActions" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicyBindingSpecV1Beta1.property.validationActions"></a>

```java
public java.util.List<java.lang.String> getValidationActions();
```

- *Type:* java.util.List<java.lang.String>

validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced.

If a validation evaluates to false it is always enforced according to these actions.

Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.

validationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.

The supported actions values are:

"Deny" specifies that a validation failure results in a denied request.

"Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.

"Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`

Clients should expect to handle additional values by ignoring any values not recognized.

"Deny" and "Warn" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.

Required.

---

### ValidatingAdmissionPolicySpec <a name="ValidatingAdmissionPolicySpec" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec"></a>

ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpec;

ValidatingAdmissionPolicySpec.builder()
//  .auditAnnotations(java.util.List<AuditAnnotation>)
//  .failurePolicy(java.lang.String)
//  .matchConditions(java.util.List<MatchCondition>)
//  .matchConstraints(MatchResources)
//  .paramKind(ParamKind)
//  .validations(java.util.List<Validation>)
//  .variables(java.util.List<Variable>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.auditAnnotations">auditAnnotations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.AuditAnnotation></code> | auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.failurePolicy">failurePolicy</a></code> | <code>java.lang.String</code> | failurePolicy defines how to handle failures for the admission policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.matchConditions">matchConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MatchCondition></code> | MatchConditions is a list of conditions that must be met for a request to be validated. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.matchConstraints">matchConstraints</a></code> | <code>org.cdk8s.plus32.k8s.MatchResources</code> | MatchConstraints specifies what resources this policy is designed to validate. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.paramKind">paramKind</a></code> | <code>org.cdk8s.plus32.k8s.ParamKind</code> | ParamKind specifies the kind of resources used to parameterize this policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.validations">validations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Validation></code> | Validations contain CEL expressions which is used to apply the validation. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.variables">variables</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.Variable></code> | Variables contain definitions of variables that can be used in composition of other expressions. |

---

##### `auditAnnotations`<sup>Optional</sup> <a name="auditAnnotations" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.auditAnnotations"></a>

```java
public java.util.List<AuditAnnotation> getAuditAnnotations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.AuditAnnotation>

auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request.

validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.

---

##### `failurePolicy`<sup>Optional</sup> <a name="failurePolicy" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.failurePolicy"></a>

```java
public java.lang.String getFailurePolicy();
```

- *Type:* java.lang.String
- *Default:* Fail.

failurePolicy defines how to handle failures for the admission policy.

Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.

A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.

failurePolicy does not define how validations that evaluate to false are handled.

When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.

Allowed values are Ignore or Fail. Defaults to Fail.

---

##### `matchConditions`<sup>Optional</sup> <a name="matchConditions" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.matchConditions"></a>

```java
public java.util.List<MatchCondition> getMatchConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MatchCondition>

MatchConditions is a list of conditions that must be met for a request to be validated.

Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.

If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.

The exact matching logic is (in order):

1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
3. If any matchCondition evaluates to an error (but none are FALSE):

* If failurePolicy=Fail, reject the request
* If failurePolicy=Ignore, the policy is skipped

---

##### `matchConstraints`<sup>Optional</sup> <a name="matchConstraints" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.matchConstraints"></a>

```java
public MatchResources getMatchConstraints();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResources

MatchConstraints specifies what resources this policy is designed to validate.

The AdmissionPolicy cares about a request if it matches *all* Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.

---

##### `paramKind`<sup>Optional</sup> <a name="paramKind" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.paramKind"></a>

```java
public ParamKind getParamKind();
```

- *Type:* org.cdk8s.plus32.k8s.ParamKind

ParamKind specifies the kind of resources used to parameterize this policy.

If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.

---

##### `validations`<sup>Optional</sup> <a name="validations" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.validations"></a>

```java
public java.util.List<Validation> getValidations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Validation>

Validations contain CEL expressions which is used to apply the validation.

Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.

---

##### `variables`<sup>Optional</sup> <a name="variables" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpec.property.variables"></a>

```java
public java.util.List<Variable> getVariables();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.Variable>

Variables contain definitions of variables that can be used in composition of other expressions.

Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.

The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.

---

### ValidatingAdmissionPolicySpecV1Beta1 <a name="ValidatingAdmissionPolicySpecV1Beta1" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1"></a>

ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidatingAdmissionPolicySpecV1Beta1;

ValidatingAdmissionPolicySpecV1Beta1.builder()
//  .auditAnnotations(java.util.List<AuditAnnotationV1Beta1>)
//  .failurePolicy(java.lang.String)
//  .matchConditions(java.util.List<MatchConditionV1Beta1>)
//  .matchConstraints(MatchResourcesV1Beta1)
//  .paramKind(ParamKindV1Beta1)
//  .validations(java.util.List<ValidationV1Beta1>)
//  .variables(java.util.List<VariableV1Beta1>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.auditAnnotations">auditAnnotations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.AuditAnnotationV1Beta1></code> | auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.failurePolicy">failurePolicy</a></code> | <code>java.lang.String</code> | failurePolicy defines how to handle failures for the admission policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.matchConditions">matchConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MatchConditionV1Beta1></code> | MatchConditions is a list of conditions that must be met for a request to be validated. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.matchConstraints">matchConstraints</a></code> | <code>org.cdk8s.plus32.k8s.MatchResourcesV1Beta1</code> | MatchConstraints specifies what resources this policy is designed to validate. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.paramKind">paramKind</a></code> | <code>org.cdk8s.plus32.k8s.ParamKindV1Beta1</code> | ParamKind specifies the kind of resources used to parameterize this policy. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.validations">validations</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.ValidationV1Beta1></code> | Validations contain CEL expressions which is used to apply the validation. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.variables">variables</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.VariableV1Beta1></code> | Variables contain definitions of variables that can be used in composition of other expressions. |

---

##### `auditAnnotations`<sup>Optional</sup> <a name="auditAnnotations" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.auditAnnotations"></a>

```java
public java.util.List<AuditAnnotationV1Beta1> getAuditAnnotations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.AuditAnnotationV1Beta1>

auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request.

validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.

---

##### `failurePolicy`<sup>Optional</sup> <a name="failurePolicy" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.failurePolicy"></a>

```java
public java.lang.String getFailurePolicy();
```

- *Type:* java.lang.String
- *Default:* Fail.

failurePolicy defines how to handle failures for the admission policy.

Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.

A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.

failurePolicy does not define how validations that evaluate to false are handled.

When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.

Allowed values are Ignore or Fail. Defaults to Fail.

---

##### `matchConditions`<sup>Optional</sup> <a name="matchConditions" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.matchConditions"></a>

```java
public java.util.List<MatchConditionV1Beta1> getMatchConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MatchConditionV1Beta1>

MatchConditions is a list of conditions that must be met for a request to be validated.

Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.

If a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.

The exact matching logic is (in order):

1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
3. If any matchCondition evaluates to an error (but none are FALSE):

* If failurePolicy=Fail, reject the request
* If failurePolicy=Ignore, the policy is skipped

---

##### `matchConstraints`<sup>Optional</sup> <a name="matchConstraints" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.matchConstraints"></a>

```java
public MatchResourcesV1Beta1 getMatchConstraints();
```

- *Type:* org.cdk8s.plus32.k8s.MatchResourcesV1Beta1

MatchConstraints specifies what resources this policy is designed to validate.

The AdmissionPolicy cares about a request if it matches *all* Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.

---

##### `paramKind`<sup>Optional</sup> <a name="paramKind" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.paramKind"></a>

```java
public ParamKindV1Beta1 getParamKind();
```

- *Type:* org.cdk8s.plus32.k8s.ParamKindV1Beta1

ParamKind specifies the kind of resources used to parameterize this policy.

If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.

---

##### `validations`<sup>Optional</sup> <a name="validations" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.validations"></a>

```java
public java.util.List<ValidationV1Beta1> getValidations();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.ValidationV1Beta1>

Validations contain CEL expressions which is used to apply the validation.

Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.

---

##### `variables`<sup>Optional</sup> <a name="variables" id="cdk8s-plus-32.k8s.ValidatingAdmissionPolicySpecV1Beta1.property.variables"></a>

```java
public java.util.List<VariableV1Beta1> getVariables();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.VariableV1Beta1>

Variables contain definitions of variables that can be used in composition of other expressions.

Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.

The expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.

---

### ValidatingWebhook <a name="ValidatingWebhook" id="cdk8s-plus-32.k8s.ValidatingWebhook"></a>

ValidatingWebhook describes an admission webhook and the resources and operations it applies to.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidatingWebhook.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidatingWebhook;

ValidatingWebhook.builder()
    .admissionReviewVersions(java.util.List<java.lang.String>)
    .clientConfig(WebhookClientConfig)
    .name(java.lang.String)
    .sideEffects(java.lang.String)
//  .failurePolicy(java.lang.String)
//  .matchConditions(java.util.List<MatchCondition>)
//  .matchPolicy(java.lang.String)
//  .namespaceSelector(LabelSelector)
//  .objectSelector(LabelSelector)
//  .rules(java.util.List<RuleWithOperations>)
//  .timeoutSeconds(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.admissionReviewVersions">admissionReviewVersions</a></code> | <code>java.util.List<java.lang.String></code> | AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.clientConfig">clientConfig</a></code> | <code>org.cdk8s.plus32.k8s.WebhookClientConfig</code> | ClientConfig defines how to communicate with the hook. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.name">name</a></code> | <code>java.lang.String</code> | The name of the admission webhook. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.sideEffects">sideEffects</a></code> | <code>java.lang.String</code> | SideEffects states whether this webhook has side effects. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.failurePolicy">failurePolicy</a></code> | <code>java.lang.String</code> | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.matchConditions">matchConditions</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.MatchCondition></code> | MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.matchPolicy">matchPolicy</a></code> | <code>java.lang.String</code> | matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent". |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.namespaceSelector">namespaceSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.objectSelector">objectSelector</a></code> | <code>org.cdk8s.plus32.k8s.LabelSelector</code> | ObjectSelector decides whether to run the webhook based on if the object has matching labels. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.rules">rules</a></code> | <code>java.util.List<org.cdk8s.plus32.k8s.RuleWithOperations></code> | Rules describes what operations on what resources/subresources the webhook cares about. |
| <code><a href="#cdk8s-plus-32.k8s.ValidatingWebhook.property.timeoutSeconds">timeoutSeconds</a></code> | <code>java.lang.Number</code> | TimeoutSeconds specifies the timeout for this webhook. |

---

##### `admissionReviewVersions`<sup>Required</sup> <a name="admissionReviewVersions" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.admissionReviewVersions"></a>

```java
public java.util.List<java.lang.String> getAdmissionReviewVersions();
```

- *Type:* java.util.List<java.lang.String>

AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects.

API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.

---

##### `clientConfig`<sup>Required</sup> <a name="clientConfig" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.clientConfig"></a>

```java
public WebhookClientConfig getClientConfig();
```

- *Type:* org.cdk8s.plus32.k8s.WebhookClientConfig

ClientConfig defines how to communicate with the hook.

Required

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the admission webhook.

Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.

---

##### `sideEffects`<sup>Required</sup> <a name="sideEffects" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.sideEffects"></a>

```java
public java.lang.String getSideEffects();
```

- *Type:* java.lang.String

SideEffects states whether this webhook has side effects.

Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.

---

##### `failurePolicy`<sup>Optional</sup> <a name="failurePolicy" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.failurePolicy"></a>

```java
public java.lang.String getFailurePolicy();
```

- *Type:* java.lang.String
- *Default:* Fail.

FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.

Defaults to Fail.

---

##### `matchConditions`<sup>Optional</sup> <a name="matchConditions" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.matchConditions"></a>

```java
public java.util.List<MatchCondition> getMatchConditions();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.MatchCondition>

MatchConditions is a list of conditions that must be met for a request to be sent to this webhook.

Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.

The exact matching logic is (in order):

1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.
2. If ALL matchConditions evaluate to TRUE, the webhook is called.
3. If any matchCondition evaluates to an error (but none are FALSE):

* If failurePolicy=Fail, reject the request
* If failurePolicy=Ignore, the error is ignored and the webhook is skipped

---

##### `matchPolicy`<sup>Optional</sup> <a name="matchPolicy" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.matchPolicy"></a>

```java
public java.lang.String getMatchPolicy();
```

- *Type:* java.lang.String
- *Default:* Equivalent"

matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".

* Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
* Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.

Defaults to "Equivalent"

---

##### `namespaceSelector`<sup>Optional</sup> <a name="namespaceSelector" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.namespaceSelector"></a>

```java
public LabelSelector getNamespaceSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector.

If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.

For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1";  you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "runlevel",
"operator": "NotIn",
"values": [
"0",
"1"
]
}
]
}

If instead you want to only run the webhook on any objects whose namespace is associated with the "environment" of "prod" or "staging"; you will set the selector as follows: "namespaceSelector": {
"matchExpressions": [
{
"key": "environment",
"operator": "In",
"values": [
"prod",
"staging"
]
}
]
}

See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for more examples of label selectors.

Default to the empty LabelSelector, which matches everything.

---

##### `objectSelector`<sup>Optional</sup> <a name="objectSelector" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.objectSelector"></a>

```java
public LabelSelector getObjectSelector();
```

- *Type:* org.cdk8s.plus32.k8s.LabelSelector
- *Default:* the empty LabelSelector, which matches everything.

ObjectSelector decides whether to run the webhook based on if the object has matching labels.

objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.

---

##### `rules`<sup>Optional</sup> <a name="rules" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.rules"></a>

```java
public java.util.List<RuleWithOperations> getRules();
```

- *Type:* java.util.List<org.cdk8s.plus32.k8s.RuleWithOperations>

Rules describes what operations on what resources/subresources the webhook cares about.

The webhook cares about an operation if it matches *any* Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.

---

##### `timeoutSeconds`<sup>Optional</sup> <a name="timeoutSeconds" id="cdk8s-plus-32.k8s.ValidatingWebhook.property.timeoutSeconds"></a>

```java
public java.lang.Number getTimeoutSeconds();
```

- *Type:* java.lang.Number
- *Default:* 10 seconds.

TimeoutSeconds specifies the timeout for this webhook.

After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.

---

### Validation <a name="Validation" id="cdk8s-plus-32.k8s.Validation"></a>

Validation specifies the CEL expression which is used to apply the validation.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Validation.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Validation;

Validation.builder()
    .expression(java.lang.String)
//  .message(java.lang.String)
//  .messageExpression(java.lang.String)
//  .reason(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Validation.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.Validation.property.message">message</a></code> | <code>java.lang.String</code> | Message represents the message displayed when validation fails. |
| <code><a href="#cdk8s-plus-32.k8s.Validation.property.messageExpression">messageExpression</a></code> | <code>java.lang.String</code> | messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. |
| <code><a href="#cdk8s-plus-32.k8s.Validation.property.reason">reason</a></code> | <code>java.lang.String</code> | Reason represents a machine-readable description of why this validation failed. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.Validation.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression represents the expression which will be evaluated by CEL.

ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:

* 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
* 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
* 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
  request resource.

The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.

Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '**' escapes to '**underscores**' - '.' escapes to '**dot**' - '-' escapes to '**dash**' - '/' escapes to '**slash**' - Property names that exactly match a CEL RESERVED keyword escape to '**{keyword}__'. The keywords are:
"true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
"import", "let", "loop", "package", "namespace", "return".
Examples:

* Expression accessing a property named "namespace": {"Expression": "object.**namespace** > 0"}
* Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
* Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}

Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:

* 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
  non-intersecting elements in `Y` are appended, retaining their partial order.
* 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
  non-intersecting keys are appended, retaining their partial order.
  Required.

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.Validation.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

Message represents the message displayed when validation fails.

The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".

---

##### `messageExpression`<sup>Optional</sup> <a name="messageExpression" id="cdk8s-plus-32.k8s.Validation.property.messageExpression"></a>

```java
public java.lang.String getMessageExpression();
```

- *Type:* java.lang.String

messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.

Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.Validation.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

Reason represents a machine-readable description of why this validation failed.

If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.

---

### ValidationRule <a name="ValidationRule" id="cdk8s-plus-32.k8s.ValidationRule"></a>

ValidationRule describes a validation rule written in the CEL expression language.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidationRule.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidationRule;

ValidationRule.builder()
    .rule(java.lang.String)
//  .fieldPath(java.lang.String)
//  .message(java.lang.String)
//  .messageExpression(java.lang.String)
//  .optionalOldSelf(java.lang.Boolean)
//  .reason(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.rule">rule</a></code> | <code>java.lang.String</code> | Rule represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.fieldPath">fieldPath</a></code> | <code>java.lang.String</code> | fieldPath represents the field path returned when the validation fails. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.message">message</a></code> | <code>java.lang.String</code> | Message represents the message displayed when validation fails. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.messageExpression">messageExpression</a></code> | <code>java.lang.String</code> | MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.optionalOldSelf">optionalOldSelf</a></code> | <code>java.lang.Boolean</code> | optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationRule.property.reason">reason</a></code> | <code>java.lang.String</code> | reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. |

---

##### `rule`<sup>Required</sup> <a name="rule" id="cdk8s-plus-32.k8s.ValidationRule.property.rule"></a>

```java
public java.lang.String getRule();
```

- *Type:* java.lang.String

Rule represents the expression which will be evaluated by CEL.

ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {"rule": "self.status.actual <= self.spec.maxDesired"}

If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {"rule": "self.components['Widget'].priority < 10"} - Rule scoped to a list of integers: {"rule": "self.values.all(value, value >= 0 && value < 100)"} - Rule scoped to a string value: {"rule": "self.startsWith('kube')"}

The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.

Unknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an "unknown type". An "unknown type" is recursively defined as:

* A schema with no type and x-kubernetes-preserve-unknown-fields set to true
* An array where the items schema is of an "unknown type"
* An object where the additionalProperties schema is of an "unknown type"

Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '**' escapes to '**underscores**' - '.' escapes to '**dot**' - '-' escapes to '**dash**' - '/' escapes to '**slash**' - Property names that exactly match a CEL RESERVED keyword escape to '**{keyword}__'. The keywords are:
"true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
"import", "let", "loop", "package", "namespace", "return".
Examples:

* Rule accessing a property named "namespace": {"rule": "self.**namespace** > 0"}
* Rule accessing a property named "x-prop": {"rule": "self.x__dash__prop > 0"}
* Rule accessing a property named "redact__d": {"rule": "self.redact__underscores__d > 0"}

Equality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:

* 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
  non-intersecting elements in `Y` are appended, retaining their partial order.
* 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
  non-intersecting keys are appended, retaining their partial order.

If `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.

By default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional
variable whose value() is the same type as `self`.
See the documentation for the `optionalOldSelf` field for details.

Transition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.

---

##### `fieldPath`<sup>Optional</sup> <a name="fieldPath" id="cdk8s-plus-32.k8s.ValidationRule.property.fieldPath"></a>

```java
public java.lang.String getFieldPath();
```

- *Type:* java.lang.String

fieldPath represents the field path returned when the validation fails.

It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.ValidationRule.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

Message represents the message displayed when validation fails.

The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host"

---

##### `messageExpression`<sup>Optional</sup> <a name="messageExpression" id="cdk8s-plus-32.k8s.ValidationRule.property.messageExpression"></a>

```java
public java.lang.String getMessageExpression();
```

- *Type:* java.lang.String

MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.

Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: "x must be less than max ("+string(self.max)+")"

---

##### `optionalOldSelf`<sup>Optional</sup> <a name="optionalOldSelf" id="cdk8s-plus-32.k8s.ValidationRule.property.optionalOldSelf"></a>

```java
public java.lang.Boolean getOptionalOldSelf();
```

- *Type:* java.lang.Boolean

optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.

When enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.

You may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes

May not be set unless `oldSelf` is used in `rule`.

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.ValidationRule.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule.

The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: "FieldValueInvalid", "FieldValueForbidden", "FieldValueRequired", "FieldValueDuplicate". If not set, default to use "FieldValueInvalid". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.

---

### ValidationV1Beta1 <a name="ValidationV1Beta1" id="cdk8s-plus-32.k8s.ValidationV1Beta1"></a>

Validation specifies the CEL expression which is used to apply the validation.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.ValidationV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.ValidationV1Beta1;

ValidationV1Beta1.builder()
    .expression(java.lang.String)
//  .message(java.lang.String)
//  .messageExpression(java.lang.String)
//  .reason(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.ValidationV1Beta1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression represents the expression which will be evaluated by CEL. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationV1Beta1.property.message">message</a></code> | <code>java.lang.String</code> | Message represents the message displayed when validation fails. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationV1Beta1.property.messageExpression">messageExpression</a></code> | <code>java.lang.String</code> | messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. |
| <code><a href="#cdk8s-plus-32.k8s.ValidationV1Beta1.property.reason">reason</a></code> | <code>java.lang.String</code> | Reason represents a machine-readable description of why this validation failed. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.ValidationV1Beta1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression represents the expression which will be evaluated by CEL.

ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:

* 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
* 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
* 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
  request resource.

The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.

Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '**' escapes to '**underscores**' - '.' escapes to '**dot**' - '-' escapes to '**dash**' - '/' escapes to '**slash**' - Property names that exactly match a CEL RESERVED keyword escape to '**{keyword}__'. The keywords are:
"true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
"import", "let", "loop", "package", "namespace", "return".
Examples:

* Expression accessing a property named "namespace": {"Expression": "object.**namespace** > 0"}
* Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
* Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}

Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:

* 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
  non-intersecting elements in `Y` are appended, retaining their partial order.
* 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
  non-intersecting keys are appended, retaining their partial order.
  Required.

---

##### `message`<sup>Optional</sup> <a name="message" id="cdk8s-plus-32.k8s.ValidationV1Beta1.property.message"></a>

```java
public java.lang.String getMessage();
```

- *Type:* java.lang.String

Message represents the message displayed when validation fails.

The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".

---

##### `messageExpression`<sup>Optional</sup> <a name="messageExpression" id="cdk8s-plus-32.k8s.ValidationV1Beta1.property.messageExpression"></a>

```java
public java.lang.String getMessageExpression();
```

- *Type:* java.lang.String

messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.

Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"

---

##### `reason`<sup>Optional</sup> <a name="reason" id="cdk8s-plus-32.k8s.ValidationV1Beta1.property.reason"></a>

```java
public java.lang.String getReason();
```

- *Type:* java.lang.String

Reason represents a machine-readable description of why this validation failed.

If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.

---

### Variable <a name="Variable" id="cdk8s-plus-32.k8s.Variable"></a>

Variable is the definition of a variable that is used for composition.

A variable is defined as a named expression.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Variable.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Variable;

Variable.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Variable.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression is the expression that will be evaluated as the value of the variable. |
| <code><a href="#cdk8s-plus-32.k8s.Variable.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the variable. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.Variable.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression is the expression that will be evaluated as the value of the variable.

The CEL expression has access to the same identifiers as the CEL expressions in Validation.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.Variable.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the variable.

The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`

---

### VariableV1Alpha1 <a name="VariableV1Alpha1" id="cdk8s-plus-32.k8s.VariableV1Alpha1"></a>

Variable is the definition of a variable that is used for composition.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VariableV1Alpha1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VariableV1Alpha1;

VariableV1Alpha1.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VariableV1Alpha1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression is the expression that will be evaluated as the value of the variable. |
| <code><a href="#cdk8s-plus-32.k8s.VariableV1Alpha1.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the variable. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.VariableV1Alpha1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression is the expression that will be evaluated as the value of the variable.

The CEL expression has access to the same identifiers as the CEL expressions in Validation.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.VariableV1Alpha1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the variable.

The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`

---

### VariableV1Beta1 <a name="VariableV1Beta1" id="cdk8s-plus-32.k8s.VariableV1Beta1"></a>

Variable is the definition of a variable that is used for composition.

A variable is defined as a named expression.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VariableV1Beta1.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VariableV1Beta1;

VariableV1Beta1.builder()
    .expression(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VariableV1Beta1.property.expression">expression</a></code> | <code>java.lang.String</code> | Expression is the expression that will be evaluated as the value of the variable. |
| <code><a href="#cdk8s-plus-32.k8s.VariableV1Beta1.property.name">name</a></code> | <code>java.lang.String</code> | Name is the name of the variable. |

---

##### `expression`<sup>Required</sup> <a name="expression" id="cdk8s-plus-32.k8s.VariableV1Beta1.property.expression"></a>

```java
public java.lang.String getExpression();
```

- *Type:* java.lang.String

Expression is the expression that will be evaluated as the value of the variable.

The CEL expression has access to the same identifiers as the CEL expressions in Validation.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.VariableV1Beta1.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

Name is the name of the variable.

The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`

---

### Volume <a name="Volume" id="cdk8s-plus-32.k8s.Volume"></a>

Volume represents a named volume in a pod that may be accessed by any container in the pod.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.Volume.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.Volume;

Volume.builder()
    .name(java.lang.String)
//  .awsElasticBlockStore(AwsElasticBlockStoreVolumeSource)
//  .azureDisk(AzureDiskVolumeSource)
//  .azureFile(AzureFileVolumeSource)
//  .cephfs(CephFsVolumeSource)
//  .cinder(CinderVolumeSource)
//  .configMap(ConfigMapVolumeSource)
//  .csi(CsiVolumeSource)
//  .downwardApi(DownwardApiVolumeSource)
//  .emptyDir(EmptyDirVolumeSource)
//  .ephemeral(EphemeralVolumeSource)
//  .fc(FcVolumeSource)
//  .flexVolume(FlexVolumeSource)
//  .flocker(FlockerVolumeSource)
//  .gcePersistentDisk(GcePersistentDiskVolumeSource)
//  .gitRepo(GitRepoVolumeSource)
//  .glusterfs(GlusterfsVolumeSource)
//  .hostPath(HostPathVolumeSource)
//  .image(ImageVolumeSource)
//  .iscsi(IscsiVolumeSource)
//  .nfs(NfsVolumeSource)
//  .persistentVolumeClaim(PersistentVolumeClaimVolumeSource)
//  .photonPersistentDisk(PhotonPersistentDiskVolumeSource)
//  .portworxVolume(PortworxVolumeSource)
//  .projected(ProjectedVolumeSource)
//  .quobyte(QuobyteVolumeSource)
//  .rbd(RbdVolumeSource)
//  .scaleIo(ScaleIoVolumeSource)
//  .secret(SecretVolumeSource)
//  .storageos(StorageOsVolumeSource)
//  .vsphereVolume(VsphereVirtualDiskVolumeSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.name">name</a></code> | <code>java.lang.String</code> | name of the volume. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.awsElasticBlockStore">awsElasticBlockStore</a></code> | <code>org.cdk8s.plus32.k8s.AwsElasticBlockStoreVolumeSource</code> | awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.azureDisk">azureDisk</a></code> | <code>org.cdk8s.plus32.k8s.AzureDiskVolumeSource</code> | azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.azureFile">azureFile</a></code> | <code>org.cdk8s.plus32.k8s.AzureFileVolumeSource</code> | azureFile represents an Azure File Service mount on the host and bind mount to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.cephfs">cephfs</a></code> | <code>org.cdk8s.plus32.k8s.CephFsVolumeSource</code> | cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.cinder">cinder</a></code> | <code>org.cdk8s.plus32.k8s.CinderVolumeSource</code> | cinder represents a cinder volume attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.configMap">configMap</a></code> | <code>org.cdk8s.plus32.k8s.ConfigMapVolumeSource</code> | configMap represents a configMap that should populate this volume. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.csi">csi</a></code> | <code>org.cdk8s.plus32.k8s.CsiVolumeSource</code> | csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.downwardApi">downwardApi</a></code> | <code>org.cdk8s.plus32.k8s.DownwardApiVolumeSource</code> | downwardAPI represents downward API about the pod that should populate this volume. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.emptyDir">emptyDir</a></code> | <code>org.cdk8s.plus32.k8s.EmptyDirVolumeSource</code> | emptyDir represents a temporary directory that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.ephemeral">ephemeral</a></code> | <code>org.cdk8s.plus32.k8s.EphemeralVolumeSource</code> | ephemeral represents a volume that is handled by a cluster storage driver. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.fc">fc</a></code> | <code>org.cdk8s.plus32.k8s.FcVolumeSource</code> | fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.flexVolume">flexVolume</a></code> | <code>org.cdk8s.plus32.k8s.FlexVolumeSource</code> | flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.flocker">flocker</a></code> | <code>org.cdk8s.plus32.k8s.FlockerVolumeSource</code> | flocker represents a Flocker volume attached to a kubelet's host machine. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.gcePersistentDisk">gcePersistentDisk</a></code> | <code>org.cdk8s.plus32.k8s.GcePersistentDiskVolumeSource</code> | gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.gitRepo">gitRepo</a></code> | <code>org.cdk8s.plus32.k8s.GitRepoVolumeSource</code> | gitRepo represents a git repository at a particular revision. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.glusterfs">glusterfs</a></code> | <code>org.cdk8s.plus32.k8s.GlusterfsVolumeSource</code> | glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.hostPath">hostPath</a></code> | <code>org.cdk8s.plus32.k8s.HostPathVolumeSource</code> | hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.image">image</a></code> | <code>org.cdk8s.plus32.k8s.ImageVolumeSource</code> | image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.iscsi">iscsi</a></code> | <code>org.cdk8s.plus32.k8s.IscsiVolumeSource</code> | iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.nfs">nfs</a></code> | <code>org.cdk8s.plus32.k8s.NfsVolumeSource</code> | nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.persistentVolumeClaim">persistentVolumeClaim</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeClaimVolumeSource</code> | persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.photonPersistentDisk">photonPersistentDisk</a></code> | <code>org.cdk8s.plus32.k8s.PhotonPersistentDiskVolumeSource</code> | photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.portworxVolume">portworxVolume</a></code> | <code>org.cdk8s.plus32.k8s.PortworxVolumeSource</code> | portworxVolume represents a portworx volume attached and mounted on kubelets host machine. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.projected">projected</a></code> | <code>org.cdk8s.plus32.k8s.ProjectedVolumeSource</code> | projected items for all in one resources secrets, configmaps, and downward API. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.quobyte">quobyte</a></code> | <code>org.cdk8s.plus32.k8s.QuobyteVolumeSource</code> | quobyte represents a Quobyte mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.rbd">rbd</a></code> | <code>org.cdk8s.plus32.k8s.RbdVolumeSource</code> | rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.scaleIo">scaleIo</a></code> | <code>org.cdk8s.plus32.k8s.ScaleIoVolumeSource</code> | scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.secret">secret</a></code> | <code>org.cdk8s.plus32.k8s.SecretVolumeSource</code> | secret represents a secret that should populate this volume. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.storageos">storageos</a></code> | <code>org.cdk8s.plus32.k8s.StorageOsVolumeSource</code> | storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. |
| <code><a href="#cdk8s-plus-32.k8s.Volume.property.vsphereVolume">vsphereVolume</a></code> | <code>org.cdk8s.plus32.k8s.VsphereVirtualDiskVolumeSource</code> | vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.Volume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name of the volume.

Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

---

##### `awsElasticBlockStore`<sup>Optional</sup> <a name="awsElasticBlockStore" id="cdk8s-plus-32.k8s.Volume.property.awsElasticBlockStore"></a>

```java
public AwsElasticBlockStoreVolumeSource getAwsElasticBlockStore();
```

- *Type:* org.cdk8s.plus32.k8s.AwsElasticBlockStoreVolumeSource

awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

---

##### `azureDisk`<sup>Optional</sup> <a name="azureDisk" id="cdk8s-plus-32.k8s.Volume.property.azureDisk"></a>

```java
public AzureDiskVolumeSource getAzureDisk();
```

- *Type:* org.cdk8s.plus32.k8s.AzureDiskVolumeSource

azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.

Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver.

---

##### `azureFile`<sup>Optional</sup> <a name="azureFile" id="cdk8s-plus-32.k8s.Volume.property.azureFile"></a>

```java
public AzureFileVolumeSource getAzureFile();
```

- *Type:* org.cdk8s.plus32.k8s.AzureFileVolumeSource

azureFile represents an Azure File Service mount on the host and bind mount to the pod.

Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver.

---

##### `cephfs`<sup>Optional</sup> <a name="cephfs" id="cdk8s-plus-32.k8s.Volume.property.cephfs"></a>

```java
public CephFsVolumeSource getCephfs();
```

- *Type:* org.cdk8s.plus32.k8s.CephFsVolumeSource

cephFS represents a Ceph FS mount on the host that shares a pod's lifetime.

Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported.

---

##### `cinder`<sup>Optional</sup> <a name="cinder" id="cdk8s-plus-32.k8s.Volume.property.cinder"></a>

```java
public CinderVolumeSource getCinder();
```

- *Type:* org.cdk8s.plus32.k8s.CinderVolumeSource

cinder represents a cinder volume attached and mounted on kubelets host machine.

Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

---

##### `configMap`<sup>Optional</sup> <a name="configMap" id="cdk8s-plus-32.k8s.Volume.property.configMap"></a>

```java
public ConfigMapVolumeSource getConfigMap();
```

- *Type:* org.cdk8s.plus32.k8s.ConfigMapVolumeSource

configMap represents a configMap that should populate this volume.

---

##### `csi`<sup>Optional</sup> <a name="csi" id="cdk8s-plus-32.k8s.Volume.property.csi"></a>

```java
public CsiVolumeSource getCsi();
```

- *Type:* org.cdk8s.plus32.k8s.CsiVolumeSource

csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.

---

##### `downwardApi`<sup>Optional</sup> <a name="downwardApi" id="cdk8s-plus-32.k8s.Volume.property.downwardApi"></a>

```java
public DownwardApiVolumeSource getDownwardApi();
```

- *Type:* org.cdk8s.plus32.k8s.DownwardApiVolumeSource

downwardAPI represents downward API about the pod that should populate this volume.

---

##### `emptyDir`<sup>Optional</sup> <a name="emptyDir" id="cdk8s-plus-32.k8s.Volume.property.emptyDir"></a>

```java
public EmptyDirVolumeSource getEmptyDir();
```

- *Type:* org.cdk8s.plus32.k8s.EmptyDirVolumeSource

emptyDir represents a temporary directory that shares a pod's lifetime.

More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

---

##### `ephemeral`<sup>Optional</sup> <a name="ephemeral" id="cdk8s-plus-32.k8s.Volume.property.ephemeral"></a>

```java
public EphemeralVolumeSource getEphemeral();
```

- *Type:* org.cdk8s.plus32.k8s.EphemeralVolumeSource

ephemeral represents a volume that is handled by a cluster storage driver.

The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, and deleted when the pod is removed.

Use this if: a) the volume is only needed while the pod runs, b) features of normal volumes like restoring from snapshot or capacity
tracking are needed,
c) the storage driver is specified through a storage class, and d) the storage driver supports dynamic volume provisioning through
a PersistentVolumeClaim (see EphemeralVolumeSource for more
information on the connection between this volume type
and PersistentVolumeClaim).

Use PersistentVolumeClaim or one of the vendor-specific APIs for volumes that persist for longer than the lifecycle of an individual pod.

Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to be used that way - see the documentation of the driver for more information.

A pod can use both types of ephemeral volumes and persistent volumes at the same time.

---

##### `fc`<sup>Optional</sup> <a name="fc" id="cdk8s-plus-32.k8s.Volume.property.fc"></a>

```java
public FcVolumeSource getFc();
```

- *Type:* org.cdk8s.plus32.k8s.FcVolumeSource

fc represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.

---

##### `flexVolume`<sup>Optional</sup> <a name="flexVolume" id="cdk8s-plus-32.k8s.Volume.property.flexVolume"></a>

```java
public FlexVolumeSource getFlexVolume();
```

- *Type:* org.cdk8s.plus32.k8s.FlexVolumeSource

flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.

Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead.

---

##### `flocker`<sup>Optional</sup> <a name="flocker" id="cdk8s-plus-32.k8s.Volume.property.flocker"></a>

```java
public FlockerVolumeSource getFlocker();
```

- *Type:* org.cdk8s.plus32.k8s.FlockerVolumeSource

flocker represents a Flocker volume attached to a kubelet's host machine.

This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported.

---

##### `gcePersistentDisk`<sup>Optional</sup> <a name="gcePersistentDisk" id="cdk8s-plus-32.k8s.Volume.property.gcePersistentDisk"></a>

```java
public GcePersistentDiskVolumeSource getGcePersistentDisk();
```

- *Type:* org.cdk8s.plus32.k8s.GcePersistentDiskVolumeSource

gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

---

##### `gitRepo`<sup>Optional</sup> <a name="gitRepo" id="cdk8s-plus-32.k8s.Volume.property.gitRepo"></a>

```java
public GitRepoVolumeSource getGitRepo();
```

- *Type:* org.cdk8s.plus32.k8s.GitRepoVolumeSource

gitRepo represents a git repository at a particular revision.

Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

---

##### `glusterfs`<sup>Optional</sup> <a name="glusterfs" id="cdk8s-plus-32.k8s.Volume.property.glusterfs"></a>

```java
public GlusterfsVolumeSource getGlusterfs();
```

- *Type:* org.cdk8s.plus32.k8s.GlusterfsVolumeSource

glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.

Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md

---

##### `hostPath`<sup>Optional</sup> <a name="hostPath" id="cdk8s-plus-32.k8s.Volume.property.hostPath"></a>

```java
public HostPathVolumeSource getHostPath();
```

- *Type:* org.cdk8s.plus32.k8s.HostPathVolumeSource

hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.

This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath

---

##### `image`<sup>Optional</sup> <a name="image" id="cdk8s-plus-32.k8s.Volume.property.image"></a>

```java
public ImageVolumeSource getImage();
```

- *Type:* org.cdk8s.plus32.k8s.ImageVolumeSource

image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine.

The volume is resolved at pod startup depending on which PullPolicy value is provided:

* Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.

The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.

---

##### `iscsi`<sup>Optional</sup> <a name="iscsi" id="cdk8s-plus-32.k8s.Volume.property.iscsi"></a>

```java
public IscsiVolumeSource getIscsi();
```

- *Type:* org.cdk8s.plus32.k8s.IscsiVolumeSource

iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod.

More info: https://examples.k8s.io/volumes/iscsi/README.md

---

##### `nfs`<sup>Optional</sup> <a name="nfs" id="cdk8s-plus-32.k8s.Volume.property.nfs"></a>

```java
public NfsVolumeSource getNfs();
```

- *Type:* org.cdk8s.plus32.k8s.NfsVolumeSource

nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs.

---

##### `persistentVolumeClaim`<sup>Optional</sup> <a name="persistentVolumeClaim" id="cdk8s-plus-32.k8s.Volume.property.persistentVolumeClaim"></a>

```java
public PersistentVolumeClaimVolumeSource getPersistentVolumeClaim();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeClaimVolumeSource

persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.

More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

---

##### `photonPersistentDisk`<sup>Optional</sup> <a name="photonPersistentDisk" id="cdk8s-plus-32.k8s.Volume.property.photonPersistentDisk"></a>

```java
public PhotonPersistentDiskVolumeSource getPhotonPersistentDisk();
```

- *Type:* org.cdk8s.plus32.k8s.PhotonPersistentDiskVolumeSource

photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine.

Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported.

---

##### `portworxVolume`<sup>Optional</sup> <a name="portworxVolume" id="cdk8s-plus-32.k8s.Volume.property.portworxVolume"></a>

```java
public PortworxVolumeSource getPortworxVolume();
```

- *Type:* org.cdk8s.plus32.k8s.PortworxVolumeSource

portworxVolume represents a portworx volume attached and mounted on kubelets host machine.

Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on.

---

##### `projected`<sup>Optional</sup> <a name="projected" id="cdk8s-plus-32.k8s.Volume.property.projected"></a>

```java
public ProjectedVolumeSource getProjected();
```

- *Type:* org.cdk8s.plus32.k8s.ProjectedVolumeSource

projected items for all in one resources secrets, configmaps, and downward API.

---

##### `quobyte`<sup>Optional</sup> <a name="quobyte" id="cdk8s-plus-32.k8s.Volume.property.quobyte"></a>

```java
public QuobyteVolumeSource getQuobyte();
```

- *Type:* org.cdk8s.plus32.k8s.QuobyteVolumeSource

quobyte represents a Quobyte mount on the host that shares a pod's lifetime.

Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported.

---

##### `rbd`<sup>Optional</sup> <a name="rbd" id="cdk8s-plus-32.k8s.Volume.property.rbd"></a>

```java
public RbdVolumeSource getRbd();
```

- *Type:* org.cdk8s.plus32.k8s.RbdVolumeSource

rbd represents a Rados Block Device mount on the host that shares a pod's lifetime.

Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md

---

##### `scaleIo`<sup>Optional</sup> <a name="scaleIo" id="cdk8s-plus-32.k8s.Volume.property.scaleIo"></a>

```java
public ScaleIoVolumeSource getScaleIo();
```

- *Type:* org.cdk8s.plus32.k8s.ScaleIoVolumeSource

scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.

Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported.

---

##### `secret`<sup>Optional</sup> <a name="secret" id="cdk8s-plus-32.k8s.Volume.property.secret"></a>

```java
public SecretVolumeSource getSecret();
```

- *Type:* org.cdk8s.plus32.k8s.SecretVolumeSource

secret represents a secret that should populate this volume.

More info: https://kubernetes.io/docs/concepts/storage/volumes#secret

---

##### `storageos`<sup>Optional</sup> <a name="storageos" id="cdk8s-plus-32.k8s.Volume.property.storageos"></a>

```java
public StorageOsVolumeSource getStorageos();
```

- *Type:* org.cdk8s.plus32.k8s.StorageOsVolumeSource

storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.

Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported.

---

##### `vsphereVolume`<sup>Optional</sup> <a name="vsphereVolume" id="cdk8s-plus-32.k8s.Volume.property.vsphereVolume"></a>

```java
public VsphereVirtualDiskVolumeSource getVsphereVolume();
```

- *Type:* org.cdk8s.plus32.k8s.VsphereVirtualDiskVolumeSource

vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine.

Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver.

---

### VolumeAttachmentSource <a name="VolumeAttachmentSource" id="cdk8s-plus-32.k8s.VolumeAttachmentSource"></a>

VolumeAttachmentSource represents a volume that should be attached.

Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeAttachmentSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeAttachmentSource;

VolumeAttachmentSource.builder()
//  .inlineVolumeSpec(PersistentVolumeSpec)
//  .persistentVolumeName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeAttachmentSource.property.inlineVolumeSpec">inlineVolumeSpec</a></code> | <code>org.cdk8s.plus32.k8s.PersistentVolumeSpec</code> | inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeAttachmentSource.property.persistentVolumeName">persistentVolumeName</a></code> | <code>java.lang.String</code> | persistentVolumeName represents the name of the persistent volume to attach. |

---

##### `inlineVolumeSpec`<sup>Optional</sup> <a name="inlineVolumeSpec" id="cdk8s-plus-32.k8s.VolumeAttachmentSource.property.inlineVolumeSpec"></a>

```java
public PersistentVolumeSpec getInlineVolumeSpec();
```

- *Type:* org.cdk8s.plus32.k8s.PersistentVolumeSpec

inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.

This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.

---

##### `persistentVolumeName`<sup>Optional</sup> <a name="persistentVolumeName" id="cdk8s-plus-32.k8s.VolumeAttachmentSource.property.persistentVolumeName"></a>

```java
public java.lang.String getPersistentVolumeName();
```

- *Type:* java.lang.String

persistentVolumeName represents the name of the persistent volume to attach.

---

### VolumeAttachmentSpec <a name="VolumeAttachmentSpec" id="cdk8s-plus-32.k8s.VolumeAttachmentSpec"></a>

VolumeAttachmentSpec is the specification of a VolumeAttachment request.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeAttachmentSpec.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeAttachmentSpec;

VolumeAttachmentSpec.builder()
    .attacher(java.lang.String)
    .nodeName(java.lang.String)
    .source(VolumeAttachmentSource)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.attacher">attacher</a></code> | <code>java.lang.String</code> | attacher indicates the name of the volume driver that MUST handle this request. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.nodeName">nodeName</a></code> | <code>java.lang.String</code> | nodeName represents the node that the volume should be attached to. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.source">source</a></code> | <code>org.cdk8s.plus32.k8s.VolumeAttachmentSource</code> | source represents the volume that should be attached. |

---

##### `attacher`<sup>Required</sup> <a name="attacher" id="cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.attacher"></a>

```java
public java.lang.String getAttacher();
```

- *Type:* java.lang.String

attacher indicates the name of the volume driver that MUST handle this request.

This is the name returned by GetPluginName().

---

##### `nodeName`<sup>Required</sup> <a name="nodeName" id="cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.nodeName"></a>

```java
public java.lang.String getNodeName();
```

- *Type:* java.lang.String

nodeName represents the node that the volume should be attached to.

---

##### `source`<sup>Required</sup> <a name="source" id="cdk8s-plus-32.k8s.VolumeAttachmentSpec.property.source"></a>

```java
public VolumeAttachmentSource getSource();
```

- *Type:* org.cdk8s.plus32.k8s.VolumeAttachmentSource

source represents the volume that should be attached.

---

### VolumeDevice <a name="VolumeDevice" id="cdk8s-plus-32.k8s.VolumeDevice"></a>

volumeDevice describes a mapping of a raw block device within a container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeDevice.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeDevice;

VolumeDevice.builder()
    .devicePath(java.lang.String)
    .name(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeDevice.property.devicePath">devicePath</a></code> | <code>java.lang.String</code> | devicePath is the path inside of the container that the device will be mapped to. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeDevice.property.name">name</a></code> | <code>java.lang.String</code> | name must match the name of a persistentVolumeClaim in the pod. |

---

##### `devicePath`<sup>Required</sup> <a name="devicePath" id="cdk8s-plus-32.k8s.VolumeDevice.property.devicePath"></a>

```java
public java.lang.String getDevicePath();
```

- *Type:* java.lang.String

devicePath is the path inside of the container that the device will be mapped to.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.VolumeDevice.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

name must match the name of a persistentVolumeClaim in the pod.

---

### VolumeMount <a name="VolumeMount" id="cdk8s-plus-32.VolumeMount"></a>

Mount a volume from the pod to the container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.VolumeMount.Initializer"></a>

```java
import org.cdk8s.plus32.VolumeMount;

VolumeMount.builder()
//  .propagation(MountPropagation)
//  .readOnly(java.lang.Boolean)
//  .subPath(java.lang.String)
//  .subPathExpr(java.lang.String)
    .path(java.lang.String)
    .volume(Volume)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.propagation">propagation</a></code> | <code><a href="#cdk8s-plus-32.MountPropagation">MountPropagation</a></code> | Determines how mounts are propagated from the host to container and the other way around. |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Mounted read-only if true, read-write otherwise (false or unspecified). |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.subPath">subPath</a></code> | <code>java.lang.String</code> | Path within the volume from which the container's volume should be mounted.). |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.subPathExpr">subPathExpr</a></code> | <code>java.lang.String</code> | Expanded path within the volume from which the container's volume should be mounted. |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.path">path</a></code> | <code>java.lang.String</code> | Path within the container at which the volume should be mounted. |
| <code><a href="#cdk8s-plus-32.VolumeMount.property.volume">volume</a></code> | <code><a href="#cdk8s-plus-32.Volume">Volume</a></code> | The volume to mount. |

---

##### `propagation`<sup>Optional</sup> <a name="propagation" id="cdk8s-plus-32.VolumeMount.property.propagation"></a>

```java
public MountPropagation getPropagation();
```

- *Type:* <a href="#cdk8s-plus-32.MountPropagation">MountPropagation</a>
- *Default:* MountPropagation.NONE

Determines how mounts are propagated from the host to container and the other way around.

When not set, MountPropagationNone is used.

Mount propagation allows for sharing volumes mounted by a Container to
other Containers in the same Pod, or even to other Pods on the same node.

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.VolumeMount.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false

Mounted read-only if true, read-write otherwise (false or unspecified).

Defaults to false.

---

##### `subPath`<sup>Optional</sup> <a name="subPath" id="cdk8s-plus-32.VolumeMount.property.subPath"></a>

```java
public java.lang.String getSubPath();
```

- *Type:* java.lang.String
- *Default:* "" the volume's root

Path within the volume from which the container's volume should be mounted.).

---

##### `subPathExpr`<sup>Optional</sup> <a name="subPathExpr" id="cdk8s-plus-32.VolumeMount.property.subPathExpr"></a>

```java
public java.lang.String getSubPathExpr();
```

- *Type:* java.lang.String
- *Default:* "" volume's root.

Expanded path within the volume from which the container's volume should be mounted.

Behaves similarly to SubPath but environment variable references
$(VAR_NAME) are expanded using the container's environment. Defaults to ""
(volume's root).

`subPathExpr` and `subPath` are mutually exclusive.

---

##### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.VolumeMount.property.path"></a>

```java
public java.lang.String getPath();
```

- *Type:* java.lang.String

Path within the container at which the volume should be mounted.

Must not
contain ':'.

---

##### `volume`<sup>Required</sup> <a name="volume" id="cdk8s-plus-32.VolumeMount.property.volume"></a>

```java
public Volume getVolume();
```

- *Type:* <a href="#cdk8s-plus-32.Volume">Volume</a>

The volume to mount.

---

### VolumeMount <a name="VolumeMount" id="cdk8s-plus-32.k8s.VolumeMount"></a>

VolumeMount describes a mounting of a Volume within a container.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeMount.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeMount;

VolumeMount.builder()
    .mountPath(java.lang.String)
    .name(java.lang.String)
//  .mountPropagation(java.lang.String)
//  .readOnly(java.lang.Boolean)
//  .recursiveReadOnly(java.lang.String)
//  .subPath(java.lang.String)
//  .subPathExpr(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.mountPath">mountPath</a></code> | <code>java.lang.String</code> | Path within the container at which the volume should be mounted. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.name">name</a></code> | <code>java.lang.String</code> | This must match the Name of a Volume. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.mountPropagation">mountPropagation</a></code> | <code>java.lang.String</code> | mountPropagation determines how mounts are propagated from the host to container and the other way around. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.readOnly">readOnly</a></code> | <code>java.lang.Boolean</code> | Mounted read-only if true, read-write otherwise (false or unspecified). |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.recursiveReadOnly">recursiveReadOnly</a></code> | <code>java.lang.String</code> | RecursiveReadOnly specifies whether read-only mounts should be handled recursively. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.subPath">subPath</a></code> | <code>java.lang.String</code> | Path within the volume from which the container's volume should be mounted. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeMount.property.subPathExpr">subPathExpr</a></code> | <code>java.lang.String</code> | Expanded path within the volume from which the container's volume should be mounted. |

---

##### `mountPath`<sup>Required</sup> <a name="mountPath" id="cdk8s-plus-32.k8s.VolumeMount.property.mountPath"></a>

```java
public java.lang.String getMountPath();
```

- *Type:* java.lang.String

Path within the container at which the volume should be mounted.

Must not contain ':'.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.k8s.VolumeMount.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

This must match the Name of a Volume.

---

##### `mountPropagation`<sup>Optional</sup> <a name="mountPropagation" id="cdk8s-plus-32.k8s.VolumeMount.property.mountPropagation"></a>

```java
public java.lang.String getMountPropagation();
```

- *Type:* java.lang.String

mountPropagation determines how mounts are propagated from the host to container and the other way around.

When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).

---

##### `readOnly`<sup>Optional</sup> <a name="readOnly" id="cdk8s-plus-32.k8s.VolumeMount.property.readOnly"></a>

```java
public java.lang.Boolean getReadOnly();
```

- *Type:* java.lang.Boolean
- *Default:* false.

Mounted read-only if true, read-write otherwise (false or unspecified).

Defaults to false.

---

##### `recursiveReadOnly`<sup>Optional</sup> <a name="recursiveReadOnly" id="cdk8s-plus-32.k8s.VolumeMount.property.recursiveReadOnly"></a>

```java
public java.lang.String getRecursiveReadOnly();
```

- *Type:* java.lang.String

RecursiveReadOnly specifies whether read-only mounts should be handled recursively.

If ReadOnly is false, this field has no meaning and must be unspecified.

If ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only.  If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime.  If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.

If this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).

If this field is not specified, it is treated as an equivalent of Disabled.

---

##### `subPath`<sup>Optional</sup> <a name="subPath" id="cdk8s-plus-32.k8s.VolumeMount.property.subPath"></a>

```java
public java.lang.String getSubPath();
```

- *Type:* java.lang.String
- *Default:* volume's root).

Path within the volume from which the container's volume should be mounted.

Defaults to "" (volume's root).

---

##### `subPathExpr`<sup>Optional</sup> <a name="subPathExpr" id="cdk8s-plus-32.k8s.VolumeMount.property.subPathExpr"></a>

```java
public java.lang.String getSubPathExpr();
```

- *Type:* java.lang.String
- *Default:* volume's root). SubPathExpr and SubPath are mutually exclusive.

Expanded path within the volume from which the container's volume should be mounted.

Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to "" (volume's root). SubPathExpr and SubPath are mutually exclusive.

---

### VolumeNodeAffinity <a name="VolumeNodeAffinity" id="cdk8s-plus-32.k8s.VolumeNodeAffinity"></a>

VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeNodeAffinity.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeNodeAffinity;

VolumeNodeAffinity.builder()
//  .required(NodeSelector)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeNodeAffinity.property.required">required</a></code> | <code>org.cdk8s.plus32.k8s.NodeSelector</code> | required specifies hard node constraints that must be met. |

---

##### `required`<sup>Optional</sup> <a name="required" id="cdk8s-plus-32.k8s.VolumeNodeAffinity.property.required"></a>

```java
public NodeSelector getRequired();
```

- *Type:* org.cdk8s.plus32.k8s.NodeSelector

required specifies hard node constraints that must be met.

---

### VolumeNodeResources <a name="VolumeNodeResources" id="cdk8s-plus-32.k8s.VolumeNodeResources"></a>

VolumeNodeResources is a set of resource limits for scheduling of volumes.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeNodeResources.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeNodeResources;

VolumeNodeResources.builder()
//  .count(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeNodeResources.property.count">count</a></code> | <code>java.lang.Number</code> | count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. |

---

##### `count`<sup>Optional</sup> <a name="count" id="cdk8s-plus-32.k8s.VolumeNodeResources.property.count"></a>

```java
public java.lang.Number getCount();
```

- *Type:* java.lang.Number

count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node.

A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.

---

### VolumeProjection <a name="VolumeProjection" id="cdk8s-plus-32.k8s.VolumeProjection"></a>

Projection that may be projected along with other supported volume types.

Exactly one of these fields must be set.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeProjection.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeProjection;

VolumeProjection.builder()
//  .clusterTrustBundle(ClusterTrustBundleProjection)
//  .configMap(ConfigMapProjection)
//  .downwardApi(DownwardApiProjection)
//  .secret(SecretProjection)
//  .serviceAccountToken(ServiceAccountTokenProjection)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeProjection.property.clusterTrustBundle">clusterTrustBundle</a></code> | <code>org.cdk8s.plus32.k8s.ClusterTrustBundleProjection</code> | ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeProjection.property.configMap">configMap</a></code> | <code>org.cdk8s.plus32.k8s.ConfigMapProjection</code> | configMap information about the configMap data to project. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeProjection.property.downwardApi">downwardApi</a></code> | <code>org.cdk8s.plus32.k8s.DownwardApiProjection</code> | downwardAPI information about the downwardAPI data to project. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeProjection.property.secret">secret</a></code> | <code>org.cdk8s.plus32.k8s.SecretProjection</code> | secret information about the secret data to project. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeProjection.property.serviceAccountToken">serviceAccountToken</a></code> | <code>org.cdk8s.plus32.k8s.ServiceAccountTokenProjection</code> | serviceAccountToken is information about the serviceAccountToken data to project. |

---

##### `clusterTrustBundle`<sup>Optional</sup> <a name="clusterTrustBundle" id="cdk8s-plus-32.k8s.VolumeProjection.property.clusterTrustBundle"></a>

```java
public ClusterTrustBundleProjection getClusterTrustBundle();
```

- *Type:* org.cdk8s.plus32.k8s.ClusterTrustBundleProjection

ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.

Alpha, gated by the ClusterTrustBundleProjection feature gate.

ClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.

Kubelet performs aggressive normalization of the PEM contents written into the pod filesystem.  Esoteric PEM features such as inter-block comments and block headers are stripped.  Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time.

---

##### `configMap`<sup>Optional</sup> <a name="configMap" id="cdk8s-plus-32.k8s.VolumeProjection.property.configMap"></a>

```java
public ConfigMapProjection getConfigMap();
```

- *Type:* org.cdk8s.plus32.k8s.ConfigMapProjection

configMap information about the configMap data to project.

---

##### `downwardApi`<sup>Optional</sup> <a name="downwardApi" id="cdk8s-plus-32.k8s.VolumeProjection.property.downwardApi"></a>

```java
public DownwardApiProjection getDownwardApi();
```

- *Type:* org.cdk8s.plus32.k8s.DownwardApiProjection

downwardAPI information about the downwardAPI data to project.

---

##### `secret`<sup>Optional</sup> <a name="secret" id="cdk8s-plus-32.k8s.VolumeProjection.property.secret"></a>

```java
public SecretProjection getSecret();
```

- *Type:* org.cdk8s.plus32.k8s.SecretProjection

secret information about the secret data to project.

---

##### `serviceAccountToken`<sup>Optional</sup> <a name="serviceAccountToken" id="cdk8s-plus-32.k8s.VolumeProjection.property.serviceAccountToken"></a>

```java
public ServiceAccountTokenProjection getServiceAccountToken();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceAccountTokenProjection

serviceAccountToken is information about the serviceAccountToken data to project.

---

### VolumeResourceRequirements <a name="VolumeResourceRequirements" id="cdk8s-plus-32.k8s.VolumeResourceRequirements"></a>

VolumeResourceRequirements describes the storage resource requirements for a volume.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VolumeResourceRequirements.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VolumeResourceRequirements;

VolumeResourceRequirements.builder()
//  .limits(java.util.Map<java.lang.String, Quantity>)
//  .requests(java.util.Map<java.lang.String, Quantity>)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VolumeResourceRequirements.property.limits">limits</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Limits describes the maximum amount of compute resources allowed. |
| <code><a href="#cdk8s-plus-32.k8s.VolumeResourceRequirements.property.requests">requests</a></code> | <code>java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity></code> | Requests describes the minimum amount of compute resources required. |

---

##### `limits`<sup>Optional</sup> <a name="limits" id="cdk8s-plus-32.k8s.VolumeResourceRequirements.property.limits"></a>

```java
public java.util.Map<java.lang.String, Quantity> getLimits();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Limits describes the maximum amount of compute resources allowed.

More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

##### `requests`<sup>Optional</sup> <a name="requests" id="cdk8s-plus-32.k8s.VolumeResourceRequirements.property.requests"></a>

```java
public java.util.Map<java.lang.String, Quantity> getRequests();
```

- *Type:* java.util.Map<java.lang.String, org.cdk8s.plus32.k8s.Quantity>

Requests describes the minimum amount of compute resources required.

If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/

---

### VsphereVirtualDiskVolumeSource <a name="VsphereVirtualDiskVolumeSource" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource"></a>

Represents a vSphere volume resource.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.VsphereVirtualDiskVolumeSource;

VsphereVirtualDiskVolumeSource.builder()
    .volumePath(java.lang.String)
//  .fsType(java.lang.String)
//  .storagePolicyId(java.lang.String)
//  .storagePolicyName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.volumePath">volumePath</a></code> | <code>java.lang.String</code> | volumePath is the path that identifies vSphere volume vmdk. |
| <code><a href="#cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.fsType">fsType</a></code> | <code>java.lang.String</code> | fsType is filesystem type to mount. |
| <code><a href="#cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.storagePolicyId">storagePolicyId</a></code> | <code>java.lang.String</code> | storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. |
| <code><a href="#cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.storagePolicyName">storagePolicyName</a></code> | <code>java.lang.String</code> | storagePolicyName is the storage Policy Based Management (SPBM) profile name. |

---

##### `volumePath`<sup>Required</sup> <a name="volumePath" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.volumePath"></a>

```java
public java.lang.String getVolumePath();
```

- *Type:* java.lang.String

volumePath is the path that identifies vSphere volume vmdk.

---

##### `fsType`<sup>Optional</sup> <a name="fsType" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.fsType"></a>

```java
public java.lang.String getFsType();
```

- *Type:* java.lang.String

fsType is filesystem type to mount.

Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.

---

##### `storagePolicyId`<sup>Optional</sup> <a name="storagePolicyId" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.storagePolicyId"></a>

```java
public java.lang.String getStoragePolicyId();
```

- *Type:* java.lang.String

storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.

---

##### `storagePolicyName`<sup>Optional</sup> <a name="storagePolicyName" id="cdk8s-plus-32.k8s.VsphereVirtualDiskVolumeSource.property.storagePolicyName"></a>

```java
public java.lang.String getStoragePolicyName();
```

- *Type:* java.lang.String

storagePolicyName is the storage Policy Based Management (SPBM) profile name.

---

### WebhookClientConfig <a name="WebhookClientConfig" id="cdk8s-plus-32.k8s.WebhookClientConfig"></a>

WebhookClientConfig contains the information to make a TLS connection with the webhook.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.WebhookClientConfig.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.WebhookClientConfig;

WebhookClientConfig.builder()
//  .caBundle(java.lang.String)
//  .service(ServiceReference)
//  .url(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.WebhookClientConfig.property.caBundle">caBundle</a></code> | <code>java.lang.String</code> | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. |
| <code><a href="#cdk8s-plus-32.k8s.WebhookClientConfig.property.service">service</a></code> | <code>org.cdk8s.plus32.k8s.ServiceReference</code> | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. |
| <code><a href="#cdk8s-plus-32.k8s.WebhookClientConfig.property.url">url</a></code> | <code>java.lang.String</code> | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). |

---

##### `caBundle`<sup>Optional</sup> <a name="caBundle" id="cdk8s-plus-32.k8s.WebhookClientConfig.property.caBundle"></a>

```java
public java.lang.String getCaBundle();
```

- *Type:* java.lang.String

`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.

If unspecified, system trust roots on the apiserver are used.

---

##### `service`<sup>Optional</sup> <a name="service" id="cdk8s-plus-32.k8s.WebhookClientConfig.property.service"></a>

```java
public ServiceReference getService();
```

- *Type:* org.cdk8s.plus32.k8s.ServiceReference

`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.

If the webhook is running within the cluster, then you should use `service`.

---

##### `url`<sup>Optional</sup> <a name="url" id="cdk8s-plus-32.k8s.WebhookClientConfig.property.url"></a>

```java
public java.lang.String getUrl();
```

- *Type:* java.lang.String

`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`).

Exactly one of `url` or `service` must be specified.

The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.

Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.

The scheme must be "https"; the URL must begin with "https://".

A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.

Attempting to use a user or basic auth e.g. "user:password@" is not allowed. Fragments ("#...") and query parameters ("?...") are not allowed, either.

---

### WebhookConversion <a name="WebhookConversion" id="cdk8s-plus-32.k8s.WebhookConversion"></a>

WebhookConversion describes how to call a conversion webhook.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.WebhookConversion.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.WebhookConversion;

WebhookConversion.builder()
    .conversionReviewVersions(java.util.List<java.lang.String>)
//  .clientConfig(WebhookClientConfig)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.WebhookConversion.property.conversionReviewVersions">conversionReviewVersions</a></code> | <code>java.util.List<java.lang.String></code> | conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. |
| <code><a href="#cdk8s-plus-32.k8s.WebhookConversion.property.clientConfig">clientConfig</a></code> | <code>org.cdk8s.plus32.k8s.WebhookClientConfig</code> | clientConfig is the instructions for how to call the webhook if strategy is `Webhook`. |

---

##### `conversionReviewVersions`<sup>Required</sup> <a name="conversionReviewVersions" id="cdk8s-plus-32.k8s.WebhookConversion.property.conversionReviewVersions"></a>

```java
public java.util.List<java.lang.String> getConversionReviewVersions();
```

- *Type:* java.util.List<java.lang.String>

conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects.

The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.

---

##### `clientConfig`<sup>Optional</sup> <a name="clientConfig" id="cdk8s-plus-32.k8s.WebhookConversion.property.clientConfig"></a>

```java
public WebhookClientConfig getClientConfig();
```

- *Type:* org.cdk8s.plus32.k8s.WebhookClientConfig

clientConfig is the instructions for how to call the webhook if strategy is `Webhook`.

---

### WeightedPodAffinityTerm <a name="WeightedPodAffinityTerm" id="cdk8s-plus-32.k8s.WeightedPodAffinityTerm"></a>

The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s).

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.WeightedPodAffinityTerm.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.WeightedPodAffinityTerm;

WeightedPodAffinityTerm.builder()
    .podAffinityTerm(PodAffinityTerm)
    .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.WeightedPodAffinityTerm.property.podAffinityTerm">podAffinityTerm</a></code> | <code>org.cdk8s.plus32.k8s.PodAffinityTerm</code> | Required. |
| <code><a href="#cdk8s-plus-32.k8s.WeightedPodAffinityTerm.property.weight">weight</a></code> | <code>java.lang.Number</code> | weight associated with matching the corresponding podAffinityTerm, in the range 1-100. |

---

##### `podAffinityTerm`<sup>Required</sup> <a name="podAffinityTerm" id="cdk8s-plus-32.k8s.WeightedPodAffinityTerm.property.podAffinityTerm"></a>

```java
public PodAffinityTerm getPodAffinityTerm();
```

- *Type:* org.cdk8s.plus32.k8s.PodAffinityTerm

Required.

A pod affinity term, associated with the corresponding weight.

---

##### `weight`<sup>Required</sup> <a name="weight" id="cdk8s-plus-32.k8s.WeightedPodAffinityTerm.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number

weight associated with matching the corresponding podAffinityTerm, in the range 1-100.

---

### WindowsSecurityContextOptions <a name="WindowsSecurityContextOptions" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions"></a>

WindowsSecurityContextOptions contain Windows-specific options and credentials.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions.Initializer"></a>

```java
import org.cdk8s.plus32.k8s.WindowsSecurityContextOptions;

WindowsSecurityContextOptions.builder()
//  .gmsaCredentialSpec(java.lang.String)
//  .gmsaCredentialSpecName(java.lang.String)
//  .hostProcess(java.lang.Boolean)
//  .runAsUserName(java.lang.String)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.gmsaCredentialSpec">gmsaCredentialSpec</a></code> | <code>java.lang.String</code> | GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. |
| <code><a href="#cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.gmsaCredentialSpecName">gmsaCredentialSpecName</a></code> | <code>java.lang.String</code> | GMSACredentialSpecName is the name of the GMSA credential spec to use. |
| <code><a href="#cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.hostProcess">hostProcess</a></code> | <code>java.lang.Boolean</code> | HostProcess determines if a container should be run as a 'Host Process' container. |
| <code><a href="#cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.runAsUserName">runAsUserName</a></code> | <code>java.lang.String</code> | The UserName in Windows to run the entrypoint of the container process. |

---

##### `gmsaCredentialSpec`<sup>Optional</sup> <a name="gmsaCredentialSpec" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.gmsaCredentialSpec"></a>

```java
public java.lang.String getGmsaCredentialSpec();
```

- *Type:* java.lang.String

GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.

---

##### `gmsaCredentialSpecName`<sup>Optional</sup> <a name="gmsaCredentialSpecName" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.gmsaCredentialSpecName"></a>

```java
public java.lang.String getGmsaCredentialSpecName();
```

- *Type:* java.lang.String

GMSACredentialSpecName is the name of the GMSA credential spec to use.

---

##### `hostProcess`<sup>Optional</sup> <a name="hostProcess" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.hostProcess"></a>

```java
public java.lang.Boolean getHostProcess();
```

- *Type:* java.lang.Boolean

HostProcess determines if a container should be run as a 'Host Process' container.

All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.

---

##### `runAsUserName`<sup>Optional</sup> <a name="runAsUserName" id="cdk8s-plus-32.k8s.WindowsSecurityContextOptions.property.runAsUserName"></a>

```java
public java.lang.String getRunAsUserName();
```

- *Type:* java.lang.String
- *Default:* the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

The UserName in Windows to run the entrypoint of the container process.

Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

---

### WorkloadProps <a name="WorkloadProps" id="cdk8s-plus-32.WorkloadProps"></a>

Properties for `Workload`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.WorkloadProps.Initializer"></a>

```java
import org.cdk8s.plus32.WorkloadProps;

WorkloadProps.builder()
//  .metadata(ApiObjectMetadata)
//  .automountServiceAccountToken(java.lang.Boolean)
//  .containers(java.util.List<ContainerProps>)
//  .dns(PodDnsProps)
//  .dockerRegistryAuth(ISecret)
//  .enableServiceLinks(java.lang.Boolean)
//  .hostAliases(java.util.List<HostAlias>)
//  .hostNetwork(java.lang.Boolean)
//  .initContainers(java.util.List<ContainerProps>)
//  .isolate(java.lang.Boolean)
//  .restartPolicy(RestartPolicy)
//  .securityContext(PodSecurityContextProps)
//  .serviceAccount(IServiceAccount)
//  .shareProcessNamespace(java.lang.Boolean)
//  .terminationGracePeriod(Duration)
//  .volumes(java.util.List<Volume>)
//  .podMetadata(ApiObjectMetadata)
//  .select(java.lang.Boolean)
//  .spread(java.lang.Boolean)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.metadata">metadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | Metadata that all persisted resources must have, which includes all objects users must create. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.automountServiceAccountToken">automountServiceAccountToken</a></code> | <code>java.lang.Boolean</code> | Indicates whether a service account token should be automatically mounted. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.containers">containers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.dns">dns</a></code> | <code><a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a></code> | DNS settings for the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.dockerRegistryAuth">dockerRegistryAuth</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | A secret containing docker credentials for authenticating to a registry. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.enableServiceLinks">enableServiceLinks</a></code> | <code>java.lang.Boolean</code> | Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.hostAliases">hostAliases</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>></code> | HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.hostNetwork">hostNetwork</a></code> | <code>java.lang.Boolean</code> | Host network for the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.initContainers">initContainers</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>></code> | List of initialization containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.isolate">isolate</a></code> | <code>java.lang.Boolean</code> | Isolates the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a></code> | Restart policy for all containers within the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a></code> | SecurityContext holds pod-level security attributes and common container settings. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.serviceAccount">serviceAccount</a></code> | <code><a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a></code> | A service account provides an identity for processes that run in a Pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.shareProcessNamespace">shareProcessNamespace</a></code> | <code>java.lang.Boolean</code> | When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.terminationGracePeriod">terminationGracePeriod</a></code> | <code>org.cdk8s.Duration</code> | Grace period until the pod is terminated. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.volumes">volumes</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>></code> | List of volumes that can be mounted by containers belonging to the pod. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.podMetadata">podMetadata</a></code> | <code>org.cdk8s.ApiObjectMetadata</code> | The pod metadata of this workload. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.select">select</a></code> | <code>java.lang.Boolean</code> | Automatically allocates a pod label selector for this workload and add it to the pod metadata. |
| <code><a href="#cdk8s-plus-32.WorkloadProps.property.spread">spread</a></code> | <code>java.lang.Boolean</code> | Automatically spread pods across hostname and zones. |

---

##### `metadata`<sup>Optional</sup> <a name="metadata" id="cdk8s-plus-32.WorkloadProps.property.metadata"></a>

```java
public ApiObjectMetadata getMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

Metadata that all persisted resources must have, which includes all objects users must create.

---

##### `automountServiceAccountToken`<sup>Optional</sup> <a name="automountServiceAccountToken" id="cdk8s-plus-32.WorkloadProps.property.automountServiceAccountToken"></a>

```java
public java.lang.Boolean getAutomountServiceAccountToken();
```

- *Type:* java.lang.Boolean
- *Default:* false

Indicates whether a service account token should be automatically mounted.

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server)

---

##### `containers`<sup>Optional</sup> <a name="containers" id="cdk8s-plus-32.WorkloadProps.property.containers"></a>

```java
public java.util.List<ContainerProps> getContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No containers. Note that a pod spec must include at least one container.

List of containers belonging to the pod.

Containers cannot currently be
added or removed. There must be at least one container in a Pod.

You can add additionnal containers using `podSpec.addContainer()`

---

##### `dns`<sup>Optional</sup> <a name="dns" id="cdk8s-plus-32.WorkloadProps.property.dns"></a>

```java
public PodDnsProps getDns();
```

- *Type:* <a href="#cdk8s-plus-32.PodDnsProps">PodDnsProps</a>
- *Default:* policy: DnsPolicy.CLUSTER_FIRST  hostnameAsFQDN: false

DNS settings for the pod.

> [https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)

---

##### `dockerRegistryAuth`<sup>Optional</sup> <a name="dockerRegistryAuth" id="cdk8s-plus-32.WorkloadProps.property.dockerRegistryAuth"></a>

```java
public ISecret getDockerRegistryAuth();
```

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>
- *Default:* No auth. Images are assumed to be publicly available.

A secret containing docker credentials for authenticating to a registry.

---

##### `enableServiceLinks`<sup>Optional</sup> <a name="enableServiceLinks" id="cdk8s-plus-32.WorkloadProps.property.enableServiceLinks"></a>

```java
public java.lang.Boolean getEnableServiceLinks();
```

- *Type:* java.lang.Boolean
- *Default:* true

Indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.

> [https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service)

---

##### `hostAliases`<sup>Optional</sup> <a name="hostAliases" id="cdk8s-plus-32.WorkloadProps.property.hostAliases"></a>

```java
public java.util.List<HostAlias> getHostAliases();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.HostAlias">HostAlias</a>>

HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.

---

##### `hostNetwork`<sup>Optional</sup> <a name="hostNetwork" id="cdk8s-plus-32.WorkloadProps.property.hostNetwork"></a>

```java
public java.lang.Boolean getHostNetwork();
```

- *Type:* java.lang.Boolean
- *Default:* false

Host network for the pod.

---

##### `initContainers`<sup>Optional</sup> <a name="initContainers" id="cdk8s-plus-32.WorkloadProps.property.initContainers"></a>

```java
public java.util.List<ContainerProps> getInitContainers();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerProps">ContainerProps</a>>
- *Default:* No init containers.

List of initialization containers belonging to the pod.

Init containers are executed in order prior to containers being started.
If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy.
The name for an init container or normal container must be unique among all containers.
Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit
for each resource type, and then using the max of of that value or the sum of the normal containers.
Limits are applied to init containers in a similar fashion.

Init containers cannot currently be added ,removed or updated.

> [https://kubernetes.io/docs/concepts/workloads/pods/init-containers/](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)

---

##### `isolate`<sup>Optional</sup> <a name="isolate" id="cdk8s-plus-32.WorkloadProps.property.isolate"></a>

```java
public java.lang.Boolean getIsolate();
```

- *Type:* java.lang.Boolean
- *Default:* false

Isolates the pod.

This will prevent any ingress or egress connections to / from this pod.
You can however allow explicit connections post instantiation by using the `.connections` property.

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.WorkloadProps.property.restartPolicy"></a>

```java
public RestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.RestartPolicy">RestartPolicy</a>
- *Default:* RestartPolicy.ALWAYS

Restart policy for all containers within the pod.

> [https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.WorkloadProps.property.securityContext"></a>

```java
public PodSecurityContextProps getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.PodSecurityContextProps">PodSecurityContextProps</a>
- *Default:* fsGroupChangePolicy: FsGroupChangePolicy.FsGroupChangePolicy.ALWAYS   ensureNonRoot: true

SecurityContext holds pod-level security attributes and common container settings.

---

##### `serviceAccount`<sup>Optional</sup> <a name="serviceAccount" id="cdk8s-plus-32.WorkloadProps.property.serviceAccount"></a>

```java
public IServiceAccount getServiceAccount();
```

- *Type:* <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>
- *Default:* No service account.

A service account provides an identity for processes that run in a Pod.

When you (a human) access the cluster (for example, using kubectl), you are
authenticated by the apiserver as a particular User Account (currently this
is usually admin, unless your cluster administrator has customized your
cluster). Processes in containers inside pods can also contact the
apiserver. When they do, they are authenticated as a particular Service
Account (for example, default).

> [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/)

---

##### `shareProcessNamespace`<sup>Optional</sup> <a name="shareProcessNamespace" id="cdk8s-plus-32.WorkloadProps.property.shareProcessNamespace"></a>

```java
public java.lang.Boolean getShareProcessNamespace();
```

- *Type:* java.lang.Boolean
- *Default:* false

When process namespace sharing is enabled, processes in a container are visible to all other containers in the same pod.

> [https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/)

---

##### `terminationGracePeriod`<sup>Optional</sup> <a name="terminationGracePeriod" id="cdk8s-plus-32.WorkloadProps.property.terminationGracePeriod"></a>

```java
public Duration getTerminationGracePeriod();
```

- *Type:* org.cdk8s.Duration
- *Default:* Duration.seconds(30)

Grace period until the pod is terminated.

---

##### `volumes`<sup>Optional</sup> <a name="volumes" id="cdk8s-plus-32.WorkloadProps.property.volumes"></a>

```java
public java.util.List<Volume> getVolumes();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Volume">Volume</a>>
- *Default:* No volumes.

List of volumes that can be mounted by containers belonging to the pod.

You can also add volumes later using `podSpec.addVolume()`

> [https://kubernetes.io/docs/concepts/storage/volumes](https://kubernetes.io/docs/concepts/storage/volumes)

---

##### `podMetadata`<sup>Optional</sup> <a name="podMetadata" id="cdk8s-plus-32.WorkloadProps.property.podMetadata"></a>

```java
public ApiObjectMetadata getPodMetadata();
```

- *Type:* org.cdk8s.ApiObjectMetadata

The pod metadata of this workload.

---

##### `select`<sup>Optional</sup> <a name="select" id="cdk8s-plus-32.WorkloadProps.property.select"></a>

```java
public java.lang.Boolean getSelect();
```

- *Type:* java.lang.Boolean
- *Default:* true

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.

---

##### `spread`<sup>Optional</sup> <a name="spread" id="cdk8s-plus-32.WorkloadProps.property.spread"></a>

```java
public java.lang.Boolean getSpread();
```

- *Type:* java.lang.Boolean
- *Default:* false

Automatically spread pods across hostname and zones.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#internal-default-constraints)

---

### WorkloadSchedulingSpreadOptions <a name="WorkloadSchedulingSpreadOptions" id="cdk8s-plus-32.WorkloadSchedulingSpreadOptions"></a>

Options for `WorkloadScheduling.spread`.

#### Initializer <a name="Initializer" id="cdk8s-plus-32.WorkloadSchedulingSpreadOptions.Initializer"></a>

```java
import org.cdk8s.plus32.WorkloadSchedulingSpreadOptions;

WorkloadSchedulingSpreadOptions.builder()
//  .topology(Topology)
//  .weight(java.lang.Number)
    .build();
```

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.WorkloadSchedulingSpreadOptions.property.topology">topology</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | Which topology to spread on. |
| <code><a href="#cdk8s-plus-32.WorkloadSchedulingSpreadOptions.property.weight">weight</a></code> | <code>java.lang.Number</code> | Indicates the spread is optional, with this weight score. |

---

##### `topology`<sup>Optional</sup> <a name="topology" id="cdk8s-plus-32.WorkloadSchedulingSpreadOptions.property.topology"></a>

```java
public Topology getTopology();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>
- *Default:* Topology.HOSTNAME

Which topology to spread on.

---

##### `weight`<sup>Optional</sup> <a name="weight" id="cdk8s-plus-32.WorkloadSchedulingSpreadOptions.property.weight"></a>

```java
public java.lang.Number getWeight();
```

- *Type:* java.lang.Number
- *Default:* no weight. spread is assumed to be required.

Indicates the spread is optional, with this weight score.

---

## Classes <a name="Classes" id="Classes"></a>

### ApiResource <a name="ApiResource" id="cdk8s-plus-32.ApiResource"></a>

- *Implements:* <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>, <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>

Represents information about an API resource type.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ApiResource.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.ApiResource.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.ApiResource.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.ApiResource.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ApiResource.custom">custom</a></code> | API resource information for a custom resource type. |

---

##### `custom` <a name="custom" id="cdk8s-plus-32.ApiResource.custom"></a>

```java
import org.cdk8s.plus32.ApiResource;

ApiResource.custom(ApiResourceOptions options)
```

API resource information for a custom resource type.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.ApiResource.custom.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ApiResourceOptions">ApiResourceOptions</a>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ApiResource.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.ApiResource.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of the resource type as it appears in the relevant API endpoint. |

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ApiResource.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ApiResource.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of the resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ApiResource.property.API_SERVICES">API_SERVICES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for APIService. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.BINDINGS">BINDINGS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Binding. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CERTIFICATE_SIGNING_REQUESTS">CERTIFICATE_SIGNING_REQUESTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CertificateSigningRequest. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CLUSTER_ROLE_BINDINGS">CLUSTER_ROLE_BINDINGS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ClusterRoleBinding. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CLUSTER_ROLES">CLUSTER_ROLES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ClusterRole. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.COMPONENT_STATUSES">COMPONENT_STATUSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ComponentStatus. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CONFIG_MAPS">CONFIG_MAPS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ConfigMap. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CONTROLLER_REVISIONS">CONTROLLER_REVISIONS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ControllerRevision. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CRON_JOBS">CRON_JOBS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CronJob. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CSI_DRIVERS">CSI_DRIVERS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CSIDriver. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CSI_NODES">CSI_NODES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CSINode. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CSI_STORAGE_CAPACITIES">CSI_STORAGE_CAPACITIES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CSIStorageCapacity. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.CUSTOM_RESOURCE_DEFINITIONS">CUSTOM_RESOURCE_DEFINITIONS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for CustomResourceDefinition. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.DAEMON_SETS">DAEMON_SETS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for DaemonSet. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.DEPLOYMENTS">DEPLOYMENTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Deployment. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.ENDPOINT_SLICES">ENDPOINT_SLICES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for EndpointSlice. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.ENDPOINTS">ENDPOINTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Endpoints. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.EVENTS">EVENTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Event. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.FLOW_SCHEMAS">FLOW_SCHEMAS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for FlowSchema. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.HORIZONTAL_POD_AUTOSCALERS">HORIZONTAL_POD_AUTOSCALERS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for HorizontalPodAutoscaler. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.INGRESS_CLASSES">INGRESS_CLASSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for IngressClass. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.INGRESSES">INGRESSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Ingress. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.JOBS">JOBS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Job. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.LEASES">LEASES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Lease. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.LIMIT_RANGES">LIMIT_RANGES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for LimitRange. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.LOCAL_SUBJECT_ACCESS_REVIEWS">LOCAL_SUBJECT_ACCESS_REVIEWS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for LocalSubjectAccessReview. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.MUTATING_WEBHOOK_CONFIGURATIONS">MUTATING_WEBHOOK_CONFIGURATIONS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for MutatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.NAMESPACES">NAMESPACES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Namespace. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.NETWORK_POLICIES">NETWORK_POLICIES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for NetworkPolicy. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.NODES">NODES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Node. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.PERSISTENT_VOLUME_CLAIMS">PERSISTENT_VOLUME_CLAIMS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PersistentVolumeClaim. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.PERSISTENT_VOLUMES">PERSISTENT_VOLUMES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PersistentVolume. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.POD_DISRUPTION_BUDGETS">POD_DISRUPTION_BUDGETS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PodDisruptionBudget. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.POD_TEMPLATES">POD_TEMPLATES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PodTemplate. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.PODS">PODS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Pod. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.PRIORITY_CLASSES">PRIORITY_CLASSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PriorityClass. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.PRIORITY_LEVEL_CONFIGURATIONS">PRIORITY_LEVEL_CONFIGURATIONS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for PriorityLevelConfiguration. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.REPLICA_SETS">REPLICA_SETS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ReplicaSet. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.REPLICATION_CONTROLLERS">REPLICATION_CONTROLLERS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ReplicationController. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.RESOURCE_QUOTAS">RESOURCE_QUOTAS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ResourceQuota. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.ROLE_BINDINGS">ROLE_BINDINGS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for RoleBinding. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.ROLES">ROLES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Role. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.RUNTIME_CLASSES">RUNTIME_CLASSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for RuntimeClass. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SECRETS">SECRETS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Secret. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SELF_SUBJECT_ACCESS_REVIEWS">SELF_SUBJECT_ACCESS_REVIEWS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for SelfSubjectAccessReview. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SELF_SUBJECT_RULES_REVIEWS">SELF_SUBJECT_RULES_REVIEWS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for SelfSubjectRulesReview. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SERVICE_ACCOUNTS">SERVICE_ACCOUNTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ServiceAccount. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SERVICES">SERVICES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for Service. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.STATEFUL_SETS">STATEFUL_SETS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for StatefulSet. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.STORAGE_CLASSES">STORAGE_CLASSES</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for StorageClass. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.SUBJECT_ACCESS_REVIEWS">SUBJECT_ACCESS_REVIEWS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for SubjectAccessReview. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.TOKEN_REVIEWS">TOKEN_REVIEWS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for TokenReview. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.VALIDATING_WEBHOOK_CONFIGURATIONS">VALIDATING_WEBHOOK_CONFIGURATIONS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for ValidatingWebhookConfiguration. |
| <code><a href="#cdk8s-plus-32.ApiResource.property.VOLUME_ATTACHMENTS">VOLUME_ATTACHMENTS</a></code> | <code><a href="#cdk8s-plus-32.ApiResource">ApiResource</a></code> | API resource information for VolumeAttachment. |

---

##### `API_SERVICES`<sup>Required</sup> <a name="API_SERVICES" id="cdk8s-plus-32.ApiResource.property.API_SERVICES"></a>

```java
public ApiResource getApiServices();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for APIService.

---

##### `BINDINGS`<sup>Required</sup> <a name="BINDINGS" id="cdk8s-plus-32.ApiResource.property.BINDINGS"></a>

```java
public ApiResource getBindings();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Binding.

---

##### `CERTIFICATE_SIGNING_REQUESTS`<sup>Required</sup> <a name="CERTIFICATE_SIGNING_REQUESTS" id="cdk8s-plus-32.ApiResource.property.CERTIFICATE_SIGNING_REQUESTS"></a>

```java
public ApiResource getCertificateSigningRequests();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CertificateSigningRequest.

---

##### `CLUSTER_ROLE_BINDINGS`<sup>Required</sup> <a name="CLUSTER_ROLE_BINDINGS" id="cdk8s-plus-32.ApiResource.property.CLUSTER_ROLE_BINDINGS"></a>

```java
public ApiResource getClusterRoleBindings();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ClusterRoleBinding.

---

##### `CLUSTER_ROLES`<sup>Required</sup> <a name="CLUSTER_ROLES" id="cdk8s-plus-32.ApiResource.property.CLUSTER_ROLES"></a>

```java
public ApiResource getClusterRoles();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ClusterRole.

---

##### `COMPONENT_STATUSES`<sup>Required</sup> <a name="COMPONENT_STATUSES" id="cdk8s-plus-32.ApiResource.property.COMPONENT_STATUSES"></a>

```java
public ApiResource getComponentStatuses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ComponentStatus.

---

##### `CONFIG_MAPS`<sup>Required</sup> <a name="CONFIG_MAPS" id="cdk8s-plus-32.ApiResource.property.CONFIG_MAPS"></a>

```java
public ApiResource getConfigMaps();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ConfigMap.

---

##### `CONTROLLER_REVISIONS`<sup>Required</sup> <a name="CONTROLLER_REVISIONS" id="cdk8s-plus-32.ApiResource.property.CONTROLLER_REVISIONS"></a>

```java
public ApiResource getControllerRevisions();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ControllerRevision.

---

##### `CRON_JOBS`<sup>Required</sup> <a name="CRON_JOBS" id="cdk8s-plus-32.ApiResource.property.CRON_JOBS"></a>

```java
public ApiResource getCronJobs();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CronJob.

---

##### `CSI_DRIVERS`<sup>Required</sup> <a name="CSI_DRIVERS" id="cdk8s-plus-32.ApiResource.property.CSI_DRIVERS"></a>

```java
public ApiResource getCsiDrivers();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CSIDriver.

---

##### `CSI_NODES`<sup>Required</sup> <a name="CSI_NODES" id="cdk8s-plus-32.ApiResource.property.CSI_NODES"></a>

```java
public ApiResource getCsiNodes();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CSINode.

---

##### `CSI_STORAGE_CAPACITIES`<sup>Required</sup> <a name="CSI_STORAGE_CAPACITIES" id="cdk8s-plus-32.ApiResource.property.CSI_STORAGE_CAPACITIES"></a>

```java
public ApiResource getCsiStorageCapacities();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CSIStorageCapacity.

---

##### `CUSTOM_RESOURCE_DEFINITIONS`<sup>Required</sup> <a name="CUSTOM_RESOURCE_DEFINITIONS" id="cdk8s-plus-32.ApiResource.property.CUSTOM_RESOURCE_DEFINITIONS"></a>

```java
public ApiResource getCustomResourceDefinitions();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for CustomResourceDefinition.

---

##### `DAEMON_SETS`<sup>Required</sup> <a name="DAEMON_SETS" id="cdk8s-plus-32.ApiResource.property.DAEMON_SETS"></a>

```java
public ApiResource getDaemonSets();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for DaemonSet.

---

##### `DEPLOYMENTS`<sup>Required</sup> <a name="DEPLOYMENTS" id="cdk8s-plus-32.ApiResource.property.DEPLOYMENTS"></a>

```java
public ApiResource getDeployments();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Deployment.

---

##### `ENDPOINT_SLICES`<sup>Required</sup> <a name="ENDPOINT_SLICES" id="cdk8s-plus-32.ApiResource.property.ENDPOINT_SLICES"></a>

```java
public ApiResource getEndpointSlices();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for EndpointSlice.

---

##### `ENDPOINTS`<sup>Required</sup> <a name="ENDPOINTS" id="cdk8s-plus-32.ApiResource.property.ENDPOINTS"></a>

```java
public ApiResource getEndpoints();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Endpoints.

---

##### `EVENTS`<sup>Required</sup> <a name="EVENTS" id="cdk8s-plus-32.ApiResource.property.EVENTS"></a>

```java
public ApiResource getEvents();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Event.

---

##### `FLOW_SCHEMAS`<sup>Required</sup> <a name="FLOW_SCHEMAS" id="cdk8s-plus-32.ApiResource.property.FLOW_SCHEMAS"></a>

```java
public ApiResource getFlowSchemas();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for FlowSchema.

---

##### `HORIZONTAL_POD_AUTOSCALERS`<sup>Required</sup> <a name="HORIZONTAL_POD_AUTOSCALERS" id="cdk8s-plus-32.ApiResource.property.HORIZONTAL_POD_AUTOSCALERS"></a>

```java
public ApiResource getHorizontalPodAutoscalers();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for HorizontalPodAutoscaler.

---

##### `INGRESS_CLASSES`<sup>Required</sup> <a name="INGRESS_CLASSES" id="cdk8s-plus-32.ApiResource.property.INGRESS_CLASSES"></a>

```java
public ApiResource getIngressClasses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for IngressClass.

---

##### `INGRESSES`<sup>Required</sup> <a name="INGRESSES" id="cdk8s-plus-32.ApiResource.property.INGRESSES"></a>

```java
public ApiResource getIngresses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Ingress.

---

##### `JOBS`<sup>Required</sup> <a name="JOBS" id="cdk8s-plus-32.ApiResource.property.JOBS"></a>

```java
public ApiResource getJobs();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Job.

---

##### `LEASES`<sup>Required</sup> <a name="LEASES" id="cdk8s-plus-32.ApiResource.property.LEASES"></a>

```java
public ApiResource getLeases();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Lease.

---

##### `LIMIT_RANGES`<sup>Required</sup> <a name="LIMIT_RANGES" id="cdk8s-plus-32.ApiResource.property.LIMIT_RANGES"></a>

```java
public ApiResource getLimitRanges();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for LimitRange.

---

##### `LOCAL_SUBJECT_ACCESS_REVIEWS`<sup>Required</sup> <a name="LOCAL_SUBJECT_ACCESS_REVIEWS" id="cdk8s-plus-32.ApiResource.property.LOCAL_SUBJECT_ACCESS_REVIEWS"></a>

```java
public ApiResource getLocalSubjectAccessReviews();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for LocalSubjectAccessReview.

---

##### `MUTATING_WEBHOOK_CONFIGURATIONS`<sup>Required</sup> <a name="MUTATING_WEBHOOK_CONFIGURATIONS" id="cdk8s-plus-32.ApiResource.property.MUTATING_WEBHOOK_CONFIGURATIONS"></a>

```java
public ApiResource getMutatingWebhookConfigurations();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for MutatingWebhookConfiguration.

---

##### `NAMESPACES`<sup>Required</sup> <a name="NAMESPACES" id="cdk8s-plus-32.ApiResource.property.NAMESPACES"></a>

```java
public ApiResource getNamespaces();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Namespace.

---

##### `NETWORK_POLICIES`<sup>Required</sup> <a name="NETWORK_POLICIES" id="cdk8s-plus-32.ApiResource.property.NETWORK_POLICIES"></a>

```java
public ApiResource getNetworkPolicies();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for NetworkPolicy.

---

##### `NODES`<sup>Required</sup> <a name="NODES" id="cdk8s-plus-32.ApiResource.property.NODES"></a>

```java
public ApiResource getNodes();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Node.

---

##### `PERSISTENT_VOLUME_CLAIMS`<sup>Required</sup> <a name="PERSISTENT_VOLUME_CLAIMS" id="cdk8s-plus-32.ApiResource.property.PERSISTENT_VOLUME_CLAIMS"></a>

```java
public ApiResource getPersistentVolumeClaims();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PersistentVolumeClaim.

---

##### `PERSISTENT_VOLUMES`<sup>Required</sup> <a name="PERSISTENT_VOLUMES" id="cdk8s-plus-32.ApiResource.property.PERSISTENT_VOLUMES"></a>

```java
public ApiResource getPersistentVolumes();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PersistentVolume.

---

##### `POD_DISRUPTION_BUDGETS`<sup>Required</sup> <a name="POD_DISRUPTION_BUDGETS" id="cdk8s-plus-32.ApiResource.property.POD_DISRUPTION_BUDGETS"></a>

```java
public ApiResource getPodDisruptionBudgets();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PodDisruptionBudget.

---

##### `POD_TEMPLATES`<sup>Required</sup> <a name="POD_TEMPLATES" id="cdk8s-plus-32.ApiResource.property.POD_TEMPLATES"></a>

```java
public ApiResource getPodTemplates();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PodTemplate.

---

##### `PODS`<sup>Required</sup> <a name="PODS" id="cdk8s-plus-32.ApiResource.property.PODS"></a>

```java
public ApiResource getPods();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Pod.

---

##### `PRIORITY_CLASSES`<sup>Required</sup> <a name="PRIORITY_CLASSES" id="cdk8s-plus-32.ApiResource.property.PRIORITY_CLASSES"></a>

```java
public ApiResource getPriorityClasses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PriorityClass.

---

##### `PRIORITY_LEVEL_CONFIGURATIONS`<sup>Required</sup> <a name="PRIORITY_LEVEL_CONFIGURATIONS" id="cdk8s-plus-32.ApiResource.property.PRIORITY_LEVEL_CONFIGURATIONS"></a>

```java
public ApiResource getPriorityLevelConfigurations();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for PriorityLevelConfiguration.

---

##### `REPLICA_SETS`<sup>Required</sup> <a name="REPLICA_SETS" id="cdk8s-plus-32.ApiResource.property.REPLICA_SETS"></a>

```java
public ApiResource getReplicaSets();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ReplicaSet.

---

##### `REPLICATION_CONTROLLERS`<sup>Required</sup> <a name="REPLICATION_CONTROLLERS" id="cdk8s-plus-32.ApiResource.property.REPLICATION_CONTROLLERS"></a>

```java
public ApiResource getReplicationControllers();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ReplicationController.

---

##### `RESOURCE_QUOTAS`<sup>Required</sup> <a name="RESOURCE_QUOTAS" id="cdk8s-plus-32.ApiResource.property.RESOURCE_QUOTAS"></a>

```java
public ApiResource getResourceQuotas();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ResourceQuota.

---

##### `ROLE_BINDINGS`<sup>Required</sup> <a name="ROLE_BINDINGS" id="cdk8s-plus-32.ApiResource.property.ROLE_BINDINGS"></a>

```java
public ApiResource getRoleBindings();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for RoleBinding.

---

##### `ROLES`<sup>Required</sup> <a name="ROLES" id="cdk8s-plus-32.ApiResource.property.ROLES"></a>

```java
public ApiResource getRoles();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Role.

---

##### `RUNTIME_CLASSES`<sup>Required</sup> <a name="RUNTIME_CLASSES" id="cdk8s-plus-32.ApiResource.property.RUNTIME_CLASSES"></a>

```java
public ApiResource getRuntimeClasses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for RuntimeClass.

---

##### `SECRETS`<sup>Required</sup> <a name="SECRETS" id="cdk8s-plus-32.ApiResource.property.SECRETS"></a>

```java
public ApiResource getSecrets();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Secret.

---

##### `SELF_SUBJECT_ACCESS_REVIEWS`<sup>Required</sup> <a name="SELF_SUBJECT_ACCESS_REVIEWS" id="cdk8s-plus-32.ApiResource.property.SELF_SUBJECT_ACCESS_REVIEWS"></a>

```java
public ApiResource getSelfSubjectAccessReviews();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for SelfSubjectAccessReview.

---

##### `SELF_SUBJECT_RULES_REVIEWS`<sup>Required</sup> <a name="SELF_SUBJECT_RULES_REVIEWS" id="cdk8s-plus-32.ApiResource.property.SELF_SUBJECT_RULES_REVIEWS"></a>

```java
public ApiResource getSelfSubjectRulesReviews();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for SelfSubjectRulesReview.

---

##### `SERVICE_ACCOUNTS`<sup>Required</sup> <a name="SERVICE_ACCOUNTS" id="cdk8s-plus-32.ApiResource.property.SERVICE_ACCOUNTS"></a>

```java
public ApiResource getServiceAccounts();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ServiceAccount.

---

##### `SERVICES`<sup>Required</sup> <a name="SERVICES" id="cdk8s-plus-32.ApiResource.property.SERVICES"></a>

```java
public ApiResource getServices();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for Service.

---

##### `STATEFUL_SETS`<sup>Required</sup> <a name="STATEFUL_SETS" id="cdk8s-plus-32.ApiResource.property.STATEFUL_SETS"></a>

```java
public ApiResource getStatefulSets();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for StatefulSet.

---

##### `STORAGE_CLASSES`<sup>Required</sup> <a name="STORAGE_CLASSES" id="cdk8s-plus-32.ApiResource.property.STORAGE_CLASSES"></a>

```java
public ApiResource getStorageClasses();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for StorageClass.

---

##### `SUBJECT_ACCESS_REVIEWS`<sup>Required</sup> <a name="SUBJECT_ACCESS_REVIEWS" id="cdk8s-plus-32.ApiResource.property.SUBJECT_ACCESS_REVIEWS"></a>

```java
public ApiResource getSubjectAccessReviews();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for SubjectAccessReview.

---

##### `TOKEN_REVIEWS`<sup>Required</sup> <a name="TOKEN_REVIEWS" id="cdk8s-plus-32.ApiResource.property.TOKEN_REVIEWS"></a>

```java
public ApiResource getTokenReviews();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for TokenReview.

---

##### `VALIDATING_WEBHOOK_CONFIGURATIONS`<sup>Required</sup> <a name="VALIDATING_WEBHOOK_CONFIGURATIONS" id="cdk8s-plus-32.ApiResource.property.VALIDATING_WEBHOOK_CONFIGURATIONS"></a>

```java
public ApiResource getValidatingWebhookConfigurations();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for ValidatingWebhookConfiguration.

---

##### `VOLUME_ATTACHMENTS`<sup>Required</sup> <a name="VOLUME_ATTACHMENTS" id="cdk8s-plus-32.ApiResource.property.VOLUME_ATTACHMENTS"></a>

```java
public ApiResource getVolumeAttachments();
```

- *Type:* <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>

API resource information for VolumeAttachment.

---

### Container <a name="Container" id="cdk8s-plus-32.Container"></a>

A single application container that you want to run within a pod.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Container.Initializer"></a>

```java
import org.cdk8s.plus32.Container;

Container.Builder.create()
//  .args(java.util.List<java.lang.String>)
//  .command(java.util.List<java.lang.String>)
//  .envFrom(java.util.List<EnvFrom>)
//  .envVariables(java.util.Map<java.lang.String, EnvValue>)
//  .imagePullPolicy(ImagePullPolicy)
//  .lifecycle(ContainerLifecycle)
//  .liveness(Probe)
//  .name(java.lang.String)
//  .port(java.lang.Number)
//  .portNumber(java.lang.Number)
//  .ports(java.util.List<ContainerPort>)
//  .readiness(Probe)
//  .resources(ContainerResources)
//  .restartPolicy(ContainerRestartPolicy)
//  .securityContext(ContainerSecurityContextProps)
//  .startup(Probe)
//  .volumeMounts(java.util.List<VolumeMount>)
//  .workingDir(java.lang.String)
    .image(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.envFrom">envFrom</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>></code> | List of sources to populate environment variables in the container. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.envVariables">envVariables</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>></code> | Environment variables to set in the container. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.imagePullPolicy">imagePullPolicy</a></code> | <code><a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a></code> | Image pull policy for this container. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.lifecycle">lifecycle</a></code> | <code><a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a></code> | Describes actions that the management system should take in response to container lifecycle events. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.liveness">liveness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Periodic probe of container liveness. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.name">name</a></code> | <code>java.lang.String</code> | Name of the container specified as a DNS_LABEL. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.port">port</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.portNumber">portNumber</a></code> | <code>java.lang.Number</code> | Number of port to expose on the pod's IP address. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>></code> | List of ports to expose from this container. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.readiness">readiness</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | Determines when the container is ready to serve traffic. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.resources">resources</a></code> | <code><a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a></code> | Compute resources (CPU and memory requests and limits) required by the container. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a></code> | Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a></code> | SecurityContext defines the security options the container should be run with. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.startup">startup</a></code> | <code><a href="#cdk8s-plus-32.Probe">Probe</a></code> | StartupProbe indicates that the Pod has successfully initialized. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.volumeMounts">volumeMounts</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>></code> | Pod volumes to mount into the container's filesystem. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.workingDir">workingDir</a></code> | <code>java.lang.String</code> | Container's working directory. |
| <code><a href="#cdk8s-plus-32.Container.Initializer.parameter.image">image</a></code> | <code>java.lang.String</code> | Docker image name. |

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.Container.Initializer.parameter.args"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* []

Arguments to the entrypoint. The docker image's CMD is used if `command` is not provided.

Variable references $(VAR_NAME) are expanded using the container's
environment. If a variable cannot be resolved, the reference in the input
string will be unchanged. The $(VAR_NAME) syntax can be escaped with a
double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,
regardless of whether the variable exists or not.

Cannot be updated.

> [https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell)

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.Container.Initializer.parameter.command"></a>

- *Type:* java.util.List<java.lang.String>
- *Default:* The docker image's ENTRYPOINT.

Entrypoint array.

Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment.
If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME).
Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell

---

##### `envFrom`<sup>Optional</sup> <a name="envFrom" id="cdk8s-plus-32.Container.Initializer.parameter.envFrom"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>>
- *Default:* No sources.

List of sources to populate environment variables in the container.

When a key exists in multiple sources, the value associated with
the last source will take precedence. Values defined by the `envVariables` property
with a duplicate key will take precedence.

---

##### `envVariables`<sup>Optional</sup> <a name="envVariables" id="cdk8s-plus-32.Container.Initializer.parameter.envVariables"></a>

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>>
- *Default:* No environment variables.

Environment variables to set in the container.

---

##### `imagePullPolicy`<sup>Optional</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.Container.Initializer.parameter.imagePullPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a>
- *Default:* ImagePullPolicy.ALWAYS

Image pull policy for this container.

---

##### `lifecycle`<sup>Optional</sup> <a name="lifecycle" id="cdk8s-plus-32.Container.Initializer.parameter.lifecycle"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerLifecycle">ContainerLifecycle</a>

Describes actions that the management system should take in response to container lifecycle events.

---

##### `liveness`<sup>Optional</sup> <a name="liveness" id="cdk8s-plus-32.Container.Initializer.parameter.liveness"></a>

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no liveness probe is defined

Periodic probe of container liveness.

Container will be restarted if the probe fails.

---

##### `name`<sup>Optional</sup> <a name="name" id="cdk8s-plus-32.Container.Initializer.parameter.name"></a>

- *Type:* java.lang.String
- *Default:* 'main'

Name of the container specified as a DNS_LABEL.

Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.

---

##### ~~`port`~~<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.Container.Initializer.parameter.port"></a>

- *Deprecated:* - use `portNumber`.

- *Type:* java.lang.Number

---

##### `portNumber`<sup>Optional</sup> <a name="portNumber" id="cdk8s-plus-32.Container.Initializer.parameter.portNumber"></a>

- *Type:* java.lang.Number
- *Default:* Only the ports mentiond in the `ports` property are exposed.

Number of port to expose on the pod's IP address.

This must be a valid port number, 0 < x < 65536.

This is a convinience property if all you need a single TCP numbered port.
In case more advanced configuartion is required, use the `ports` property.

This port is added to the list of ports mentioned in the `ports` property.

---

##### `ports`<sup>Optional</sup> <a name="ports" id="cdk8s-plus-32.Container.Initializer.parameter.ports"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>>
- *Default:* Only the port mentioned in the `portNumber` property is exposed.

List of ports to expose from this container.

---

##### `readiness`<sup>Optional</sup> <a name="readiness" id="cdk8s-plus-32.Container.Initializer.parameter.readiness"></a>

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* no readiness probe is defined

Determines when the container is ready to serve traffic.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.Container.Initializer.parameter.resources"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a>
- *Default:* cpu:      request: 1000 millis      limit: 1500 millis    memory:      request: 512 mebibytes      limit: 2048 mebibytes

Compute resources (CPU and memory requests and limits) required by the container.

> [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Container.Initializer.parameter.restartPolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a>
- *Default:* no restart policy is defined and the pod restart policy is applied

Kubelet will start init containers with restartPolicy=Always in the order with other init containers, but instead of waiting for its completion, it will wait for the container startup completion Currently, only accepted value is Always.

> [https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/)

---

##### `securityContext`<sup>Optional</sup> <a name="securityContext" id="cdk8s-plus-32.Container.Initializer.parameter.securityContext"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerSecurityContextProps">ContainerSecurityContextProps</a>
- *Default:* ensureNonRoot: true   privileged: false   readOnlyRootFilesystem: true   allowPrivilegeEscalation: false   user: 25000   group: 26000

SecurityContext defines the security options the container should be run with.

If set, the fields override equivalent fields of the pod's security context.

> [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)

---

##### `startup`<sup>Optional</sup> <a name="startup" id="cdk8s-plus-32.Container.Initializer.parameter.startup"></a>

- *Type:* <a href="#cdk8s-plus-32.Probe">Probe</a>
- *Default:* If a port is provided, then knocks on that port to determine when the container is ready for readiness and liveness probe checks. Otherwise, no startup probe is defined.

StartupProbe indicates that the Pod has successfully initialized.

If specified, no other probes are executed until this completes successfully

---

##### `volumeMounts`<sup>Optional</sup> <a name="volumeMounts" id="cdk8s-plus-32.Container.Initializer.parameter.volumeMounts"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>>

Pod volumes to mount into the container's filesystem.

Cannot be updated.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.Container.Initializer.parameter.workingDir"></a>

- *Type:* java.lang.String
- *Default:* The container runtime's default.

Container's working directory.

If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.

---

##### `image`<sup>Required</sup> <a name="image" id="cdk8s-plus-32.Container.Initializer.parameter.image"></a>

- *Type:* java.lang.String

Docker image name.

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Container.addPort">addPort</a></code> | Add a port to expose from this container. |
| <code><a href="#cdk8s-plus-32.Container.mount">mount</a></code> | Mount a volume to a specific path so that it is accessible by the container. |

---

##### `addPort` <a name="addPort" id="cdk8s-plus-32.Container.addPort"></a>

```java
public void addPort(ContainerPort port)
```

Add a port to expose from this container.

###### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.Container.addPort.parameter.port"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>

---

##### `mount` <a name="mount" id="cdk8s-plus-32.Container.mount"></a>

```java
public void mount(java.lang.String path, IStorage storage)
public void mount(java.lang.String path, IStorage storage, MountOptions options)
```

Mount a volume to a specific path so that it is accessible by the container.

Every pod that is configured to use this container will autmoatically have access to the volume.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Container.mount.parameter.path"></a>

- *Type:* java.lang.String

The desired path in the container.

---

###### `storage`<sup>Required</sup> <a name="storage" id="cdk8s-plus-32.Container.mount.parameter.storage"></a>

- *Type:* <a href="#cdk8s-plus-32.IStorage">IStorage</a>

The storage to mount.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Container.mount.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MountOptions">MountOptions</a>

---


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Container.property.env">env</a></code> | <code><a href="#cdk8s-plus-32.Env">Env</a></code> | The environment of the container. |
| <code><a href="#cdk8s-plus-32.Container.property.image">image</a></code> | <code>java.lang.String</code> | The container image. |
| <code><a href="#cdk8s-plus-32.Container.property.imagePullPolicy">imagePullPolicy</a></code> | <code><a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a></code> | Image pull policy for this container. |
| <code><a href="#cdk8s-plus-32.Container.property.mounts">mounts</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>></code> | Volume mounts configured for this container. |
| <code><a href="#cdk8s-plus-32.Container.property.name">name</a></code> | <code>java.lang.String</code> | The name of the container. |
| <code><a href="#cdk8s-plus-32.Container.property.ports">ports</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>></code> | Ports exposed by this containers. |
| <code><a href="#cdk8s-plus-32.Container.property.securityContext">securityContext</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecurityContext">ContainerSecurityContext</a></code> | The security context of the container. |
| <code><a href="#cdk8s-plus-32.Container.property.args">args</a></code> | <code>java.util.List<java.lang.String></code> | Arguments to the entrypoint. |
| <code><a href="#cdk8s-plus-32.Container.property.command">command</a></code> | <code>java.util.List<java.lang.String></code> | Entrypoint array (the command to execute when the container starts). |
| <code><a href="#cdk8s-plus-32.Container.property.port">port</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Container.property.portNumber">portNumber</a></code> | <code>java.lang.Number</code> | The port number that was configured for this container. |
| <code><a href="#cdk8s-plus-32.Container.property.resources">resources</a></code> | <code><a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a></code> | Compute resources (CPU and memory requests and limits) required by the container. |
| <code><a href="#cdk8s-plus-32.Container.property.restartPolicy">restartPolicy</a></code> | <code><a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a></code> | The restart policy of the container. |
| <code><a href="#cdk8s-plus-32.Container.property.workingDir">workingDir</a></code> | <code>java.lang.String</code> | The working directory inside the container. |

---

##### `env`<sup>Required</sup> <a name="env" id="cdk8s-plus-32.Container.property.env"></a>

```java
public Env getEnv();
```

- *Type:* <a href="#cdk8s-plus-32.Env">Env</a>

The environment of the container.

---

##### `image`<sup>Required</sup> <a name="image" id="cdk8s-plus-32.Container.property.image"></a>

```java
public java.lang.String getImage();
```

- *Type:* java.lang.String

The container image.

---

##### `imagePullPolicy`<sup>Required</sup> <a name="imagePullPolicy" id="cdk8s-plus-32.Container.property.imagePullPolicy"></a>

```java
public ImagePullPolicy getImagePullPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ImagePullPolicy">ImagePullPolicy</a>

Image pull policy for this container.

---

##### `mounts`<sup>Required</sup> <a name="mounts" id="cdk8s-plus-32.Container.property.mounts"></a>

```java
public java.util.List<VolumeMount> getMounts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.VolumeMount">VolumeMount</a>>

Volume mounts configured for this container.

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Container.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The name of the container.

---

##### `ports`<sup>Required</sup> <a name="ports" id="cdk8s-plus-32.Container.property.ports"></a>

```java
public java.util.List<ContainerPort> getPorts();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.ContainerPort">ContainerPort</a>>

Ports exposed by this containers.

Returns a copy, use `addPort` to modify.

---

##### `securityContext`<sup>Required</sup> <a name="securityContext" id="cdk8s-plus-32.Container.property.securityContext"></a>

```java
public ContainerSecurityContext getSecurityContext();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerSecurityContext">ContainerSecurityContext</a>

The security context of the container.

---

##### `args`<sup>Optional</sup> <a name="args" id="cdk8s-plus-32.Container.property.args"></a>

```java
public java.util.List<java.lang.String> getArgs();
```

- *Type:* java.util.List<java.lang.String>

Arguments to the entrypoint.

---

##### `command`<sup>Optional</sup> <a name="command" id="cdk8s-plus-32.Container.property.command"></a>

```java
public java.util.List<java.lang.String> getCommand();
```

- *Type:* java.util.List<java.lang.String>

Entrypoint array (the command to execute when the container starts).

---

##### ~~`port`~~<sup>Optional</sup> <a name="port" id="cdk8s-plus-32.Container.property.port"></a>

- *Deprecated:* - use `portNumber`.

```java
public java.lang.Number getPort();
```

- *Type:* java.lang.Number

---

##### `portNumber`<sup>Optional</sup> <a name="portNumber" id="cdk8s-plus-32.Container.property.portNumber"></a>

```java
public java.lang.Number getPortNumber();
```

- *Type:* java.lang.Number

The port number that was configured for this container.

If undefined, either the container doesn't expose a port, or its
port configuration is stored in the `ports` field.

---

##### `resources`<sup>Optional</sup> <a name="resources" id="cdk8s-plus-32.Container.property.resources"></a>

```java
public ContainerResources getResources();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerResources">ContainerResources</a>

Compute resources (CPU and memory requests and limits) required by the container.

> [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)

---

##### `restartPolicy`<sup>Optional</sup> <a name="restartPolicy" id="cdk8s-plus-32.Container.property.restartPolicy"></a>

```java
public ContainerRestartPolicy getRestartPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerRestartPolicy">ContainerRestartPolicy</a>

The restart policy of the container.

---

##### `workingDir`<sup>Optional</sup> <a name="workingDir" id="cdk8s-plus-32.Container.property.workingDir"></a>

```java
public java.lang.String getWorkingDir();
```

- *Type:* java.lang.String

The working directory inside the container.

---


### ContainerSecurityContext <a name="ContainerSecurityContext" id="cdk8s-plus-32.ContainerSecurityContext"></a>

Container security attributes and settings.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ContainerSecurityContext.Initializer"></a>

```java
import org.cdk8s.plus32.ContainerSecurityContext;

ContainerSecurityContext.Builder.create()
//  .allowPrivilegeEscalation(java.lang.Boolean)
//  .capabilities(ContainerSecutiryContextCapabilities)
//  .ensureNonRoot(java.lang.Boolean)
//  .group(java.lang.Number)
//  .privileged(java.lang.Boolean)
//  .readOnlyRootFilesystem(java.lang.Boolean)
//  .seccompProfile(SeccompProfile)
//  .user(java.lang.Number)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.allowPrivilegeEscalation">allowPrivilegeEscalation</a></code> | <code>java.lang.Boolean</code> | Whether a process can gain more privileges than its parent process. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.capabilities">capabilities</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a></code> | POSIX capabilities for running containers. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.group">group</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.privileged">privileged</a></code> | <code>java.lang.Boolean</code> | Run container in privileged mode. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.readOnlyRootFilesystem">readOnlyRootFilesystem</a></code> | <code>java.lang.Boolean</code> | Whether this container has a read-only root filesystem. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.seccompProfile">seccompProfile</a></code> | <code><a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a></code> | Container's seccomp profile settings. |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.user">user</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |

---

##### `allowPrivilegeEscalation`<sup>Optional</sup> <a name="allowPrivilegeEscalation" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.allowPrivilegeEscalation"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Whether a process can gain more privileges than its parent process.

---

##### `capabilities`<sup>Optional</sup> <a name="capabilities" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.capabilities"></a>

- *Type:* <a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a>
- *Default:* none

POSIX capabilities for running containers.

---

##### `ensureNonRoot`<sup>Optional</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.ensureNonRoot"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does
not run as UID 0 (root) and fail to start the container if it does.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.group"></a>

- *Type:* java.lang.Number
- *Default:* 26000. An arbitrary number bigger than 9999 is selected here. This is so that the container is blocked to access host files even if somehow it manages to get access to host file system.

The GID to run the entrypoint of the container process.

---

##### `privileged`<sup>Optional</sup> <a name="privileged" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.privileged"></a>

- *Type:* java.lang.Boolean
- *Default:* false

Run container in privileged mode.

Processes in privileged containers are essentially equivalent to root on the host.

---

##### `readOnlyRootFilesystem`<sup>Optional</sup> <a name="readOnlyRootFilesystem" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.readOnlyRootFilesystem"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Whether this container has a read-only root filesystem.

---

##### `seccompProfile`<sup>Optional</sup> <a name="seccompProfile" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.seccompProfile"></a>

- *Type:* <a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a>
- *Default:* none

Container's seccomp profile settings.

Only one profile source may be set

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.ContainerSecurityContext.Initializer.parameter.user"></a>

- *Type:* java.lang.Number
- *Default:* 25000. An arbitrary number bigger than 9999 is selected here. This is so that the container is blocked to access host files even if somehow it manages to get access to host file system.

The UID to run the entrypoint of the container process.

---



#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.privileged">privileged</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.readOnlyRootFilesystem">readOnlyRootFilesystem</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.allowPrivilegeEscalation">allowPrivilegeEscalation</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.capabilities">capabilities</a></code> | <code><a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.group">group</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.seccompProfile">seccompProfile</a></code> | <code><a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.ContainerSecurityContext.property.user">user</a></code> | <code>java.lang.Number</code> | *No description.* |

---

##### `ensureNonRoot`<sup>Required</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.ContainerSecurityContext.property.ensureNonRoot"></a>

```java
public java.lang.Boolean getEnsureNonRoot();
```

- *Type:* java.lang.Boolean

---

##### `privileged`<sup>Required</sup> <a name="privileged" id="cdk8s-plus-32.ContainerSecurityContext.property.privileged"></a>

```java
public java.lang.Boolean getPrivileged();
```

- *Type:* java.lang.Boolean

---

##### `readOnlyRootFilesystem`<sup>Required</sup> <a name="readOnlyRootFilesystem" id="cdk8s-plus-32.ContainerSecurityContext.property.readOnlyRootFilesystem"></a>

```java
public java.lang.Boolean getReadOnlyRootFilesystem();
```

- *Type:* java.lang.Boolean

---

##### `allowPrivilegeEscalation`<sup>Optional</sup> <a name="allowPrivilegeEscalation" id="cdk8s-plus-32.ContainerSecurityContext.property.allowPrivilegeEscalation"></a>

```java
public java.lang.Boolean getAllowPrivilegeEscalation();
```

- *Type:* java.lang.Boolean

---

##### `capabilities`<sup>Optional</sup> <a name="capabilities" id="cdk8s-plus-32.ContainerSecurityContext.property.capabilities"></a>

```java
public ContainerSecutiryContextCapabilities getCapabilities();
```

- *Type:* <a href="#cdk8s-plus-32.ContainerSecutiryContextCapabilities">ContainerSecutiryContextCapabilities</a>

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.ContainerSecurityContext.property.group"></a>

```java
public java.lang.Number getGroup();
```

- *Type:* java.lang.Number

---

##### `seccompProfile`<sup>Optional</sup> <a name="seccompProfile" id="cdk8s-plus-32.ContainerSecurityContext.property.seccompProfile"></a>

```java
public SeccompProfile getSeccompProfile();
```

- *Type:* <a href="#cdk8s-plus-32.SeccompProfile">SeccompProfile</a>

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.ContainerSecurityContext.property.user"></a>

```java
public java.lang.Number getUser();
```

- *Type:* java.lang.Number

---


### Cpu <a name="Cpu" id="cdk8s-plus-32.Cpu"></a>

Represents the amount of CPU.

The amount can be passed as millis or units.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Cpu.millis">millis</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Cpu.units">units</a></code> | *No description.* |

---

##### `millis` <a name="millis" id="cdk8s-plus-32.Cpu.millis"></a>

```java
import org.cdk8s.plus32.Cpu;

Cpu.millis(java.lang.Number amount)
```

###### `amount`<sup>Required</sup> <a name="amount" id="cdk8s-plus-32.Cpu.millis.parameter.amount"></a>

- *Type:* java.lang.Number

---

##### `units` <a name="units" id="cdk8s-plus-32.Cpu.units"></a>

```java
import org.cdk8s.plus32.Cpu;

Cpu.units(java.lang.Number amount)
```

###### `amount`<sup>Required</sup> <a name="amount" id="cdk8s-plus-32.Cpu.units.parameter.amount"></a>

- *Type:* java.lang.Number

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Cpu.property.amount">amount</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `amount`<sup>Required</sup> <a name="amount" id="cdk8s-plus-32.Cpu.property.amount"></a>

```java
public java.lang.String getAmount();
```

- *Type:* java.lang.String

---


### DeploymentStrategy <a name="DeploymentStrategy" id="cdk8s-plus-32.DeploymentStrategy"></a>

Deployment strategies.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DeploymentStrategy.recreate">recreate</a></code> | All existing Pods are killed before new ones are created. |
| <code><a href="#cdk8s-plus-32.DeploymentStrategy.rollingUpdate">rollingUpdate</a></code> | *No description.* |

---

##### `recreate` <a name="recreate" id="cdk8s-plus-32.DeploymentStrategy.recreate"></a>

```java
import org.cdk8s.plus32.DeploymentStrategy;

DeploymentStrategy.recreate()
```

All existing Pods are killed before new ones are created.

> [https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment)

##### `rollingUpdate` <a name="rollingUpdate" id="cdk8s-plus-32.DeploymentStrategy.rollingUpdate"></a>

```java
import org.cdk8s.plus32.DeploymentStrategy;

DeploymentStrategy.rollingUpdate(),DeploymentStrategy.rollingUpdate(DeploymentStrategyRollingUpdateOptions options)
```

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.DeploymentStrategy.rollingUpdate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.DeploymentStrategyRollingUpdateOptions">DeploymentStrategyRollingUpdateOptions</a>

---



### Env <a name="Env" id="cdk8s-plus-32.Env"></a>

Container environment variables.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Env.Initializer"></a>

```java
import org.cdk8s.plus32.Env;

new Env(java.util.List<EnvFrom> sources, java.util.Map<java.lang.String, EnvValue> variables);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Env.Initializer.parameter.sources">sources</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.Env.Initializer.parameter.variables">variables</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>></code> | *No description.* |

---

##### `sources`<sup>Required</sup> <a name="sources" id="cdk8s-plus-32.Env.Initializer.parameter.sources"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>>

---

##### `variables`<sup>Required</sup> <a name="variables" id="cdk8s-plus-32.Env.Initializer.parameter.variables"></a>

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Env.addVariable">addVariable</a></code> | Add a single variable by name and value. |
| <code><a href="#cdk8s-plus-32.Env.copyFrom">copyFrom</a></code> | Add a collection of variables by copying from another source. |

---

##### `addVariable` <a name="addVariable" id="cdk8s-plus-32.Env.addVariable"></a>

```java
public void addVariable(java.lang.String name, EnvValue value)
```

Add a single variable by name and value.

The variable value can come from various dynamic sources such a secrets of config maps.
Use `EnvValue.fromXXX` to select sources.

###### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.Env.addVariable.parameter.name"></a>

- *Type:* java.lang.String

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Env.addVariable.parameter.value"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>

---

##### `copyFrom` <a name="copyFrom" id="cdk8s-plus-32.Env.copyFrom"></a>

```java
public void copyFrom(EnvFrom from)
```

Add a collection of variables by copying from another source.

Use `Env.fromXXX` functions to select sources.

###### `from`<sup>Required</sup> <a name="from" id="cdk8s-plus-32.Env.copyFrom.parameter.from"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>

---

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Env.fromConfigMap">fromConfigMap</a></code> | Selects a ConfigMap to populate the environment variables with. |
| <code><a href="#cdk8s-plus-32.Env.fromSecret">fromSecret</a></code> | Selects a Secret to populate the environment variables with. |

---

##### `fromConfigMap` <a name="fromConfigMap" id="cdk8s-plus-32.Env.fromConfigMap"></a>

```java
import org.cdk8s.plus32.Env;

Env.fromConfigMap(IConfigMap configMap),Env.fromConfigMap(IConfigMap configMap, java.lang.String prefix)
```

Selects a ConfigMap to populate the environment variables with.

The contents of the target ConfigMap's Data field will represent
the key-value pairs as environment variables.

###### `configMap`<sup>Required</sup> <a name="configMap" id="cdk8s-plus-32.Env.fromConfigMap.parameter.configMap"></a>

- *Type:* <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

---

###### `prefix`<sup>Optional</sup> <a name="prefix" id="cdk8s-plus-32.Env.fromConfigMap.parameter.prefix"></a>

- *Type:* java.lang.String

---

##### `fromSecret` <a name="fromSecret" id="cdk8s-plus-32.Env.fromSecret"></a>

```java
import org.cdk8s.plus32.Env;

Env.fromSecret(ISecret secr)
```

Selects a Secret to populate the environment variables with.

The contents of the target Secret's Data field will represent
the key-value pairs as environment variables.

###### `secr`<sup>Required</sup> <a name="secr" id="cdk8s-plus-32.Env.fromSecret.parameter.secr"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Env.property.sources">sources</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>></code> | The list of sources used to populate the container environment, in addition to the `variables`. |
| <code><a href="#cdk8s-plus-32.Env.property.variables">variables</a></code> | <code>java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>></code> | The environment variables for this container. |

---

##### `sources`<sup>Required</sup> <a name="sources" id="cdk8s-plus-32.Env.property.sources"></a>

```java
public java.util.List<EnvFrom> getSources();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.EnvFrom">EnvFrom</a>>

The list of sources used to populate the container environment, in addition to the `variables`.

Returns a copy. To add a source use `container.env.copyFrom()`.

---

##### `variables`<sup>Required</sup> <a name="variables" id="cdk8s-plus-32.Env.property.variables"></a>

```java
public java.util.Map<java.lang.String, EnvValue> getVariables();
```

- *Type:* java.util.Map<java.lang.String, <a href="#cdk8s-plus-32.EnvValue">EnvValue</a>>

The environment variables for this container.

Returns a copy. To add environment variables use `container.env.addVariable()`.

---


### EnvFrom <a name="EnvFrom" id="cdk8s-plus-32.EnvFrom"></a>

A collection of env variables defined in other resources.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.EnvFrom.Initializer"></a>

```java
import org.cdk8s.plus32.EnvFrom;

new EnvFrom();,new EnvFrom(IConfigMap configMap);,new EnvFrom(IConfigMap configMap, java.lang.String prefix);,new EnvFrom(IConfigMap configMap, java.lang.String prefix, ISecret sec);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvFrom.Initializer.parameter.configMap">configMap</a></code> | <code><a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.EnvFrom.Initializer.parameter.prefix">prefix</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.EnvFrom.Initializer.parameter.sec">sec</a></code> | <code><a href="#cdk8s-plus-32.ISecret">ISecret</a></code> | *No description.* |

---

##### `configMap`<sup>Optional</sup> <a name="configMap" id="cdk8s-plus-32.EnvFrom.Initializer.parameter.configMap"></a>

- *Type:* <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

---

##### `prefix`<sup>Optional</sup> <a name="prefix" id="cdk8s-plus-32.EnvFrom.Initializer.parameter.prefix"></a>

- *Type:* java.lang.String

---

##### `sec`<sup>Optional</sup> <a name="sec" id="cdk8s-plus-32.EnvFrom.Initializer.parameter.sec"></a>

- *Type:* <a href="#cdk8s-plus-32.ISecret">ISecret</a>

---





### EnvValue <a name="EnvValue" id="cdk8s-plus-32.EnvValue"></a>

Utility class for creating reading env values from various sources.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValue.fromConfigMap">fromConfigMap</a></code> | Create a value by reading a specific key inside a config map. |
| <code><a href="#cdk8s-plus-32.EnvValue.fromFieldRef">fromFieldRef</a></code> | Create a value from a field reference. |
| <code><a href="#cdk8s-plus-32.EnvValue.fromProcess">fromProcess</a></code> | Create a value from a key in the current process environment. |
| <code><a href="#cdk8s-plus-32.EnvValue.fromResource">fromResource</a></code> | Create a value from a resource. |
| <code><a href="#cdk8s-plus-32.EnvValue.fromSecretValue">fromSecretValue</a></code> | Defines an environment value from a secret JSON value. |
| <code><a href="#cdk8s-plus-32.EnvValue.fromValue">fromValue</a></code> | Create a value from the given argument. |

---

##### `fromConfigMap` <a name="fromConfigMap" id="cdk8s-plus-32.EnvValue.fromConfigMap"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromConfigMap(IConfigMap configMap, java.lang.String key),EnvValue.fromConfigMap(IConfigMap configMap, java.lang.String key, EnvValueFromConfigMapOptions options)
```

Create a value by reading a specific key inside a config map.

###### `configMap`<sup>Required</sup> <a name="configMap" id="cdk8s-plus-32.EnvValue.fromConfigMap.parameter.configMap"></a>

- *Type:* <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

The config map.

---

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.EnvValue.fromConfigMap.parameter.key"></a>

- *Type:* java.lang.String

The key to extract the value from.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.EnvValue.fromConfigMap.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromConfigMapOptions">EnvValueFromConfigMapOptions</a>

Additional options.

---

##### `fromFieldRef` <a name="fromFieldRef" id="cdk8s-plus-32.EnvValue.fromFieldRef"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromFieldRef(EnvFieldPaths fieldPath),EnvValue.fromFieldRef(EnvFieldPaths fieldPath, EnvValueFromFieldRefOptions options)
```

Create a value from a field reference.

###### `fieldPath`<sup>Required</sup> <a name="fieldPath" id="cdk8s-plus-32.EnvValue.fromFieldRef.parameter.fieldPath"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvFieldPaths">EnvFieldPaths</a>

: The field reference.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.EnvValue.fromFieldRef.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromFieldRefOptions">EnvValueFromFieldRefOptions</a>

: Additional options.

---

##### `fromProcess` <a name="fromProcess" id="cdk8s-plus-32.EnvValue.fromProcess"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromProcess(java.lang.String key),EnvValue.fromProcess(java.lang.String key, EnvValueFromProcessOptions options)
```

Create a value from a key in the current process environment.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.EnvValue.fromProcess.parameter.key"></a>

- *Type:* java.lang.String

The key to read.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.EnvValue.fromProcess.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromProcessOptions">EnvValueFromProcessOptions</a>

Additional options.

---

##### `fromResource` <a name="fromResource" id="cdk8s-plus-32.EnvValue.fromResource"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromResource(ResourceFieldPaths resource),EnvValue.fromResource(ResourceFieldPaths resource, EnvValueFromResourceOptions options)
```

Create a value from a resource.

###### `resource`<sup>Required</sup> <a name="resource" id="cdk8s-plus-32.EnvValue.fromResource.parameter.resource"></a>

- *Type:* <a href="#cdk8s-plus-32.ResourceFieldPaths">ResourceFieldPaths</a>

: Resource to select the value from.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.EnvValue.fromResource.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromResourceOptions">EnvValueFromResourceOptions</a>

: Additional options.

---

##### `fromSecretValue` <a name="fromSecretValue" id="cdk8s-plus-32.EnvValue.fromSecretValue"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromSecretValue(SecretValue secretValue),EnvValue.fromSecretValue(SecretValue secretValue, EnvValueFromSecretOptions options)
```

Defines an environment value from a secret JSON value.

###### `secretValue`<sup>Required</sup> <a name="secretValue" id="cdk8s-plus-32.EnvValue.fromSecretValue.parameter.secretValue"></a>

- *Type:* <a href="#cdk8s-plus-32.SecretValue">SecretValue</a>

The secret value (secrent + key).

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.EnvValue.fromSecretValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

Additional options.

---

##### `fromValue` <a name="fromValue" id="cdk8s-plus-32.EnvValue.fromValue"></a>

```java
import org.cdk8s.plus32.EnvValue;

EnvValue.fromValue(java.lang.String value)
```

Create a value from the given argument.

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.EnvValue.fromValue.parameter.value"></a>

- *Type:* java.lang.String

The value.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.EnvValue.property.value">value</a></code> | <code>java.lang.Object</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.EnvValue.property.valueFrom">valueFrom</a></code> | <code>java.lang.Object</code> | *No description.* |

---

##### `value`<sup>Optional</sup> <a name="value" id="cdk8s-plus-32.EnvValue.property.value"></a>

```java
public java.lang.Object getValue();
```

- *Type:* java.lang.Object

---

##### `valueFrom`<sup>Optional</sup> <a name="valueFrom" id="cdk8s-plus-32.EnvValue.property.valueFrom"></a>

```java
public java.lang.Object getValueFrom();
```

- *Type:* java.lang.Object

---


### Handler <a name="Handler" id="cdk8s-plus-32.Handler"></a>

Defines a specific action that should be taken.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Handler.fromCommand">fromCommand</a></code> | Defines a handler based on a command which is executed within the container. |
| <code><a href="#cdk8s-plus-32.Handler.fromHttpGet">fromHttpGet</a></code> | Defines a handler based on an HTTP GET request to the IP address of the container. |
| <code><a href="#cdk8s-plus-32.Handler.fromTcpSocket">fromTcpSocket</a></code> | Defines a handler based opening a connection to a TCP socket on the container. |

---

##### `fromCommand` <a name="fromCommand" id="cdk8s-plus-32.Handler.fromCommand"></a>

```java
import org.cdk8s.plus32.Handler;

Handler.fromCommand(java.util.List<java.lang.String> command)
```

Defines a handler based on a command which is executed within the container.

###### `command`<sup>Required</sup> <a name="command" id="cdk8s-plus-32.Handler.fromCommand.parameter.command"></a>

- *Type:* java.util.List<java.lang.String>

The command to execute.

---

##### `fromHttpGet` <a name="fromHttpGet" id="cdk8s-plus-32.Handler.fromHttpGet"></a>

```java
import org.cdk8s.plus32.Handler;

Handler.fromHttpGet(java.lang.String path),Handler.fromHttpGet(java.lang.String path, HandlerFromHttpGetOptions options)
```

Defines a handler based on an HTTP GET request to the IP address of the container.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Handler.fromHttpGet.parameter.path"></a>

- *Type:* java.lang.String

The URL path to hit.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Handler.fromHttpGet.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.HandlerFromHttpGetOptions">HandlerFromHttpGetOptions</a>

Options.

---

##### `fromTcpSocket` <a name="fromTcpSocket" id="cdk8s-plus-32.Handler.fromTcpSocket"></a>

```java
import org.cdk8s.plus32.Handler;

Handler.fromTcpSocket(),Handler.fromTcpSocket(HandlerFromTcpSocketOptions options)
```

Defines a handler based opening a connection to a TCP socket on the container.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Handler.fromTcpSocket.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.HandlerFromTcpSocketOptions">HandlerFromTcpSocketOptions</a>

Options.

---



### IngressBackend <a name="IngressBackend" id="cdk8s-plus-32.IngressBackend"></a>

The backend for an ingress path.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.IngressBackend.fromResource">fromResource</a></code> | A Resource backend is an ObjectRef to another Kubernetes resource within the same namespace as the Ingress object. |
| <code><a href="#cdk8s-plus-32.IngressBackend.fromService">fromService</a></code> | A Kubernetes `Service` to use as the backend for this path. |

---

##### `fromResource` <a name="fromResource" id="cdk8s-plus-32.IngressBackend.fromResource"></a>

```java
import org.cdk8s.plus32.IngressBackend;

IngressBackend.fromResource(IResource resource)
```

A Resource backend is an ObjectRef to another Kubernetes resource within the same namespace as the Ingress object.

A common usage for a Resource backend is to ingress data to an object
storage backend with static assets.

###### `resource`<sup>Required</sup> <a name="resource" id="cdk8s-plus-32.IngressBackend.fromResource.parameter.resource"></a>

- *Type:* <a href="#cdk8s-plus-32.IResource">IResource</a>

---

##### `fromService` <a name="fromService" id="cdk8s-plus-32.IngressBackend.fromService"></a>

```java
import org.cdk8s.plus32.IngressBackend;

IngressBackend.fromService(Service serv),IngressBackend.fromService(Service serv, ServiceIngressBackendOptions options)
```

A Kubernetes `Service` to use as the backend for this path.

###### `serv`<sup>Required</sup> <a name="serv" id="cdk8s-plus-32.IngressBackend.fromService.parameter.serv"></a>

- *Type:* <a href="#cdk8s-plus-32.Service">Service</a>

The service object.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.IngressBackend.fromService.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.ServiceIngressBackendOptions">ServiceIngressBackendOptions</a>

---



### IntOrString <a name="IntOrString" id="cdk8s-plus-32.k8s.IntOrString"></a>


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IntOrString.fromNumber">fromNumber</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.IntOrString.fromString">fromString</a></code> | *No description.* |

---

##### `fromNumber` <a name="fromNumber" id="cdk8s-plus-32.k8s.IntOrString.fromNumber"></a>

```java
import org.cdk8s.plus32.k8s.IntOrString;

IntOrString.fromNumber(java.lang.Number value)
```

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.IntOrString.fromNumber.parameter.value"></a>

- *Type:* java.lang.Number

---

##### `fromString` <a name="fromString" id="cdk8s-plus-32.k8s.IntOrString.fromString"></a>

```java
import org.cdk8s.plus32.k8s.IntOrString;

IntOrString.fromString(java.lang.String value)
```

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.IntOrString.fromString.parameter.value"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IntOrString.property.value">value</a></code> | <code>java.lang.String\|java.lang.Number</code> | *No description.* |

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.IntOrString.property.value"></a>

```java
public java.lang.String|java.lang.Number getValue();
```

- *Type:* java.lang.String|java.lang.Number

---


### LabeledNode <a name="LabeledNode" id="cdk8s-plus-32.LabeledNode"></a>

A node that is matched by label selectors.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.LabeledNode.Initializer"></a>

```java
import org.cdk8s.plus32.LabeledNode;

new LabeledNode(java.util.List<NodeLabelQuery> labelSelector);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.LabeledNode.Initializer.parameter.labelSelector">labelSelector</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NodeLabelQuery">NodeLabelQuery</a>></code> | *No description.* |

---

##### `labelSelector`<sup>Required</sup> <a name="labelSelector" id="cdk8s-plus-32.LabeledNode.Initializer.parameter.labelSelector"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NodeLabelQuery">NodeLabelQuery</a>>

---



#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.LabeledNode.property.labelSelector">labelSelector</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NodeLabelQuery">NodeLabelQuery</a>></code> | *No description.* |

---

##### `labelSelector`<sup>Required</sup> <a name="labelSelector" id="cdk8s-plus-32.LabeledNode.property.labelSelector"></a>

```java
public java.util.List<NodeLabelQuery> getLabelSelector();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NodeLabelQuery">NodeLabelQuery</a>>

---


### LabelExpression <a name="LabelExpression" id="cdk8s-plus-32.LabelExpression"></a>

Represents a query that can be performed against resources with labels.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.LabelExpression.doesNotExist">doesNotExist</a></code> | Requires label `key` to not exist. |
| <code><a href="#cdk8s-plus-32.LabelExpression.exists">exists</a></code> | Requires label `key` to exist. |
| <code><a href="#cdk8s-plus-32.LabelExpression.in">in</a></code> | Requires value of label `key` to be one of `values`. |
| <code><a href="#cdk8s-plus-32.LabelExpression.notIn">notIn</a></code> | Requires value of label `key` to be none of `values`. |

---

##### `doesNotExist` <a name="doesNotExist" id="cdk8s-plus-32.LabelExpression.doesNotExist"></a>

```java
import org.cdk8s.plus32.LabelExpression;

LabelExpression.doesNotExist(java.lang.String key)
```

Requires label `key` to not exist.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelExpression.doesNotExist.parameter.key"></a>

- *Type:* java.lang.String

---

##### `exists` <a name="exists" id="cdk8s-plus-32.LabelExpression.exists"></a>

```java
import org.cdk8s.plus32.LabelExpression;

LabelExpression.exists(java.lang.String key)
```

Requires label `key` to exist.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelExpression.exists.parameter.key"></a>

- *Type:* java.lang.String

---

##### `in` <a name="in" id="cdk8s-plus-32.LabelExpression.in"></a>

```java
import org.cdk8s.plus32.LabelExpression;

LabelExpression.in(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to be one of `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelExpression.in.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.LabelExpression.in.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `notIn` <a name="notIn" id="cdk8s-plus-32.LabelExpression.notIn"></a>

```java
import org.cdk8s.plus32.LabelExpression;

LabelExpression.notIn(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to be none of `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelExpression.notIn.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.LabelExpression.notIn.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.LabelExpression.property.key">key</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.LabelExpression.property.operator">operator</a></code> | <code>java.lang.String</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.LabelExpression.property.values">values</a></code> | <code>java.util.List<java.lang.String></code> | *No description.* |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.LabelExpression.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

---

##### `operator`<sup>Required</sup> <a name="operator" id="cdk8s-plus-32.LabelExpression.property.operator"></a>

```java
public java.lang.String getOperator();
```

- *Type:* java.lang.String

---

##### `values`<sup>Optional</sup> <a name="values" id="cdk8s-plus-32.LabelExpression.property.values"></a>

```java
public java.util.List<java.lang.String> getValues();
```

- *Type:* java.util.List<java.lang.String>

---


### LabelSelector <a name="LabelSelector" id="cdk8s-plus-32.LabelSelector"></a>

Match a resource by labels.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.LabelSelector.isEmpty">isEmpty</a></code> | *No description.* |

---

##### `isEmpty` <a name="isEmpty" id="cdk8s-plus-32.LabelSelector.isEmpty"></a>

```java
public java.lang.Boolean isEmpty()
```

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.LabelSelector.of">of</a></code> | *No description.* |

---

##### `of` <a name="of" id="cdk8s-plus-32.LabelSelector.of"></a>

```java
import org.cdk8s.plus32.LabelSelector;

LabelSelector.of(),LabelSelector.of(LabelSelectorOptions options)
```

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.LabelSelector.of.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.LabelSelectorOptions">LabelSelectorOptions</a>

---



### Metric <a name="Metric" id="cdk8s-plus-32.Metric"></a>

A metric condition that HorizontalPodAutoscaler's scale on.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Metric.containerCpu">containerCpu</a></code> | Metric that tracks the CPU of a container. |
| <code><a href="#cdk8s-plus-32.Metric.containerEphemeralStorage">containerEphemeralStorage</a></code> | Metric that tracks the local ephemeral storage of a container. |
| <code><a href="#cdk8s-plus-32.Metric.containerMemory">containerMemory</a></code> | Metric that tracks the Memory of a container. |
| <code><a href="#cdk8s-plus-32.Metric.containerStorage">containerStorage</a></code> | Metric that tracks the volume size of a container. |
| <code><a href="#cdk8s-plus-32.Metric.external">external</a></code> | A global metric that is not associated with any Kubernetes object. |
| <code><a href="#cdk8s-plus-32.Metric.object">object</a></code> | Metric that describes a metric of a kubernetes object. |
| <code><a href="#cdk8s-plus-32.Metric.pods">pods</a></code> | A pod metric that will be averaged across all pods of the current scale target. |
| <code><a href="#cdk8s-plus-32.Metric.resourceCpu">resourceCpu</a></code> | Tracks the available CPU of the pods in a target. |
| <code><a href="#cdk8s-plus-32.Metric.resourceEphemeralStorage">resourceEphemeralStorage</a></code> | Tracks the available Ephemeral Storage of the pods in a target. |
| <code><a href="#cdk8s-plus-32.Metric.resourceMemory">resourceMemory</a></code> | Tracks the available Memory of the pods in a target. |
| <code><a href="#cdk8s-plus-32.Metric.resourceStorage">resourceStorage</a></code> | Tracks the available Storage of the pods in a target. |

---

##### `containerCpu` <a name="containerCpu" id="cdk8s-plus-32.Metric.containerCpu"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.containerCpu(MetricContainerResourceOptions options)
```

Metric that tracks the CPU of a container.

This metric
will be tracked across all pods of the current scale target.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.containerCpu.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricContainerResourceOptions">MetricContainerResourceOptions</a>

---

##### `containerEphemeralStorage` <a name="containerEphemeralStorage" id="cdk8s-plus-32.Metric.containerEphemeralStorage"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.containerEphemeralStorage(MetricContainerResourceOptions options)
```

Metric that tracks the local ephemeral storage of a container.

This metric
will be tracked across all pods of the current scale target.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.containerEphemeralStorage.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricContainerResourceOptions">MetricContainerResourceOptions</a>

---

##### `containerMemory` <a name="containerMemory" id="cdk8s-plus-32.Metric.containerMemory"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.containerMemory(MetricContainerResourceOptions options)
```

Metric that tracks the Memory of a container.

This metric
will be tracked across all pods of the current scale target.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.containerMemory.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricContainerResourceOptions">MetricContainerResourceOptions</a>

---

##### `containerStorage` <a name="containerStorage" id="cdk8s-plus-32.Metric.containerStorage"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.containerStorage(MetricContainerResourceOptions options)
```

Metric that tracks the volume size of a container.

This metric
will be tracked across all pods of the current scale target.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.containerStorage.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricContainerResourceOptions">MetricContainerResourceOptions</a>

---

##### `external` <a name="external" id="cdk8s-plus-32.Metric.external"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.external(MetricOptions options)
```

A global metric that is not associated with any Kubernetes object.

Allows for autoscaling based on information coming from components running outside of
the cluster.

Use case:

* Scale up when the length of an SQS queue is greater than 10 messages.
* Scale down when an outside load balancer's queries are less than 10000 per second.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.external.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricOptions">MetricOptions</a>

---

##### `object` <a name="object" id="cdk8s-plus-32.Metric.object"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.object(MetricObjectOptions options)
```

Metric that describes a metric of a kubernetes object.

Use case:

* Scale on a Kubernetes Ingress's hits-per-second metric.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.object.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricObjectOptions">MetricObjectOptions</a>

---

##### `pods` <a name="pods" id="cdk8s-plus-32.Metric.pods"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.pods(MetricOptions options)
```

A pod metric that will be averaged across all pods of the current scale target.

Use case:

* Average CPU utilization across all pods
* Transactions processed per second across all pods

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.Metric.pods.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricOptions">MetricOptions</a>

---

##### `resourceCpu` <a name="resourceCpu" id="cdk8s-plus-32.Metric.resourceCpu"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.resourceCpu(MetricTarget target)
```

Tracks the available CPU of the pods in a target.

Note: Since the resource usages of all the containers are summed up the total
pod utilization may not accurately represent the individual container resource
usage. This could lead to situations where a single container might be running
with high usage and the HPA will not scale out because the overall pod usage
is still within acceptable limits.

Use case:

* Scale up when CPU is above 40%.

###### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.Metric.resourceCpu.parameter.target"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

---

##### `resourceEphemeralStorage` <a name="resourceEphemeralStorage" id="cdk8s-plus-32.Metric.resourceEphemeralStorage"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.resourceEphemeralStorage(MetricTarget target)
```

Tracks the available Ephemeral Storage of the pods in a target.

Note: Since the resource usages of all the containers are summed up the total
pod utilization may not accurately represent the individual container resource
usage. This could lead to situations where a single container might be running
with high usage and the HPA will not scale out because the overall pod usage
is still within acceptable limits.

###### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.Metric.resourceEphemeralStorage.parameter.target"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

---

##### `resourceMemory` <a name="resourceMemory" id="cdk8s-plus-32.Metric.resourceMemory"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.resourceMemory(MetricTarget target)
```

Tracks the available Memory of the pods in a target.

Note: Since the resource usages of all the containers are summed up the total
pod utilization may not accurately represent the individual container resource
usage. This could lead to situations where a single container might be running
with high usage and the HPA will not scale out because the overall pod usage
is still within acceptable limits.

Use case:

* Scale up when Memory is above 512MB.

###### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.Metric.resourceMemory.parameter.target"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

---

##### `resourceStorage` <a name="resourceStorage" id="cdk8s-plus-32.Metric.resourceStorage"></a>

```java
import org.cdk8s.plus32.Metric;

Metric.resourceStorage(MetricTarget target)
```

Tracks the available Storage of the pods in a target.

Note: Since the resource usages of all the containers are summed up the total
pod utilization may not accurately represent the individual container resource
usage. This could lead to situations where a single container might be running
with high usage and the HPA will not scale out because the overall pod usage
is still within acceptable limits.

###### `target`<sup>Required</sup> <a name="target" id="cdk8s-plus-32.Metric.resourceStorage.parameter.target"></a>

- *Type:* <a href="#cdk8s-plus-32.MetricTarget">MetricTarget</a>

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Metric.property.type">type</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `type`<sup>Required</sup> <a name="type" id="cdk8s-plus-32.Metric.property.type"></a>

```java
public java.lang.String getType();
```

- *Type:* java.lang.String

---


### MetricTarget <a name="MetricTarget" id="cdk8s-plus-32.MetricTarget"></a>

A metric condition that will trigger scaling behavior when satisfied.

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
MetricTarget.averageUtilization(70);
```



#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.MetricTarget.averageUtilization">averageUtilization</a></code> | Target a percentage value across all relevant pods. |
| <code><a href="#cdk8s-plus-32.MetricTarget.averageValue">averageValue</a></code> | Target the average value across all relevant pods. |
| <code><a href="#cdk8s-plus-32.MetricTarget.value">value</a></code> | Target a specific target value. |

---

##### `averageUtilization` <a name="averageUtilization" id="cdk8s-plus-32.MetricTarget.averageUtilization"></a>

```java
import org.cdk8s.plus32.MetricTarget;

MetricTarget.averageUtilization(java.lang.Number averageUtilization)
```

Target a percentage value across all relevant pods.

###### `averageUtilization`<sup>Required</sup> <a name="averageUtilization" id="cdk8s-plus-32.MetricTarget.averageUtilization.parameter.averageUtilization"></a>

- *Type:* java.lang.Number

The percentage of the utilization metric.

e.g. `50` for 50%.

---

##### `averageValue` <a name="averageValue" id="cdk8s-plus-32.MetricTarget.averageValue"></a>

```java
import org.cdk8s.plus32.MetricTarget;

MetricTarget.averageValue(java.lang.Number averageValue)
```

Target the average value across all relevant pods.

###### `averageValue`<sup>Required</sup> <a name="averageValue" id="cdk8s-plus-32.MetricTarget.averageValue.parameter.averageValue"></a>

- *Type:* java.lang.Number

The average metric value.

---

##### `value` <a name="value" id="cdk8s-plus-32.MetricTarget.value"></a>

```java
import org.cdk8s.plus32.MetricTarget;

MetricTarget.value(java.lang.Number value)
```

Target a specific target value.

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.MetricTarget.value.parameter.value"></a>

- *Type:* java.lang.Number

The target value.

---



### NamedNode <a name="NamedNode" id="cdk8s-plus-32.NamedNode"></a>

A node that is matched by its name.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.NamedNode.Initializer"></a>

```java
import org.cdk8s.plus32.NamedNode;

new NamedNode(java.lang.String name);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NamedNode.Initializer.parameter.name">name</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.NamedNode.Initializer.parameter.name"></a>

- *Type:* java.lang.String

---



#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.NamedNode.property.name">name</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.NamedNode.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

---


### NetworkPolicyPort <a name="NetworkPolicyPort" id="cdk8s-plus-32.NetworkPolicyPort"></a>

Describes a port to allow traffic on.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.allTcp">allTcp</a></code> | Any TCP traffic. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.allUdp">allUdp</a></code> | Any UDP traffic. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.of">of</a></code> | Custom port configuration. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.tcp">tcp</a></code> | Distinct TCP ports. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.tcpRange">tcpRange</a></code> | A TCP port range. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.udp">udp</a></code> | Distinct UDP ports. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyPort.udpRange">udpRange</a></code> | A UDP port range. |

---

##### `allTcp` <a name="allTcp" id="cdk8s-plus-32.NetworkPolicyPort.allTcp"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.allTcp()
```

Any TCP traffic.

##### `allUdp` <a name="allUdp" id="cdk8s-plus-32.NetworkPolicyPort.allUdp"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.allUdp()
```

Any UDP traffic.

##### `of` <a name="of" id="cdk8s-plus-32.NetworkPolicyPort.of"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.of(NetworkPolicyPortProps props)
```

Custom port configuration.

###### `props`<sup>Required</sup> <a name="props" id="cdk8s-plus-32.NetworkPolicyPort.of.parameter.props"></a>

- *Type:* <a href="#cdk8s-plus-32.NetworkPolicyPortProps">NetworkPolicyPortProps</a>

---

##### `tcp` <a name="tcp" id="cdk8s-plus-32.NetworkPolicyPort.tcp"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.tcp(java.lang.Number port)
```

Distinct TCP ports.

###### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.NetworkPolicyPort.tcp.parameter.port"></a>

- *Type:* java.lang.Number

---

##### `tcpRange` <a name="tcpRange" id="cdk8s-plus-32.NetworkPolicyPort.tcpRange"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.tcpRange(java.lang.Number startPort, java.lang.Number endPort)
```

A TCP port range.

###### `startPort`<sup>Required</sup> <a name="startPort" id="cdk8s-plus-32.NetworkPolicyPort.tcpRange.parameter.startPort"></a>

- *Type:* java.lang.Number

---

###### `endPort`<sup>Required</sup> <a name="endPort" id="cdk8s-plus-32.NetworkPolicyPort.tcpRange.parameter.endPort"></a>

- *Type:* java.lang.Number

---

##### `udp` <a name="udp" id="cdk8s-plus-32.NetworkPolicyPort.udp"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.udp(java.lang.Number port)
```

Distinct UDP ports.

###### `port`<sup>Required</sup> <a name="port" id="cdk8s-plus-32.NetworkPolicyPort.udp.parameter.port"></a>

- *Type:* java.lang.Number

---

##### `udpRange` <a name="udpRange" id="cdk8s-plus-32.NetworkPolicyPort.udpRange"></a>

```java
import org.cdk8s.plus32.NetworkPolicyPort;

NetworkPolicyPort.udpRange(java.lang.Number startPort, java.lang.Number endPort)
```

A UDP port range.

###### `startPort`<sup>Required</sup> <a name="startPort" id="cdk8s-plus-32.NetworkPolicyPort.udpRange.parameter.startPort"></a>

- *Type:* java.lang.Number

---

###### `endPort`<sup>Required</sup> <a name="endPort" id="cdk8s-plus-32.NetworkPolicyPort.udpRange.parameter.endPort"></a>

- *Type:* java.lang.Number

---



### Node <a name="Node" id="cdk8s-plus-32.Node"></a>

Represents a node in the cluster.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.Node.Initializer"></a>

```java
import org.cdk8s.plus32.Node;

new Node();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |

---


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Node.labeled">labeled</a></code> | Match a node by its labels. |
| <code><a href="#cdk8s-plus-32.Node.named">named</a></code> | Match a node by its name. |
| <code><a href="#cdk8s-plus-32.Node.tainted">tainted</a></code> | Match a node by its taints. |

---

##### `labeled` <a name="labeled" id="cdk8s-plus-32.Node.labeled"></a>

```java
import org.cdk8s.plus32.Node;

Node.labeled(NodeLabelQuery... labelSelector)
```

Match a node by its labels.

###### `labelSelector`<sup>Required</sup> <a name="labelSelector" id="cdk8s-plus-32.Node.labeled.parameter.labelSelector"></a>

- *Type:* <a href="#cdk8s-plus-32.NodeLabelQuery">NodeLabelQuery</a>...

---

##### `named` <a name="named" id="cdk8s-plus-32.Node.named"></a>

```java
import org.cdk8s.plus32.Node;

Node.named(java.lang.String nodeName)
```

Match a node by its name.

###### `nodeName`<sup>Required</sup> <a name="nodeName" id="cdk8s-plus-32.Node.named.parameter.nodeName"></a>

- *Type:* java.lang.String

---

##### `tainted` <a name="tainted" id="cdk8s-plus-32.Node.tainted"></a>

```java
import org.cdk8s.plus32.Node;

Node.tainted(NodeTaintQuery... taintSelector)
```

Match a node by its taints.

###### `taintSelector`<sup>Required</sup> <a name="taintSelector" id="cdk8s-plus-32.Node.tainted.parameter.taintSelector"></a>

- *Type:* <a href="#cdk8s-plus-32.NodeTaintQuery">NodeTaintQuery</a>...

---



### NodeLabelQuery <a name="NodeLabelQuery" id="cdk8s-plus-32.NodeLabelQuery"></a>

Represents a query that can be performed against nodes with labels.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.doesNotExist">doesNotExist</a></code> | Requires label `key` to not exist. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.exists">exists</a></code> | Requires label `key` to exist. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.gt">gt</a></code> | Requires value of label `key` to greater than all elements in `values`. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.in">in</a></code> | Requires value of label `key` to be one of `values`. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.is">is</a></code> | Requires value of label `key` to equal `value`. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.lt">lt</a></code> | Requires value of label `key` to less than all elements in `values`. |
| <code><a href="#cdk8s-plus-32.NodeLabelQuery.notIn">notIn</a></code> | Requires value of label `key` to be none of `values`. |

---

##### `doesNotExist` <a name="doesNotExist" id="cdk8s-plus-32.NodeLabelQuery.doesNotExist"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.doesNotExist(java.lang.String key)
```

Requires label `key` to not exist.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.doesNotExist.parameter.key"></a>

- *Type:* java.lang.String

---

##### `exists` <a name="exists" id="cdk8s-plus-32.NodeLabelQuery.exists"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.exists(java.lang.String key)
```

Requires label `key` to exist.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.exists.parameter.key"></a>

- *Type:* java.lang.String

---

##### `gt` <a name="gt" id="cdk8s-plus-32.NodeLabelQuery.gt"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.gt(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to greater than all elements in `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.gt.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.NodeLabelQuery.gt.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `in` <a name="in" id="cdk8s-plus-32.NodeLabelQuery.in"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.in(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to be one of `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.in.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.NodeLabelQuery.in.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `is` <a name="is" id="cdk8s-plus-32.NodeLabelQuery.is"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.is(java.lang.String key, java.lang.String value)
```

Requires value of label `key` to equal `value`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.is.parameter.key"></a>

- *Type:* java.lang.String

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.NodeLabelQuery.is.parameter.value"></a>

- *Type:* java.lang.String

---

##### `lt` <a name="lt" id="cdk8s-plus-32.NodeLabelQuery.lt"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.lt(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to less than all elements in `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.lt.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.NodeLabelQuery.lt.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---

##### `notIn` <a name="notIn" id="cdk8s-plus-32.NodeLabelQuery.notIn"></a>

```java
import org.cdk8s.plus32.NodeLabelQuery;

NodeLabelQuery.notIn(java.lang.String key, java.util.List<java.lang.String> values)
```

Requires value of label `key` to be none of `values`.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeLabelQuery.notIn.parameter.key"></a>

- *Type:* java.lang.String

---

###### `values`<sup>Required</sup> <a name="values" id="cdk8s-plus-32.NodeLabelQuery.notIn.parameter.values"></a>

- *Type:* java.util.List<java.lang.String>

---



### NodeTaintQuery <a name="NodeTaintQuery" id="cdk8s-plus-32.NodeTaintQuery"></a>

Taint queries that can be perfomed against nodes.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NodeTaintQuery.any">any</a></code> | Matches any taint. |
| <code><a href="#cdk8s-plus-32.NodeTaintQuery.exists">exists</a></code> | Matches a tain with any value of a specific key. |
| <code><a href="#cdk8s-plus-32.NodeTaintQuery.is">is</a></code> | Matches a taint with a specific key and value. |

---

##### `any` <a name="any" id="cdk8s-plus-32.NodeTaintQuery.any"></a>

```java
import org.cdk8s.plus32.NodeTaintQuery;

NodeTaintQuery.any()
```

Matches any taint.

##### `exists` <a name="exists" id="cdk8s-plus-32.NodeTaintQuery.exists"></a>

```java
import org.cdk8s.plus32.NodeTaintQuery;

NodeTaintQuery.exists(java.lang.String key),NodeTaintQuery.exists(java.lang.String key, NodeTaintQueryOptions options)
```

Matches a tain with any value of a specific key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeTaintQuery.exists.parameter.key"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.NodeTaintQuery.exists.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.NodeTaintQueryOptions">NodeTaintQueryOptions</a>

---

##### `is` <a name="is" id="cdk8s-plus-32.NodeTaintQuery.is"></a>

```java
import org.cdk8s.plus32.NodeTaintQuery;

NodeTaintQuery.is(java.lang.String key, java.lang.String value),NodeTaintQuery.is(java.lang.String key, java.lang.String value, NodeTaintQueryOptions options)
```

Matches a taint with a specific key and value.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.NodeTaintQuery.is.parameter.key"></a>

- *Type:* java.lang.String

---

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.NodeTaintQuery.is.parameter.value"></a>

- *Type:* java.lang.String

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.NodeTaintQuery.is.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.NodeTaintQueryOptions">NodeTaintQueryOptions</a>

---



### NonApiResource <a name="NonApiResource" id="cdk8s-plus-32.NonApiResource"></a>

- *Implements:* <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>

Factory for creating non api resources.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NonApiResource.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.NonApiResource.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.NonApiResource.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.NonApiResource.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NonApiResource.of">of</a></code> | *No description.* |

---

##### `of` <a name="of" id="cdk8s-plus-32.NonApiResource.of"></a>

```java
import org.cdk8s.plus32.NonApiResource;

NonApiResource.of(java.lang.String url)
```

###### `url`<sup>Required</sup> <a name="url" id="cdk8s-plus-32.NonApiResource.of.parameter.url"></a>

- *Type:* java.lang.String

---



### PercentOrAbsolute <a name="PercentOrAbsolute" id="cdk8s-plus-32.PercentOrAbsolute"></a>

Union like class repsenting either a ration in percents or an absolute number.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PercentOrAbsolute.isZero">isZero</a></code> | *No description.* |

---

##### `isZero` <a name="isZero" id="cdk8s-plus-32.PercentOrAbsolute.isZero"></a>

```java
public java.lang.Boolean isZero()
```

#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PercentOrAbsolute.absolute">absolute</a></code> | Absolute number. |
| <code><a href="#cdk8s-plus-32.PercentOrAbsolute.percent">percent</a></code> | Percent ratio. |

---

##### `absolute` <a name="absolute" id="cdk8s-plus-32.PercentOrAbsolute.absolute"></a>

```java
import org.cdk8s.plus32.PercentOrAbsolute;

PercentOrAbsolute.absolute(java.lang.Number num)
```

Absolute number.

###### `num`<sup>Required</sup> <a name="num" id="cdk8s-plus-32.PercentOrAbsolute.absolute.parameter.num"></a>

- *Type:* java.lang.Number

---

##### `percent` <a name="percent" id="cdk8s-plus-32.PercentOrAbsolute.percent"></a>

```java
import org.cdk8s.plus32.PercentOrAbsolute;

PercentOrAbsolute.percent(java.lang.Number percent)
```

Percent ratio.

###### `percent`<sup>Required</sup> <a name="percent" id="cdk8s-plus-32.PercentOrAbsolute.percent.parameter.percent"></a>

- *Type:* java.lang.Number

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PercentOrAbsolute.property.value">value</a></code> | <code>java.lang.Object</code> | *No description.* |

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.PercentOrAbsolute.property.value"></a>

```java
public java.lang.Object getValue();
```

- *Type:* java.lang.Object

---


### PodConnections <a name="PodConnections" id="cdk8s-plus-32.PodConnections"></a>

Controls network isolation rules for inter-pod communication.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PodConnections.Initializer"></a>

```java
import org.cdk8s.plus32.PodConnections;

new PodConnections(AbstractPod instance);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodConnections.Initializer.parameter.instance">instance</a></code> | <code><a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a></code> | *No description.* |

---

##### `instance`<sup>Required</sup> <a name="instance" id="cdk8s-plus-32.PodConnections.Initializer.parameter.instance"></a>

- *Type:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PodConnections.allowFrom">allowFrom</a></code> | Allow network traffic from the peer to this pod. |
| <code><a href="#cdk8s-plus-32.PodConnections.allowTo">allowTo</a></code> | Allow network traffic from this pod to the peer. |
| <code><a href="#cdk8s-plus-32.PodConnections.isolate">isolate</a></code> | Sets the default network policy for Pod/Workload to have all egress and ingress connections as disabled. |

---

##### `allowFrom` <a name="allowFrom" id="cdk8s-plus-32.PodConnections.allowFrom"></a>

```java
public void allowFrom(INetworkPolicyPeer peer)
public void allowFrom(INetworkPolicyPeer peer, PodConnectionsAllowFromOptions options)
```

Allow network traffic from the peer to this pod.

By default, this will create an ingress network policy for this pod, and an egress
network policy for the peer. This is required if both sides are already isolated.
Use `options.isolation` to control this behavior.

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
// create only an egress policy that selects the 'web' pod to allow outgoing traffic
// to the 'redis' pod. this requires the 'redis' pod to not be isolated for ingress.
redis.connections.allowFrom(web, Map.of("isolation", Isolation.getPEER()));

// create only an ingress policy that selects the 'redis' peer to allow incoming traffic
// from the 'web' pod. this requires the 'web' pod to not be isolated for egress.
redis.connections.allowFrom(web, Map.of("isolation", Isolation.getPOD()));
```


###### `peer`<sup>Required</sup> <a name="peer" id="cdk8s-plus-32.PodConnections.allowFrom.parameter.peer"></a>

- *Type:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodConnections.allowFrom.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodConnectionsAllowFromOptions">PodConnectionsAllowFromOptions</a>

---

##### `allowTo` <a name="allowTo" id="cdk8s-plus-32.PodConnections.allowTo"></a>

```java
public void allowTo(INetworkPolicyPeer peer)
public void allowTo(INetworkPolicyPeer peer, PodConnectionsAllowToOptions options)
```

Allow network traffic from this pod to the peer.

By default, this will create an egress network policy for this pod, and an ingress
network policy for the peer. This is required if both sides are already isolated.
Use `options.isolation` to control this behavior.

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
// create only an egress policy that selects the 'web' pod to allow outgoing traffic
// to the 'redis' pod. this requires the 'redis' pod to not be isolated for ingress.
web.connections.allowTo(redis, Map.of("isolation", Isolation.getPOD()));

// create only an ingress policy that selects the 'redis' peer to allow incoming traffic
// from the 'web' pod. this requires the 'web' pod to not be isolated for egress.
web.connections.allowTo(redis, Map.of("isolation", Isolation.getPEER()));
```


###### `peer`<sup>Required</sup> <a name="peer" id="cdk8s-plus-32.PodConnections.allowTo.parameter.peer"></a>

- *Type:* <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodConnections.allowTo.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodConnectionsAllowToOptions">PodConnectionsAllowToOptions</a>

---

##### `isolate` <a name="isolate" id="cdk8s-plus-32.PodConnections.isolate"></a>

```java
public void isolate()
```

Sets the default network policy for Pod/Workload to have all egress and ingress connections as disabled.




### PodDns <a name="PodDns" id="cdk8s-plus-32.PodDns"></a>

Holds dns settings of the pod.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PodDns.Initializer"></a>

```java
import org.cdk8s.plus32.PodDns;

PodDns.Builder.create()
//  .hostname(java.lang.String)
//  .hostnameAsFQDN(java.lang.Boolean)
//  .nameservers(java.util.List<java.lang.String>)
//  .options(java.util.List<DnsOption>)
//  .policy(DnsPolicy)
//  .searches(java.util.List<java.lang.String>)
//  .subdomain(java.lang.String)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.hostname">hostname</a></code> | <code>java.lang.String</code> | Specifies the hostname of the Pod. |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.hostnameAsFQDN">hostnameAsFQDN</a></code> | <code>java.lang.Boolean</code> | If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.nameservers">nameservers</a></code> | <code>java.util.List<java.lang.String></code> | A list of IP addresses that will be used as DNS servers for the Pod. |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.options">options</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>></code> | List of objects where each object may have a name property (required) and a value property (optional). |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.policy">policy</a></code> | <code><a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a></code> | Set DNS policy for the pod. |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.searches">searches</a></code> | <code>java.util.List<java.lang.String></code> | A list of DNS search domains for hostname lookup in the Pod. |
| <code><a href="#cdk8s-plus-32.PodDns.Initializer.parameter.subdomain">subdomain</a></code> | <code>java.lang.String</code> | If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". |

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.PodDns.Initializer.parameter.hostname"></a>

- *Type:* java.lang.String
- *Default:* Set to a system-defined value.

Specifies the hostname of the Pod.

---

##### `hostnameAsFQDN`<sup>Optional</sup> <a name="hostnameAsFQDN" id="cdk8s-plus-32.PodDns.Initializer.parameter.hostnameAsFQDN"></a>

- *Type:* java.lang.Boolean
- *Default:* false

If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).

In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).
In Windows containers, this means setting the registry value of hostname for the registry
key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters to FQDN.
If a pod does not have FQDN, this has no effect.

---

##### `nameservers`<sup>Optional</sup> <a name="nameservers" id="cdk8s-plus-32.PodDns.Initializer.parameter.nameservers"></a>

- *Type:* java.util.List<java.lang.String>

A list of IP addresses that will be used as DNS servers for the Pod.

There can be at most 3 IP addresses specified.
When the policy is set to "NONE", the list must contain at least one IP address,
otherwise this property is optional.
The servers listed will be combined to the base nameservers generated from
the specified DNS policy with duplicate addresses removed.

---

##### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodDns.Initializer.parameter.options"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>>

List of objects where each object may have a name property (required) and a value property (optional).

The contents in this property
will be merged to the options generated from the specified DNS policy.
Duplicate entries are removed.

---

##### `policy`<sup>Optional</sup> <a name="policy" id="cdk8s-plus-32.PodDns.Initializer.parameter.policy"></a>

- *Type:* <a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a>
- *Default:* DnsPolicy.CLUSTER_FIRST

Set DNS policy for the pod.

If policy is set to `None`, other configuration must be supplied.

---

##### `searches`<sup>Optional</sup> <a name="searches" id="cdk8s-plus-32.PodDns.Initializer.parameter.searches"></a>

- *Type:* java.util.List<java.lang.String>

A list of DNS search domains for hostname lookup in the Pod.

When specified, the provided list will be merged into the base
search domain names generated from the chosen DNS policy.
Duplicate domain names are removed.

Kubernetes allows for at most 6 search domains.

---

##### `subdomain`<sup>Optional</sup> <a name="subdomain" id="cdk8s-plus-32.PodDns.Initializer.parameter.subdomain"></a>

- *Type:* java.lang.String
- *Default:* No subdomain.

If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PodDns.addNameserver">addNameserver</a></code> | Add a nameserver. |
| <code><a href="#cdk8s-plus-32.PodDns.addOption">addOption</a></code> | Add a custom option. |
| <code><a href="#cdk8s-plus-32.PodDns.addSearch">addSearch</a></code> | Add a search domain. |

---

##### `addNameserver` <a name="addNameserver" id="cdk8s-plus-32.PodDns.addNameserver"></a>

```java
public void addNameserver(java.lang.String... nameservers)
```

Add a nameserver.

###### `nameservers`<sup>Required</sup> <a name="nameservers" id="cdk8s-plus-32.PodDns.addNameserver.parameter.nameservers"></a>

- *Type:* java.lang.String...

---

##### `addOption` <a name="addOption" id="cdk8s-plus-32.PodDns.addOption"></a>

```java
public void addOption(DnsOption... options)
```

Add a custom option.

###### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.PodDns.addOption.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.DnsOption">DnsOption</a>...

---

##### `addSearch` <a name="addSearch" id="cdk8s-plus-32.PodDns.addSearch"></a>

```java
public void addSearch(java.lang.String... searches)
```

Add a search domain.

###### `searches`<sup>Required</sup> <a name="searches" id="cdk8s-plus-32.PodDns.addSearch.parameter.searches"></a>

- *Type:* java.lang.String...

---


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodDns.property.hostnameAsFQDN">hostnameAsFQDN</a></code> | <code>java.lang.Boolean</code> | Whether or not the pods hostname is set to its FQDN. |
| <code><a href="#cdk8s-plus-32.PodDns.property.nameservers">nameservers</a></code> | <code>java.util.List<java.lang.String></code> | Nameservers defined for this pod. |
| <code><a href="#cdk8s-plus-32.PodDns.property.options">options</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>></code> | Custom dns options defined for this pod. |
| <code><a href="#cdk8s-plus-32.PodDns.property.policy">policy</a></code> | <code><a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a></code> | The DNS policy of this pod. |
| <code><a href="#cdk8s-plus-32.PodDns.property.searches">searches</a></code> | <code>java.util.List<java.lang.String></code> | Search domains defined for this pod. |
| <code><a href="#cdk8s-plus-32.PodDns.property.hostname">hostname</a></code> | <code>java.lang.String</code> | The configured hostname of the pod. |
| <code><a href="#cdk8s-plus-32.PodDns.property.subdomain">subdomain</a></code> | <code>java.lang.String</code> | The configured subdomain of the pod. |

---

##### `hostnameAsFQDN`<sup>Required</sup> <a name="hostnameAsFQDN" id="cdk8s-plus-32.PodDns.property.hostnameAsFQDN"></a>

```java
public java.lang.Boolean getHostnameAsFQDN();
```

- *Type:* java.lang.Boolean

Whether or not the pods hostname is set to its FQDN.

---

##### `nameservers`<sup>Required</sup> <a name="nameservers" id="cdk8s-plus-32.PodDns.property.nameservers"></a>

```java
public java.util.List<java.lang.String> getNameservers();
```

- *Type:* java.util.List<java.lang.String>

Nameservers defined for this pod.

---

##### `options`<sup>Required</sup> <a name="options" id="cdk8s-plus-32.PodDns.property.options"></a>

```java
public java.util.List<DnsOption> getOptions();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.DnsOption">DnsOption</a>>

Custom dns options defined for this pod.

---

##### `policy`<sup>Required</sup> <a name="policy" id="cdk8s-plus-32.PodDns.property.policy"></a>

```java
public DnsPolicy getPolicy();
```

- *Type:* <a href="#cdk8s-plus-32.DnsPolicy">DnsPolicy</a>

The DNS policy of this pod.

---

##### `searches`<sup>Required</sup> <a name="searches" id="cdk8s-plus-32.PodDns.property.searches"></a>

```java
public java.util.List<java.lang.String> getSearches();
```

- *Type:* java.util.List<java.lang.String>

Search domains defined for this pod.

---

##### `hostname`<sup>Optional</sup> <a name="hostname" id="cdk8s-plus-32.PodDns.property.hostname"></a>

```java
public java.lang.String getHostname();
```

- *Type:* java.lang.String

The configured hostname of the pod.

Undefined means its set to a system-defined value.

---

##### `subdomain`<sup>Optional</sup> <a name="subdomain" id="cdk8s-plus-32.PodDns.property.subdomain"></a>

```java
public java.lang.String getSubdomain();
```

- *Type:* java.lang.String

The configured subdomain of the pod.

---


### PodScheduling <a name="PodScheduling" id="cdk8s-plus-32.PodScheduling"></a>

Controls the pod scheduling strategy.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PodScheduling.Initializer"></a>

```java
import org.cdk8s.plus32.PodScheduling;

new PodScheduling(AbstractPod instance);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodScheduling.Initializer.parameter.instance">instance</a></code> | <code><a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a></code> | *No description.* |

---

##### `instance`<sup>Required</sup> <a name="instance" id="cdk8s-plus-32.PodScheduling.Initializer.parameter.instance"></a>

- *Type:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PodScheduling.assign">assign</a></code> | Assign this pod a specific node by name. |
| <code><a href="#cdk8s-plus-32.PodScheduling.attract">attract</a></code> | Attract this pod to a node matched by selectors. You can select a node by using `Node.labeled()`. |
| <code><a href="#cdk8s-plus-32.PodScheduling.colocate">colocate</a></code> | Co-locate this pod with a scheduling selection. |
| <code><a href="#cdk8s-plus-32.PodScheduling.separate">separate</a></code> | Seperate this pod from a scheduling selection. |
| <code><a href="#cdk8s-plus-32.PodScheduling.tolerate">tolerate</a></code> | Allow this pod to tolerate taints matching these tolerations. |

---

##### `assign` <a name="assign" id="cdk8s-plus-32.PodScheduling.assign"></a>

```java
public void assign(NamedNode node)
```

Assign this pod a specific node by name.

The scheduler ignores the Pod, and the kubelet on the named node
tries to place the Pod on that node. Overrules any affinity rules of the pod.

Some limitations of static assignment are:

* If the named node does not exist, the Pod will not run, and in some
  cases may be automatically deleted.
* If the named node does not have the resources to accommodate the Pod,
  the Pod will fail and its reason will indicate why, for example OutOfmemory or OutOfcpu.
* Node names in cloud environments are not always predictable or stable.

Will throw is the pod is already assigned to named node.

Under the hood, this method utilizes the `nodeName` property.

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.PodScheduling.assign.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.NamedNode">NamedNode</a>

---

##### `attract` <a name="attract" id="cdk8s-plus-32.PodScheduling.attract"></a>

```java
public void attract(LabeledNode node)
public void attract(LabeledNode node, PodSchedulingAttractOptions options)
```

Attract this pod to a node matched by selectors. You can select a node by using `Node.labeled()`.

Attracting to multiple nodes (i.e invoking this method multiple times) acts as
an OR condition, meaning the pod will be assigned to either one of the nodes.

Under the hood, this method utilizes the `nodeAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity)

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.PodScheduling.attract.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.LabeledNode">LabeledNode</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodScheduling.attract.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingAttractOptions">PodSchedulingAttractOptions</a>

---

##### `colocate` <a name="colocate" id="cdk8s-plus-32.PodScheduling.colocate"></a>

```java
public void colocate(IPodSelector selector)
public void colocate(IPodSelector selector, PodSchedulingColocateOptions options)
```

Co-locate this pod with a scheduling selection.

A selection can be one of:

* An instance of a `Pod`.
* An instance of a `Workload` (e.g `Deployment`, `StatefulSet`).
* An un-managed pod that can be selected via `Pods.select()`.

Co-locating with multiple selections ((i.e invoking this method multiple times)) acts as
an AND condition. meaning the pod will be assigned to a node that satisfies all
selections (i.e runs at least one pod that satisifies each selection).

Under the hood, this method utilizes the `podAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity)

###### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.PodScheduling.colocate.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodScheduling.colocate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingColocateOptions">PodSchedulingColocateOptions</a>

---

##### `separate` <a name="separate" id="cdk8s-plus-32.PodScheduling.separate"></a>

```java
public void separate(IPodSelector selector)
public void separate(IPodSelector selector, PodSchedulingSeparateOptions options)
```

Seperate this pod from a scheduling selection.

A selection can be one of:

* An instance of a `Pod`.
* An instance of a `Workload` (e.g `Deployment`, `StatefulSet`).
* An un-managed pod that can be selected via `Pods.select()`.

Seperating from multiple selections acts as an AND condition. meaning the pod
will not be assigned to a node that satisfies all selections (i.e runs at least one pod that satisifies each selection).

Under the hood, this method utilizes the `podAntiAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity)

###### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.PodScheduling.separate.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.PodScheduling.separate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingSeparateOptions">PodSchedulingSeparateOptions</a>

---

##### `tolerate` <a name="tolerate" id="cdk8s-plus-32.PodScheduling.tolerate"></a>

```java
public void tolerate(TaintedNode node)
```

Allow this pod to tolerate taints matching these tolerations.

You can put multiple taints on the same node and multiple tolerations on the same pod.
The way Kubernetes processes multiple taints and tolerations is like a filter: start with
all of a node's taints, then ignore the ones for which the pod has a matching toleration;
the remaining un-ignored taints have the indicated effects on the pod. In particular:

* if there is at least one un-ignored taint with effect NoSchedule then Kubernetes will
  not schedule the pod onto that node
* if there is no un-ignored taint with effect NoSchedule but there is at least one un-ignored
  taint with effect PreferNoSchedule then Kubernetes will try to not schedule the pod onto the node
* if there is at least one un-ignored taint with effect NoExecute then the pod will be evicted from
  the node (if it is already running on the node), and will not be scheduled onto the node (if it is
  not yet running on the node).

Under the hood, this method utilizes the `tolerations` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.PodScheduling.tolerate.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.TaintedNode">TaintedNode</a>

---




### PodSecurityContext <a name="PodSecurityContext" id="cdk8s-plus-32.PodSecurityContext"></a>

Holds pod-level security attributes and common container settings.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.PodSecurityContext.Initializer"></a>

```java
import org.cdk8s.plus32.PodSecurityContext;

PodSecurityContext.Builder.create()
//  .ensureNonRoot(java.lang.Boolean)
//  .fsGroup(java.lang.Number)
//  .fsGroupChangePolicy(FsGroupChangePolicy)
//  .group(java.lang.Number)
//  .sysctls(java.util.List<Sysctl>)
//  .user(java.lang.Number)
    .build();
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | Indicates that the container must run as a non-root user. |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.fsGroup">fsGroup</a></code> | <code>java.lang.Number</code> | Modify the ownership and permissions of pod volumes to this GID. |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.fsGroupChangePolicy">fsGroupChangePolicy</a></code> | <code><a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a></code> | Defines behavior of changing ownership and permission of the volume before being exposed inside Pod. |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.group">group</a></code> | <code>java.lang.Number</code> | The GID to run the entrypoint of the container process. |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.sysctls">sysctls</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>></code> | Sysctls hold a list of namespaced sysctls used for the pod. |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.Initializer.parameter.user">user</a></code> | <code>java.lang.Number</code> | The UID to run the entrypoint of the container process. |

---

##### `ensureNonRoot`<sup>Optional</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.ensureNonRoot"></a>

- *Type:* java.lang.Boolean
- *Default:* true

Indicates that the container must run as a non-root user.

If true, the Kubelet will validate the image at runtime to ensure that it does
not run as UID 0 (root) and fail to start the container if it does.

---

##### `fsGroup`<sup>Optional</sup> <a name="fsGroup" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.fsGroup"></a>

- *Type:* java.lang.Number
- *Default:* Volume ownership is not changed.

Modify the ownership and permissions of pod volumes to this GID.

---

##### `fsGroupChangePolicy`<sup>Optional</sup> <a name="fsGroupChangePolicy" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.fsGroupChangePolicy"></a>

- *Type:* <a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a>
- *Default:* FsGroupChangePolicy.ALWAYS

Defines behavior of changing ownership and permission of the volume before being exposed inside Pod.

This field will only apply to volume types which support fsGroup based ownership(and permissions).
It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir.

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.group"></a>

- *Type:* java.lang.Number
- *Default:* Group configured by container runtime

The GID to run the entrypoint of the container process.

---

##### `sysctls`<sup>Optional</sup> <a name="sysctls" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.sysctls"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>>
- *Default:* No sysctls

Sysctls hold a list of namespaced sysctls used for the pod.

Pods with unsupported sysctls (by the container runtime) might fail to launch.

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.PodSecurityContext.Initializer.parameter.user"></a>

- *Type:* java.lang.Number
- *Default:* User specified in image metadata

The UID to run the entrypoint of the container process.

---



#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.ensureNonRoot">ensureNonRoot</a></code> | <code>java.lang.Boolean</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.fsGroupChangePolicy">fsGroupChangePolicy</a></code> | <code><a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.sysctls">sysctls</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.fsGroup">fsGroup</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.group">group</a></code> | <code>java.lang.Number</code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodSecurityContext.property.user">user</a></code> | <code>java.lang.Number</code> | *No description.* |

---

##### `ensureNonRoot`<sup>Required</sup> <a name="ensureNonRoot" id="cdk8s-plus-32.PodSecurityContext.property.ensureNonRoot"></a>

```java
public java.lang.Boolean getEnsureNonRoot();
```

- *Type:* java.lang.Boolean

---

##### `fsGroupChangePolicy`<sup>Required</sup> <a name="fsGroupChangePolicy" id="cdk8s-plus-32.PodSecurityContext.property.fsGroupChangePolicy"></a>

```java
public FsGroupChangePolicy getFsGroupChangePolicy();
```

- *Type:* <a href="#cdk8s-plus-32.FsGroupChangePolicy">FsGroupChangePolicy</a>

---

##### `sysctls`<sup>Required</sup> <a name="sysctls" id="cdk8s-plus-32.PodSecurityContext.property.sysctls"></a>

```java
public java.util.List<Sysctl> getSysctls();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.Sysctl">Sysctl</a>>

---

##### `fsGroup`<sup>Optional</sup> <a name="fsGroup" id="cdk8s-plus-32.PodSecurityContext.property.fsGroup"></a>

```java
public java.lang.Number getFsGroup();
```

- *Type:* java.lang.Number

---

##### `group`<sup>Optional</sup> <a name="group" id="cdk8s-plus-32.PodSecurityContext.property.group"></a>

```java
public java.lang.Number getGroup();
```

- *Type:* java.lang.Number

---

##### `user`<sup>Optional</sup> <a name="user" id="cdk8s-plus-32.PodSecurityContext.property.user"></a>

```java
public java.lang.Number getUser();
```

- *Type:* java.lang.Number

---


### Probe <a name="Probe" id="cdk8s-plus-32.Probe"></a>

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Probe.fromCommand">fromCommand</a></code> | Defines a probe based on a command which is executed within the container. |
| <code><a href="#cdk8s-plus-32.Probe.fromGrpc">fromGrpc</a></code> | Defines a probe based on a gRPC request to the container. |
| <code><a href="#cdk8s-plus-32.Probe.fromHttpGet">fromHttpGet</a></code> | Defines a probe based on an HTTP GET request to the IP address of the container. |
| <code><a href="#cdk8s-plus-32.Probe.fromTcpSocket">fromTcpSocket</a></code> | Defines a probe based opening a connection to a TCP socket on the container. |

---

##### `fromCommand` <a name="fromCommand" id="cdk8s-plus-32.Probe.fromCommand"></a>

```java
import org.cdk8s.plus32.Probe;

Probe.fromCommand(java.util.List<java.lang.String> command),Probe.fromCommand(java.util.List<java.lang.String> command, CommandProbeOptions options)
```

Defines a probe based on a command which is executed within the container.

###### `command`<sup>Required</sup> <a name="command" id="cdk8s-plus-32.Probe.fromCommand.parameter.command"></a>

- *Type:* java.util.List<java.lang.String>

The command to execute.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Probe.fromCommand.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.CommandProbeOptions">CommandProbeOptions</a>

Options.

---

##### `fromGrpc` <a name="fromGrpc" id="cdk8s-plus-32.Probe.fromGrpc"></a>

```java
import org.cdk8s.plus32.Probe;

Probe.fromGrpc(),Probe.fromGrpc(GrpcProbeOptions options)
```

Defines a probe based on a gRPC request to the container.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Probe.fromGrpc.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.GrpcProbeOptions">GrpcProbeOptions</a>

Options.

---

##### `fromHttpGet` <a name="fromHttpGet" id="cdk8s-plus-32.Probe.fromHttpGet"></a>

```java
import org.cdk8s.plus32.Probe;

Probe.fromHttpGet(java.lang.String path),Probe.fromHttpGet(java.lang.String path, HttpGetProbeOptions options)
```

Defines a probe based on an HTTP GET request to the IP address of the container.

###### `path`<sup>Required</sup> <a name="path" id="cdk8s-plus-32.Probe.fromHttpGet.parameter.path"></a>

- *Type:* java.lang.String

The URL path to hit.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Probe.fromHttpGet.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.HttpGetProbeOptions">HttpGetProbeOptions</a>

Options.

---

##### `fromTcpSocket` <a name="fromTcpSocket" id="cdk8s-plus-32.Probe.fromTcpSocket"></a>

```java
import org.cdk8s.plus32.Probe;

Probe.fromTcpSocket(),Probe.fromTcpSocket(TcpSocketProbeOptions options)
```

Defines a probe based opening a connection to a TCP socket on the container.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.Probe.fromTcpSocket.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.TcpSocketProbeOptions">TcpSocketProbeOptions</a>

Options.

---



### Quantity <a name="Quantity" id="cdk8s-plus-32.k8s.Quantity"></a>


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Quantity.fromNumber">fromNumber</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.k8s.Quantity.fromString">fromString</a></code> | *No description.* |

---

##### `fromNumber` <a name="fromNumber" id="cdk8s-plus-32.k8s.Quantity.fromNumber"></a>

```java
import org.cdk8s.plus32.k8s.Quantity;

Quantity.fromNumber(java.lang.Number value)
```

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.Quantity.fromNumber.parameter.value"></a>

- *Type:* java.lang.Number

---

##### `fromString` <a name="fromString" id="cdk8s-plus-32.k8s.Quantity.fromString"></a>

```java
import org.cdk8s.plus32.k8s.Quantity;

Quantity.fromString(java.lang.String value)
```

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.Quantity.fromString.parameter.value"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.Quantity.property.value">value</a></code> | <code>java.lang.String\|java.lang.Number</code> | *No description.* |

---

##### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.k8s.Quantity.property.value"></a>

```java
public java.lang.String|java.lang.Number getValue();
```

- *Type:* java.lang.String|java.lang.Number

---


### Replicas <a name="Replicas" id="cdk8s-plus-32.Replicas"></a>

The amount of replicas that will change.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Replicas.absolute">absolute</a></code> | Changes the pods by a percentage of the it's current value. |
| <code><a href="#cdk8s-plus-32.Replicas.percent">percent</a></code> | Changes the pods by a percentage of the it's current value. |

---

##### `absolute` <a name="absolute" id="cdk8s-plus-32.Replicas.absolute"></a>

```java
import org.cdk8s.plus32.Replicas;

Replicas.absolute(java.lang.Number value)
```

Changes the pods by a percentage of the it's current value.

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Replicas.absolute.parameter.value"></a>

- *Type:* java.lang.Number

The amount of change to apply.

Must be greater than 0.

---

##### `percent` <a name="percent" id="cdk8s-plus-32.Replicas.percent"></a>

```java
import org.cdk8s.plus32.Replicas;

Replicas.percent(java.lang.Number value)
```

Changes the pods by a percentage of the it's current value.

###### `value`<sup>Required</sup> <a name="value" id="cdk8s-plus-32.Replicas.percent.parameter.value"></a>

- *Type:* java.lang.Number

The percentage of change to apply.

Must be greater than 0.

---



### ResourcePermissions <a name="ResourcePermissions" id="cdk8s-plus-32.ResourcePermissions"></a>

Controls permissions for operations on resources.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.ResourcePermissions.Initializer"></a>

```java
import org.cdk8s.plus32.ResourcePermissions;

new ResourcePermissions(Resource instance);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ResourcePermissions.Initializer.parameter.instance">instance</a></code> | <code><a href="#cdk8s-plus-32.Resource">Resource</a></code> | *No description.* |

---

##### `instance`<sup>Required</sup> <a name="instance" id="cdk8s-plus-32.ResourcePermissions.Initializer.parameter.instance"></a>

- *Type:* <a href="#cdk8s-plus-32.Resource">Resource</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ResourcePermissions.grantRead">grantRead</a></code> | Grants the list of subjects permissions to read this resource. |
| <code><a href="#cdk8s-plus-32.ResourcePermissions.grantReadWrite">grantReadWrite</a></code> | Grants the list of subjects permissions to read and write this resource. |

---

##### `grantRead` <a name="grantRead" id="cdk8s-plus-32.ResourcePermissions.grantRead"></a>

```java
public RoleBinding grantRead(ISubject... subjects)
```

Grants the list of subjects permissions to read this resource.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ResourcePermissions.grantRead.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

---

##### `grantReadWrite` <a name="grantReadWrite" id="cdk8s-plus-32.ResourcePermissions.grantReadWrite"></a>

```java
public RoleBinding grantReadWrite(ISubject... subjects)
```

Grants the list of subjects permissions to read and write this resource.

###### `subjects`<sup>Required</sup> <a name="subjects" id="cdk8s-plus-32.ResourcePermissions.grantReadWrite.parameter.subjects"></a>

- *Type:* <a href="#cdk8s-plus-32.ISubject">ISubject</a>...

---




### StatefulSetUpdateStrategy <a name="StatefulSetUpdateStrategy" id="cdk8s-plus-32.StatefulSetUpdateStrategy"></a>

StatefulSet update strategies.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategy.onDelete">onDelete</a></code> | The controller will not automatically update the Pods in a StatefulSet. |
| <code><a href="#cdk8s-plus-32.StatefulSetUpdateStrategy.rollingUpdate">rollingUpdate</a></code> | The controller will delete and recreate each Pod in the StatefulSet. |

---

##### `onDelete` <a name="onDelete" id="cdk8s-plus-32.StatefulSetUpdateStrategy.onDelete"></a>

```java
import org.cdk8s.plus32.StatefulSetUpdateStrategy;

StatefulSetUpdateStrategy.onDelete()
```

The controller will not automatically update the Pods in a StatefulSet.

Users must manually delete Pods to cause the controller to create new Pods
that reflect modifications.

##### `rollingUpdate` <a name="rollingUpdate" id="cdk8s-plus-32.StatefulSetUpdateStrategy.rollingUpdate"></a>

```java
import org.cdk8s.plus32.StatefulSetUpdateStrategy;

StatefulSetUpdateStrategy.rollingUpdate(),StatefulSetUpdateStrategy.rollingUpdate(StatefulSetUpdateStrategyRollingUpdateOptions options)
```

The controller will delete and recreate each Pod in the StatefulSet.

It will proceed in the same order as Pod termination (from the largest ordinal to the smallest),
updating each Pod one at a time. The Kubernetes control plane waits until an updated
Pod is Running and Ready prior to updating its predecessor.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.StatefulSetUpdateStrategy.rollingUpdate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.StatefulSetUpdateStrategyRollingUpdateOptions">StatefulSetUpdateStrategyRollingUpdateOptions</a>

---



### TaintedNode <a name="TaintedNode" id="cdk8s-plus-32.TaintedNode"></a>

A node that is matched by taint selectors.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.TaintedNode.Initializer"></a>

```java
import org.cdk8s.plus32.TaintedNode;

new TaintedNode(java.util.List<NodeTaintQuery> taintSelector);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TaintedNode.Initializer.parameter.taintSelector">taintSelector</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NodeTaintQuery">NodeTaintQuery</a>></code> | *No description.* |

---

##### `taintSelector`<sup>Required</sup> <a name="taintSelector" id="cdk8s-plus-32.TaintedNode.Initializer.parameter.taintSelector"></a>

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NodeTaintQuery">NodeTaintQuery</a>>

---



#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.TaintedNode.property.taintSelector">taintSelector</a></code> | <code>java.util.List<<a href="#cdk8s-plus-32.NodeTaintQuery">NodeTaintQuery</a>></code> | *No description.* |

---

##### `taintSelector`<sup>Required</sup> <a name="taintSelector" id="cdk8s-plus-32.TaintedNode.property.taintSelector"></a>

```java
public java.util.List<NodeTaintQuery> getTaintSelector();
```

- *Type:* java.util.List<<a href="#cdk8s-plus-32.NodeTaintQuery">NodeTaintQuery</a>>

---


### Topology <a name="Topology" id="cdk8s-plus-32.Topology"></a>

Available topology domains.


#### Static Functions <a name="Static Functions" id="Static Functions"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Topology.custom">custom</a></code> | Custom key for the node label that the system uses to denote the topology domain. |

---

##### `custom` <a name="custom" id="cdk8s-plus-32.Topology.custom"></a>

```java
import org.cdk8s.plus32.Topology;

Topology.custom(java.lang.String key)
```

Custom key for the node label that the system uses to denote the topology domain.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Topology.custom.parameter.key"></a>

- *Type:* java.lang.String

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Topology.property.key">key</a></code> | <code>java.lang.String</code> | *No description.* |

---

##### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.Topology.property.key"></a>

```java
public java.lang.String getKey();
```

- *Type:* java.lang.String

---

#### Constants <a name="Constants" id="Constants"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.Topology.property.HOSTNAME">HOSTNAME</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | A hostname represents a single node in the cluster. |
| <code><a href="#cdk8s-plus-32.Topology.property.REGION">REGION</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | A region represents a larger domain, made up of one or more zones. |
| <code><a href="#cdk8s-plus-32.Topology.property.ZONE">ZONE</a></code> | <code><a href="#cdk8s-plus-32.Topology">Topology</a></code> | A zone represents a logical failure domain. |

---

##### `HOSTNAME`<sup>Required</sup> <a name="HOSTNAME" id="cdk8s-plus-32.Topology.property.HOSTNAME"></a>

```java
public Topology getHostname();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>

A hostname represents a single node in the cluster.

> [https://kubernetes.io/docs/reference/labels-annotations-taints/#kubernetesiohostname](https://kubernetes.io/docs/reference/labels-annotations-taints/#kubernetesiohostname)

---

##### `REGION`<sup>Required</sup> <a name="REGION" id="cdk8s-plus-32.Topology.property.REGION"></a>

```java
public Topology getRegion();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>

A region represents a larger domain, made up of one or more zones.

It is uncommon
for Kubernetes clusters to span multiple regions. While the exact definition of a
zone or region is left to infrastructure implementations, common properties of a region
include higher network latency between them than within them, non-zero cost for network
traffic between them, and failure independence from other zones or regions.

For example, nodes within a region might share power infrastructure (e.g. a UPS or generator), but
nodes in different regions typically would not.

> [https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesioregion](https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesioregion)

---

##### `ZONE`<sup>Required</sup> <a name="ZONE" id="cdk8s-plus-32.Topology.property.ZONE"></a>

```java
public Topology getZone();
```

- *Type:* <a href="#cdk8s-plus-32.Topology">Topology</a>

A zone represents a logical failure domain.

It is common for Kubernetes clusters to
span multiple zones for increased availability. While the exact definition of a zone is
left to infrastructure implementations, common properties of a zone include very low
network latency within a zone, no-cost network traffic within a zone, and failure
independence from other zones. For example, nodes within a zone might share a network
switch, but nodes in different zones should not.

> [https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesiozone](https://kubernetes.io/docs/reference/labels-annotations-taints/#topologykubernetesiozone)

---

### WorkloadScheduling <a name="WorkloadScheduling" id="cdk8s-plus-32.WorkloadScheduling"></a>

Controls the pod scheduling strategy of this workload.

It offers some additional API's on top of the core pod scheduling.

#### Initializers <a name="Initializers" id="cdk8s-plus-32.WorkloadScheduling.Initializer"></a>

```java
import org.cdk8s.plus32.WorkloadScheduling;

new WorkloadScheduling(AbstractPod instance);
```

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.Initializer.parameter.instance">instance</a></code> | <code><a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a></code> | *No description.* |

---

##### `instance`<sup>Required</sup> <a name="instance" id="cdk8s-plus-32.WorkloadScheduling.Initializer.parameter.instance"></a>

- *Type:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>

---

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.assign">assign</a></code> | Assign this pod a specific node by name. |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.attract">attract</a></code> | Attract this pod to a node matched by selectors. You can select a node by using `Node.labeled()`. |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.colocate">colocate</a></code> | Co-locate this pod with a scheduling selection. |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.separate">separate</a></code> | Seperate this pod from a scheduling selection. |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.tolerate">tolerate</a></code> | Allow this pod to tolerate taints matching these tolerations. |
| <code><a href="#cdk8s-plus-32.WorkloadScheduling.spread">spread</a></code> | Spread the pods in this workload by the topology key. |

---

##### `assign` <a name="assign" id="cdk8s-plus-32.WorkloadScheduling.assign"></a>

```java
public void assign(NamedNode node)
```

Assign this pod a specific node by name.

The scheduler ignores the Pod, and the kubelet on the named node
tries to place the Pod on that node. Overrules any affinity rules of the pod.

Some limitations of static assignment are:

* If the named node does not exist, the Pod will not run, and in some
  cases may be automatically deleted.
* If the named node does not have the resources to accommodate the Pod,
  the Pod will fail and its reason will indicate why, for example OutOfmemory or OutOfcpu.
* Node names in cloud environments are not always predictable or stable.

Will throw is the pod is already assigned to named node.

Under the hood, this method utilizes the `nodeName` property.

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.WorkloadScheduling.assign.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.NamedNode">NamedNode</a>

---

##### `attract` <a name="attract" id="cdk8s-plus-32.WorkloadScheduling.attract"></a>

```java
public void attract(LabeledNode node)
public void attract(LabeledNode node, PodSchedulingAttractOptions options)
```

Attract this pod to a node matched by selectors. You can select a node by using `Node.labeled()`.

Attracting to multiple nodes (i.e invoking this method multiple times) acts as
an OR condition, meaning the pod will be assigned to either one of the nodes.

Under the hood, this method utilizes the `nodeAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity)

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.WorkloadScheduling.attract.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.LabeledNode">LabeledNode</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.WorkloadScheduling.attract.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingAttractOptions">PodSchedulingAttractOptions</a>

---

##### `colocate` <a name="colocate" id="cdk8s-plus-32.WorkloadScheduling.colocate"></a>

```java
public void colocate(IPodSelector selector)
public void colocate(IPodSelector selector, PodSchedulingColocateOptions options)
```

Co-locate this pod with a scheduling selection.

A selection can be one of:

* An instance of a `Pod`.
* An instance of a `Workload` (e.g `Deployment`, `StatefulSet`).
* An un-managed pod that can be selected via `Pods.select()`.

Co-locating with multiple selections ((i.e invoking this method multiple times)) acts as
an AND condition. meaning the pod will be assigned to a node that satisfies all
selections (i.e runs at least one pod that satisifies each selection).

Under the hood, this method utilizes the `podAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity)

###### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.WorkloadScheduling.colocate.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.WorkloadScheduling.colocate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingColocateOptions">PodSchedulingColocateOptions</a>

---

##### `separate` <a name="separate" id="cdk8s-plus-32.WorkloadScheduling.separate"></a>

```java
public void separate(IPodSelector selector)
public void separate(IPodSelector selector, PodSchedulingSeparateOptions options)
```

Seperate this pod from a scheduling selection.

A selection can be one of:

* An instance of a `Pod`.
* An instance of a `Workload` (e.g `Deployment`, `StatefulSet`).
* An un-managed pod that can be selected via `Pods.select()`.

Seperating from multiple selections acts as an AND condition. meaning the pod
will not be assigned to a node that satisfies all selections (i.e runs at least one pod that satisifies each selection).

Under the hood, this method utilizes the `podAntiAffinity` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity)

###### `selector`<sup>Required</sup> <a name="selector" id="cdk8s-plus-32.WorkloadScheduling.separate.parameter.selector"></a>

- *Type:* <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.WorkloadScheduling.separate.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.PodSchedulingSeparateOptions">PodSchedulingSeparateOptions</a>

---

##### `tolerate` <a name="tolerate" id="cdk8s-plus-32.WorkloadScheduling.tolerate"></a>

```java
public void tolerate(TaintedNode node)
```

Allow this pod to tolerate taints matching these tolerations.

You can put multiple taints on the same node and multiple tolerations on the same pod.
The way Kubernetes processes multiple taints and tolerations is like a filter: start with
all of a node's taints, then ignore the ones for which the pod has a matching toleration;
the remaining un-ignored taints have the indicated effects on the pod. In particular:

* if there is at least one un-ignored taint with effect NoSchedule then Kubernetes will
  not schedule the pod onto that node
* if there is no un-ignored taint with effect NoSchedule but there is at least one un-ignored
  taint with effect PreferNoSchedule then Kubernetes will try to not schedule the pod onto the node
* if there is at least one un-ignored taint with effect NoExecute then the pod will be evicted from
  the node (if it is already running on the node), and will not be scheduled onto the node (if it is
  not yet running on the node).

Under the hood, this method utilizes the `tolerations` property.

> [https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)

###### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.WorkloadScheduling.tolerate.parameter.node"></a>

- *Type:* <a href="#cdk8s-plus-32.TaintedNode">TaintedNode</a>

---

##### `spread` <a name="spread" id="cdk8s-plus-32.WorkloadScheduling.spread"></a>

```java
public void spread()
public void spread(WorkloadSchedulingSpreadOptions options)
```

Spread the pods in this workload by the topology key.

A spread is a separation of the pod from itself and is used to
balance out pod replicas across a given topology.

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.WorkloadScheduling.spread.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.WorkloadSchedulingSpreadOptions">WorkloadSchedulingSpreadOptions</a>

---




## Protocols <a name="Protocols" id="Protocols"></a>

### IApiEndpoint <a name="IApiEndpoint" id="cdk8s-plus-32.IApiEndpoint"></a>

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>, <a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume">AwsElasticBlockStorePersistentVolume</a>, <a href="#cdk8s-plus-32.AzureDiskPersistentVolume">AzureDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.BasicAuthSecret">BasicAuthSecret</a>, <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>, <a href="#cdk8s-plus-32.ClusterRoleBinding">ClusterRoleBinding</a>, <a href="#cdk8s-plus-32.ConfigMap">ConfigMap</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.DockerConfigSecret">DockerConfigSecret</a>, <a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume">GCEPersistentDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.HorizontalPodAutoscaler">HorizontalPodAutoscaler</a>, <a href="#cdk8s-plus-32.Ingress">Ingress</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Namespace">Namespace</a>, <a href="#cdk8s-plus-32.NetworkPolicy">NetworkPolicy</a>, <a href="#cdk8s-plus-32.NonApiResource">NonApiResource</a>, <a href="#cdk8s-plus-32.PersistentVolume">PersistentVolume</a>, <a href="#cdk8s-plus-32.PersistentVolumeClaim">PersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.Resource">Resource</a>, <a href="#cdk8s-plus-32.Role">Role</a>, <a href="#cdk8s-plus-32.RoleBinding">RoleBinding</a>, <a href="#cdk8s-plus-32.Secret">Secret</a>, <a href="#cdk8s-plus-32.Service">Service</a>, <a href="#cdk8s-plus-32.ServiceAccount">ServiceAccount</a>, <a href="#cdk8s-plus-32.ServiceAccountTokenSecret">ServiceAccountTokenSecret</a>, <a href="#cdk8s-plus-32.SshAuthSecret">SshAuthSecret</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.TlsSecret">TlsSecret</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.IApiEndpoint">IApiEndpoint</a>

An API Endpoint can either be a resource descriptor (e.g /pods) or a non resource url (e.g /healthz). It must be one or the other, and not both.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.IApiEndpoint.asApiResource">asApiResource</a></code> | Return the IApiResource this object represents. |
| <code><a href="#cdk8s-plus-32.IApiEndpoint.asNonApiResource">asNonApiResource</a></code> | Return the non resource url this object represents. |

---

##### `asApiResource` <a name="asApiResource" id="cdk8s-plus-32.IApiEndpoint.asApiResource"></a>

```java
public IApiResource asApiResource()
```

Return the IApiResource this object represents.

##### `asNonApiResource` <a name="asNonApiResource" id="cdk8s-plus-32.IApiEndpoint.asNonApiResource"></a>

```java
public java.lang.String asNonApiResource()
```

Return the non resource url this object represents.


### IApiResource <a name="IApiResource" id="cdk8s-plus-32.IApiResource"></a>

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.ApiResource">ApiResource</a>, <a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume">AwsElasticBlockStorePersistentVolume</a>, <a href="#cdk8s-plus-32.AzureDiskPersistentVolume">AzureDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.BasicAuthSecret">BasicAuthSecret</a>, <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>, <a href="#cdk8s-plus-32.ClusterRoleBinding">ClusterRoleBinding</a>, <a href="#cdk8s-plus-32.ConfigMap">ConfigMap</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.DockerConfigSecret">DockerConfigSecret</a>, <a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume">GCEPersistentDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.HorizontalPodAutoscaler">HorizontalPodAutoscaler</a>, <a href="#cdk8s-plus-32.Ingress">Ingress</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Namespace">Namespace</a>, <a href="#cdk8s-plus-32.NetworkPolicy">NetworkPolicy</a>, <a href="#cdk8s-plus-32.PersistentVolume">PersistentVolume</a>, <a href="#cdk8s-plus-32.PersistentVolumeClaim">PersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.Resource">Resource</a>, <a href="#cdk8s-plus-32.Role">Role</a>, <a href="#cdk8s-plus-32.RoleBinding">RoleBinding</a>, <a href="#cdk8s-plus-32.Secret">Secret</a>, <a href="#cdk8s-plus-32.Service">Service</a>, <a href="#cdk8s-plus-32.ServiceAccount">ServiceAccount</a>, <a href="#cdk8s-plus-32.ServiceAccountTokenSecret">ServiceAccountTokenSecret</a>, <a href="#cdk8s-plus-32.SshAuthSecret">SshAuthSecret</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.TlsSecret">TlsSecret</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>, <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>, <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>, <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>, <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.IResource">IResource</a>, <a href="#cdk8s-plus-32.IRole">IRole</a>, <a href="#cdk8s-plus-32.ISecret">ISecret</a>, <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

Represents a resource or collection of resources.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IApiResource.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IApiResource.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IApiResource.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IApiResource.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IApiResource.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IApiResource.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

### IClusterRole <a name="IClusterRole" id="cdk8s-plus-32.IClusterRole"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>, <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>

Represents a cluster-level role.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IClusterRole.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IClusterRole.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IClusterRole.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IClusterRole.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IClusterRole.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IClusterRole.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IClusterRole.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IClusterRole.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IConfigMap <a name="IConfigMap" id="cdk8s-plus-32.IConfigMap"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.ConfigMap">ConfigMap</a>, <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>

Represents a config map.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IConfigMap.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IConfigMap.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IConfigMap.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IConfigMap.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IConfigMap.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IConfigMap.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IConfigMap.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IConfigMap.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### INamespaceSelector <a name="INamespaceSelector" id="cdk8s-plus-32.INamespaceSelector"></a>

- *Extends:* software.constructs.IConstruct

- *Implemented By:* <a href="#cdk8s-plus-32.Namespace">Namespace</a>, <a href="#cdk8s-plus-32.Namespaces">Namespaces</a>, <a href="#cdk8s-plus-32.INamespaceSelector">INamespaceSelector</a>

Represents an object that can select namespaces.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.INamespaceSelector.toNamespaceSelectorConfig">toNamespaceSelectorConfig</a></code> | Return the configuration of this selector. |

---

##### `toNamespaceSelectorConfig` <a name="toNamespaceSelectorConfig" id="cdk8s-plus-32.INamespaceSelector.toNamespaceSelectorConfig"></a>

```java
public NamespaceSelectorConfig toNamespaceSelectorConfig()
```

Return the configuration of this selector.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.INamespaceSelector.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.INamespaceSelector.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

### INetworkPolicyPeer <a name="INetworkPolicyPeer" id="cdk8s-plus-32.INetworkPolicyPeer"></a>

- *Extends:* software.constructs.IConstruct

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Namespace">Namespace</a>, <a href="#cdk8s-plus-32.Namespaces">Namespaces</a>, <a href="#cdk8s-plus-32.NetworkPolicyIpBlock">NetworkPolicyIpBlock</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.INetworkPolicyPeer">INetworkPolicyPeer</a>

Describes a peer to allow traffic to/from.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.INetworkPolicyPeer.toNetworkPolicyPeerConfig">toNetworkPolicyPeerConfig</a></code> | Return the configuration of this peer. |
| <code><a href="#cdk8s-plus-32.INetworkPolicyPeer.toPodSelector">toPodSelector</a></code> | Convert the peer into a pod selector, if possible. |

---

##### `toNetworkPolicyPeerConfig` <a name="toNetworkPolicyPeerConfig" id="cdk8s-plus-32.INetworkPolicyPeer.toNetworkPolicyPeerConfig"></a>

```java
public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
```

Return the configuration of this peer.

##### `toPodSelector` <a name="toPodSelector" id="cdk8s-plus-32.INetworkPolicyPeer.toPodSelector"></a>

```java
public IPodSelector toPodSelector()
```

Convert the peer into a pod selector, if possible.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.INetworkPolicyPeer.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.INetworkPolicyPeer.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

### IPersistentVolume <a name="IPersistentVolume" id="cdk8s-plus-32.IPersistentVolume"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume">AwsElasticBlockStorePersistentVolume</a>, <a href="#cdk8s-plus-32.AzureDiskPersistentVolume">AzureDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume">GCEPersistentDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.PersistentVolume">PersistentVolume</a>, <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>

Contract of a `PersistentVolumeClaim`.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IPersistentVolume.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IPersistentVolume.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IPersistentVolume.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IPersistentVolume.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IPersistentVolume.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IPersistentVolume.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IPersistentVolume.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IPersistentVolume.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IPersistentVolumeClaim <a name="IPersistentVolumeClaim" id="cdk8s-plus-32.IPersistentVolumeClaim"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.PersistentVolumeClaim">PersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>

Contract of a `PersistentVolumeClaim`.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IPersistentVolumeClaim.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IPersistentVolumeClaim.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IPersistentVolumeClaim.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IPersistentVolumeClaim.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IPersistentVolumeClaim.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IPersistentVolumeClaim.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IPersistentVolumeClaim.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IPersistentVolumeClaim.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IPodSelector <a name="IPodSelector" id="cdk8s-plus-32.IPodSelector"></a>

- *Extends:* software.constructs.IConstruct

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.Pods">Pods</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.IPodSelector">IPodSelector</a>

Represents an object that can select pods.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.IPodSelector.toPodSelectorConfig">toPodSelectorConfig</a></code> | Return the configuration of this selector. |

---

##### `toPodSelectorConfig` <a name="toPodSelectorConfig" id="cdk8s-plus-32.IPodSelector.toPodSelectorConfig"></a>

```java
public PodSelectorConfig toPodSelectorConfig()
```

Return the configuration of this selector.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IPodSelector.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IPodSelector.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

### IResource <a name="IResource" id="cdk8s-plus-32.IResource"></a>

- *Extends:* software.constructs.IConstruct, <a href="#cdk8s-plus-32.IApiResource">IApiResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume">AwsElasticBlockStorePersistentVolume</a>, <a href="#cdk8s-plus-32.AzureDiskPersistentVolume">AzureDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.BasicAuthSecret">BasicAuthSecret</a>, <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>, <a href="#cdk8s-plus-32.ClusterRoleBinding">ClusterRoleBinding</a>, <a href="#cdk8s-plus-32.ConfigMap">ConfigMap</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.DockerConfigSecret">DockerConfigSecret</a>, <a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume">GCEPersistentDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.HorizontalPodAutoscaler">HorizontalPodAutoscaler</a>, <a href="#cdk8s-plus-32.Ingress">Ingress</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Namespace">Namespace</a>, <a href="#cdk8s-plus-32.NetworkPolicy">NetworkPolicy</a>, <a href="#cdk8s-plus-32.PersistentVolume">PersistentVolume</a>, <a href="#cdk8s-plus-32.PersistentVolumeClaim">PersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.Resource">Resource</a>, <a href="#cdk8s-plus-32.Role">Role</a>, <a href="#cdk8s-plus-32.RoleBinding">RoleBinding</a>, <a href="#cdk8s-plus-32.Secret">Secret</a>, <a href="#cdk8s-plus-32.Service">Service</a>, <a href="#cdk8s-plus-32.ServiceAccount">ServiceAccount</a>, <a href="#cdk8s-plus-32.ServiceAccountTokenSecret">ServiceAccountTokenSecret</a>, <a href="#cdk8s-plus-32.SshAuthSecret">SshAuthSecret</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.TlsSecret">TlsSecret</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.IClusterRole">IClusterRole</a>, <a href="#cdk8s-plus-32.IConfigMap">IConfigMap</a>, <a href="#cdk8s-plus-32.IPersistentVolume">IPersistentVolume</a>, <a href="#cdk8s-plus-32.IPersistentVolumeClaim">IPersistentVolumeClaim</a>, <a href="#cdk8s-plus-32.IResource">IResource</a>, <a href="#cdk8s-plus-32.IRole">IRole</a>, <a href="#cdk8s-plus-32.ISecret">ISecret</a>, <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>

Represents a resource.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IResource.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IResource.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IResource.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IResource.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IResource.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IResource.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IResource.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IResource.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IResource.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IResource.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IResource.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IResource.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IResource.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IResource.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IRole <a name="IRole" id="cdk8s-plus-32.IRole"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.ClusterRole">ClusterRole</a>, <a href="#cdk8s-plus-32.Role">Role</a>, <a href="#cdk8s-plus-32.IRole">IRole</a>

A reference to any Role or ClusterRole.


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IRole.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IRole.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IRole.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IRole.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IRole.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IRole.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IRole.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IRole.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IRole.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IRole.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IRole.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IRole.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IRole.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IRole.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IScalable <a name="IScalable" id="cdk8s-plus-32.IScalable"></a>

- *Implemented By:* <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.IScalable">IScalable</a>

Represents a scalable workload.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.IScalable.markHasAutoscaler">markHasAutoscaler</a></code> | Called on all IScalable targets when they are associated with an autoscaler. |
| <code><a href="#cdk8s-plus-32.IScalable.toScalingTarget">toScalingTarget</a></code> | Return the target spec properties of this Scalable. |

---

##### `markHasAutoscaler` <a name="markHasAutoscaler" id="cdk8s-plus-32.IScalable.markHasAutoscaler"></a>

```java
public void markHasAutoscaler()
```

Called on all IScalable targets when they are associated with an autoscaler.

##### `toScalingTarget` <a name="toScalingTarget" id="cdk8s-plus-32.IScalable.toScalingTarget"></a>

```java
public ScalingTarget toScalingTarget()
```

Return the target spec properties of this Scalable.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IScalable.property.hasAutoscaler">hasAutoscaler</a></code> | <code>java.lang.Boolean</code> | If this is a target of an autoscaler. |

---

##### `hasAutoscaler`<sup>Required</sup> <a name="hasAutoscaler" id="cdk8s-plus-32.IScalable.property.hasAutoscaler"></a>

```java
public java.lang.Boolean getHasAutoscaler();
```

- *Type:* java.lang.Boolean

If this is a target of an autoscaler.

---

### ISecret <a name="ISecret" id="cdk8s-plus-32.ISecret"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>

- *Implemented By:* <a href="#cdk8s-plus-32.BasicAuthSecret">BasicAuthSecret</a>, <a href="#cdk8s-plus-32.DockerConfigSecret">DockerConfigSecret</a>, <a href="#cdk8s-plus-32.Secret">Secret</a>, <a href="#cdk8s-plus-32.ServiceAccountTokenSecret">ServiceAccountTokenSecret</a>, <a href="#cdk8s-plus-32.SshAuthSecret">SshAuthSecret</a>, <a href="#cdk8s-plus-32.TlsSecret">TlsSecret</a>, <a href="#cdk8s-plus-32.ISecret">ISecret</a>

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ISecret.envValue">envValue</a></code> | Returns EnvValue object from a secret's key. |

---

##### `envValue` <a name="envValue" id="cdk8s-plus-32.ISecret.envValue"></a>

```java
public EnvValue envValue(java.lang.String key)
public EnvValue envValue(java.lang.String key, EnvValueFromSecretOptions options)
```

Returns EnvValue object from a secret's key.

###### `key`<sup>Required</sup> <a name="key" id="cdk8s-plus-32.ISecret.envValue.parameter.key"></a>

- *Type:* java.lang.String

Secret's key.

---

###### `options`<sup>Optional</sup> <a name="options" id="cdk8s-plus-32.ISecret.envValue.parameter.options"></a>

- *Type:* <a href="#cdk8s-plus-32.EnvValueFromSecretOptions">EnvValueFromSecretOptions</a>

Additional EnvValue options.

---

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ISecret.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.ISecret.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.ISecret.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.ISecret.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.ISecret.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.ISecret.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.ISecret.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ISecret.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.ISecret.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.ISecret.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.ISecret.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.ISecret.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.ISecret.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.ISecret.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IServiceAccount <a name="IServiceAccount" id="cdk8s-plus-32.IServiceAccount"></a>

- *Extends:* <a href="#cdk8s-plus-32.IResource">IResource</a>, <a href="#cdk8s-plus-32.ISubject">ISubject</a>

- *Implemented By:* <a href="#cdk8s-plus-32.ServiceAccount">ServiceAccount</a>, <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>


#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.apiGroup">apiGroup</a></code> | <code>java.lang.String</code> | The group portion of the API version (e.g. `authorization.k8s.io`). |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.resourceType">resourceType</a></code> | <code>java.lang.String</code> | The name of a resource type as it appears in the relevant API endpoint. |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.resourceName">resourceName</a></code> | <code>java.lang.String</code> | The unique, namespace-global, name of an object inside the Kubernetes cluster. |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.apiVersion">apiVersion</a></code> | <code>java.lang.String</code> | The object's API version (e.g. "authorization.k8s.io/v1"). |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.kind">kind</a></code> | <code>java.lang.String</code> | The object kind (e.g. "Deployment"). |
| <code><a href="#cdk8s-plus-32.IServiceAccount.property.name">name</a></code> | <code>java.lang.String</code> | The Kubernetes name of this resource. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IServiceAccount.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

##### `apiGroup`<sup>Required</sup> <a name="apiGroup" id="cdk8s-plus-32.IServiceAccount.property.apiGroup"></a>

```java
public java.lang.String getApiGroup();
```

- *Type:* java.lang.String

The group portion of the API version (e.g. `authorization.k8s.io`).

---

##### `resourceType`<sup>Required</sup> <a name="resourceType" id="cdk8s-plus-32.IServiceAccount.property.resourceType"></a>

```java
public java.lang.String getResourceType();
```

- *Type:* java.lang.String

The name of a resource type as it appears in the relevant API endpoint.

> [https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#referring-to-resources)

---

*Example*

```java
// Example automatically generated from non-compiling source. May contain errors.
-"pods";or;"pods/log";
```


##### `resourceName`<sup>Optional</sup> <a name="resourceName" id="cdk8s-plus-32.IServiceAccount.property.resourceName"></a>

```java
public java.lang.String getResourceName();
```

- *Type:* java.lang.String

The unique, namespace-global, name of an object inside the Kubernetes cluster.

If this is omitted, the ApiResource should represent all objects of the given type.

---

##### `apiVersion`<sup>Required</sup> <a name="apiVersion" id="cdk8s-plus-32.IServiceAccount.property.apiVersion"></a>

```java
public java.lang.String getApiVersion();
```

- *Type:* java.lang.String

The object's API version (e.g. "authorization.k8s.io/v1").

---

##### `kind`<sup>Required</sup> <a name="kind" id="cdk8s-plus-32.IServiceAccount.property.kind"></a>

```java
public java.lang.String getKind();
```

- *Type:* java.lang.String

The object kind (e.g. "Deployment").

---

##### `name`<sup>Required</sup> <a name="name" id="cdk8s-plus-32.IServiceAccount.property.name"></a>

```java
public java.lang.String getName();
```

- *Type:* java.lang.String

The Kubernetes name of this resource.

---

### IStorage <a name="IStorage" id="cdk8s-plus-32.IStorage"></a>

- *Extends:* software.constructs.IConstruct

- *Implemented By:* <a href="#cdk8s-plus-32.AwsElasticBlockStorePersistentVolume">AwsElasticBlockStorePersistentVolume</a>, <a href="#cdk8s-plus-32.AzureDiskPersistentVolume">AzureDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.GCEPersistentDiskPersistentVolume">GCEPersistentDiskPersistentVolume</a>, <a href="#cdk8s-plus-32.PersistentVolume">PersistentVolume</a>, <a href="#cdk8s-plus-32.Volume">Volume</a>, <a href="#cdk8s-plus-32.IStorage">IStorage</a>

Represents a piece of storage in the cluster.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.IStorage.asVolume">asVolume</a></code> | Convert the piece of storage into a concrete volume. |

---

##### `asVolume` <a name="asVolume" id="cdk8s-plus-32.IStorage.asVolume"></a>

```java
public Volume asVolume()
```

Convert the piece of storage into a concrete volume.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.IStorage.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.IStorage.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

### ISubject <a name="ISubject" id="cdk8s-plus-32.ISubject"></a>

- *Extends:* software.constructs.IConstruct

- *Implemented By:* <a href="#cdk8s-plus-32.AbstractPod">AbstractPod</a>, <a href="#cdk8s-plus-32.CronJob">CronJob</a>, <a href="#cdk8s-plus-32.DaemonSet">DaemonSet</a>, <a href="#cdk8s-plus-32.Deployment">Deployment</a>, <a href="#cdk8s-plus-32.Group">Group</a>, <a href="#cdk8s-plus-32.Job">Job</a>, <a href="#cdk8s-plus-32.Pod">Pod</a>, <a href="#cdk8s-plus-32.ServiceAccount">ServiceAccount</a>, <a href="#cdk8s-plus-32.StatefulSet">StatefulSet</a>, <a href="#cdk8s-plus-32.User">User</a>, <a href="#cdk8s-plus-32.Workload">Workload</a>, <a href="#cdk8s-plus-32.IServiceAccount">IServiceAccount</a>, <a href="#cdk8s-plus-32.ISubject">ISubject</a>

Represents an object that can be used as a role binding subject.

#### Methods <a name="Methods" id="Methods"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ISubject.toSubjectConfiguration">toSubjectConfiguration</a></code> | Return the subject configuration. |

---

##### `toSubjectConfiguration` <a name="toSubjectConfiguration" id="cdk8s-plus-32.ISubject.toSubjectConfiguration"></a>

```java
public SubjectConfiguration toSubjectConfiguration()
```

Return the subject configuration.

#### Properties <a name="Properties" id="Properties"></a>

| **Name** | **Type** | **Description** |
| --- | --- | --- |
| <code><a href="#cdk8s-plus-32.ISubject.property.node">node</a></code> | <code>software.constructs.Node</code> | The tree node. |

---

##### `node`<sup>Required</sup> <a name="node" id="cdk8s-plus-32.ISubject.property.node"></a>

```java
public Node getNode();
```

- *Type:* software.constructs.Node

The tree node.

---

## Enums <a name="Enums" id="Enums"></a>

### AzureDiskPersistentVolumeCachingMode <a name="AzureDiskPersistentVolumeCachingMode" id="cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode"></a>

Azure disk caching modes.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.NONE">NONE</a></code> | None. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.READ_ONLY">READ_ONLY</a></code> | ReadOnly. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.READ_WRITE">READ_WRITE</a></code> | ReadWrite. |

---

##### `NONE` <a name="NONE" id="cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.NONE"></a>

None.

---


##### `READ_ONLY` <a name="READ_ONLY" id="cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.READ_ONLY"></a>

ReadOnly.

---


##### `READ_WRITE` <a name="READ_WRITE" id="cdk8s-plus-32.AzureDiskPersistentVolumeCachingMode.READ_WRITE"></a>

ReadWrite.

---


### AzureDiskPersistentVolumeKind <a name="AzureDiskPersistentVolumeKind" id="cdk8s-plus-32.AzureDiskPersistentVolumeKind"></a>

Azure Disk kinds.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind.SHARED">SHARED</a></code> | Multiple blob disks per storage account. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind.DEDICATED">DEDICATED</a></code> | Single blob disk per storage account. |
| <code><a href="#cdk8s-plus-32.AzureDiskPersistentVolumeKind.MANAGED">MANAGED</a></code> | Azure managed data disk. |

---

##### `SHARED` <a name="SHARED" id="cdk8s-plus-32.AzureDiskPersistentVolumeKind.SHARED"></a>

Multiple blob disks per storage account.

---


##### `DEDICATED` <a name="DEDICATED" id="cdk8s-plus-32.AzureDiskPersistentVolumeKind.DEDICATED"></a>

Single blob disk per storage account.

---


##### `MANAGED` <a name="MANAGED" id="cdk8s-plus-32.AzureDiskPersistentVolumeKind.MANAGED"></a>

Azure managed data disk.

---


### Capability <a name="Capability" id="cdk8s-plus-32.Capability"></a>

Capability - complete list of POSIX capabilities.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Capability.ALL">ALL</a></code> | ALL. |
| <code><a href="#cdk8s-plus-32.Capability.AUDIT_CONTROL">AUDIT_CONTROL</a></code> | CAP_AUDIT_CONTROL. |
| <code><a href="#cdk8s-plus-32.Capability.AUDIT_READ">AUDIT_READ</a></code> | CAP_AUDIT_READ. |
| <code><a href="#cdk8s-plus-32.Capability.AUDIT_WRITE">AUDIT_WRITE</a></code> | CAP_AUDIT_WRITE. |
| <code><a href="#cdk8s-plus-32.Capability.BLOCK_SUSPEND">BLOCK_SUSPEND</a></code> | CAP_BLOCK_SUSPEND. |
| <code><a href="#cdk8s-plus-32.Capability.BPF">BPF</a></code> | CAP_BPF. |
| <code><a href="#cdk8s-plus-32.Capability.CHECKPOINT_RESTORE">CHECKPOINT_RESTORE</a></code> | CAP_CHECKPOINT_RESTORE. |
| <code><a href="#cdk8s-plus-32.Capability.CHOWN">CHOWN</a></code> | CAP_CHOWN. |
| <code><a href="#cdk8s-plus-32.Capability.DAC_OVERRIDE">DAC_OVERRIDE</a></code> | CAP_DAC_OVERRIDE. |
| <code><a href="#cdk8s-plus-32.Capability.DAC_READ_SEARCH">DAC_READ_SEARCH</a></code> | CAP_DAC_READ_SEARCH. |
| <code><a href="#cdk8s-plus-32.Capability.FOWNER">FOWNER</a></code> | CAP_FOWNER. |
| <code><a href="#cdk8s-plus-32.Capability.FSETID">FSETID</a></code> | CAP_FSETID. |
| <code><a href="#cdk8s-plus-32.Capability.IPC_LOCK">IPC_LOCK</a></code> | CAP_IPC_LOCK. |
| <code><a href="#cdk8s-plus-32.Capability.IPC_OWNER">IPC_OWNER</a></code> | CAP_IPC_OWNER. |
| <code><a href="#cdk8s-plus-32.Capability.KILL">KILL</a></code> | CAP_KILL. |
| <code><a href="#cdk8s-plus-32.Capability.LEASE">LEASE</a></code> | CAP_LEASE. |
| <code><a href="#cdk8s-plus-32.Capability.LINUX_IMMUTABLE">LINUX_IMMUTABLE</a></code> | CAP_LINUX_IMMUTABLE. |
| <code><a href="#cdk8s-plus-32.Capability.MAC_ADMIN">MAC_ADMIN</a></code> | CAP_MAC_ADMIN. |
| <code><a href="#cdk8s-plus-32.Capability.MAC_OVERRIDE">MAC_OVERRIDE</a></code> | CAP_MAC_OVERRIDE. |
| <code><a href="#cdk8s-plus-32.Capability.MKNOD">MKNOD</a></code> | CAP_MKNOD. |
| <code><a href="#cdk8s-plus-32.Capability.NET_ADMIN">NET_ADMIN</a></code> | CAP_NET_ADMIN. |
| <code><a href="#cdk8s-plus-32.Capability.NET_BIND_SERVICE">NET_BIND_SERVICE</a></code> | CAP_NET_BIND_SERVICE. |
| <code><a href="#cdk8s-plus-32.Capability.NET_BROADCAST">NET_BROADCAST</a></code> | CAP_NET_BROADCAST. |
| <code><a href="#cdk8s-plus-32.Capability.NET_RAW">NET_RAW</a></code> | CAP_NET_RAW. |
| <code><a href="#cdk8s-plus-32.Capability.PERFMON">PERFMON</a></code> | CAP_PERFMON. |
| <code><a href="#cdk8s-plus-32.Capability.SETGID">SETGID</a></code> | CAP_SETGID. |
| <code><a href="#cdk8s-plus-32.Capability.SETFCAP">SETFCAP</a></code> | CAP_SETFCAP. |
| <code><a href="#cdk8s-plus-32.Capability.SETPCAP">SETPCAP</a></code> | CAP_SETPCAP. |
| <code><a href="#cdk8s-plus-32.Capability.SETUID">SETUID</a></code> | CAP_SETUID. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_ADMIN">SYS_ADMIN</a></code> | CAP_SYS_ADMIN. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_BOOT">SYS_BOOT</a></code> | CAP_SYS_BOOT. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_CHROOT">SYS_CHROOT</a></code> | CAP_SYS_CHROOT. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_MODULE">SYS_MODULE</a></code> | CAP_SYS_MODULE. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_NICE">SYS_NICE</a></code> | CAP_SYS_NICE. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_PACCT">SYS_PACCT</a></code> | CAP_SYS_PACCT. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_PTRACE">SYS_PTRACE</a></code> | CAP_SYS_PTRACE. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_RAWIO">SYS_RAWIO</a></code> | CAP_SYS_RAWIO. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_RESOURCE">SYS_RESOURCE</a></code> | CAP_SYS_RESOURCE. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_TIME">SYS_TIME</a></code> | CAP_SYS_TIME. |
| <code><a href="#cdk8s-plus-32.Capability.SYS_TTY_CONFIG">SYS_TTY_CONFIG</a></code> | CAP_SYS_TTY_CONFIG. |
| <code><a href="#cdk8s-plus-32.Capability.SYSLOG">SYSLOG</a></code> | CAP_SYSLOG. |
| <code><a href="#cdk8s-plus-32.Capability.WAKE_ALARM">WAKE_ALARM</a></code> | CAP_WAKE_ALARM. |

---

##### `ALL` <a name="ALL" id="cdk8s-plus-32.Capability.ALL"></a>

ALL.

---


##### `AUDIT_CONTROL` <a name="AUDIT_CONTROL" id="cdk8s-plus-32.Capability.AUDIT_CONTROL"></a>

CAP_AUDIT_CONTROL.

---


##### `AUDIT_READ` <a name="AUDIT_READ" id="cdk8s-plus-32.Capability.AUDIT_READ"></a>

CAP_AUDIT_READ.

---


##### `AUDIT_WRITE` <a name="AUDIT_WRITE" id="cdk8s-plus-32.Capability.AUDIT_WRITE"></a>

CAP_AUDIT_WRITE.

---


##### `BLOCK_SUSPEND` <a name="BLOCK_SUSPEND" id="cdk8s-plus-32.Capability.BLOCK_SUSPEND"></a>

CAP_BLOCK_SUSPEND.

---


##### `BPF` <a name="BPF" id="cdk8s-plus-32.Capability.BPF"></a>

CAP_BPF.

---


##### `CHECKPOINT_RESTORE` <a name="CHECKPOINT_RESTORE" id="cdk8s-plus-32.Capability.CHECKPOINT_RESTORE"></a>

CAP_CHECKPOINT_RESTORE.

---


##### `CHOWN` <a name="CHOWN" id="cdk8s-plus-32.Capability.CHOWN"></a>

CAP_CHOWN.

---


##### `DAC_OVERRIDE` <a name="DAC_OVERRIDE" id="cdk8s-plus-32.Capability.DAC_OVERRIDE"></a>

CAP_DAC_OVERRIDE.

---


##### `DAC_READ_SEARCH` <a name="DAC_READ_SEARCH" id="cdk8s-plus-32.Capability.DAC_READ_SEARCH"></a>

CAP_DAC_READ_SEARCH.

---


##### `FOWNER` <a name="FOWNER" id="cdk8s-plus-32.Capability.FOWNER"></a>

CAP_FOWNER.

---


##### `FSETID` <a name="FSETID" id="cdk8s-plus-32.Capability.FSETID"></a>

CAP_FSETID.

---


##### `IPC_LOCK` <a name="IPC_LOCK" id="cdk8s-plus-32.Capability.IPC_LOCK"></a>

CAP_IPC_LOCK.

---


##### `IPC_OWNER` <a name="IPC_OWNER" id="cdk8s-plus-32.Capability.IPC_OWNER"></a>

CAP_IPC_OWNER.

---


##### `KILL` <a name="KILL" id="cdk8s-plus-32.Capability.KILL"></a>

CAP_KILL.

---


##### `LEASE` <a name="LEASE" id="cdk8s-plus-32.Capability.LEASE"></a>

CAP_LEASE.

---


##### `LINUX_IMMUTABLE` <a name="LINUX_IMMUTABLE" id="cdk8s-plus-32.Capability.LINUX_IMMUTABLE"></a>

CAP_LINUX_IMMUTABLE.

---


##### `MAC_ADMIN` <a name="MAC_ADMIN" id="cdk8s-plus-32.Capability.MAC_ADMIN"></a>

CAP_MAC_ADMIN.

---


##### `MAC_OVERRIDE` <a name="MAC_OVERRIDE" id="cdk8s-plus-32.Capability.MAC_OVERRIDE"></a>

CAP_MAC_OVERRIDE.

---


##### `MKNOD` <a name="MKNOD" id="cdk8s-plus-32.Capability.MKNOD"></a>

CAP_MKNOD.

---


##### `NET_ADMIN` <a name="NET_ADMIN" id="cdk8s-plus-32.Capability.NET_ADMIN"></a>

CAP_NET_ADMIN.

---


##### `NET_BIND_SERVICE` <a name="NET_BIND_SERVICE" id="cdk8s-plus-32.Capability.NET_BIND_SERVICE"></a>

CAP_NET_BIND_SERVICE.

---


##### `NET_BROADCAST` <a name="NET_BROADCAST" id="cdk8s-plus-32.Capability.NET_BROADCAST"></a>

CAP_NET_BROADCAST.

---


##### `NET_RAW` <a name="NET_RAW" id="cdk8s-plus-32.Capability.NET_RAW"></a>

CAP_NET_RAW.

---


##### `PERFMON` <a name="PERFMON" id="cdk8s-plus-32.Capability.PERFMON"></a>

CAP_PERFMON.

---


##### `SETGID` <a name="SETGID" id="cdk8s-plus-32.Capability.SETGID"></a>

CAP_SETGID.

---


##### `SETFCAP` <a name="SETFCAP" id="cdk8s-plus-32.Capability.SETFCAP"></a>

CAP_SETFCAP.

---


##### `SETPCAP` <a name="SETPCAP" id="cdk8s-plus-32.Capability.SETPCAP"></a>

CAP_SETPCAP.

---


##### `SETUID` <a name="SETUID" id="cdk8s-plus-32.Capability.SETUID"></a>

CAP_SETUID.

---


##### `SYS_ADMIN` <a name="SYS_ADMIN" id="cdk8s-plus-32.Capability.SYS_ADMIN"></a>

CAP_SYS_ADMIN.

---


##### `SYS_BOOT` <a name="SYS_BOOT" id="cdk8s-plus-32.Capability.SYS_BOOT"></a>

CAP_SYS_BOOT.

---


##### `SYS_CHROOT` <a name="SYS_CHROOT" id="cdk8s-plus-32.Capability.SYS_CHROOT"></a>

CAP_SYS_CHROOT.

---


##### `SYS_MODULE` <a name="SYS_MODULE" id="cdk8s-plus-32.Capability.SYS_MODULE"></a>

CAP_SYS_MODULE.

---


##### `SYS_NICE` <a name="SYS_NICE" id="cdk8s-plus-32.Capability.SYS_NICE"></a>

CAP_SYS_NICE.

---


##### `SYS_PACCT` <a name="SYS_PACCT" id="cdk8s-plus-32.Capability.SYS_PACCT"></a>

CAP_SYS_PACCT.

---


##### `SYS_PTRACE` <a name="SYS_PTRACE" id="cdk8s-plus-32.Capability.SYS_PTRACE"></a>

CAP_SYS_PTRACE.

---


##### `SYS_RAWIO` <a name="SYS_RAWIO" id="cdk8s-plus-32.Capability.SYS_RAWIO"></a>

CAP_SYS_RAWIO.

---


##### `SYS_RESOURCE` <a name="SYS_RESOURCE" id="cdk8s-plus-32.Capability.SYS_RESOURCE"></a>

CAP_SYS_RESOURCE.

---


##### `SYS_TIME` <a name="SYS_TIME" id="cdk8s-plus-32.Capability.SYS_TIME"></a>

CAP_SYS_TIME.

---


##### `SYS_TTY_CONFIG` <a name="SYS_TTY_CONFIG" id="cdk8s-plus-32.Capability.SYS_TTY_CONFIG"></a>

CAP_SYS_TTY_CONFIG.

---


##### `SYSLOG` <a name="SYSLOG" id="cdk8s-plus-32.Capability.SYSLOG"></a>

CAP_SYSLOG.

---


##### `WAKE_ALARM` <a name="WAKE_ALARM" id="cdk8s-plus-32.Capability.WAKE_ALARM"></a>

CAP_WAKE_ALARM.

---


### ConcurrencyPolicy <a name="ConcurrencyPolicy" id="cdk8s-plus-32.ConcurrencyPolicy"></a>

Concurrency policy for CronJobs.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ConcurrencyPolicy.ALLOW">ALLOW</a></code> | This policy allows to run job concurrently. |
| <code><a href="#cdk8s-plus-32.ConcurrencyPolicy.FORBID">FORBID</a></code> | This policy does not allow to run job concurrently. |
| <code><a href="#cdk8s-plus-32.ConcurrencyPolicy.REPLACE">REPLACE</a></code> | This policy replaces the currently running job if a new job is being scheduled. |

---

##### `ALLOW` <a name="ALLOW" id="cdk8s-plus-32.ConcurrencyPolicy.ALLOW"></a>

This policy allows to run job concurrently.

---


##### `FORBID` <a name="FORBID" id="cdk8s-plus-32.ConcurrencyPolicy.FORBID"></a>

This policy does not allow to run job concurrently.

It does not let a new job to be scheduled if the previous one is not finished yet.

---


##### `REPLACE` <a name="REPLACE" id="cdk8s-plus-32.ConcurrencyPolicy.REPLACE"></a>

This policy replaces the currently running job if a new job is being scheduled.

---


### ConnectionScheme <a name="ConnectionScheme" id="cdk8s-plus-32.ConnectionScheme"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ConnectionScheme.HTTP">HTTP</a></code> | Use HTTP request for connecting to host. |
| <code><a href="#cdk8s-plus-32.ConnectionScheme.HTTPS">HTTPS</a></code> | Use HTTPS request for connecting to host. |

---

##### `HTTP` <a name="HTTP" id="cdk8s-plus-32.ConnectionScheme.HTTP"></a>

Use HTTP request for connecting to host.

---


##### `HTTPS` <a name="HTTPS" id="cdk8s-plus-32.ConnectionScheme.HTTPS"></a>

Use HTTPS request for connecting to host.

---


### ContainerRestartPolicy <a name="ContainerRestartPolicy" id="cdk8s-plus-32.ContainerRestartPolicy"></a>

RestartPolicy defines the restart behavior of individual containers in a pod.

This field may only be set for init containers, and the only allowed value is "Always".
For non-init containers or when this field is not specified,
the restart behavior is defined by the Pod's restart policy and the container type.
Setting the RestartPolicy as "Always" for the init container will have the following effect:
this init container will be continually restarted on exit until all regular containers have terminated.
Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down.
This lifecycle differs from normal init containers and is often referred to as a "sidecar" container.

> [https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/](https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/)

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ContainerRestartPolicy.ALWAYS">ALWAYS</a></code> | If an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod. |

---

##### `ALWAYS` <a name="ALWAYS" id="cdk8s-plus-32.ContainerRestartPolicy.ALWAYS"></a>

If an init container is created with its restartPolicy set to Always, it will start and remain running during the entire life of the Pod.

For regular containers, this is ignored by Kubernetes.

---


### DnsPolicy <a name="DnsPolicy" id="cdk8s-plus-32.DnsPolicy"></a>

Pod DNS policies.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.DnsPolicy.CLUSTER_FIRST">CLUSTER_FIRST</a></code> | Any DNS query that does not match the configured cluster domain suffix, such as "www.kubernetes.io", is forwarded to the upstream nameserver inherited from the node. Cluster administrators may have extra stub-domain and upstream DNS servers configured. |
| <code><a href="#cdk8s-plus-32.DnsPolicy.CLUSTER_FIRST_WITH_HOST_NET">CLUSTER_FIRST_WITH_HOST_NET</a></code> | For Pods running with hostNetwork, you should explicitly set its DNS policy "ClusterFirstWithHostNet". |
| <code><a href="#cdk8s-plus-32.DnsPolicy.DEFAULT">DEFAULT</a></code> | The Pod inherits the name resolution configuration from the node that the pods run on. |
| <code><a href="#cdk8s-plus-32.DnsPolicy.NONE">NONE</a></code> | It allows a Pod to ignore DNS settings from the Kubernetes environment. |

---

##### `CLUSTER_FIRST` <a name="CLUSTER_FIRST" id="cdk8s-plus-32.DnsPolicy.CLUSTER_FIRST"></a>

Any DNS query that does not match the configured cluster domain suffix, such as "www.kubernetes.io", is forwarded to the upstream nameserver inherited from the node. Cluster administrators may have extra stub-domain and upstream DNS servers configured.

---


##### `CLUSTER_FIRST_WITH_HOST_NET` <a name="CLUSTER_FIRST_WITH_HOST_NET" id="cdk8s-plus-32.DnsPolicy.CLUSTER_FIRST_WITH_HOST_NET"></a>

For Pods running with hostNetwork, you should explicitly set its DNS policy "ClusterFirstWithHostNet".

---


##### `DEFAULT` <a name="DEFAULT" id="cdk8s-plus-32.DnsPolicy.DEFAULT"></a>

The Pod inherits the name resolution configuration from the node that the pods run on.

---


##### `NONE` <a name="NONE" id="cdk8s-plus-32.DnsPolicy.NONE"></a>

It allows a Pod to ignore DNS settings from the Kubernetes environment.

All DNS settings are supposed to be provided using the dnsConfig
field in the Pod Spec.

---


### EmptyDirMedium <a name="EmptyDirMedium" id="cdk8s-plus-32.EmptyDirMedium"></a>

The medium on which to store the volume.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.EmptyDirMedium.DEFAULT">DEFAULT</a></code> | The default volume of the backing node. |
| <code><a href="#cdk8s-plus-32.EmptyDirMedium.MEMORY">MEMORY</a></code> | Mount a tmpfs (RAM-backed filesystem) for you instead. |

---

##### `DEFAULT` <a name="DEFAULT" id="cdk8s-plus-32.EmptyDirMedium.DEFAULT"></a>

The default volume of the backing node.

---


##### `MEMORY` <a name="MEMORY" id="cdk8s-plus-32.EmptyDirMedium.MEMORY"></a>

Mount a tmpfs (RAM-backed filesystem) for you instead.

While tmpfs is very
fast, be aware that unlike disks, tmpfs is cleared on node reboot and any
files you write will count against your Container's memory limit.

---


### EnvFieldPaths <a name="EnvFieldPaths" id="cdk8s-plus-32.EnvFieldPaths"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_NAME">POD_NAME</a></code> | The name of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_NAMESPACE">POD_NAMESPACE</a></code> | The namespace of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_UID">POD_UID</a></code> | The uid of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_LABEL">POD_LABEL</a></code> | The labels of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_ANNOTATION">POD_ANNOTATION</a></code> | The annotations of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_IP">POD_IP</a></code> | The ipAddress of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.SERVICE_ACCOUNT_NAME">SERVICE_ACCOUNT_NAME</a></code> | The service account name of the pod. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.NODE_NAME">NODE_NAME</a></code> | The name of the node. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.NODE_IP">NODE_IP</a></code> | The ipAddress of the node. |
| <code><a href="#cdk8s-plus-32.EnvFieldPaths.POD_IPS">POD_IPS</a></code> | The ipAddresess of the pod. |

---

##### `POD_NAME` <a name="POD_NAME" id="cdk8s-plus-32.EnvFieldPaths.POD_NAME"></a>

The name of the pod.

---


##### `POD_NAMESPACE` <a name="POD_NAMESPACE" id="cdk8s-plus-32.EnvFieldPaths.POD_NAMESPACE"></a>

The namespace of the pod.

---


##### `POD_UID` <a name="POD_UID" id="cdk8s-plus-32.EnvFieldPaths.POD_UID"></a>

The uid of the pod.

---


##### `POD_LABEL` <a name="POD_LABEL" id="cdk8s-plus-32.EnvFieldPaths.POD_LABEL"></a>

The labels of the pod.

---


##### `POD_ANNOTATION` <a name="POD_ANNOTATION" id="cdk8s-plus-32.EnvFieldPaths.POD_ANNOTATION"></a>

The annotations of the pod.

---


##### `POD_IP` <a name="POD_IP" id="cdk8s-plus-32.EnvFieldPaths.POD_IP"></a>

The ipAddress of the pod.

---


##### `SERVICE_ACCOUNT_NAME` <a name="SERVICE_ACCOUNT_NAME" id="cdk8s-plus-32.EnvFieldPaths.SERVICE_ACCOUNT_NAME"></a>

The service account name of the pod.

---


##### `NODE_NAME` <a name="NODE_NAME" id="cdk8s-plus-32.EnvFieldPaths.NODE_NAME"></a>

The name of the node.

---


##### `NODE_IP` <a name="NODE_IP" id="cdk8s-plus-32.EnvFieldPaths.NODE_IP"></a>

The ipAddress of the node.

---


##### `POD_IPS` <a name="POD_IPS" id="cdk8s-plus-32.EnvFieldPaths.POD_IPS"></a>

The ipAddresess of the pod.

---


### FsGroupChangePolicy <a name="FsGroupChangePolicy" id="cdk8s-plus-32.FsGroupChangePolicy"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.FsGroupChangePolicy.ON_ROOT_MISMATCH">ON_ROOT_MISMATCH</a></code> | Only change permissions and ownership if permission and ownership of root directory does not match with expected permissions of the volume. |
| <code><a href="#cdk8s-plus-32.FsGroupChangePolicy.ALWAYS">ALWAYS</a></code> | Always change permission and ownership of the volume when volume is mounted. |

---

##### `ON_ROOT_MISMATCH` <a name="ON_ROOT_MISMATCH" id="cdk8s-plus-32.FsGroupChangePolicy.ON_ROOT_MISMATCH"></a>

Only change permissions and ownership if permission and ownership of root directory does not match with expected permissions of the volume.

This could help shorten the time it takes to change ownership and permission of a volume

---


##### `ALWAYS` <a name="ALWAYS" id="cdk8s-plus-32.FsGroupChangePolicy.ALWAYS"></a>

Always change permission and ownership of the volume when volume is mounted.

---


### HostPathVolumeType <a name="HostPathVolumeType" id="cdk8s-plus-32.HostPathVolumeType"></a>

Host path types.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.DEFAULT">DEFAULT</a></code> | Empty string (default) is for backward compatibility, which means that no checks will be performed before mounting the hostPath volume. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.DIRECTORY_OR_CREATE">DIRECTORY_OR_CREATE</a></code> | If nothing exists at the given path, an empty directory will be created there as needed with permission set to 0755, having the same group and ownership with Kubelet. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.DIRECTORY">DIRECTORY</a></code> | A directory must exist at the given path. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.FILE_OR_CREATE">FILE_OR_CREATE</a></code> | If nothing exists at the given path, an empty file will be created there as needed with permission set to 0644, having the same group and ownership with Kubelet. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.FILE">FILE</a></code> | A file must exist at the given path. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.SOCKET">SOCKET</a></code> | A UNIX socket must exist at the given path. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.CHAR_DEVICE">CHAR_DEVICE</a></code> | A character device must exist at the given path. |
| <code><a href="#cdk8s-plus-32.HostPathVolumeType.BLOCK_DEVICE">BLOCK_DEVICE</a></code> | A block device must exist at the given path. |

---

##### `DEFAULT` <a name="DEFAULT" id="cdk8s-plus-32.HostPathVolumeType.DEFAULT"></a>

Empty string (default) is for backward compatibility, which means that no checks will be performed before mounting the hostPath volume.

---


##### `DIRECTORY_OR_CREATE` <a name="DIRECTORY_OR_CREATE" id="cdk8s-plus-32.HostPathVolumeType.DIRECTORY_OR_CREATE"></a>

If nothing exists at the given path, an empty directory will be created there as needed with permission set to 0755, having the same group and ownership with Kubelet.

---


##### `DIRECTORY` <a name="DIRECTORY" id="cdk8s-plus-32.HostPathVolumeType.DIRECTORY"></a>

A directory must exist at the given path.

---


##### `FILE_OR_CREATE` <a name="FILE_OR_CREATE" id="cdk8s-plus-32.HostPathVolumeType.FILE_OR_CREATE"></a>

If nothing exists at the given path, an empty file will be created there as needed with permission set to 0644, having the same group and ownership with Kubelet.

---


##### `FILE` <a name="FILE" id="cdk8s-plus-32.HostPathVolumeType.FILE"></a>

A file must exist at the given path.

---


##### `SOCKET` <a name="SOCKET" id="cdk8s-plus-32.HostPathVolumeType.SOCKET"></a>

A UNIX socket must exist at the given path.

---


##### `CHAR_DEVICE` <a name="CHAR_DEVICE" id="cdk8s-plus-32.HostPathVolumeType.CHAR_DEVICE"></a>

A character device must exist at the given path.

---


##### `BLOCK_DEVICE` <a name="BLOCK_DEVICE" id="cdk8s-plus-32.HostPathVolumeType.BLOCK_DEVICE"></a>

A block device must exist at the given path.

---


### HttpIngressPathType <a name="HttpIngressPathType" id="cdk8s-plus-32.HttpIngressPathType"></a>

Specify how the path is matched against request paths.

> [https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types](https://kubernetes.io/docs/concepts/services-networking/ingress/#path-types)

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.HttpIngressPathType.PREFIX">PREFIX</a></code> | Matches the URL path exactly. |
| <code><a href="#cdk8s-plus-32.HttpIngressPathType.EXACT">EXACT</a></code> | Matches based on a URL path prefix split by '/'. |
| <code><a href="#cdk8s-plus-32.HttpIngressPathType.IMPLEMENTATION_SPECIFIC">IMPLEMENTATION_SPECIFIC</a></code> | Matching is specified by the underlying IngressClass. |

---

##### `PREFIX` <a name="PREFIX" id="cdk8s-plus-32.HttpIngressPathType.PREFIX"></a>

Matches the URL path exactly.

---


##### `EXACT` <a name="EXACT" id="cdk8s-plus-32.HttpIngressPathType.EXACT"></a>

Matches based on a URL path prefix split by '/'.

---


##### `IMPLEMENTATION_SPECIFIC` <a name="IMPLEMENTATION_SPECIFIC" id="cdk8s-plus-32.HttpIngressPathType.IMPLEMENTATION_SPECIFIC"></a>

Matching is specified by the underlying IngressClass.

---


### ImagePullPolicy <a name="ImagePullPolicy" id="cdk8s-plus-32.ImagePullPolicy"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ImagePullPolicy.ALWAYS">ALWAYS</a></code> | Every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest. |
| <code><a href="#cdk8s-plus-32.ImagePullPolicy.IF_NOT_PRESENT">IF_NOT_PRESENT</a></code> | The image is pulled only if it is not already present locally. |
| <code><a href="#cdk8s-plus-32.ImagePullPolicy.NEVER">NEVER</a></code> | The image is assumed to exist locally. |

---

##### `ALWAYS` <a name="ALWAYS" id="cdk8s-plus-32.ImagePullPolicy.ALWAYS"></a>

Every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest.

If the kubelet has a container image with that exact
digest cached locally, the kubelet uses its cached image; otherwise, the kubelet downloads
(pulls) the image with the resolved digest, and uses that image to launch the container.

Default is Always if ImagePullPolicy is omitted and either the image tag is :latest or
the image tag is omitted.

---


##### `IF_NOT_PRESENT` <a name="IF_NOT_PRESENT" id="cdk8s-plus-32.ImagePullPolicy.IF_NOT_PRESENT"></a>

The image is pulled only if it is not already present locally.

Default is IfNotPresent if ImagePullPolicy is omitted and the image tag is present but
not :latest

---


##### `NEVER` <a name="NEVER" id="cdk8s-plus-32.ImagePullPolicy.NEVER"></a>

The image is assumed to exist locally.

No attempt is made to pull the image.

---


### IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind <a name="IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind" id="cdk8s-plus-32.k8s.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind"></a>

Kind is a string value representing the REST resource this object represents.

Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.k8s.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind.DELETE_OPTIONS">DELETE_OPTIONS</a></code> | DeleteOptions. |

---

##### `DELETE_OPTIONS` <a name="DELETE_OPTIONS" id="cdk8s-plus-32.k8s.IoK8SApimachineryPkgApisMetaV1DeleteOptionsKind.DELETE_OPTIONS"></a>

DeleteOptions.

---


### MountPropagation <a name="MountPropagation" id="cdk8s-plus-32.MountPropagation"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.MountPropagation.NONE">NONE</a></code> | This volume mount will not receive any subsequent mounts that are mounted to this volume or any of its subdirectories by the host. |
| <code><a href="#cdk8s-plus-32.MountPropagation.HOST_TO_CONTAINER">HOST_TO_CONTAINER</a></code> | This volume mount will receive all subsequent mounts that are mounted to this volume or any of its subdirectories. |
| <code><a href="#cdk8s-plus-32.MountPropagation.BIDIRECTIONAL">BIDIRECTIONAL</a></code> | This volume mount behaves the same the HostToContainer mount. |

---

##### `NONE` <a name="NONE" id="cdk8s-plus-32.MountPropagation.NONE"></a>

This volume mount will not receive any subsequent mounts that are mounted to this volume or any of its subdirectories by the host.

In similar
fashion, no mounts created by the Container will be visible on the host.

This is the default mode.

This mode is equal to `private` mount propagation as described in the Linux
kernel documentation

---


##### `HOST_TO_CONTAINER` <a name="HOST_TO_CONTAINER" id="cdk8s-plus-32.MountPropagation.HOST_TO_CONTAINER"></a>

This volume mount will receive all subsequent mounts that are mounted to this volume or any of its subdirectories.

In other words, if the host mounts anything inside the volume mount, the
Container will see it mounted there.

Similarly, if any Pod with Bidirectional mount propagation to the same
volume mounts anything there, the Container with HostToContainer mount
propagation will see it.

This mode is equal to `rslave` mount propagation as described in the Linux
kernel documentation

---


##### `BIDIRECTIONAL` <a name="BIDIRECTIONAL" id="cdk8s-plus-32.MountPropagation.BIDIRECTIONAL"></a>

This volume mount behaves the same the HostToContainer mount.

In addition,
all volume mounts created by the Container will be propagated back to the
host and to all Containers of all Pods that use the same volume

A typical use case for this mode is a Pod with a FlexVolume or CSI driver
or a Pod that needs to mount something on the host using a hostPath volume.

This mode is equal to `rshared` mount propagation as described in the Linux
kernel documentation

Caution: Bidirectional mount propagation can be dangerous. It can damage
the host operating system and therefore it is allowed only in privileged
Containers. Familiarity with Linux kernel behavior is strongly recommended.
In addition, any volume mounts created by Containers in Pods must be
destroyed (unmounted) by the Containers on termination.

---


### NetworkPolicyTrafficDefault <a name="NetworkPolicyTrafficDefault" id="cdk8s-plus-32.NetworkPolicyTrafficDefault"></a>

Default behaviors of network traffic in policies.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkPolicyTrafficDefault.DENY">DENY</a></code> | The policy denies all traffic. |
| <code><a href="#cdk8s-plus-32.NetworkPolicyTrafficDefault.ALLOW">ALLOW</a></code> | The policy allows all traffic (either ingress or egress). |

---

##### `DENY` <a name="DENY" id="cdk8s-plus-32.NetworkPolicyTrafficDefault.DENY"></a>

The policy denies all traffic.

Since rules are additive, additional rules or policies can allow
specific traffic.

---


##### `ALLOW` <a name="ALLOW" id="cdk8s-plus-32.NetworkPolicyTrafficDefault.ALLOW"></a>

The policy allows all traffic (either ingress or egress).

Since rules are additive, no additional rule or policies can
subsequently deny the traffic.

---


### NetworkProtocol <a name="NetworkProtocol" id="cdk8s-plus-32.NetworkProtocol"></a>

Network protocols.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.NetworkProtocol.TCP">TCP</a></code> | TCP. |
| <code><a href="#cdk8s-plus-32.NetworkProtocol.UDP">UDP</a></code> | UDP. |
| <code><a href="#cdk8s-plus-32.NetworkProtocol.SCTP">SCTP</a></code> | SCTP. |

---

##### `TCP` <a name="TCP" id="cdk8s-plus-32.NetworkProtocol.TCP"></a>

TCP.

---


##### `UDP` <a name="UDP" id="cdk8s-plus-32.NetworkProtocol.UDP"></a>

UDP.

---


##### `SCTP` <a name="SCTP" id="cdk8s-plus-32.NetworkProtocol.SCTP"></a>

SCTP.

---


### PersistentVolumeAccessMode <a name="PersistentVolumeAccessMode" id="cdk8s-plus-32.PersistentVolumeAccessMode"></a>

Access Modes.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_ONCE">READ_WRITE_ONCE</a></code> | The volume can be mounted as read-write by a single node. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeAccessMode.READ_ONLY_MANY">READ_ONLY_MANY</a></code> | The volume can be mounted as read-only by many nodes. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_MANY">READ_WRITE_MANY</a></code> | The volume can be mounted as read-write by many nodes. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_ONCE_POD">READ_WRITE_ONCE_POD</a></code> | The volume can be mounted as read-write by a single Pod. |

---

##### `READ_WRITE_ONCE` <a name="READ_WRITE_ONCE" id="cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_ONCE"></a>

The volume can be mounted as read-write by a single node.

ReadWriteOnce access mode still can allow multiple pods to access
the volume when the pods are running on the same node.

---


##### `READ_ONLY_MANY` <a name="READ_ONLY_MANY" id="cdk8s-plus-32.PersistentVolumeAccessMode.READ_ONLY_MANY"></a>

The volume can be mounted as read-only by many nodes.

---


##### `READ_WRITE_MANY` <a name="READ_WRITE_MANY" id="cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_MANY"></a>

The volume can be mounted as read-write by many nodes.

---


##### `READ_WRITE_ONCE_POD` <a name="READ_WRITE_ONCE_POD" id="cdk8s-plus-32.PersistentVolumeAccessMode.READ_WRITE_ONCE_POD"></a>

The volume can be mounted as read-write by a single Pod.

Use ReadWriteOncePod access mode if you want to ensure that
only one pod across whole cluster can read that PVC or write to it.
This is only supported for CSI volumes and Kubernetes version 1.22+.

---


### PersistentVolumeMode <a name="PersistentVolumeMode" id="cdk8s-plus-32.PersistentVolumeMode"></a>

Volume Modes.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeMode.FILE_SYSTEM">FILE_SYSTEM</a></code> | Volume is ounted into Pods into a directory. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeMode.BLOCK">BLOCK</a></code> | Use a volume as a raw block device. |

---

##### `FILE_SYSTEM` <a name="FILE_SYSTEM" id="cdk8s-plus-32.PersistentVolumeMode.FILE_SYSTEM"></a>

Volume is ounted into Pods into a directory.

If the volume is backed by a block device and the device is empty,
Kubernetes creates a filesystem on the device before mounting it
for the first time.

---


##### `BLOCK` <a name="BLOCK" id="cdk8s-plus-32.PersistentVolumeMode.BLOCK"></a>

Use a volume as a raw block device.

Such volume is presented into a Pod as a block device,
without any filesystem on it. This mode is useful to provide a Pod the fastest possible way
to access a volume, without any filesystem layer between the Pod
and the volume. On the other hand, the application running in
the Pod must know how to handle a raw block device

---


### PersistentVolumeReclaimPolicy <a name="PersistentVolumeReclaimPolicy" id="cdk8s-plus-32.PersistentVolumeReclaimPolicy"></a>

Reclaim Policies.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy.RETAIN">RETAIN</a></code> | The Retain reclaim policy allows for manual reclamation of the resource. |
| <code><a href="#cdk8s-plus-32.PersistentVolumeReclaimPolicy.DELETE">DELETE</a></code> | For volume plugins that support the Delete reclaim policy, deletion removes both the PersistentVolume object from Kubernetes, as well as the associated storage asset in the external infrastructure, such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume. |

---

##### `RETAIN` <a name="RETAIN" id="cdk8s-plus-32.PersistentVolumeReclaimPolicy.RETAIN"></a>

The Retain reclaim policy allows for manual reclamation of the resource.

When the PersistentVolumeClaim is deleted, the PersistentVolume still exists and the
volume is considered "released". But it is not yet available for another claim
because the previous claimant's data remains on the volume.
An administrator can manually reclaim the volume with the following steps:

1. Delete the PersistentVolume. The associated storage asset in external
   infrastructure (such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume) still exists after the PV is deleted.
2. Manually clean up the data on the associated storage asset accordingly.
3. Manually delete the associated storage asset.

If you want to reuse the same storage asset, create a new PersistentVolume
with the same storage asset definition.

---


##### `DELETE` <a name="DELETE" id="cdk8s-plus-32.PersistentVolumeReclaimPolicy.DELETE"></a>

For volume plugins that support the Delete reclaim policy, deletion removes both the PersistentVolume object from Kubernetes, as well as the associated storage asset in the external infrastructure, such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume.

Volumes that were dynamically provisioned inherit the reclaim policy of their StorageClass, which defaults to Delete.
The administrator should configure the StorageClass according to users' expectations; otherwise,
the PV must be edited or patched after it is created

---


### PodConnectionsIsolation <a name="PodConnectionsIsolation" id="cdk8s-plus-32.PodConnectionsIsolation"></a>

Isolation determines which policies are created when allowing connections from a a pod / workload to peers.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PodConnectionsIsolation.POD">POD</a></code> | Only creates network policies that select the pod. |
| <code><a href="#cdk8s-plus-32.PodConnectionsIsolation.PEER">PEER</a></code> | Only creates network policies that select the peer. |

---

##### `POD` <a name="POD" id="cdk8s-plus-32.PodConnectionsIsolation.POD"></a>

Only creates network policies that select the pod.

---


##### `PEER` <a name="PEER" id="cdk8s-plus-32.PodConnectionsIsolation.PEER"></a>

Only creates network policies that select the peer.

---


### PodManagementPolicy <a name="PodManagementPolicy" id="cdk8s-plus-32.PodManagementPolicy"></a>

Controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down.

The default policy is `OrderedReady`, where pods are created in increasing order
(pod-0, then pod-1, etc) and the controller will wait until each pod is ready before
continuing. When scaling down, the pods are removed in the opposite order.

The alternative policy is `Parallel` which will create pods in parallel to match the
desired scale without waiting, and on scale down will delete all pods at once.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.PodManagementPolicy.ORDERED_READY">ORDERED_READY</a></code> | *No description.* |
| <code><a href="#cdk8s-plus-32.PodManagementPolicy.PARALLEL">PARALLEL</a></code> | *No description.* |

---

##### `ORDERED_READY` <a name="ORDERED_READY" id="cdk8s-plus-32.PodManagementPolicy.ORDERED_READY"></a>

---


##### `PARALLEL` <a name="PARALLEL" id="cdk8s-plus-32.PodManagementPolicy.PARALLEL"></a>

---


### Protocol <a name="Protocol" id="cdk8s-plus-32.Protocol"></a>

Network protocols.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.Protocol.TCP">TCP</a></code> | TCP. |
| <code><a href="#cdk8s-plus-32.Protocol.UDP">UDP</a></code> | UDP. |
| <code><a href="#cdk8s-plus-32.Protocol.SCTP">SCTP</a></code> | SCTP. |

---

##### `TCP` <a name="TCP" id="cdk8s-plus-32.Protocol.TCP"></a>

TCP.

---


##### `UDP` <a name="UDP" id="cdk8s-plus-32.Protocol.UDP"></a>

UDP.

---


##### `SCTP` <a name="SCTP" id="cdk8s-plus-32.Protocol.SCTP"></a>

SCTP.

---


### ResourceFieldPaths <a name="ResourceFieldPaths" id="cdk8s-plus-32.ResourceFieldPaths"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.CPU_LIMIT">CPU_LIMIT</a></code> | CPU limit of the container. |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.MEMORY_LIMIT">MEMORY_LIMIT</a></code> | Memory limit of the container. |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.CPU_REQUEST">CPU_REQUEST</a></code> | CPU request of the container. |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.MEMORY_REQUEST">MEMORY_REQUEST</a></code> | Memory request of the container. |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.STORAGE_LIMIT">STORAGE_LIMIT</a></code> | Ephemeral storage limit of the container. |
| <code><a href="#cdk8s-plus-32.ResourceFieldPaths.STORAGE_REQUEST">STORAGE_REQUEST</a></code> | Ephemeral storage request of the container. |

---

##### `CPU_LIMIT` <a name="CPU_LIMIT" id="cdk8s-plus-32.ResourceFieldPaths.CPU_LIMIT"></a>

CPU limit of the container.

---


##### `MEMORY_LIMIT` <a name="MEMORY_LIMIT" id="cdk8s-plus-32.ResourceFieldPaths.MEMORY_LIMIT"></a>

Memory limit of the container.

---


##### `CPU_REQUEST` <a name="CPU_REQUEST" id="cdk8s-plus-32.ResourceFieldPaths.CPU_REQUEST"></a>

CPU request of the container.

---


##### `MEMORY_REQUEST` <a name="MEMORY_REQUEST" id="cdk8s-plus-32.ResourceFieldPaths.MEMORY_REQUEST"></a>

Memory request of the container.

---


##### `STORAGE_LIMIT` <a name="STORAGE_LIMIT" id="cdk8s-plus-32.ResourceFieldPaths.STORAGE_LIMIT"></a>

Ephemeral storage limit of the container.

---


##### `STORAGE_REQUEST` <a name="STORAGE_REQUEST" id="cdk8s-plus-32.ResourceFieldPaths.STORAGE_REQUEST"></a>

Ephemeral storage request of the container.

---


### RestartPolicy <a name="RestartPolicy" id="cdk8s-plus-32.RestartPolicy"></a>

Restart policy for all containers within the pod.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.RestartPolicy.ALWAYS">ALWAYS</a></code> | Always restart the pod after it exits. |
| <code><a href="#cdk8s-plus-32.RestartPolicy.ON_FAILURE">ON_FAILURE</a></code> | Only restart if the pod exits with a non-zero exit code. |
| <code><a href="#cdk8s-plus-32.RestartPolicy.NEVER">NEVER</a></code> | Never restart the pod. |

---

##### `ALWAYS` <a name="ALWAYS" id="cdk8s-plus-32.RestartPolicy.ALWAYS"></a>

Always restart the pod after it exits.

---


##### `ON_FAILURE` <a name="ON_FAILURE" id="cdk8s-plus-32.RestartPolicy.ON_FAILURE"></a>

Only restart if the pod exits with a non-zero exit code.

---


##### `NEVER` <a name="NEVER" id="cdk8s-plus-32.RestartPolicy.NEVER"></a>

Never restart the pod.

---


### ScalingStrategy <a name="ScalingStrategy" id="cdk8s-plus-32.ScalingStrategy"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ScalingStrategy.MAX_CHANGE">MAX_CHANGE</a></code> | Use the policy that provisions the most changes. |
| <code><a href="#cdk8s-plus-32.ScalingStrategy.MIN_CHANGE">MIN_CHANGE</a></code> | Use the policy that provisions the least amount of changes. |
| <code><a href="#cdk8s-plus-32.ScalingStrategy.DISABLED">DISABLED</a></code> | Disables scaling in this direction. |

---

##### `MAX_CHANGE` <a name="MAX_CHANGE" id="cdk8s-plus-32.ScalingStrategy.MAX_CHANGE"></a>

Use the policy that provisions the most changes.

---


##### `MIN_CHANGE` <a name="MIN_CHANGE" id="cdk8s-plus-32.ScalingStrategy.MIN_CHANGE"></a>

Use the policy that provisions the least amount of changes.

---


##### ~~`DISABLED`~~ <a name="DISABLED" id="cdk8s-plus-32.ScalingStrategy.DISABLED"></a>

- *Deprecated:* - Omit the ScalingRule instead

Disables scaling in this direction.

---


### SeccompProfileType <a name="SeccompProfileType" id="cdk8s-plus-32.SeccompProfileType"></a>

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.SeccompProfileType.LOCALHOST">LOCALHOST</a></code> | A profile defined in a file on the node should be used. |
| <code><a href="#cdk8s-plus-32.SeccompProfileType.RUNTIME_DEFAULT">RUNTIME_DEFAULT</a></code> | The container runtime default profile should be used. |
| <code><a href="#cdk8s-plus-32.SeccompProfileType.UNCONFINED">UNCONFINED</a></code> | No profile should be applied. |

---

##### `LOCALHOST` <a name="LOCALHOST" id="cdk8s-plus-32.SeccompProfileType.LOCALHOST"></a>

A profile defined in a file on the node should be used.

---


##### `RUNTIME_DEFAULT` <a name="RUNTIME_DEFAULT" id="cdk8s-plus-32.SeccompProfileType.RUNTIME_DEFAULT"></a>

The container runtime default profile should be used.

---


##### `UNCONFINED` <a name="UNCONFINED" id="cdk8s-plus-32.SeccompProfileType.UNCONFINED"></a>

No profile should be applied.

---


### ServiceType <a name="ServiceType" id="cdk8s-plus-32.ServiceType"></a>

For some parts of your application (for example, frontends) you may want to expose a Service onto an external IP address, that's outside of your cluster.

Kubernetes ServiceTypes allow you to specify what kind of Service you want.
The default is ClusterIP.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.ServiceType.CLUSTER_IP">CLUSTER_IP</a></code> | Exposes the Service on a cluster-internal IP. |
| <code><a href="#cdk8s-plus-32.ServiceType.NODE_PORT">NODE_PORT</a></code> | Exposes the Service on each Node's IP at a static port (the NodePort). |
| <code><a href="#cdk8s-plus-32.ServiceType.LOAD_BALANCER">LOAD_BALANCER</a></code> | Exposes the Service externally using a cloud provider's load balancer. |
| <code><a href="#cdk8s-plus-32.ServiceType.EXTERNAL_NAME">EXTERNAL_NAME</a></code> | Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up. |

---

##### `CLUSTER_IP` <a name="CLUSTER_IP" id="cdk8s-plus-32.ServiceType.CLUSTER_IP"></a>

Exposes the Service on a cluster-internal IP.

Choosing this value makes the Service only reachable from within the cluster.
This is the default ServiceType

---


##### `NODE_PORT` <a name="NODE_PORT" id="cdk8s-plus-32.ServiceType.NODE_PORT"></a>

Exposes the Service on each Node's IP at a static port (the NodePort).

A ClusterIP Service, to which the NodePort Service routes, is automatically created.
You'll be able to contact the NodePort Service, from outside the cluster,
by requesting <NodeIP>:<NodePort>.

---


##### `LOAD_BALANCER` <a name="LOAD_BALANCER" id="cdk8s-plus-32.ServiceType.LOAD_BALANCER"></a>

Exposes the Service externally using a cloud provider's load balancer.

NodePort and ClusterIP Services, to which the external load balancer routes,
are automatically created.

---


##### `EXTERNAL_NAME` <a name="EXTERNAL_NAME" id="cdk8s-plus-32.ServiceType.EXTERNAL_NAME"></a>

Maps the Service to the contents of the externalName field (e.g. foo.bar.example.com), by returning a CNAME record with its value. No proxying of any kind is set up.

> Note: You need either kube-dns version 1.7 or CoreDNS version 0.0.8 or higher to use the ExternalName type.

---


### TaintEffect <a name="TaintEffect" id="cdk8s-plus-32.TaintEffect"></a>

Taint effects.

#### Members <a name="Members" id="Members"></a>

| **Name** | **Description** |
| --- | --- |
| <code><a href="#cdk8s-plus-32.TaintEffect.NO_SCHEDULE">NO_SCHEDULE</a></code> | This means that no pod will be able to schedule onto the node unless it has a matching toleration. |
| <code><a href="#cdk8s-plus-32.TaintEffect.PREFER_NO_SCHEDULE">PREFER_NO_SCHEDULE</a></code> | This is a "preference" or "soft" version of `NO_SCHEDULE` -- the system will try to avoid placing a pod that does not tolerate the taint on the node, but it is not required. |
| <code><a href="#cdk8s-plus-32.TaintEffect.NO_EXECUTE">NO_EXECUTE</a></code> | This affects pods that are already running on the node as follows:. |

---

##### `NO_SCHEDULE` <a name="NO_SCHEDULE" id="cdk8s-plus-32.TaintEffect.NO_SCHEDULE"></a>

This means that no pod will be able to schedule onto the node unless it has a matching toleration.

---


##### `PREFER_NO_SCHEDULE` <a name="PREFER_NO_SCHEDULE" id="cdk8s-plus-32.TaintEffect.PREFER_NO_SCHEDULE"></a>

This is a "preference" or "soft" version of `NO_SCHEDULE` -- the system will try to avoid placing a pod that does not tolerate the taint on the node, but it is not required.

---


##### `NO_EXECUTE` <a name="NO_EXECUTE" id="cdk8s-plus-32.TaintEffect.NO_EXECUTE"></a>

This affects pods that are already running on the node as follows:.

* Pods that do not tolerate the taint are evicted immediately.
* Pods that tolerate the taint without specifying `duration` remain bound forever.
* Pods that tolerate the taint with a specified `duration` remain bound for
  the specified amount of time.

---

