Class AutoScalingGroupOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.AutoScalingGroupOptions.Jsii$Proxy
- All Implemented Interfaces:
AutoScalingGroupOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- AutoScalingGroupOptions
@Stability(Stable)
@Internal
public static final class AutoScalingGroupOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AutoScalingGroupOptions
An implementation for
AutoScalingGroupOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.AutoScalingGroupOptions
AutoScalingGroupOptions.Builder, AutoScalingGroupOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theAutoScalingGroupOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanConfigures 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.final BootstrapOptionsAllows options for node bootstrapping through EC2 user data.final MachineImageTypeAllow options to specify different machine image type.final BooleanWill automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.final BooleanInstalls the AWS spot instance interrupt handler on the cluster if it's not already added.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAutoScalingGroupOptions.Builder.
-
-
Method Details
-
getBootstrapEnabled
Description copied from interface:AutoScalingGroupOptionsConfigures 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
- Specified by:
getBootstrapEnabledin interfaceAutoScalingGroupOptions
-
getBootstrapOptions
Description copied from interface:AutoScalingGroupOptionsAllows options for node bootstrapping through EC2 user data.Default: - default options
- Specified by:
getBootstrapOptionsin interfaceAutoScalingGroupOptions
-
getMachineImageType
Description copied from interface:AutoScalingGroupOptionsAllow options to specify different machine image type.Default: MachineImageType.AMAZON_LINUX_2
- Specified by:
getMachineImageTypein interfaceAutoScalingGroupOptions
-
getMapRole
Description copied from interface:AutoScalingGroupOptionsWill 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).
- Specified by:
getMapRolein interfaceAutoScalingGroupOptions
-
getSpotInterruptHandler
Description copied from interface:AutoScalingGroupOptionsInstalls the AWS spot instance interrupt handler on the cluster if it's not already added.Only relevant if
spotPriceis configured on the auto-scaling group.Default: true
- Specified by:
getSpotInterruptHandlerin interfaceAutoScalingGroupOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-