EndpointProps

class aws_rfdk.EndpointProps(*, address, port, protocol=None)

Bases: object

Properties for constructing an {@link Endpoint}.

Parameters
  • address (str) – The address (either an IP or hostname) of the endpoint.

  • port (Union[int, float]) – The port number of the endpoint.

  • protocol (Optional[Protocol]) – The transport protocol of the endpoint. Default: TCP

Attributes

address

The address (either an IP or hostname) of the endpoint.

Return type

str

port

The port number of the endpoint.

Return type

Union[int, float]

protocol

The transport protocol of the endpoint.

Default

TCP

Return type

Optional[Protocol]