Commit 104a704
feat(events-targets):
### 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*launchType property for ECS task (#29069)1 parent 0945b21 commit 104a704
File tree
11 files changed
+1079
-179
lines changed- packages
- @aws-cdk-testing/framework-integ/test/aws-events-targets/test/ecs
- integ.event-fargate-task.js.snapshot
- aws-cdk-lib/aws-events-targets
- lib
- test/ecs
11 files changed
+1079
-179
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments