@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.954Z") @Stability(value=Stable) public class KubernetesPatch extends software.constructs.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. |
| 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) |
jsiiAsyncCall, 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.