Interface IAutoScalingGroupOptions
(experimental) Options for adding an AutoScalingGroup as capacity.
Namespace: Amazon.CDK.AWS.Eks.V2.Alpha
Assembly: Amazon.CDK.AWS.Eks.V2.Alpha.dll
Syntax (csharp)
public interface IAutoScalingGroupOptions
Syntax (vb)
Public Interface IAutoScalingGroupOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Eks.V2.Alpha;
var autoScalingGroupOptions = new AutoScalingGroupOptions {
BootstrapEnabled = false,
BootstrapOptions = new BootstrapOptions {
AdditionalArgs = "additionalArgs",
AwsApiRetryAttempts = 123,
DnsClusterIp = "dnsClusterIp",
DockerConfigJson = "dockerConfigJson",
EnableDockerBridge = false,
KubeletExtraArgs = "kubeletExtraArgs",
UseMaxPods = false
},
MachineImageType = MachineImageType.AMAZON_LINUX_2
};
Synopsis
Properties
| BootstrapEnabled | (experimental) Configures the EC2 user-data script for instances in this autoscaling group to bootstrap the node (invoke |
| BootstrapOptions | (experimental) Allows options for node bootstrapping through EC2 user data. |
| MachineImageType | (experimental) Allow options to specify different 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) Allows options for node bootstrapping through EC2 user data.
IBootstrapOptions? BootstrapOptions { get; }
Property Value
Remarks
Default: - default options
Stability: Experimental
MachineImageType
(experimental) Allow options to specify different machine image type.
MachineImageType? MachineImageType { get; }
Property Value
Remarks
Default: MachineImageType.AMAZON_LINUX_2
Stability: Experimental