aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

ECS RunTask API: clarify when `launchType` should be omitted #761

Closed tim-finnigan closed 1 week ago

tim-finnigan commented 2 weeks ago

API: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html

Related issues:

Behavior:

"passing launchType overrides the capacity provider settings, thus ignoring the autoscaler."

Can documentation/error better clarify this behavior if it is expected? (ref: P134761134)

tim-finnigan commented 1 week ago

Update - the API documentation for RunTask says under capacityProviderStrategy:

If a capacityProviderStrategy is specified, the launchType parameter must be omitted. If no capacityProviderStrategy or launchType is specified, the defaultCapacityProviderStrategy for the cluster is used.

There is a similar note under launchType as well. Hope that clarifies the behavior here. Please use the Provide feedback link at the bottom of the API documentation page to share any additional feedback with the appropriate team.

github-actions[bot] commented 1 week ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.