NetworkForwardOptions
- class aws_cdk.aws_elasticloadbalancingv2.NetworkForwardOptions(*, stickiness_duration=None)
Bases:
object
Options for
NetworkListenerAction.forward()
.- Parameters:
stickiness_duration (
Optional
[Duration
]) – For how long clients should be directed to the same target group. Range between 1 second and 7 days. Default: - No stickiness- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_elasticloadbalancingv2 as elbv2 import aws_cdk.core as cdk network_forward_options = elbv2.NetworkForwardOptions( stickiness_duration=cdk.Duration.minutes(30) )
Attributes
- stickiness_duration
For how long clients should be directed to the same target group.
Range between 1 second and 7 days.
- Default:
No stickiness