Skip to content

Commit 51297ec

Browse files
committed
Fix wrong using for parameter constraint
1 parent fca8f22 commit 51297ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,29 @@ Parameters:
1313
ResourcePrefix:
1414
Type: String
1515
Default: 'myapp'
16-
ConstraintDescription: '[a-z0-9]+/'
16+
AllowedPattern: '[a-z0-9]+'
1717
MinLength: 1
1818
MaxLength: 20
1919
Description: >
2020
Prefix that is used for the created resources (20 chars, a-z and 0-9 only)
2121
NewKeyPrefix:
2222
Type: String
2323
Default: 'new/'
24-
ConstraintDescription: '[A-Za-z0-9\-]+/'
24+
AllowedPattern: '[A-Za-z0-9\-]+/'
2525
Description: >
2626
Prefix of new access log files that are written by Amazon CloudFront.
2727
Including the trailing slash.
2828
GzKeyPrefix:
2929
Type: String
3030
Default: 'partitioned-gz/'
31-
ConstraintDescription: '[A-Za-z0-9\-]+/'
31+
AllowedPattern: '[A-Za-z0-9\-]+/'
3232
Description: >
3333
Prefix of gzip'ed access log files that are moved to the Apache Hive
3434
like style. Including the trailing slash.
3535
ParquetKeyPrefix:
3636
Type: String
3737
Default: 'partitioned-parquet/'
38-
ConstraintDescription: '[A-Za-z0-9\-]+/'
38+
AllowedPattern: '[A-Za-z0-9\-]+/'
3939
Description: >
4040
Prefix of parquet files that are created in Apache Hive
4141
like style by the CTAS query. Including the trailing slash.

0 commit comments

Comments
 (0)