-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(aws-ecs-patterns): Add capacity_provider_strategies to QueueProcessingFargateService #14781
Copy link
Copy link
Closed
Labels
effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/enhancementA new API to make things easier or more intuitive. A catch-all for general feature requests.A new API to make things easier or more intuitive. A catch-all for general feature requests.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2
Description
❓ General Issue
I am trying to deploy a QueueProcessingFargateService that will deploy task containers to both FARGATE and FARGATE_SPOT, however the QueueProcessingFargateService L3 construct does not include a parameter option for capacity_provider_strategies like the FargateService L2 construct that I can see.
Environment
- CDK CLI Version: 1.100.0 (build d996c6d)
- Module Version: 1.100.0
- Node.js Version: v16.0.0
- OS: OSX Catalina
- Language: Python
Other information
The task that is running in FARGATE does not need to run at full capacity all of the time, therefore the idea behind multiple capacity providers is to deploy 10 tasks that have a weight distribution across both FARGATE and FARGATE_SPOT and also scale as the queue grows in size while utilizing the cost savings of spot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.feature/enhancementA new API to make things easier or more intuitive. A catch-all for general feature requests.A new API to make things easier or more intuitive. A catch-all for general feature requests.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp2