import * as ecs from 'aws-cdk-lib/aws-ecs'; import { Construct } from 'constructs'; import { DataDogLoggingMode, RioFargateService } from './rio-fargate-service'; import { RioFargateServiceBlueGreenAlpha } from './rio-fargate-service-blue-green-alpha'; /** * @deprecated Moved out static methods and imporoved signature. Use named import instead. */ export declare class DataDog { static getFargateContainerEnvironmentVariables(scope: Construct, stage: string, serviceName: string, version: string, accountName: string, teamName: string, teamIdentifier: string, additionalTags: { [k: string]: string; } | undefined): { [key: string]: string; }; static getFargateDockerLabels(stage: string, serviceName: string, version: string): { [key: string]: string; }; static addDatadogSidecar(scope: Construct, taskDefinition: ecs.TaskDefinition, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKey: ecs.Secret, datadogSite: string, datadogLoggingMode: DataDogLoggingMode, apmGetResourcesToIgnore: string[], cpu: number, memoryLimitMiB: number, essential: boolean, containerTag: string, additionalTags: { [k: string]: string; } | undefined, enableRestartPolicy: boolean, restartIgnoredExitCodes: number[]): ecs.ContainerDefinition; static addFireLensLogRouter(taskDefinition: ecs.TaskDefinition, cpu: number, memoryLimitMiB: number, firelensConfigFilePath: string, firelensConfigBucketArn: string, serviceName: string): ecs.ContainerDefinition; static setupLogging(scope: Construct, accountName: string, teamName: string, teamIdentifier: string, stage: string, serviceName: string, version: string, datadogApiKey: ecs.Secret, datadogLoggingMode: DataDogLoggingMode, datadogSite: string, containerType: 'service' | 'datadog-sidecar', additionalTags: { [k: string]: string; } | undefined): ecs.LogDriver; static ensureLoggingAndMonitoringAreReadyBeforeServiceStarts(rioFargateService: RioFargateService): void; } export declare function getFargateContainerEnvironmentVariables(props: { scope: Construct; stage: string; serviceName: string; version: string; accountName: string; teamName: string; teamIdentifier: string; additionalTags: { [k: string]: string; } | undefined; }): { [key: string]: string; }; export declare function getFargateDockerLabels(props: { stage: string; serviceName: string; version: string; }): { [key: string]: string; }; export declare function addDatadogSidecar(props: { scope: Construct; taskDefinition: ecs.TaskDefinition; accountName: string; teamName: string; teamIdentifier: string; stage: string; serviceName: string; version: string; datadogApiKey: ecs.Secret; datadogSite: string; datadogLoggingMode: DataDogLoggingMode; apmGetResourcesToIgnore: string[]; cpu: number; memoryLimitMiB: number; essential: boolean; containerTag: string; additionalTags: { [k: string]: string; } | undefined; enableRestartPolicy: boolean; restartIgnoredExitCodes: number[] | undefined; }): ecs.ContainerDefinition; export declare function addFirelensConfigUploadFromS3Permissions(props: { taskDefinition: ecs.TaskDefinition; firelensConfigBucketArn: string; }): void; export declare function addFireLensLogRouter(props: { taskDefinition: ecs.TaskDefinition; cpu: number; memoryLimitMiB: number; firelensConfigBucketArn: string; firelensConfigFilePath: string; serviceName: string; }): ecs.ContainerDefinition; export declare function setupLogging(props: { scope: Construct; accountName: string; teamName: string; teamIdentifier: string; stage: string; serviceName: string; version: string; datadogApiKey: ecs.Secret; datadogLoggingMode: DataDogLoggingMode; datadogSite: string; containerType: 'service' | 'datadog-sidecar'; additionalTags: { [k: string]: string; } | undefined; }): ecs.LogDriver; export declare function ensureLoggingAndMonitoringAreReadyBeforeServiceStarts(rioFargateService: RioFargateService | RioFargateServiceBlueGreenAlpha): void;