Skip to content

(aws-ecs-patterns): Add capacity_provider_strategies to QueueProcessingFargateService #14781

@purvesta

Description

@purvesta

❓ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.feature/enhancementA new API to make things easier or more intuitive. A catch-all for general feature requests.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions