Skip to content

Commit

Permalink
feat(events-targets): launchType property for ECS task (#29069)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

Closes #28990.

### Reason for this change

There are cases where a task definition is created to be compatible with both EC2 and Fargate, and then we want to run the task in Fargate.

### Description of changes

I created the `launchType` property. The `launchType` is overridden if the property is specified.

### Description of how you validated changes

Both unit and integ tests

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
go-to-k authored Feb 15, 2024
1 parent 8694125 commit b4daf84
Show file tree
Hide file tree
Showing 11 changed files with 1,079 additions and 179 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b4daf84

Please sign in to comment.