You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::AwsElbLbCookieStickinessPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsElbLbCookieStickinessPolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  cookie_expiration_period: 1,
  policy_name: "NonEmptyString",
}

Contains information about a stickiness policy that was created using CreateLBCookieStickinessPolicy.

Instance Attribute Summary collapse

Instance Attribute Details

The amount of time, in seconds, after which the cookie is considered stale. If an expiration period is not specified, the stickiness session lasts for the duration of the browser session.

Returns:

  • (Integer)

    The amount of time, in seconds, after which the cookie is considered stale.

#policy_nameString

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

Returns:

  • (String)

    The name of the policy.