import { ServiceConfig, Tags } from 'handel-extension-api'; import { AutoScalingConfig, ContainerConfig, HandlebarsEcsTemplateAutoScaling, HandlebarsEcsTemplateContainer, HandlebarsEcsTemplateLoadBalancer, HandlebarsEcsTemplateVolume, LoadBalancerConfig } from '../../common/ecs-shared-config-types'; export interface FargateServiceConfig extends ServiceConfig { max_mb?: number; cpu_units?: number; containers: ContainerConfig[]; auto_scaling: AutoScalingConfig; load_balancer?: LoadBalancerConfig; log_retention_in_days?: number; tags?: Tags; } export interface HandlebarsFargateTemplateConfig { serviceName: string; maxMb: number; cpuUnits: number; ecsSecurityGroupId: string; privateSubnetIds: string[]; publicSubnetIds: string[]; asgCooldown: string; minimumHealthyPercentDeployment: string; vpcId: string; policyStatements: any[]; deploymentSuffix: number; tags: Tags; containerConfigs: HandlebarsEcsTemplateContainer[]; autoScaling: HandlebarsEcsTemplateAutoScaling; oneOrMoreTasksHasRouting: boolean; logGroupName: string; assignPublicIp: string; logRetentionInDays: number | null; loadBalancer?: HandlebarsEcsTemplateLoadBalancer; volumes?: HandlebarsEcsTemplateVolume[]; permissionsBoundary?: string; }