AWS cdk documentation change
Summary
Updated apostrophe usage (straight quotes to curly apostrophes) and fixed code formatting for 'cdk destroy' command
Security assessment
Changes are purely typographical (apostrophe formatting) and markdown syntax improvements for code formatting. No security-related content was added, modified, or referenced in the changes. The 'cdk destroy' formatting change does not introduce security guidance but improves command visibility.
Diff
diff --git a/cdk/v2/guide/ecs-example.md b/cdk/v2/guide/ecs-example.md index 23c5cc9f7..f687d57ce 100644 --- a//cdk/v2/guide/ecs-example.md +++ b//cdk/v2/guide/ecs-example.md @@ -11 +11 @@ This is the AWS CDK v2 Developer Guide. The older CDK v1 entered maintenance on -In this example, we show you how to create an AWS Fargate service running on an Amazon Elastic Container Service (Amazon ECS) cluster that's fronted by an internet-facing Application Load Balancer from an image on Amazon ECR. +In this example, we show you how to create an AWS Fargate service running on an Amazon Elastic Container Service (Amazon ECS) cluster that’s fronted by an internet-facing Application Load Balancer from an image on Amazon ECR. @@ -13 +13 @@ In this example, we show you how to create an AWS Fargate service running on an -Amazon ECS is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster. You can host your cluster on serverless infrastructure that's managed by Amazon ECS by launching your services or tasks using the Fargate launch type. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the Amazon EC2 launch type. +Amazon ECS is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster. You can host your cluster on serverless infrastructure that’s managed by Amazon ECS by launching your services or tasks using the Fargate launch type. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage by using the Amazon EC2 launch type. @@ -15 +15 @@ Amazon ECS is a highly scalable, fast, container management service that makes i -In this example, we launch some services using the Fargate launch type. If you've used the AWS Management Console to create a Fargate service, you know that there are many steps to follow to accomplish that task. AWS has several tutorials and documentation topics that walk you through creating a Fargate service, including: +In this example, we launch some services using the Fargate launch type. If you’ve used the AWS Management Console to create a Fargate service, you know that there are many steps to follow to accomplish that task. AWS has several tutorials and documentation topics that walk you through creating a Fargate service, including: @@ -38 +38 @@ The Amazon ECS construct used in this example helps you use AWS services by prov - * Validates parameter combinations early. This exposes AWS CloudFormation issues earlier, thus saving deployment time. For example, depending on the task, it's easy to improperly configure the memory settings. Previously, we would not encounter an error until we deployed our app. But now the AWS CDK can detect a misconfiguration and emit an error when we synthesize our app. + * Validates parameter combinations early. This exposes AWS CloudFormation issues earlier, thus saving deployment time. For example, depending on the task, it’s easy to improperly configure the memory settings. Previously, we would not encounter an error until we deployed our app. But now the AWS CDK can detect a misconfiguration and emit an error when we synthesize our app. @@ -55 +55 @@ Previously, we had to create a Lambda function to have this functionality. -The `ApplicationLoadBalancedFargateService` constructs we'll be using includes numerous AWS components, some of which have non-trivial costs if left provisioned in our AWS account, even if we don't use them. Be sure to clean up (**cdk destroy**) if you follow along with this example. +The `ApplicationLoadBalancedFargateService` constructs we’ll be using includes numerous AWS components, some of which have non-trivial costs if left provisioned in our AWS account, even if we don’t use them. Be sure to clean up (`cdk destroy`) if you follow along with this example. @@ -123 +123 @@ There are two different ways that we can run our container tasks with Amazon ECS -For this example, we'll create a Fargate service running on an Amazon ECS cluster, fronted by an internet-facing Application Load Balancer. +For this example, we’ll create a Fargate service running on an Amazon ECS cluster, fronted by an internet-facing Application Load Balancer. @@ -298 +297 @@ Next, we validate our code by running the following to synthesize our stack: -The stack is hundreds of lines, so we won't show it here. The stack should contain one default instance, a private subnet and a public subnet for the three Availability Zones, and a security group. +The stack is hundreds of lines, so we won’t show it here. The stack should contain one default instance, a private subnet and a public subnet for the three Availability Zones, and a security group.