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
Modifier and TypeInterfaceDescriptionstatic final class
Deprecated.static final class
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Deprecated.default Boolean
Deprecated.default BootstrapOptions
Deprecated.default Boolean
Deprecated.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
false
and 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
true
if the cluster has kubectl disabled.Default: - true if the cluster has kubectl enabled (which is the default).
-
builder
Deprecated.- Returns:
- a
AutoScalingGroupOptions.Builder
ofAutoScalingGroupOptions
-