Show / Hide Table of Contents

Interface CfnLoadBalancer.ILBCookieStickinessPolicyProperty

Specifies a policy for duration-based session stickiness for your Classic Load Balancer.

Namespace: Amazon.CDK.AWS.ElasticLoadBalancing
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Syntax (vb)
Public Interface CfnLoadBalancer.ILBCookieStickinessPolicyProperty
Remarks

To associate a policy with a listener, use the PolicyNames property for the listener.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-lbcookiestickinesspolicy.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ElasticLoadBalancing;

             var lBCookieStickinessPolicyProperty = new LBCookieStickinessPolicyProperty {
                 CookieExpirationPeriod = "cookieExpirationPeriod",
                 PolicyName = "policyName"
             };

Synopsis

Properties

CookieExpirationPeriod

The time period, in seconds, after which the cookie should be considered stale.

PolicyName

The name of the policy.

Properties

CookieExpirationPeriod

The time period, in seconds, after which the cookie should be considered stale.

string? CookieExpirationPeriod { get; }
Property Value

string

Remarks

If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-lbcookiestickinesspolicy.html#cfn-elasticloadbalancing-loadbalancer-lbcookiestickinesspolicy-cookieexpirationperiod

PolicyName

The name of the policy.

string? PolicyName { get; }
Property Value

string

Remarks

This name must be unique within the set of policies for this load balancer.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-lbcookiestickinesspolicy.html#cfn-elasticloadbalancing-loadbalancer-lbcookiestickinesspolicy-policyname

Back to top Generated by DocFX