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.
import aws_cdk.aws_elasticloadbalancingv2 as elbv2

# network_listener_action: elbv2.NetworkListenerAction

add_network_action_props = elbv2.AddNetworkActionProps(
    action=network_listener_action
)

Attributes

action

Action to perform.

Return type

NetworkListenerAction