import { DockerImageAsset } from 'aws-cdk-lib/aws-ecr-assets'; import { PolicyStatement } from 'aws-cdk-lib/aws-iam'; import { IVpc } from 'aws-cdk-lib/aws-ec2'; import { Stack } from 'aws-cdk-lib'; import { FargateService } from 'aws-cdk-lib/aws-ecs'; export type FargateTaskInput = Readonly<{ name: string; image: DockerImageAsset; environment: Record; policies: Array; vpc?: IVpc; taskCount: number; }>; export type FargateTaskConfiguration = Readonly<{ memoryLimitMiB: number; cpu: number; publicIp: boolean; }>; /** * Creates an ECS Fargate service with a cluster, task role, container, and CloudWatch logging. */ export declare const withFargateService: (deps: { stack: Stack; defaultConfiguration: FargateTaskConfiguration; }) => (input: FargateTaskInput, configuration?: Partial) => FargateService; //# sourceMappingURL=fargate.d.ts.map