From c2c87dda34a1999877bde92e5634177529801ab6 Mon Sep 17 00:00:00 2001 From: Kazuho CryerShinozuka Date: Sat, 16 Dec 2023 00:02:18 +0900 Subject: [PATCH] fix: README --- packages/aws-cdk-lib/aws-ecs/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-ecs/README.md b/packages/aws-cdk-lib/aws-ecs/README.md index cee6d7cd0da3c..9ea2e52cd0959 100644 --- a/packages/aws-cdk-lib/aws-ecs/README.md +++ b/packages/aws-cdk-lib/aws-ecs/README.md @@ -189,7 +189,7 @@ cluster.addAsgCapacityProvider(capacityProvider); The following code retrieve the Amazon Resource Names (ARNs) of tasks that are a part of a specified ECS cluster. It's useful when you want to grant permissions to a task to access other AWS resources. -```typescript +```ts declare cluster: Cluster; declare taskDefinition: TaskDefinition; const taskARNs = cluster.arnForTasks('*'); // arn:aws:ecs:::task//* @@ -203,7 +203,6 @@ taskDefinition.addToTaskRolePolicy( ) ``` - ### Bottlerocket [Bottlerocket](https://aws.amazon.com/bottlerocket/) is a Linux-based open source operating system that is