Interface CapacityOptions
- All Superinterfaces:
CommonAutoScalingGroupProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CapacityOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.688Z")
@Stability(Deprecated)
@Deprecated
public interface CapacityOptions
extends software.amazon.jsii.JsiiSerializable, CommonAutoScalingGroupProps
Deprecated.
(deprecated) Options for adding worker nodes.
Example:
Cluster cluster;
cluster.addCapacity("frontend-nodes", CapacityOptions.builder()
.instanceType(new InstanceType("t2.medium"))
.desiredCapacity(3)
.vpcSubnets(SubnetSelection.builder().subnetType(SubnetType.PUBLIC).build())
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityOptions.Builderbuilder()Deprecated.default BooleanDeprecated.default BootstrapOptionsDeprecated.Deprecated.default BooleanDeprecated.Methods inherited from interface software.amazon.awscdk.services.autoscaling.CommonAutoScalingGroupProps
getAllowAllOutbound, getAssociatePublicIpAddress, getAutoScalingGroupName, getBlockDevices, getCooldown, getDesiredCapacity, getGroupMetrics, getHealthCheck, getIgnoreUnmodifiedSizeProperties, getInstanceMonitoring, getKeyName, getMaxCapacity, getMaxInstanceLifetime, getMinCapacity, getNewInstancesProtectedFromScaleIn, getNotifications, getNotificationsTopic, getReplacingUpdateMinSuccessfulInstancesPercent, getResourceSignalCount, getResourceSignalTimeout, getRollingUpdateConfiguration, getSignals, getSpotPrice, getTerminationPolicies, getUpdatePolicy, getUpdateType, getVpcSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceType
Deprecated.(deprecated) Instance type of the instances to start. -
getBootstrapEnabled
Deprecated.(deprecated) 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
falseand manually invokeautoscalingGroup.addUserData().Default: true
-
getBootstrapOptions
Deprecated.(deprecated) EKS node bootstrapping options.Default: - none
-
getMapRole
Deprecated.(deprecated) Will 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).
-
builder
Deprecated.- Returns:
- a
CapacityOptions.BuilderofCapacityOptions
-