import { GenericClusterProviderV2 } from "./generic-cluster-provider-v2"; import * as eks from "aws-cdk-lib/aws-eks-v2"; import { IRole } from "aws-cdk-lib/aws-iam"; import { AutoModeNodeClassSpec, AutoModeNodePoolSpec } from "./types"; export interface AutomodeClusterProviderProps extends Partial { id?: string; /** * @default: ['system,'general-purpose'] */ nodePools?: string[]; /** * @default: generated by CDK */ nodeRole?: IRole; extraNodePools?: { [key: string]: AutoModeNodePoolSpec; }; /** * If using custom node classes, you must specify a non default node role. Otherwise delete will fail (https://github.com/aws/aws-cdk/issues/35475) */ extraNodeClasses?: { [key: string]: AutoModeNodeClassSpec; }; tags?: { [key: string]: string; }; } export declare class AutomodeClusterProvider extends GenericClusterProviderV2 { constructor(props?: AutomodeClusterProviderProps); }