ReadonlyappApplication name (e.g., 'ZarCore', 'ZarPayments'). Used for naming resources and tagging.
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 ReadonlydisableDisable container health check. Useful when using ALB health checks instead.
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.
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 ReadonlymemoryMemory in MiB for the task.
Optional ReadonlypolicyAdditional IAM policy statements for task role.
Optional ReadonlysecretsSecrets from Secrets Manager or SSM Parameter Store.
Optional ReadonlyserviceService name used for naming resources (task definition family, log group).
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 EcsFargateTaskDefinition construct.