Skip to content

Commit e33fd30

Browse files
author
EC2 Default User
committed
Reposition CustomConfigPath parameter after Pattern 3 parameters
- Moved CustomConfigPath parameter definition to appear after Pattern 3 configuration - Created separate 'Custom Configuration' parameter group in CloudFormation interface - Removed CustomConfigPath from General Configuration group - Parameter now appears in logical order: Pattern selection → Pattern configs → Custom config → Other features
1 parent b69c9fc commit e33fd30

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

template.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ Parameters:
8686
Description: >-
8787
Built-in IDP workflow patterns - see README for pattern descriptions.
8888
89+
# Custom Configuration Path
90+
91+
CustomConfigPath:
92+
Type: String
93+
Default: ""
94+
Description: >-
95+
S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns.
96+
Leave blank to use the selected pattern configuration preset. For example s3://my-bucket/custom-config/config.yaml
97+
AllowedPattern: '^(|s3://[a-zA-Z0-9.\\-_]+(/.*)?)$'
98+
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
99+
89100
# Pattern 1 Parameters
90101

91102
Pattern1BDAProjectArn:
@@ -144,7 +155,7 @@ Parameters:
144155
Description: >-
145156
Select the configuration preset for Pattern 3. Each configuration contains pre-tuned settings for specific document processing scenarios - see https://github.com/aws-samples/sample-genai-idp/blob/main/config_library/README.md. Note: Custom configuration overrides the selected pattern configuration when provided.
146157
147-
# Custom Configuation Path:
158+
# Custom Configuration Path
148159

149160
CustomConfigPath:
150161
Type: String
@@ -487,6 +498,10 @@ Metadata:
487498
Parameters:
488499
- Pattern3Configuration
489500
- Pattern3UDOPModelArtifactPath
501+
- Label:
502+
default: "Custom Configuration"
503+
Parameters:
504+
- CustomConfigPath
490505
- Label:
491506
default: "HITL (A2I) Configuration"
492507
Parameters:
@@ -528,7 +543,6 @@ Metadata:
528543
- Label:
529544
default: "General Configuration"
530545
Parameters:
531-
- CustomConfigPath
532546
- MaxConcurrentWorkflows
533547
- DataRetentionInDays
534548
- ErrorThreshold

0 commit comments

Comments
 (0)