@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:36.384Z") 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 . |
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
KubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
KubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef) |
|
KubernetesPatch(software.constructs.Construct scope,
java.lang.String id,
KubernetesPatchProps props) |
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected KubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef)
protected KubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public KubernetesPatch(software.constructs.Construct scope, java.lang.String id, KubernetesPatchProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.