From 91b7dd58fdbc123b68e9c0facd79047720e00699 Mon Sep 17 00:00:00 2001 From: Tony Sherman Date: Tue, 9 Jan 2024 10:42:06 -0500 Subject: [PATCH] add AllowedPattern limit to stateMachineNamePrefix parameter --- template.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template.yml b/template.yml index ae0fc451..bf393f56 100644 --- a/template.yml +++ b/template.yml @@ -65,7 +65,9 @@ Parameters: stateMachineNamePrefix: Type: String MaxLength: 44 - Default: "powerTuningStateMachine" + AllowedPattern: ^[a-zA-Z0-9]*$ + ConstraintDescription: Prefix must conform to StateMachineName requirements. + Default: 'powerTuningStateMachine' Description: Prefix to the name of the StateMachine. The StackId will be appended to this value (optional). Conditions: