Class AutoScalingGroupOptions.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.AutoScalingGroupOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AutoScalingGroupOptions>
- Enclosing interface:
- AutoScalingGroupOptions
@Stability(Deprecated)
@Deprecated
public static final class AutoScalingGroupOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AutoScalingGroupOptions>
Deprecated.
A builder for
AutoScalingGroupOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapEnabled(Boolean bootstrapEnabled) Deprecated.bootstrapOptions(BootstrapOptions bootstrapOptions) Deprecated.build()Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
bootstrapEnabled
@Stability(Deprecated) @Deprecated public AutoScalingGroupOptions.Builder bootstrapEnabled(Boolean bootstrapEnabled) Deprecated.Sets the value ofAutoScalingGroupOptions.getBootstrapEnabled()- Parameters:
bootstrapEnabled- 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 tofalseand manually invokeautoscalingGroup.addUserData().- Returns:
this
-
bootstrapOptions
@Stability(Deprecated) @Deprecated public AutoScalingGroupOptions.Builder bootstrapOptions(BootstrapOptions bootstrapOptions) Deprecated.Sets the value ofAutoScalingGroupOptions.getBootstrapOptions()- Parameters:
bootstrapOptions- Allows options for node bootstrapping through EC2 user data.- Returns:
this
-
mapRole
Deprecated.Sets the value ofAutoScalingGroupOptions.getMapRole()- Parameters:
mapRole- Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC. This cannot be explicitly set totrueif the cluster has kubectl disabled.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AutoScalingGroupOptions>- Returns:
- a new instance of
AutoScalingGroupOptions - Throws:
NullPointerException- if any required attribute was not provided
-