BaseNetworkListenerProps

class aws_cdk.aws_elasticloadbalancingv2.BaseNetworkListenerProps(*, port, certificates=None, default_target_groups=None, protocol=None, ssl_policy=None)

Bases: object

__init__(*, port, certificates=None, default_target_groups=None, protocol=None, ssl_policy=None)

Basic properties for a Network Listener.

Parameters
  • port (Union[int, float]) – The port on which the listener listens for requests.

  • certificates (Optional[List[INetworkListenerCertificateProps]]) – Certificate list of ACM cert ARNs. Default: - No certificates.

  • default_target_groups (Optional[List[INetworkTargetGroup]]) – Default target groups to load balance to. Default: - None.

  • protocol (Optional[Protocol]) – Protocol for listener, expects TCP or TLS. Default: - TLS if certificates are provided. TCP otherwise.

  • ssl_policy (Optional[SslPolicy]) – SSL Policy. Default: - Current predefined security policy.

Attributes

certificates

Certificate list of ACM cert ARNs.

default :default: - No certificates.

Return type

Optional[List[INetworkListenerCertificateProps]]

default_target_groups

Default target groups to load balance to.

default :default: - None.

Return type

Optional[List[INetworkTargetGroup]]

port

The port on which the listener listens for requests.

Return type

Union[int, float]

protocol

Protocol for listener, expects TCP or TLS.

default :default: - TLS if certificates are provided. TCP otherwise.

Return type

Optional[Protocol]

ssl_policy

SSL Policy.

default :default: - Current predefined security policy.

Return type

Optional[SslPolicy]