aws / aws/aws-cdk

Make it easy to turn ecs TaskDefinitions into json strings

Open
#8,304 13 comments 25 reactions 0 assignees View on GitHub
@aws-cdk/aws-ecs feature-request p1
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

in the package @aws-cdk/aws-ecs on the class TaskDefinition please add a toJSON method that
returns the complete task definition as a JSON

### Use Case

This would be used to have a template taskdef.json for codedeploy.

### Proposed Solution

Add toJSON method on TaskDefinition

### Other

* [ ] :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

Start in the @aws-cdk/aws-ecs package at the TaskDefinition class and inspect how the task definition is currently represented. Add the requested toJSON entry point so it returns the complete task definition as JSON, then verify that the result can serve as the template taskdef.json needed for CodeDeploy.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.