Skip to content

Commit c0a48a7

Browse files
author
EC2 Default User
committed
Add missing CustomConfigPath parameter definition
- Add CustomConfigPath parameter to General Configuration section - Parameter allows users to specify S3 URI for custom config.yaml files - Includes proper validation pattern for S3 URIs - Enables one-click deployment with custom configuration support
1 parent f25c721 commit c0a48a7

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

template.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,17 @@ Parameters:
143143
- "default"
144144
Description: >-
145145
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.
146+
147+
# CustomConfigPath:
148+
149+
Type: String
150+
Default: ""
151+
Description: >-
152+
S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns.
153+
Leave blank to use the selected pattern configuration preset. For example s3://my-bucket/custom-config/config.yaml
154+
AllowedPattern: '^(|s3://[a-zA-Z0-9.\-_]+(/.*)?)'
155+
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
156+
146157
# HITL (A2I) Configuration
147158

148159
EnableHITL:
@@ -267,15 +278,6 @@ Parameters:
267278
If you provided a Bedrock Guardrail Id above, provide the corresponding Guardrail version here (e.g. DRAFT|1|2|...).
268279
269280
# General Configuration
270-
CustomConfigPath:
271-
Type: String
272-
Default: ""
273-
Description: >-
274-
S3 URI pointing to your custom configuration YAML file. When provided, this configuration overrides the selected pattern preset and applies to all processing patterns.
275-
Leave blank to use the selected pattern configuration preset. For example s3://my-bucket/custom-config/config.yaml
276-
AllowedPattern: '^(|s3://[a-zA-Z0-9.\-_]+(/.*)?)'
277-
ConstraintDescription: Must be empty or a valid S3 URI (e.g., s3://my-bucket/custom-config/config.yaml)
278-
279281
MaxConcurrentWorkflows:
280282
Type: Number
281283
Default: 100

0 commit comments

Comments
 (0)