package awselasticloadbalancingv2 // Information about the target group stickiness for a rule. // // 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" // // targetGroupStickinessConfigProperty := &TargetGroupStickinessConfigProperty{ // DurationSeconds: jsii.Number(123), // Enabled: jsii.Boolean(false), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html // type CfnListener_TargetGroupStickinessConfigProperty struct { // The time period, in seconds, during which requests from a client should be routed to the same target group. // // The range is 1-604800 seconds (7 days). // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html#cfn-elasticloadbalancingv2-listener-targetgroupstickinessconfig-durationseconds // DurationSeconds *float64 `field:"optional" json:"durationSeconds" yaml:"durationSeconds"` // Indicates whether target group stickiness is enabled. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html#cfn-elasticloadbalancingv2-listener-targetgroupstickinessconfig-enabled // Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` }