Class KubectlProviderOptions.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class KubectlProviderOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubectlProviderOptions
An implementation for KubectlProviderOptions
  • 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(KubectlProviderOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the KubectlProviderOptions.Builder.
  • Method Details

    • getKubectlLayer

      public final ILayerVersion getKubectlLayer()
      Description copied from interface: KubectlProviderOptions
      (experimental) An AWS Lambda layer that includes kubectl and helm.
      Specified by:
      getKubectlLayer in interface KubectlProviderOptions
    • getAwscliLayer

      public final ILayerVersion getAwscliLayer()
      Description copied from interface: KubectlProviderOptions
      (experimental) An AWS Lambda layer that contains the aws CLI.

      If not defined, a default layer will be used containing the AWS CLI 2.x.

      Specified by:
      getAwscliLayer in interface KubectlProviderOptions
    • getEnvironment

      public final Map<String,String> getEnvironment()
      Description copied from interface: KubectlProviderOptions
      (experimental) Custom environment variables when running kubectl against this cluster.
      Specified by:
      getEnvironment in interface KubectlProviderOptions
    • getMemory

      public final Size getMemory()
      Description copied from interface: KubectlProviderOptions
      (experimental) The amount of memory allocated to the kubectl provider's lambda function.
      Specified by:
      getMemory in interface KubectlProviderOptions
    • getPrivateSubnets

      public final List<ISubnet> getPrivateSubnets()
      Description copied from interface: KubectlProviderOptions
      (experimental) Subnets to host the kubectl compute resources.

      If not specified, the k8s endpoint is expected to be accessible publicly.

      Specified by:
      getPrivateSubnets in interface KubectlProviderOptions
    • getRole

      public final IRole getRole()
      Description copied from interface: KubectlProviderOptions
      (experimental) An IAM role that can perform kubectl operations against this cluster.

      The role should be mapped to the system:masters Kubernetes RBAC role.

      This role is directly passed to the lambda handler that sends Kube Ctl commands to the cluster.

      Default: - if not specified, the default role created by a lambda function will be used.

      Specified by:
      getRole in interface KubectlProviderOptions
    • getSecurityGroup

      public final ISecurityGroup getSecurityGroup()
      Description copied from interface: KubectlProviderOptions
      (experimental) A security group to use for kubectl execution.

      Default: - If not specified, the k8s endpoint is expected to be accessible publicly.

      Specified by:
      getSecurityGroup in interface KubectlProviderOptions
    • $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