Optional ReadonlyalbPre-existing ALB.
Optional ReadonlyalbALB name for import via SSM.
ReadonlyappApplication name (e.g., 'ZarCore', 'ZarPayments'). Used for naming resources and tagging.
Optional ReadonlyautoAuto-scaling configuration.
Optional ReadonlyblueBlue/Green deployment configuration.
Optional ReadonlycircuitCircuit breaker configuration.
Optional ReadonlyclusterPre-existing ECS cluster.
Optional ReadonlycommandCustom command for the container.
Optional ReadonlycontainerPort the container listens on.
Optional ReadonlycpuCPU units for the task.
ReadonlydeployDeployment environment (e.g., 'development', 'staging', 'production').
Optional ReadonlydesiredDesired task count.
Optional ReadonlydisableDisable auto-scaling.
Optional ReadonlydisableDisable container health check. Useful when using ALB health checks instead.
Optional ReadonlydnsDNS configuration. Creates Route53 records and uses domains for host header routing.
Optional ReadonlyecsPre-existing ECS Fargate Service (for composition). If provided, service props are ignored.
Optional ReadonlyenableEnable ECS Exec for debugging.
Optional ReadonlyenableEnable init process (tini) for proper signal handling.
Optional ReadonlyentryCustom entry point for the container.
Optional ReadonlyenvironmentEnvironment variables for the container.
Optional ReadonlyexecutionPre-existing execution role.
Optional ReadonlyhealthContainer health check configuration.
Optional ReadonlyhealthHealth check grace period.
Optional ReadonlyhostHost headers for listener rule routing. Use this when you want host-based routing without creating DNS records.
ReadonlyimageContainer image to deploy.
Optional ReadonlyimageImage version/tag for validation. Required when validateProductionImageVersion is true in production. In production, this must be a semantic version (e.g., v1.2.3).
Optional ReadonlylistenerListener rule priority.
Optional ReadonlyloggingLogging configuration for the ECS task.
Can be one of:
ecs.LogDriver - Full control over logging configurationlogs.LogGroup - We create an AwsLogDriver with this LogGrouplogs.RetentionDays - We create an AwsLogDriver and LogGroup with specified retentionOptional ReadonlymaxMaximum healthy percent during deployment.
Optional ReadonlymemoryMemory in MiB for the task.
Optional ReadonlyminMinimum healthy percent during deployment.
Optional ReadonlypolicyAdditional IAM policy statements for task role.
Optional ReadonlysecretsSecrets from Secrets Manager or SSM Parameter Store.
Optional ReadonlysecurityPre-existing security group for ECS tasks.
Optional ReadonlyserviceService name suffix. Used for naming the ECS service.
Optional ReadonlysubnetSubnet selection for task placement.
Optional ReadonlytargetTarget group health check configuration.
Optional ReadonlytargetTarget group port.
Optional ReadonlytaskPre-existing task definition (for composition). If provided, task definition props are ignored.
Optional ReadonlytaskPre-existing task role.
Optional ReadonlyvalidateValidate image version format in production.
Optional ReadonlyvpcPre-existing VPC to use.
Optional ReadonlyvpcName of VPC to import via SSM parameters.
Props for SharedAlbEcsFargateService construct.