import { App, StackProps } from 'aws-cdk-lib'; import { Cluster } from '../../packages/cluster'; import { TaskEnvironment } from '../../utilities/environment'; import ConvertivBaseStack from '../base-stack'; import { ISecret } from 'aws-cdk-lib/aws-secretsmanager'; import { TwinGateServiceSettings } from './settings'; import { TwinGateService } from '../../packages/twingate'; import { Network } from '../../packages/network'; export declare class TwinGateServiceStack extends ConvertivBaseStack { scope: App; name: string; env: string; settings: TwinGateServiceSettings; network: Network; cluster: Cluster; service: TwinGateService; taskEnvironment: TaskEnvironment; /** * Validate environment vars * @param app Instance of the ConvertivWebServiceStack * @param settings The application settings * @param secret The secrets object * @returns */ validateEnvVars(app: TwinGateServiceStack, settings: TwinGateServiceSettings, secret: ISecret): TaskEnvironment; /** * Construct the Web application stack * * @param app An instance of the CDK App * @param id A string that defines the app name * @param settings The settings for the application * @param props The stack properties defining stack metadata (region, tags, account) */ constructor(app: App, id: string, settings: TwinGateServiceSettings, props?: StackProps); }