AWS Elastic Load Balancing V2 Cookie Stickiness Policy

This page shows how to write Terraform and CloudFormation for Elastic Load Balancing V2 Cookie Stickiness Policy and write them securely.

aws_lb_cookie_stickiness_policy (Terraform)

The Cookie Stickiness Policy in Elastic Load Balancing V2 can be configured in Terraform with the resource name aws_lb_cookie_stickiness_policy. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in Terraform Registry

Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.

AWS::ElasticLoadBalancingV2::Listener TargetGroupStickinessConfig (CloudFormation)

The Listener TargetGroupStickinessConfig in ElasticLoadBalancingV2 can be configured in CloudFormation with the resource name AWS::ElasticLoadBalancingV2::Listener TargetGroupStickinessConfig. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

DurationSeconds The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
Required: No
Type: Integer
Update requires: No interruption

Enabled Indicates whether target group stickiness is enabled.
Required: No
Type: Boolean
Update requires: No interruption

Explanation in CloudFormation Registry

Information about the target group stickiness for a rule.

Frequently asked questions

AWS Elastic Load Balancing V2 Cookie Stickiness Policy is a resource for Elastic Load Balancing V2 of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.