Class KubernetesPatch
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.eks.KubernetesPatch
- All Implemented Interfaces:
IConstruct,IDependable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.643Z")
@Stability(Stable)
public class KubernetesPatch
extends Construct
A CloudFormation resource which applies/restores a JSON patch into a Kubernetes resource.
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();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedKubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef) KubernetesPatch(software.constructs.Construct scope, String id, KubernetesPatchProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
KubernetesPatch
protected KubernetesPatch(software.amazon.jsii.JsiiObjectRef objRef) -
KubernetesPatch
protected KubernetesPatch(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
KubernetesPatch
@Stability(Stable) public KubernetesPatch(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubernetesPatchProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-