AWS Security ChangesHomeSearch

AWS cli medium security documentation change

Service: cli · 2025-12-10 · Security-related medium

File: cli/latest/reference/mgn/put-template-action.md

Summary

Updated CLI version from 2.32.11 to 2.32.13. Modified parameters structure for put-template-action command including reordered parameters, added 'SECURE_STRING' type support in parameters, changed validation patterns, and restructured external parameters handling.

Security assessment

The change introduces 'SECURE_STRING' as a parameter type for sensitive data handling and adds a 'SECURITY' category option. This directly relates to security feature enhancements for secure parameter storage.

Diff

diff --git a/cli/latest/reference/mgn/put-template-action.md b/cli/latest/reference/mgn/put-template-action.md
index 561c7fcc5..74f0f106a 100644
--- a//cli/latest/reference/mgn/put-template-action.md
+++ b//cli/latest/reference/mgn/put-template-action.md
@@ -15 +15 @@
-  * [AWS CLI 2.32.11 Command Reference](../../index.html) »
+  * [AWS CLI 2.32.13 Command Reference](../../index.html) »
@@ -67 +67 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    --action-id <value>
+    --launch-configuration-template-id <value>
@@ -69,3 +68,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    [--active | --no-active]
-    [--category <value>]
-    [--description <value>]
@@ -72,0 +70,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
+    --order <value>
+    --action-id <value>
@@ -74,2 +73,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    [--external-parameters <value>]
-    --launch-configuration-template-id <value>
+    [--active | --no-active]
+    [--timeout-seconds <value>]
@@ -77,2 +75,0 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    [--operating-system <value>]
-    --order <value>
@@ -80 +77,4 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-    [--timeout-seconds <value>]
+    [--operating-system <value>]
+    [--external-parameters <value>]
+    [--description <value>]
+    [--category <value>]
@@ -105 +105 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--action-id` (string) [required]
+`--launch-configuration-template-id` (string) [required]
@@ -107 +107 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Template post migration custom action ID.
+> Launch configuration template ID.
@@ -111,3 +111,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * min: `1`
->   * max: `64`
->   * pattern: `[0-9a-zA-Z]$`
+>   * min: `21`
+>   * max: `21`
+>   * pattern: `lct-[0-9a-zA-Z]{17}`
@@ -128,5 +128 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--active` | `--no-active` (boolean)
-
-> Template post migration custom action active status.
-
-`--category` (string)
+`--document-identifier` (string) [required]
@@ -134 +130 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Template post migration custom action category.
+> Template post migration custom action document identifier.
@@ -136 +132 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Possible values:
+> Constraints:
@@ -138,11 +134,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * `DISASTER_RECOVERY`
->   * `OPERATING_SYSTEM`
->   * `LICENSE_AND_SUBSCRIPTION`
->   * `VALIDATION`
->   * `OBSERVABILITY`
->   * `REFACTORING`
->   * `SECURITY`
->   * `NETWORKING`
->   * `CONFIGURATION`
->   * `BACKUP`
->   * `OTHER`
+>   * min: `0`
+>   * max: `256`
@@ -152 +139 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--description` (string)
+`--order` (integer) [required]
@@ -154 +141 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Template post migration custom action description.
+> Template post migration custom action order.
@@ -158,3 +145,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * min: `0`
->   * max: `256`
->   * pattern: `^[0-9a-zA-Z ():/.,'-_#*; ]*$`
+>   * min: `1001`
+>   * max: `10000`
@@ -164 +150 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--document-identifier` (string) [required]
+`--action-id` (string) [required]
@@ -166 +152 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Template post migration custom action document identifier.
+> Template post migration custom action ID.
@@ -170,2 +156,3 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * min: `0`
->   * max: `256`
+>   * min: `1`
+>   * max: `64`
+>   * pattern: `.*[0-9a-zA-Z]`
@@ -181 +168 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->   * pattern: `^(\$DEFAULT|\$LATEST|[0-9]+)$`
+>   * pattern: `(\$DEFAULT|\$LATEST|[0-9]+)`
@@ -185 +172 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-`--external-parameters` (map)
+`--active` | `--no-active` (boolean)
@@ -187 +174,19 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> Template post migration custom action external parameters.
+> Template post migration custom action active status.
+
+`--timeout-seconds` (integer)
+
+> Template post migration custom action timeout in seconds.
+> 
+> Constraints:
+> 
+>   * min: `1`
+> 
+
+
+`--must-succeed-for-cutover` | `--no-must-succeed-for-cutover` (boolean)
+
+> Template post migration custom action must succeed for cutover.
+
+`--parameters` (map)
+
+> Template post migration custom action parameters.
@@ -202 +207 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->>   * pattern: `^([A-Za-z0-9])+$`
+>>   * pattern: `([A-Za-z0-9])+`
@@ -206 +211 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
-> value -> (tagged union structure)
+> value -> (list)
@@ -208 +213 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->> AWS Systems Manager Document external parameter.
+>> Constraints:
@@ -210 +215,2 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->> ### Note
+>>   * min: `0`
+>>   * max: `10`
@@ -212 +218 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->> This is a Tagged Union structure. Only one of the following top level keys can be set: `dynamicPath`.
+
@@ -214 +220 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->> dynamicPath -> (string)
+>> (structure)
@@ -216 +222 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->>> AWS Systems Manager Document external parameters dynamic path.
+>>> AWS Systems Manager Parameter Store parameter.
@@ -218 +224 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->>> Constraints:
+>>> parameterType -> (string) [required]
@@ -220,3 +226,8 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
->>>   * min: `1`
->>>   * max: `1011`
->>>   * pattern: `^[a-zA-Z0-9_]+(\.[a-zA-Z0-9_\[\]]+)*$`
+>>>> AWS Systems Manager Parameter Store parameter type.
+>>>> 
+>>>> Possible values:
+>>>> 
+>>>>   * `STRING`
+>>>>   * `SECURE_STRING`
+>>>> 
+
@@ -223,0 +235,10 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/mgn-20
+>>> parameterName -> (string) [required]
+>>>
+>>>> AWS Systems Manager Parameter Store parameter name.
+>>>> 
+>>>> Constraints:
+>>>> 
+>>>>   * min: `1`
+>>>>   * max: `1011`
+>>>>   * pattern: `([A-Za-z0-9_\.-])+`
+>>>> 
@@ -229 +250 @@ Shorthand Syntax:
-    KeyName1=dynamicPath=string,KeyName2=dynamicPath=string
+    KeyName1=[{parameterType=string,parameterName=string},{parameterType=string,parameterName=string}],KeyName2=[{parameterType=string,parameterName=string},{parameterType=string,parameterName=string}]
@@ -235,2 +256,4 @@ JSON Syntax:
-    {"string": {
-          "dynamicPath": "string"
+    {"string": [
+          {
+            "parameterType": "STRING"|"SECURE_STRING",
+            "parameterName": "string"
@@ -237,0 +261,2 @@ JSON Syntax:
+          ...
+        ]
@@ -241,16 +265,0 @@ JSON Syntax:
-`--launch-configuration-template-id` (string) [required]
-
-> Launch configuration template ID.
-> 
-> Constraints:
-> 
->   * min: `21`
->   * max: `21`
->   * pattern: `^lct-[0-9a-zA-Z]{17}$`
-> 
-
-
-`--must-succeed-for-cutover` | `--no-must-succeed-for-cutover` (boolean)
-
-> Template post migration custom action must succeed for cutover.
-