Unable to reference a cdk.CfnParameter
with Number
type
#2775
Labels
@aws-cdk/core
Related to core CDK functionality
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p1
I'm using parameters for commonly editable fields in my company's deployment infrastructure. I've found that some fields in the SDK can accept parameters but some seem not to work.
One such case is when the target property is of type
Number
. This triggers a type mismatch in the Typescript compiler.Here's the error on the line defining the
timeout
property:I haven't found a way to make this work. It looks like hard-coding to a numerical value is the only way supported by the type system at this time.
The text was updated successfully, but these errors were encountered: