AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

LBCookieStickinessPolicy

import "github.com/aws/aws-sdk-go/service/elb"

type LBCookieStickinessPolicy struct { CookieExpirationPeriod *int64 `type:"long"` PolicyName *string `type:"string"` }

Information about a policy for duration-based session stickiness.

CookieExpirationPeriod

Type: *int64

The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

PolicyName

Type: *string

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

Method

GoString

func (s LBCookieStickinessPolicy) GoString() string

GoString returns the string representation

SetCookieExpirationPeriod

func (s *LBCookieStickinessPolicy) SetCookieExpirationPeriod(v int64) *LBCookieStickinessPolicy

SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value.

SetPolicyName

func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPolicy

SetPolicyName sets the PolicyName field's value.

String

func (s LBCookieStickinessPolicy) String() string

String returns the string representation

On this page: