Skip to content

Commit

Permalink
docs(elasticloadbalancingv2): set proper default for stickiness (#29726)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
msambol authored Apr 4, 2024
1 parent a59b8ad commit 069013e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface ApplicationTargetGroupProps extends BaseTargetGroupProps {
* After this period, the cookie is considered stale. The minimum value is
* 1 second and the maximum value is 7 days (604800 seconds).
*
* @default Duration.days(1)
* @default - Stickiness is disabled
*/
readonly stickinessCookieDuration?: Duration;

Expand Down

0 comments on commit 069013e

Please sign in to comment.