@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.084Z") @Stability(value=Stable) public interface KubernetesPatchProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
KubernetesPatchProps.Builder
A builder for
KubernetesPatchProps |
static class |
KubernetesPatchProps.Jsii$Proxy
An implementation for
KubernetesPatchProps |
| Modifier and Type | Method and Description |
|---|---|
static KubernetesPatchProps.Builder |
builder() |
Map<String,Object> |
getApplyPatch()
The JSON object to pass to `kubectl patch` when the resource is created/updated.
|
ICluster |
getCluster()
The cluster to apply the patch to.
|
default PatchType |
getPatchType()
The patch type to pass to `kubectl patch`.
|
String |
getResourceName()
The full name of the resource to patch (e.g.
|
default String |
getResourceNamespace()
The kubernetes API namespace.
|
Map<String,Object> |
getRestorePatch()
The JSON object to pass to `kubectl patch` when the resource is removed.
|
@Stability(value=Stable) @NotNull Map<String,Object> getApplyPatch()
@Stability(value=Stable) @NotNull ICluster getCluster()
[disable-awslint:ref-via-interface]
@Stability(value=Stable) @NotNull String getResourceName()
@Stability(value=Stable) @NotNull Map<String,Object> getRestorePatch()
@Stability(value=Stable) @Nullable default PatchType getPatchType()
The default type used by kubectl patch is "strategic".
Default: PatchType.STRATEGIC
@Stability(value=Stable) @Nullable default String getResourceNamespace()
Default: "default"
@Stability(value=Stable) static KubernetesPatchProps.Builder builder()
KubernetesPatchProps.Builder of KubernetesPatchPropsCopyright © 2021. All rights reserved.