AWS batch documentation change
Summary
Simplified command syntax instructions by removing Bash option and requiring JSON format. Renumbered steps for execution role and job role configuration.
Security assessment
Changes focus on UI workflow simplification and documentation clarity. No security vulnerabilities or new security features are mentioned. IAM role references remain unchanged except for step numbering.
Diff
diff --git a/batch/latest/userguide/create-job-definition-EC2.md index ba654523f..3d806d157 100644 --- a/batch/latest/userguide/create-job-definition-EC2.md +++ b/batch/latest/userguide/create-job-definition-EC2.md @@ -65,7 +65 @@ Docker image architecture must match the processor architecture of the compute r - 2. For **Command syntax** , choose **Bash** or **JSON**. - - 3. For **Command** , specify the command to pass to the container. For simpler commands, enter the command as you do for a command prompt. Then, verify that the JSON result is correct and passed to the Docker daemon. For more complicated commands (for example, with special characters), use **JSON** syntax. - -###### Tip - -Choose **Info** to view Bash and JSON code samples. + 2. For **Command** , enter the commands into the field as their **JSON** string array equivalent. @@ -79 +73 @@ You can use default values for parameter substitution and placeholders in your c - 4. (Optional) For **Execution role** , specify an IAM role that grants the Amazon ECS container agents permission to make AWS API calls on your behalf. This feature uses Amazon ECS IAM roles for tasks. For more information, see [Amazon ECS task execution IAM roles](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html) in the _Amazon Elastic Container Service Developer Guide_. + 3. (Optional) For **Execution role** , specify an IAM role that grants the Amazon ECS container agents permission to make AWS API calls on your behalf. This feature uses Amazon ECS IAM roles for tasks. For more information, see [Amazon ECS task execution IAM roles](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html) in the _Amazon Elastic Container Service Developer Guide_. @@ -81 +75 @@ You can use default values for parameter substitution and placeholders in your c - 5. For **Job Role configuration** , choose an IAM role that has permissions to the AWS APIs. This feature uses Amazon ECS IAM roles for tasks. For more information, see [IAM Roles for Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the _Amazon Elastic Container Service Developer Guide_. + 4. For **Job Role configuration** , choose an IAM role that has permissions to the AWS APIs. This feature uses Amazon ECS IAM roles for tasks. For more information, see [IAM Roles for Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html) in the _Amazon Elastic Container Service Developer Guide_.