Class AutoScalingGroupOptions.Jsii$Proxy

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

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

    • getBootstrapEnabled

      public final Boolean getBootstrapEnabled()
      Description copied from interface: AutoScalingGroupOptions
      Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke /etc/eks/bootstrap.sh) and associate it with the EKS cluster.

      If you wish to provide a custom user data script, set this to false and manually invoke autoscalingGroup.addUserData().

      Default: true

      Specified by:
      getBootstrapEnabled in interface AutoScalingGroupOptions
    • getBootstrapOptions

      public final BootstrapOptions getBootstrapOptions()
      Description copied from interface: AutoScalingGroupOptions
      Allows options for node bootstrapping through EC2 user data.

      Default: - default options

      Specified by:
      getBootstrapOptions in interface AutoScalingGroupOptions
    • getMachineImageType

      public final MachineImageType getMachineImageType()
      Description copied from interface: AutoScalingGroupOptions
      Allow options to specify different machine image type.

      Default: MachineImageType.AMAZON_LINUX_2

      Specified by:
      getMachineImageType in interface AutoScalingGroupOptions
    • getMapRole

      public final Boolean getMapRole()
      Description copied from interface: AutoScalingGroupOptions
      Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.

      This cannot be explicitly set to true if the cluster has kubectl disabled.

      Default: - true if the cluster has kubectl enabled (which is the default).

      Specified by:
      getMapRole in interface AutoScalingGroupOptions
    • getSpotInterruptHandler

      public final Boolean getSpotInterruptHandler()
      Description copied from interface: AutoScalingGroupOptions
      Installs the AWS spot instance interrupt handler on the cluster if it's not already added.

      Only relevant if spotPrice is configured on the auto-scaling group.

      Default: true

      Specified by:
      getSpotInterruptHandler in interface AutoScalingGroupOptions
    • $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