Show / Hide Table of Contents

Interface IAutoScalingGroupCapacityOptions

(experimental) Options for adding worker nodes.

Inherited Members
ICommonAutoScalingGroupProps.AllowAllOutbound
ICommonAutoScalingGroupProps.AssociatePublicIpAddress
ICommonAutoScalingGroupProps.AutoScalingGroupName
ICommonAutoScalingGroupProps.AzCapacityDistributionStrategy
ICommonAutoScalingGroupProps.BlockDevices
ICommonAutoScalingGroupProps.CapacityRebalance
ICommonAutoScalingGroupProps.Cooldown
ICommonAutoScalingGroupProps.DefaultInstanceWarmup
ICommonAutoScalingGroupProps.DesiredCapacity
ICommonAutoScalingGroupProps.GroupMetrics
ICommonAutoScalingGroupProps.HealthCheck
ICommonAutoScalingGroupProps.HealthChecks
ICommonAutoScalingGroupProps.IgnoreUnmodifiedSizeProperties
ICommonAutoScalingGroupProps.InstanceMonitoring
ICommonAutoScalingGroupProps.KeyName
ICommonAutoScalingGroupProps.KeyPair
ICommonAutoScalingGroupProps.MaxCapacity
ICommonAutoScalingGroupProps.MaxInstanceLifetime
ICommonAutoScalingGroupProps.MinCapacity
ICommonAutoScalingGroupProps.NewInstancesProtectedFromScaleIn
ICommonAutoScalingGroupProps.Notifications
ICommonAutoScalingGroupProps.Signals
ICommonAutoScalingGroupProps.SpotPrice
ICommonAutoScalingGroupProps.SsmSessionPermissions
ICommonAutoScalingGroupProps.TerminationPolicies
ICommonAutoScalingGroupProps.TerminationPolicyCustomLambdaFunctionArn
ICommonAutoScalingGroupProps.UpdatePolicy
ICommonAutoScalingGroupProps.VpcSubnets
Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public interface IAutoScalingGroupCapacityOptions : ICommonAutoScalingGroupProps
Syntax (vb)
Public Interface IAutoScalingGroupCapacityOptions Inherits ICommonAutoScalingGroupProps
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
var cluster = new Cluster(this, "SelfManagedCluster", new ClusterProps {
                 Version = KubernetesVersion.V1_34
             });

             // Add self-managed Auto Scaling Group
             cluster.AddAutoScalingGroupCapacity("self-managed-asg", new AutoScalingGroupCapacityOptions {
                 InstanceType = InstanceType.Of(InstanceClass.T3, InstanceSize.MEDIUM),
                 MinCapacity = 1,
                 MaxCapacity = 5
             });

Synopsis

Properties

BootstrapEnabled

(experimental) 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

(experimental) EKS node bootstrapping options.

InstanceType

(experimental) Instance type of the instances to start.

MachineImageType

(experimental) Machine image type.

Properties

BootstrapEnabled

(experimental) 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.

bool? BootstrapEnabled { get; }
Property Value

bool?

Remarks

If you wish to provide a custom user data script, set this to false and manually invoke autoscalingGroup.addUserData().

Default: true

Stability: Experimental

BootstrapOptions

(experimental) EKS node bootstrapping options.

IBootstrapOptions? BootstrapOptions { get; }
Property Value

IBootstrapOptions

Remarks

Default: - none

Stability: Experimental

InstanceType

(experimental) Instance type of the instances to start.

InstanceType InstanceType { get; }
Property Value

InstanceType

Remarks

Stability: Experimental

MachineImageType

(experimental) Machine image type.

MachineImageType? MachineImageType { get; }
Property Value

MachineImageType?

Remarks

Default: MachineImageType.AMAZON_LINUX_2

Stability: Experimental

Back to top Generated by DocFX