Interface CfnClusterPropsMixin.IComputeConfigProperty
Indicates the current configuration of the compute capability on your EKS Auto Mode cluster.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EKS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnClusterPropsMixin.IComputeConfigProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Enabled
Request to enable or disable the compute capability on your EKS Auto Mode cluster.
object? Enabled { get; }
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.
string[]? NodePools { get; }
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.
string? NodeRoleArn { get; }
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 .