Class AutoScalingGroupOptions.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class AutoScalingGroupOptions.Jsii$Proxy extends implements AutoScalingGroupOptions
An implementation for AutoScalingGroupOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      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/ 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
    • equals

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

      public final int hashCode()
      hashCode in class Object