aws-cdk-lib: Possibly incorrect default value spec in type-doc for stickinessCookieDuration for ApplicationTargetGroup #29725
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
I believe this type-doc that claims the default value to be "1 days" is not accurate.
Following the code path, I think, the behavior rather is that, if
stickinessCookieDuration
wasn't set, then the stickiness is not enabled; and if it is defined it must be between 1 second and 7 days (604800 seconds) —this last bit is correctly specified in the type-doc.Expected Behavior
See issue description
Current Behavior
See issue description
Reproduction Steps
See issue description
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.125.0 (build 5e3c3c6)
Framework Version
No response
Node.js Version
node v18.19.1
OS
macOS 14.4.1 (23E224)
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: