-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLoadBalancer_AppCookieStickinessPolicyProperty.go
32 lines (29 loc) · 1.71 KB
/
CfnLoadBalancer_AppCookieStickinessPolicyProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package awselasticloadbalancing
// Specifies a policy for application-controlled session stickiness for your Classic Load Balancer.
//
// To associate a policy with a listener, use the [PolicyNames](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-policynames) property for the listener.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// appCookieStickinessPolicyProperty := &AppCookieStickinessPolicyProperty{
// CookieName: jsii.String("cookieName"),
// PolicyName: jsii.String("policyName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-appcookiestickinesspolicy.html
//
type CfnLoadBalancer_AppCookieStickinessPolicyProperty struct {
// The name of the application cookie used for stickiness.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-appcookiestickinesspolicy.html#cfn-elasticloadbalancing-loadbalancer-appcookiestickinesspolicy-cookiename
//
CookieName *string `field:"required" json:"cookieName" yaml:"cookieName"`
// The mnemonic name for the policy being created.
//
// The name must be unique within a set of policies for this load balancer.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancing-loadbalancer-appcookiestickinesspolicy.html#cfn-elasticloadbalancing-loadbalancer-appcookiestickinesspolicy-policyname
//
PolicyName *string `field:"required" json:"policyName" yaml:"policyName"`
}