-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-ecs): Give Cluster a grant method for the task protection API #26233
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Comments
SamStephens
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 5, 2023
2 tasks
Sounds great and thank you for your PR. |
pahud
added
p2
effort/small
Small work item – less than a day of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 5, 2023
mergify bot
pushed a commit
that referenced
this issue
Dec 27, 2023
… IAM entities (#28486) Added a `grantTaskProtection` method to the ECS (Elastic Container Service) Cluster. This method grants ECS tasks the necessary permissions to interact with the task protection API. Closes #26233 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
paulhcsun
pushed a commit
to paulhcsun/aws-cdk
that referenced
this issue
Jan 5, 2024
… IAM entities (aws#28486) Added a `grantTaskProtection` method to the ECS (Elastic Container Service) Cluster. This method grants ECS tasks the necessary permissions to interact with the task protection API. Closes aws#26233 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
In order for ECS tasks to interact with the task protection API, the task role needs permissions on the API.
It would be nice if ECS Cluster used the standard grantX pattern and provided a method similar to
grantTaskProtection
.Use Case
To simplify declaring my tasks need permissions on the task protection API.
Proposed Solution
Currently my setup for the permissions is:
With this feature I'd expect to do something like
Other Information
See also my request for an arnForTasks method
Acknowledgements
CDK version used
2.85.0
Environment details (OS name and version, etc.)
Ubuntu (Windows Subsystem for Linux)
The text was updated successfully, but these errors were encountered: