AWS AmazonECS documentation change
Summary
Fixed IAM ARN syntax typo, added 'volumeInitializationRate' parameter, updated parameter names in JSON examples, and corrected documentation typos.
Security assessment
The IAM ARN correction prevents potential permission errors but does not address a security vulnerability. The 'volumeInitializationRate' appears performance-related. No security features or vulnerabilities are explicitly mentioned.
Diff
diff --git a/AmazonECS/latest/developerguide/configure-ebs-volume.md b/AmazonECS/latest/developerguide/configure-ebs-volume.md index 93fc4ba85..f303a7048 100644 --- a//AmazonECS/latest/developerguide/configure-ebs-volume.md +++ b//AmazonECS/latest/developerguide/configure-ebs-volume.md @@ -11 +11 @@ After you register a task definition with the `configuredAtLaunch` parameter set -To confgure a volume, you can use the Amazon ECS APIs, or you pass a JSON file as input for the following AWS CLI commands: +To configure a volume, you can use the Amazon ECS APIs, or you can pass a JSON file as input for the following AWS CLI commands: @@ -41,0 +42 @@ The following JSON snippet shows all the parameters of an Amazon EBS volume that + "volumeInitializationRate":100, @@ -56 +57 @@ The following JSON snippet shows all the parameters of an Amazon EBS volume that - "roleArn": "arn:aws:iam:1111222333:role/ecsInfrastructureRole", + "roleArn": "arn:aws:iam::1111222333:role/ecsInfrastructureRole", @@ -87 +88 @@ The following snippet shows the syntax for configuring Amazon EBS volumes for at - "roleArn":"arn:aws:iam:1111222333:role/ecsInfrastructureRole", + "roleArn":"arn:aws:iam::1111222333:role/ecsInfrastructureRole", @@ -97 +98 @@ The following snippet shows the syntax for configuring Amazon EBS volumes for at -The following snippet shows the syntax for configuring Amazon EBS volumes for attachment to tasks managed by a service. The volumes are sourced from the snapshot by using the `snapshotId`. The configuration specified in the JSON file is used to create and attach an EBS volume to each task managed by the service. +The following snippet shows the syntax for configuring Amazon EBS volumes for attachment to tasks managed by a service. The volumes are sourced from the snapshot specified using the `snapshotId` parameter at a rate of 200 MiB/s. The configuration specified in the JSON file is used to create and attach an EBS volume to each task managed by the service. @@ -109,2 +110,3 @@ The following snippet shows the syntax for configuring Amazon EBS volumes for at - "roleArn":"arn:aws:iam:1111222333:role/ecsInfrastructureRole", - "snapshotId": "snap-12345" + "roleArn":"arn:aws:iam::1111222333:role/ecsInfrastructureRole", + "snapshotId": "snap-12345", + "volumeInitializationRate": 200 @@ -124 +126 @@ The following JSON snippet shows the syntax for updating a service that previous - "serviceName": "mysvc", + "service": "mysvc", @@ -130 +132 @@ The following JSON snippet shows the syntax for updating a service that previous - "roleArn":"arn:aws:iam:1111222333:role/ecsInfrastructureRole", + "roleArn":"arn:aws:iam::1111222333:role/ecsInfrastructureRole", @@ -149 +151 @@ The following JSON snippet shows the syntax for updating a service to no longer - "serviceName": "mysvc", + "service": "mysvc", @@ -198 +200 @@ The following JSON snippet shows the syntax for tagging each Amazon EBS volume t - ] + ],