aws / aws/aws-cdk

(aws-ecs): Provide an enableExecuteCommand method

Open
#15,768 11 comments 3 reactions 0 assignees View on GitHub
@aws-cdk/aws-ecs effort/small feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

When the `enableExecuteCommand` property was added, the `enableExecuteCommand()` method was made private. The logic that handles this property should have also been exposed as a method so that this feature could be enabled subsequent to construction of the construct.

### Use Case

For use cases where we do not have direct access to construction of the construct, such as in the case of `ApplicationLoadBalancedFargateService`.

### Proposed Solution

Move all logic related handling of the `enableExecuteCommand` configuration property into the `enableExecuteCommand()` method and make that method public.

* [ ] :wave: I may be able to implement this feature request
* [ ] :warning: This feature might incur a breaking change

---

This is a :rocket: Feature Request

Contributor guide

Open the contributing guide

Research direction

Locate the AWS ECS construct implementation that handles the enableExecuteCommand property and the ApplicationLoadBalancedFargateService entry point. Compare the existing property handling with the private enableExecuteCommand() method, then verify that the behavior can also be invoked after construction while preserving current configuration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.