import * as ec2 from "aws-cdk-lib/aws-ec2"; import * as ecr from "aws-cdk-lib/aws-ecr"; import * as ecs from "aws-cdk-lib/aws-ecs"; import * as elbv2 from "aws-cdk-lib/aws-elasticloadbalancingv2"; import * as logs from "aws-cdk-lib/aws-logs"; import * as sqs from "aws-cdk-lib/aws-sqs"; import { Construct } from "constructs"; import { StackConfig } from "./types/stack-config"; /** * Properties for FargateService construct * * Uses StackConfig for minimal structured configuration access. * Runtime-configurable parameters can be overridden via CloudFormation parameters. * * **Breaking Change (v0.9.0)**: Removed stackArn in favor of explicit service environment variables. * The explicit service parameters (packagerQueueUrl, athenaUserDatabase, quiltWebHost) * are resolved at deployment time and passed directly to the container, eliminating runtime CloudFormation calls. */ export interface FargateServiceProps { readonly vpc: ec2.IVpc; readonly config: StackConfig; readonly ecrRepository: ecr.IRepository; readonly targetGroup: elbv2.INetworkTargetGroup; readonly imageTag?: string; readonly stackVersion?: string; readonly packagerQueueUrl: string; readonly athenaUserDatabase: string; readonly quiltWebHost: string; readonly athenaUserWorkgroup?: string; readonly bucketWritePolicyArn?: string; readonly athenaUserPolicyArn?: string; readonly packageEventQueue?: sqs.IQueue; readonly packagingRequestQueue?: sqs.IQueue; readonly benchlingSecret: string; readonly packageBucket?: string; readonly quiltDatabase: string; readonly logLevel?: string; readonly icebergDatabase?: string; } export declare class FargateService extends Construct { readonly service: ecs.FargateService; readonly cluster: ecs.Cluster; readonly logGroup: logs.ILogGroup; readonly securityGroup: ec2.ISecurityGroup; /** * Extract secret name from Secrets Manager ARN * * AWS Secrets Manager automatically appends a 6-character random suffix to secret names * in ARNs (e.g., "my-secret-Ab12Cd"). This function extracts the base secret name by * removing the suffix. * * @param arn - Secrets Manager ARN * @returns Secret name without the random suffix */ private extractSecretName; constructor(scope: Construct, id: string, props: FargateServiceProps); } //# sourceMappingURL=fargate-service.d.ts.map