@Stability(value=Stable) @Internal public static final class AutoScalingGroupOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AutoScalingGroupOptions
AutoScalingGroupOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAutoScalingGroupOptions.Builder, AutoScalingGroupOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean bootstrapEnabled,
BootstrapOptions bootstrapOptions,
MachineImageType machineImageType,
Boolean mapRole,
Boolean spotInterruptHandler)
Constructor that initializes the object based on literal property values passed by the
AutoScalingGroupOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getBootstrapEnabled()
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.
|
BootstrapOptions |
getBootstrapOptions()
Allows options for node bootstrapping through EC2 user data.
|
MachineImageType |
getMachineImageType()
Allow options to specify different machine image type.
|
Boolean |
getMapRole()
Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.
|
Boolean |
getSpotInterruptHandler()
Installs the AWS spot instance interrupt handler on the cluster if it's not already added.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean bootstrapEnabled, BootstrapOptions bootstrapOptions, MachineImageType machineImageType, Boolean mapRole, Boolean spotInterruptHandler)
AutoScalingGroupOptions.Builder.public final Boolean getBootstrapEnabled()
AutoScalingGroupOptions
If you wish to provide a custom user data script, set this to false and
manually invoke autoscalingGroup.addUserData().
Default: true
getBootstrapEnabled in interface AutoScalingGroupOptionspublic final BootstrapOptions getBootstrapOptions()
AutoScalingGroupOptionsDefault: - default options
getBootstrapOptions in interface AutoScalingGroupOptionspublic final MachineImageType getMachineImageType()
AutoScalingGroupOptionsDefault: MachineImageType.AMAZON_LINUX_2
getMachineImageType in interface AutoScalingGroupOptionspublic final Boolean getMapRole()
AutoScalingGroupOptions
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).
getMapRole in interface AutoScalingGroupOptionspublic final Boolean getSpotInterruptHandler()
AutoScalingGroupOptions
Only relevant if spotPrice is configured on the auto-scaling group.
Default: true
getSpotInterruptHandler in interface AutoScalingGroupOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.