From 2641cfe0fe7971fa38e12925bc80c486c5183bec Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Wed, 24 Jan 2024 10:46:14 -0800 Subject: [PATCH] fix(stopTimeout): adding in stop timeout options (#1097) --- src/base/ApplicationECSContainerDefinition.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/ApplicationECSContainerDefinition.ts b/src/base/ApplicationECSContainerDefinition.ts index 5195e897..3991c7ab 100644 --- a/src/base/ApplicationECSContainerDefinition.ts +++ b/src/base/ApplicationECSContainerDefinition.ts @@ -60,6 +60,7 @@ export interface ApplicationECSContainerDefinitionProps { entryPoint?: string[]; essential?: boolean; ulimits?: Ulimit[]; + stopTimeout?: number; } export function buildDefinitionJSON( @@ -108,7 +109,7 @@ export function buildDefinitionJSON( memory: null, memoryReservation: config.memoryReservation ?? null, volumesFrom: [], - stopTimeout: null, + stopTimeout: config.stopTimeout ?? null, image: config.containerImage, startTimeout: null, firelensConfiguration: null,