AddNetworkActionProps

class aws_cdk.aws_elasticloadbalancingv2.AddNetworkActionProps(*, action)

Bases: object

Properties for adding a new action to a listener.

Parameters:

action (NetworkListenerAction) – Action to perform.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticloadbalancingv2 as elbv2

# network_listener_action: elbv2.NetworkListenerAction

add_network_action_props = elbv2.AddNetworkActionProps(
    action=network_listener_action
)

Attributes

action

Action to perform.