Interface AutoScalingGroupOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AutoScalingGroupOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.684Z") @Stability(Deprecated) @Deprecated public interface AutoScalingGroupOptions extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Options for adding an AutoScalingGroup as capacity.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eks.legacy.*;
 AutoScalingGroupOptions autoScalingGroupOptions = AutoScalingGroupOptions.builder()
         .bootstrapEnabled(false)
         .bootstrapOptions(BootstrapOptions.builder()
                 .additionalArgs("additionalArgs")
                 .awsApiRetryAttempts(123)
                 .dockerConfigJson("dockerConfigJson")
                 .enableDockerBridge(false)
                 .kubeletExtraArgs("kubeletExtraArgs")
                 .useMaxPods(false)
                 .build())
         .mapRole(false)
         .build();
 
  • Method Details

    • getBootstrapEnabled

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getBootstrapEnabled()
      Deprecated.
      (deprecated) 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

    • getBootstrapOptions

      @Stability(Deprecated) @Deprecated @Nullable default BootstrapOptions getBootstrapOptions()
      Deprecated.
      (deprecated) Allows options for node bootstrapping through EC2 user data.
    • getMapRole

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getMapRole()
      Deprecated.
      (deprecated) 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).

    • builder

      @Stability(Deprecated) @Deprecated static AutoScalingGroupOptions.Builder builder()
      Deprecated.
      Returns:
      a AutoScalingGroupOptions.Builder of AutoScalingGroupOptions