NAME
Paws::Lightsail::InstancePortState
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Lightsail::InstancePortState object:
$service_obj->Method(Att1 => { FromPort => $value, ..., ToPort => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::InstancePortState object:
$result = $service_obj->Method(...);
$result->Att1->FromPort
DESCRIPTION
Describes the port state.
ATTRIBUTES
FromPort => Int
The first port in the range.
Protocol => Str
The protocol being used. Can be one of the following.
tcp- Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead.all- All transport layer protocol types. For more general information, see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on Wikipedia.udp- With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead.
State => Str
Specifies whether the instance port is open or closed.
ToPort => Int
The last port in the range.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Lightsail
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues