Skip to content

aws-cdk-lib: Possibly incorrect default value spec in type-doc for stickinessCookieDuration for ApplicationTargetGroup #29725

@exalted

Description

@exalted

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-cdk-libRelated to the aws-cdk-lib packagebugThis issue is a bug.effort/smallSmall work item – less than a day of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions