AWS batch documentation change
Summary
Removed Bash command syntax option, standardized on JSON format. Adjusted step numbering for parameters, environment variables, and secrets configuration.
Security assessment
Changes are procedural/formatting improvements. Secrets management and IAM roles are mentioned but not substantively altered. No evidence of addressing security vulnerabilities or introducing new security capabilities.
Diff
diff --git a/batch/latest/userguide/create-job-definition-Fargate.md index 5d70754ff..2b0acf0c9 100644 --- a/batch/latest/userguide/create-job-definition-Fargate.md +++ b/batch/latest/userguide/create-job-definition-Fargate.md @@ -81,7 +81 @@ 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 simple commands, enter the command as you do for a command prompt and then verify that the JSON result is correct. It's 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. @@ -95 +89 @@ You can use default values for parameter substitution and placeholders in your c - 4. (Optional) Add parameters to the job definition as name-value mappings to override the job definition defaults. To add a parameter: + 3. (Optional) Add parameters to the job definition as name-value mappings to override the job definition defaults. To add a parameter: @@ -103 +97 @@ If you choose **Add parameter** , you must either configure at least one paramet - 5. In the **Environment configuration** section: + 4. In the **Environment configuration** section: @@ -121 +115 @@ To maximize your resource utilization, prioritize memory for jobs of a specific - 6. (Optional) For **Environment variables** , choose **Add environment variable** to add environment variables as name-value pairs. These variables are passed to the container. + 5. (Optional) For **Environment variables** , choose **Add environment variable** to add environment variables as name-value pairs. These variables are passed to the container. @@ -123 +117 @@ To maximize your resource utilization, prioritize memory for jobs of a specific - 7. (Optional) For **Secrets** , choose **Add secret** to add secrets as a name-value pairs. These secrets are exposed in the container. For more information, see [LogConfiguration:secretOptions](https://docs.aws.amazon.com/batch/latest/APIReference/API_LogConfiguration.html#Batch-Type-LogConfiguration-secretOptions). + 6. (Optional) For **Secrets** , choose **Add secret** to add secrets as a name-value pairs. These secrets are exposed in the container. For more information, see [LogConfiguration:secretOptions](https://docs.aws.amazon.com/batch/latest/APIReference/API_LogConfiguration.html#Batch-Type-LogConfiguration-secretOptions). @@ -125 +119 @@ To maximize your resource utilization, prioritize memory for jobs of a specific - 8. Choose **Next page**. + 7. Choose **Next page**.