aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
30 lines (29 loc) • 1.06 kB
TypeScript
import { Construct } from 'constructs';
import { Cluster, ClusterOptions } from './cluster';
import { FargateProfile, FargateProfileOptions } from './fargate-profile';
/**
* Configuration props for EKS Fargate.
*/
export interface FargateClusterProps extends ClusterOptions {
/**
* Fargate Profile to create along with the cluster.
*
* @default - A profile called "default" with 'default' and 'kube-system'
* selectors will be created if this is left undefined.
*/
readonly defaultProfile?: FargateProfileOptions;
}
/**
* Defines an EKS cluster that runs entirely on AWS Fargate.
*
* The cluster is created with a default Fargate Profile that matches the
* "default" and "kube-system" namespaces. You can add additional profiles using
* `addFargateProfile`.
*/
export declare class FargateCluster extends Cluster {
/**
* Fargate Profile that was created with the cluster.
*/
readonly defaultProfile: FargateProfile;
constructor(scope: Construct, id: string, props: FargateClusterProps);
}