From 0290eba5aec2769f38bb359b32aed75f57a0bc04 Mon Sep 17 00:00:00 2001 From: Michael Sambol Date: Fri, 5 Apr 2024 10:57:00 -0600 Subject: [PATCH] fix readme part 2 --- packages/aws-cdk-lib/aws-ecs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/aws-cdk-lib/aws-ecs/README.md b/packages/aws-cdk-lib/aws-ecs/README.md index fe34621fb5a18..5fcf4272c78af 100644 --- a/packages/aws-cdk-lib/aws-ecs/README.md +++ b/packages/aws-cdk-lib/aws-ecs/README.md @@ -608,7 +608,7 @@ You can add labels to the container with the `dockerLabels` prop or `addDockerLa ```ts declare const taskDefinition: ecs.TaskDefinition; -taskDefinition.addContainer('cont', { +const container = taskDefinition.addContainer('cont', { image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"), memoryLimitMiB: 1024, dockerLabels: {