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,