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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.default BooleanDeprecated.default BootstrapOptionsDeprecated.default BooleanDeprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
falseand manually invokeautoscalingGroup.addUserData().Default: true
-
getBootstrapOptions
Deprecated.(deprecated) Allows options for node bootstrapping through EC2 user data. -
getMapRole
Deprecated.(deprecated) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.This cannot be explicitly set to
trueif the cluster has kubectl disabled.Default: - true if the cluster has kubectl enabled (which is the default).
-
builder
Deprecated.- Returns:
- a
AutoScalingGroupOptions.BuilderofAutoScalingGroupOptions
-