import { Construct } from "constructs"; import { ClusterInfo } from "../../spi"; import { HelmAddOn, HelmAddOnUserProps } from "../helm-addon"; import * as kms from "aws-cdk-lib/aws-kms"; /** * Configuration options for the add-on. */ export interface EfsCsiDriverProps extends HelmAddOnUserProps { /** * Version of the driver to deploy. Uses chart version 2.2.3 by default if this value is not provided */ version?: string; /*** * Number of replicas to be deployed. If not provided, it defaults to 2. Note that the number of replicas * should be less than or equal to the number of nodes in the cluster otherwise some * pods will be left of pending state */ replicaCount?: number; /** * List of KMS keys to be used for encryption */ kmsKeys?: kms.Key[]; /** * Create Namespace with the provided one (will not if namespace is kube-system) */ createNamespace?: boolean; /** * Override the driver container image tag. By default the Helm chart's appVersion is used * (currently the latest published driver image). Set this to pin a newer patched image tag * as soon as upstream publishes one (e.g. to remediate OS-package/openssl CVEs), without * waiting for a chart/blueprints release. */ imageTag?: string; } export declare class EfsCsiDriverAddOn extends HelmAddOn { readonly options: EfsCsiDriverProps; constructor(props?: EfsCsiDriverProps); deploy(clusterInfo: ClusterInfo): Promise; }