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 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.
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 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 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 EcsFargateService construct.