Class DefaultCapacityType
The default capacity type for the cluster.
Inheritance
System.Object
DefaultCapacityType
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.AWS.EKS.dll
Syntax (csharp)
public sealed class DefaultCapacityType : Enum
Syntax (vb)
Public NotInheritable Class DefaultCapacityType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
var cluster = new Cluster(this, "HelloEKS", new ClusterProps {
Version = KubernetesVersion.V1_21,
DefaultCapacityType = DefaultCapacityType.EC2
});
Synopsis
Fields
EC2 | EC2 autoscaling group. |
NODEGROUP | managed node group. |
value__ |
Fields
EC2
EC2 autoscaling group.
public const DefaultCapacityType EC2
Field Value
Type | Description |
---|---|
DefaultCapacityType |
NODEGROUP
managed node group.
public const DefaultCapacityType NODEGROUP
Field Value
Type | Description |
---|---|
DefaultCapacityType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |