Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
Create a CfnParameter with type 'Number' and a default value.
Use that value somewhere with parameter.valueAsNumber
Produces a value of -1.8881545897087546e+289
cosnt param = new CfnParameter(this, 'RedendtionPeriod', {
description: 'SQS redention period in seconds 60 - 1209600 [14400]',
type: 'Number',
default: 14400,
minValue: 60,
maxValue: 1209600,
constraintDescription: 'Must be between 60 and 1209600',
});
param.valueAsNumber // -1.8881545897087546e+289
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Create a
CfnParameterwithtype'Number'and adefault value.Use that
valuesomewhere withparameter.valueAsNumberProduces a value of
-1.8881545897087546e+289What is the expected behavior (or behavior of feature suggested)?
Return the token for that value.
Please tell us about your environment: