Set ulimit in container definition prop #24918
Labels
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
Discussed in #23063
Ability to set ulimit as prop, instead of just through a method
Originally posted by ambethell November 23, 2022
I need to set the ulimits on a fargate ECS task - (I'm using the Java CDK).
From what I can tell I should be able to set this on the fargate task definition - but I cannot see how to do this using the CDK. Do I need to add an extension to the fargateTaskDefinition?
I see 'ContainerDefinition' has a public method for setting uLimit - however the ContainerDefinitionOptions.builder() does not appear to provide methods to set this.
Both v1 / v2 documentation dont provide this - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.ContainerDefinitionOptions.html
Any pointers?
Thanks!
The text was updated successfully, but these errors were encountered: