Class CfnClusterPropsMixin.ComputeConfigProperty
Indicates the current configuration of the compute capability on your EKS Auto Mode cluster.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EKS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnClusterPropsMixin.ComputeConfigProperty : CfnClusterPropsMixin.IComputeConfigProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.ComputeConfigProperty Implements CfnClusterPropsMixin.IComputeConfigProperty
Remarks
For example, if the capability is enabled or disabled. If the compute capability is enabled, EKS Auto Mode will create and delete EC2 Managed Instances in your AWS account. For more information, see EKS Auto Mode compute capability in the Amazon EKS User Guide .
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.CfnPropertyMixins.AWS.EKS;
var computeConfigProperty = new ComputeConfigProperty {
Enabled = false,
NodePools = new [] { "nodePools" },
NodeRoleArn = "nodeRoleArn"
};
Synopsis
Constructors
| ComputeConfigProperty() | Indicates the current configuration of the compute capability on your EKS Auto Mode cluster. |
Properties
| Enabled | Request to enable or disable the compute capability on your EKS Auto Mode cluster. |
| NodePools | Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster. |
| NodeRoleArn | The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster. |
Constructors
ComputeConfigProperty()
Indicates the current configuration of the compute capability on your EKS Auto Mode cluster.
public ComputeConfigProperty()
Remarks
For example, if the capability is enabled or disabled. If the compute capability is enabled, EKS Auto Mode will create and delete EC2 Managed Instances in your AWS account. For more information, see EKS Auto Mode compute capability in the Amazon EKS User Guide .
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.CfnPropertyMixins.AWS.EKS;
var computeConfigProperty = new ComputeConfigProperty {
Enabled = false,
NodePools = new [] { "nodePools" },
NodeRoleArn = "nodeRoleArn"
};
Properties
Enabled
Request to enable or disable the compute capability on your EKS Auto Mode cluster.
public object? Enabled { get; set; }
Property Value
Remarks
If the compute capability is enabled, EKS Auto Mode will create and delete EC2 Managed Instances in your AWS account.
Type union: either bool or IResolvable
NodePools
Configuration for node pools that defines the compute resources for your EKS Auto Mode cluster.
public string[]? NodePools { get; set; }
Property Value
string[]
Remarks
For more information, see EKS Auto Mode Node Pools in the Amazon EKS User Guide .
NodeRoleArn
The ARN of the IAM Role EKS will assign to EC2 Managed Instances in your EKS Auto Mode cluster.
public string? NodeRoleArn { get; set; }
Property Value
Remarks
This value cannot be changed after the compute capability of EKS Auto Mode is enabled. For more information, see the IAM Reference in the Amazon EKS User Guide .