@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:46.744Z") @Stability(value=Stable) public class KubernetesPatch extends Construct
Example:
Cluster cluster;
KubernetesPatch.Builder.create(this, "hello-kub-deployment-label")
.cluster(cluster)
.resourceName("deployment/hello-kubernetes")
.applyPatch(Map.of("spec", Map.of("replicas", 5)))
.restorePatch(Map.of("spec", Map.of("replicas", 3)))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
KubernetesPatch.Builder
A fluent builder for
KubernetesPatch. |
software.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
KubernetesPatch(software.constructs.Construct scope,
String id,
KubernetesPatchProps props) |
protected |
KubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
KubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef) |
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected KubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef)
protected KubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public KubernetesPatch(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
KubernetesPatchProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.