Class ClusterProps.Jsii$Proxy

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

@Stability(Deprecated) @Deprecated @Internal public static final class ClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClusterProps
Deprecated.
An implementation for ClusterProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.legacy.ClusterProps

    ClusterProps.Builder, ClusterProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Deprecated.
    Constructor that initializes the object based on literal property values passed by the ClusterProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
    Deprecated.
     
    final boolean
    Deprecated.
     
    final String
    Deprecated.
    (deprecated) Name for the cluster.
    final Number
    Deprecated.
    (deprecated) Number of instances to allocate as an initial capacity for this cluster.
    Deprecated.
    (deprecated) The instance type to use for the default capacity.
    final Boolean
    Deprecated.
    (deprecated) Allows defining kubectrl-related resources on this cluster.
    final IRole
    Deprecated.
    (deprecated) An IAM role that will be added to the system:masters Kubernetes RBAC group.
    final Boolean
    Deprecated.
    (deprecated) Determines whether a CloudFormation output with the name of the cluster will be synthesized.
    final Boolean
    Deprecated.
    (deprecated) Determines whether a CloudFormation output with the aws eks update-kubeconfig command will be synthesized.
    final Boolean
    Deprecated.
    (deprecated) Determines whether a CloudFormation output with the ARN of the "masters" IAM role will be synthesized (if mastersRole is specified).
    final IRole
    Deprecated.
    (deprecated) Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
    Deprecated.
    (deprecated) Security Group to use for Control Plane ENIs.
    final String
    Deprecated.
    (deprecated) The Kubernetes version to run in the cluster.
    final IVpc
    Deprecated.
    (deprecated) The VPC in which to create the Cluster.
    Deprecated.
    (deprecated) Where to place EKS Control Plane ENIs.
    final int
    Deprecated.
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
      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(ClusterProps.Builder builder)
      Deprecated.
      Constructor that initializes the object based on literal property values passed by the ClusterProps.Builder.
  • Method Details

    • getClusterName

      public final String getClusterName()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Name for the cluster.

      Default: - Automatically generated name

      Specified by:
      getClusterName in interface ClusterProps
    • getDefaultCapacity

      public final Number getDefaultCapacity()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Number of instances to allocate as an initial capacity for this cluster.

      Instance type can be configured through defaultCapacityInstanceType, which defaults to m5.large.

      Use cluster.addCapacity to add additional customized capacity. Set this to 0 is you wish to avoid the initial capacity allocation.

      Default: 2

      Specified by:
      getDefaultCapacity in interface ClusterProps
    • getDefaultCapacityInstance

      public final InstanceType getDefaultCapacityInstance()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) The instance type to use for the default capacity.

      This will only be taken into account if defaultCapacity is > 0.

      Default: m5.large

      Specified by:
      getDefaultCapacityInstance in interface ClusterProps
    • getKubectlEnabled

      public final Boolean getKubectlEnabled()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Allows defining kubectrl-related resources on this cluster.

      If this is disabled, it will not be possible to use the following capabilities:

      • addResource
      • addRoleMapping
      • addUserMapping
      • addMastersRole and props.mastersRole

      If this is disabled, the cluster can only be managed by issuing kubectl commands from a session that uses the IAM role/user that created the account.

      NOTE: changing this value will destoy the cluster. This is because a managable cluster must be created using an AWS CloudFormation custom resource which executes with an IAM role owned by the CDK app.

      Default: true The cluster can be managed by the AWS CDK application.

      Specified by:
      getKubectlEnabled in interface ClusterProps
    • getMastersRole

      public final IRole getMastersRole()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) An IAM role that will be added to the system:masters Kubernetes RBAC group.

      Default: - By default, it will only possible to update this Kubernetes system by adding resources to this cluster via `addResource` or by defining `KubernetesResource` resources in your AWS CDK app. Use this if you wish to grant cluster administration privileges to another role.

      Specified by:
      getMastersRole in interface ClusterProps
      See Also:
    • getOutputClusterName

      public final Boolean getOutputClusterName()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Determines whether a CloudFormation output with the name of the cluster will be synthesized.

      Default: false

      Specified by:
      getOutputClusterName in interface ClusterProps
    • getOutputConfigCommand

      public final Boolean getOutputConfigCommand()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Determines whether a CloudFormation output with the aws eks update-kubeconfig command will be synthesized.

      This command will include the cluster name and, if applicable, the ARN of the masters IAM role.

      Default: true

      Specified by:
      getOutputConfigCommand in interface ClusterProps
    • getOutputMastersRoleArn

      public final Boolean getOutputMastersRoleArn()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Determines whether a CloudFormation output with the ARN of the "masters" IAM role will be synthesized (if mastersRole is specified).

      Default: false

      Specified by:
      getOutputMastersRoleArn in interface ClusterProps
    • getRole

      public final IRole getRole()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.

      Default: - A role is automatically created for you

      Specified by:
      getRole in interface ClusterProps
    • getSecurityGroup

      public final ISecurityGroup getSecurityGroup()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Security Group to use for Control Plane ENIs.

      Default: - A security group is automatically created

      Specified by:
      getSecurityGroup in interface ClusterProps
    • getVersion

      public final String getVersion()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) The Kubernetes version to run in the cluster.

      Default: - If not supplied, will use Amazon default version

      Specified by:
      getVersion in interface ClusterProps
    • getVpc

      public final IVpc getVpc()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) The VPC in which to create the Cluster.

      Default: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.

      Specified by:
      getVpc in interface ClusterProps
    • getVpcSubnets

      public final List<SubnetSelection> getVpcSubnets()
      Deprecated.
      Description copied from interface: ClusterProps
      (deprecated) Where to place EKS Control Plane ENIs.

      If you want to create public load balancers, this must include public subnets.

      For example, to only select private subnets, supply the following:

       Map<String, SubnetType>[] vpcSubnets = List.of(Map.of("subnetType", SubnetType.PRIVATE_WITH_NAT));
       

      Default: - All public and private subnets

      Specified by:
      getVpcSubnets in interface ClusterProps
    • $jsii$toJson

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

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

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