Skip to content

(aws-ecs): Provide an enableExecuteCommand method #15768

@rcollette

Description

@rcollette

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.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecsRelated to Amazon Elastic Containereffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions