Skip to content

Commit 069013e

Browse files
authored
docs(elasticloadbalancingv2): set proper default for stickiness (#29726)
By default, stickiness is disabled. The duration _is_ one day if stickiness is enabled, but we don't surface that option to users. If `stickinessCookieDuration` is not supplied, stickiness will not be enabled so the 1 day default doesn't make sense here. Closes #29725. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a59b8ad commit 069013e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/alb/application-target-group.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export interface ApplicationTargetGroupProps extends BaseTargetGroupProps {
6060
* After this period, the cookie is considered stale. The minimum value is
6161
* 1 second and the maximum value is 7 days (604800 seconds).
6262
*
63-
* @default Duration.days(1)
63+
* @default - Stickiness is disabled
6464
*/
6565
readonly stickinessCookieDuration?: Duration;
6666

0 commit comments

Comments
 (0)