(ecs): add a service extension interface to ECS services #13234
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
feature/enhancement
A new API to make things easier or more intuitive. A catch-all for general feature requests.
feature-request
A feature should be added or improved.
I'd like ECS services to have an extension interface similar to
TaskDefinition.addExtension
andITaskDefinitionExtension
.Use Case
I want to create packaged sets of modifications for ECS services. For instance, I may have a standard set of service discovery options or scaling policies that I want to apply to a service. I would like the option to create these packaged modifications in a way that works on either or both of Fargate and EC2 services.
Proposed Solution
Add an
IServiceExtension
interface and anaddExtension
method toBaseService
. Users could then implement anIServiceExtension
and provide it as a parameter to the service'saddExtension
method.Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: