interface ForwardOptions
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticLoadBalancingV2.ForwardOptions |
![]() | software.amazon.awscdk.services.elasticloadbalancingv2.ForwardOptions |
![]() | aws_cdk.aws_elasticloadbalancingv2.ForwardOptions |
![]() | @aws-cdk/aws-elasticloadbalancingv2 » ForwardOptions |
Options for ListenerAction.forward()
.
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';
import * as cdk from '@aws-cdk/core';
const forwardOptions: elbv2.ForwardOptions = {
stickinessDuration: cdk.Duration.minutes(30),
};
Properties
Name | Type | Description |
---|---|---|
stickiness | Duration | For how long clients should be directed to the same target group. |
stickinessDuration?
Type:
Duration
(optional, default: No stickiness)
For how long clients should be directed to the same target group.
Range between 1 second and 7 days.