@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.368Z") @Stability(value=Experimental) public interface AutoScalingGroupCapacityOptions extends software.amazon.jsii.JsiiSerializable, CommonAutoScalingGroupProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
AutoScalingGroupCapacityOptions.Builder
A builder for
AutoScalingGroupCapacityOptions |
static class |
AutoScalingGroupCapacityOptions.Jsii$Proxy
An implementation for
AutoScalingGroupCapacityOptions |
| Modifier and Type | Method and Description |
|---|---|
static AutoScalingGroupCapacityOptions.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) EKS node bootstrapping options.
|
InstanceType |
getInstanceType()
(experimental) Instance type of the instances to start.
|
default MachineImageType |
getMachineImageType()
(experimental) 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.
|
getAllowAllOutbound, getAssociatePublicIpAddress, getAutoScalingGroupName, getBlockDevices, getCooldown, getDesiredCapacity, getGroupMetrics, getHealthCheck, getIgnoreUnmodifiedSizeProperties, getInstanceMonitoring, getKeyName, getMaxCapacity, getMaxInstanceLifetime, getMinCapacity, getNewInstancesProtectedFromScaleIn, getNotifications, getSignals, getSpotPrice, getUpdatePolicy, getVpcSubnets@Stability(value=Experimental) @NotNull InstanceType getInstanceType()
@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: - none
@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 used.
Default: true
@Stability(value=Experimental) static AutoScalingGroupCapacityOptions.Builder builder()
builder in interface CommonAutoScalingGroupPropsAutoScalingGroupCapacityOptions.Builder of AutoScalingGroupCapacityOptionsCopyright © 2021. All rights reserved.