Class KubernetesPatchProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.KubernetesPatchProps.Jsii$Proxy
All Implemented Interfaces:
KubernetesPatchProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
KubernetesPatchProps

@Stability(Stable) @Internal public static final class KubernetesPatchProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubernetesPatchProps
An implementation for KubernetesPatchProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(KubernetesPatchProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the KubernetesPatchProps.Builder.
  • Method Details

    • getApplyPatch

      public final Map<String,Object> getApplyPatch()
      Description copied from interface: KubernetesPatchProps
      The JSON object to pass to kubectl patch when the resource is created/updated.
      Specified by:
      getApplyPatch in interface KubernetesPatchProps
    • getCluster

      public final ICluster getCluster()
      Description copied from interface: KubernetesPatchProps
      The cluster to apply the patch to.

      [disable-awslint:ref-via-interface]

      Specified by:
      getCluster in interface KubernetesPatchProps
    • getResourceName

      public final String getResourceName()
      Description copied from interface: KubernetesPatchProps
      The full name of the resource to patch (e.g. deployment/coredns).
      Specified by:
      getResourceName in interface KubernetesPatchProps
    • getRestorePatch

      public final Map<String,Object> getRestorePatch()
      Description copied from interface: KubernetesPatchProps
      The JSON object to pass to kubectl patch when the resource is removed.
      Specified by:
      getRestorePatch in interface KubernetesPatchProps
    • getPatchType

      public final PatchType getPatchType()
      Description copied from interface: KubernetesPatchProps
      The patch type to pass to kubectl patch.

      The default type used by kubectl patch is "strategic".

      Default: PatchType.STRATEGIC

      Specified by:
      getPatchType in interface KubernetesPatchProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: KubernetesPatchProps
      The removal policy applied to the custom resource that manages the Kubernetes patch.

      The removal policy controls what happens to the resource if it stops being managed by CloudFormation. This can happen in one of three situations:

      • The resource is removed from the template, so CloudFormation stops managing it
      • A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
      • The stack is deleted, so CloudFormation stops managing all resources in it

      Default: RemovalPolicy.DESTROY

      Specified by:
      getRemovalPolicy in interface KubernetesPatchProps
    • getResourceNamespace

      public final String getResourceNamespace()
      Description copied from interface: KubernetesPatchProps
      The kubernetes API namespace.

      Default: "default"

      Specified by:
      getResourceNamespace in interface KubernetesPatchProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object