Skip to content

Commit

Permalink
fix(cfn-include): allowedValues aren't included when specified by a p…
Browse files Browse the repository at this point in the history
…arameter (#9532)

----

Closes #9531 

 This fix allows allowedValues in parameters to be used in cfn-include. 


*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
comcalvi authored Aug 7, 2020
1 parent e146c23 commit e7dc82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export class CfnInclude extends core.CfnElement {
type: expression.Type,
default: expression.Default,
allowedPattern: expression.AllowedPattern,
allowedValues: expression.AllowedValues,
constraintDescription: expression.ConstraintDescription,
description: expression.Description,
maxLength: expression.MaxLength,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"Description": "the time in seconds that a browser will cache the preflight response",
"MaxValue": "300",
"MinValue": "0",
"AllowedValues": [1, 2, 3, 10, 100, 300],
"Type": "Number",
"NoEcho": "true"
}
Expand Down

0 comments on commit e7dc82f

Please sign in to comment.