(aws-ecs-patterns): Configurable stopTimeout
for Queue Processing Services
#27519
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
The constructs
QueueProcessingFargateServiceProps
andQueueProcessingEc2ServiceProps
provide no way to configure the stopTimeout parameter for the container definitions that these constructs create.Use Case
The
stopTimeout
parameters is particularly important for queue processing services to ensure that the process has time to drain its in-progress tasks before stopping.Proposed Solution
QueueProcessingServiceBaseProps
includes parameters used by each of these constructs to create aContainerDefinition
, and it would be an obvious place to add astopTimeout
parameter, so that users may configure this value.Other Information
No response
Acknowledgements
CDK version used
2.87.0
Environment details (OS name and version, etc.)
macOS 14.0, Node v20.8.0, openjdk version "17.0.8.1" 2023-08-24
The text was updated successfully, but these errors were encountered: