(events-targets): Support all input
overrides for EcsTask target
#32217
Labels
@aws-cdk/aws-events-targets
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
ECS targets can override any item in the
TaskOverride
structure via theinput
parameter, according to the docs.However, today, only the
containerOverrides
option is exposed:aws-cdk/packages/aws-cdk-lib/aws-events-targets/lib/ecs-task.ts
Lines 225 to 227 in 1b7265b
Use Case
I need to override CPU/Memory at the Task Definition level, but CDK doesn't currently expose that option.
Proposed Solution
All
input
options (documented in theTaskOverride
structure docs) should be allowed. Specifically, these are missing today:cpu
ephemeralStorage
executionRoleArn
inferenceAcceleratorOverrides
memory
taskRoleArn
Other Information
No response
Acknowledgements
CDK version used
2.168.0
Environment details (OS name and version, etc.)
Mac, Node 20 LTS
The text was updated successfully, but these errors were encountered: