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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsElbLbCookieStickinessPolicy data as a hash:

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

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

Constant Summary collapse

SENSITIVE =
[]

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)


9108
9109
9110
9111
9112
9113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9108

class AwsElbLbCookieStickinessPolicy < Struct.new(
  :cookie_expiration_period,
  :policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

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

Returns:

  • (String)


9108
9109
9110
9111
9112
9113
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9108

class AwsElbLbCookieStickinessPolicy < Struct.new(
  :cookie_expiration_period,
  :policy_name)
  SENSITIVE = []
  include Aws::Structure
end