interface TargetGroupStickinessConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.CfnListenerRule.TargetGroupStickinessConfigProperty |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule.TargetGroupStickinessConfigProperty |
Python | aws_cdk.aws_elasticloadbalancingv2.CfnListenerRule.TargetGroupStickinessConfigProperty |
TypeScript | @aws-cdk/aws-elasticloadbalancingv2 » CfnListenerRule » TargetGroupStickinessConfigProperty |
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 * as elbv2 from '@aws-cdk/aws-elasticloadbalancingv2';
const targetGroupStickinessConfigProperty: elbv2.CfnListenerRule.TargetGroupStickinessConfigProperty = {
durationSeconds: 123,
enabled: false,
};
Properties
Name | Type | Description |
---|---|---|
duration | number | The time period, in seconds, during which requests from a client should be routed to the same target group. |
enabled? | boolean | IResolvable | Indicates whether target group stickiness is enabled. |
durationSeconds?
Type:
number
(optional)
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).
enabled?
Type:
boolean |
IResolvable
(optional)
Indicates whether target group stickiness is enabled.