@Stability(value=Experimental) public static final class AutoScalingGroupOptions.Builder extends Object implements software.amazon.jsii.Builder<AutoScalingGroupOptions>
AutoScalingGroupOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AutoScalingGroupOptions.Builder |
bootstrapEnabled(Boolean bootstrapEnabled)
Sets the value of
AutoScalingGroupOptions.getBootstrapEnabled() |
AutoScalingGroupOptions.Builder |
bootstrapOptions(BootstrapOptions bootstrapOptions)
Sets the value of
AutoScalingGroupOptions.getBootstrapOptions() |
AutoScalingGroupOptions |
build()
Builds the configured instance.
|
AutoScalingGroupOptions.Builder |
mapRole(Boolean mapRole)
Sets the value of
AutoScalingGroupOptions.getMapRole() |
@Stability(value=Experimental) public AutoScalingGroupOptions.Builder bootstrapEnabled(Boolean bootstrapEnabled)
AutoScalingGroupOptions.getBootstrapEnabled()bootstrapEnabled - 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 invoke autoscalingGroup.addUserData().this@Stability(value=Experimental) public AutoScalingGroupOptions.Builder bootstrapOptions(BootstrapOptions bootstrapOptions)
AutoScalingGroupOptions.getBootstrapOptions()bootstrapOptions - Allows options for node bootstrapping through EC2 user data.this@Stability(value=Experimental) public AutoScalingGroupOptions.Builder mapRole(Boolean mapRole)
AutoScalingGroupOptions.getMapRole()mapRole - 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.this@Stability(value=Experimental) public AutoScalingGroupOptions build()
build in interface software.amazon.jsii.Builder<AutoScalingGroupOptions>AutoScalingGroupOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.