AWSElasticLoadBalancingCreateLBCookieStickinessPolicyInput

Objective-C

@interface AWSElasticLoadBalancingCreateLBCookieStickinessPolicyInput

Swift

class AWSElasticLoadBalancingCreateLBCookieStickinessPolicyInput

Contains the parameters for CreateLBCookieStickinessPolicy.

Required parameters: [LoadBalancerName, PolicyName]

  • The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable cookieExpirationPeriod;

    Swift

    var cookieExpirationPeriod: NSNumber? { get set }
  • The name of the load balancer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable loadBalancerName;

    Swift

    var loadBalancerName: String? { get set }
  • The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }