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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.eks.AutoScalingGroupOptions
AutoScalingGroupOptions.Builder, AutoScalingGroupOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theAutoScalingGroupOptions.Builder
.protected
Jsii$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.JsonNode
final boolean
final Boolean
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.final BootstrapOptions
Allows options for node bootstrapping through EC2 user data.final MachineImageType
Allow options to specify different machine image type.final Boolean
Will automatically update the aws-auth ConfigMap to map the IAM instance role to RBAC.final Boolean
Installs the AWS spot instance interrupt handler on the cluster if it's not already added.final int
hashCode()
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:AutoScalingGroupOptions
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
- Specified by:
getBootstrapEnabled
in interfaceAutoScalingGroupOptions
-
getBootstrapOptions
Description copied from interface:AutoScalingGroupOptions
Allows options for node bootstrapping through EC2 user data.Default: - default options
- Specified by:
getBootstrapOptions
in interfaceAutoScalingGroupOptions
-
getMachineImageType
Description copied from interface:AutoScalingGroupOptions
Allow options to specify different machine image type.Default: MachineImageType.AMAZON_LINUX_2
- Specified by:
getMachineImageType
in interfaceAutoScalingGroupOptions
-
getMapRole
Description copied from interface:AutoScalingGroupOptions
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).
- Specified by:
getMapRole
in interfaceAutoScalingGroupOptions
-
getSpotInterruptHandler
Description copied from interface:AutoScalingGroupOptions
Installs the AWS spot instance interrupt handler on the cluster if it's not already added.Only relevant if
spotPrice
is configured on the auto-scaling group.Default: true
- Specified by:
getSpotInterruptHandler
in interfaceAutoScalingGroupOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-