@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.369Z") @Stability(value=Experimental) public interface AutoScalingGroupOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AutoScalingGroupOptions.Builder
A builder for
AutoScalingGroupOptions |
static class |
AutoScalingGroupOptions.Jsii$Proxy
An implementation for
AutoScalingGroupOptions |
| Modifier and Type | Method and Description |
|---|---|
static AutoScalingGroupOptions.Builder |
builder() |
default Boolean |
getBootstrapEnabled()
(experimental) 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.
|
default BootstrapOptions |
getBootstrapOptions()
(experimental) Allows options for node bootstrapping through EC2 user data.
|
default MachineImageType |
getMachineImageType()
(experimental) Allow options to specify different machine image type.
|
default Boolean |
getMapRole()
(experimental) Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.
|
default Boolean |
getSpotInterruptHandler()
(experimental) Installs the AWS spot instance interrupt handler on the cluster if it's not already added.
|
@Stability(value=Experimental) @Nullable default Boolean getBootstrapEnabled()
If you wish to provide a custom user data script, set this to false and
manually invoke autoscalingGroup.addUserData().
Default: true
@Stability(value=Experimental) @Nullable default BootstrapOptions getBootstrapOptions()
Default: - default options
@Stability(value=Experimental) @Nullable default MachineImageType getMachineImageType()
Default: MachineImageType.AMAZON_LINUX_2
@Stability(value=Experimental) @Nullable default Boolean getMapRole()
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).
@Stability(value=Experimental) @Nullable default Boolean getSpotInterruptHandler()
Only relevant if spotPrice is configured on the auto-scaling group.
Default: true
@Stability(value=Experimental) static AutoScalingGroupOptions.Builder builder()
AutoScalingGroupOptions.Builder of AutoScalingGroupOptionsCopyright © 2021. All rights reserved.