Support for task definition family name for queue processing ECS services #4507
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
feature-request
A feature should be added or improved.
in-progress
This issue is being actively worked on.
QueueProcessingEc2Service
andQueueProcessingFargateService
don't support providing service name when constructing the services.Use Case
Task family names group versions of task definitions.
Proposed Solution
Add optional
taskDefinitionFamily: String
inQueueProcessingServiceBaseProps.ts
and use it when creating services inQueueProcessingEc2Service.ts
andQueueProcessingFargateService.ts
This approach does not break existing code.
Not sure about the direction in which we want this to head but another approach may be to introduce
taskImageOptions: QueueProcessingTaskImageOptions
alaNetworkLoadBalancedTaskImageOptions
andApplicationLoadBalancedTaskImageOptions
and move task and image related attributes fromQueueProcessingServiceBaseProps
toQueueProcessingTaskImageOptions
.This will affect attributes like
image
,logDriver
,environment
,secrets
but will moveQueueProcessingServiceBase
closer to other implementations.Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: