TCPSocketAction constructor

const TCPSocketAction({
  1. Input<String>? host,
  2. required Input<int> port,
})

Creates a new TCPSocketAction. host Optional: Host name to connect to, defaults to the pod IP. port Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

Implementation

const TCPSocketAction({
  this.host,
  required this.port,
});