From 91b3ee9a121773944283599cf6878009241feb8a Mon Sep 17 00:00:00 2001 From: kazuho cryer-shinozuka Date: Mon, 11 Dec 2023 23:24:08 +0900 Subject: [PATCH] Update packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts Co-authored-by: Luca Pizzini --- .../lib/base/queue-processing-service-base.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts b/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts index 54d6463b6655e..486a2315b1778 100644 --- a/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts +++ b/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts @@ -39,13 +39,10 @@ export interface QueueProcessingServiceBaseProps { /** * The image used to start a container. * - * For QueueProcessingFargateService: - * Either 'image' or 'taskDefinition' must be specified, but not both. + * For `QueueProcessingFargateService`, either `image` or `taskDefinition` must be specified, but not both. + * For QueueProcessingEc2Service, `image` is required. * - * For QueueProcessingEc2Service: - * 'image' is required and must be specified. - * - * @default - none + * @default - the image of the task definition is used for Fargate, required otherwise */ readonly image?: ContainerImage;