![]() |
![]()
| ![]() |
![]()
NAMEPaws::Lightsail::InstancePortState USAGEThis 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 => { CidrListAliases => $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->CidrListAliases DESCRIPTIONDescribes open ports on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol. ATTRIBUTESCidrListAliases => ArrayRef[Str|Undef]An alias that defines access for a preconfigured range of IP addresses. The only alias currently supported is "lightsail-connect", which allows IP addresses of the browser-based RDP/SSH client in the Lightsail console to connect to your instance. Cidrs => ArrayRef[Str|Undef]The IPv4 address, or range of IPv4 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. The "ipv6Cidrs" parameter lists the IPv6 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) on Wikipedia. FromPort => IntThe first port in a range of open ports on an instance. Allowed ports:
Ipv6Cidrs => ArrayRef[Str|Undef]The IPv6 address, or range of IPv6 addresses (in CIDR notation) that are allowed to connect to an instance through the ports, and the protocol. Only devices with an IPv6 address can connect to an instance through IPv6; otherwise, IPv4 should be used. The "cidrs" parameter lists the IPv4 addresses that are allowed to connect to an instance. For more information about CIDR block notation, see Classless Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation) on Wikipedia. Protocol => StrThe IP protocol name. The name can be one of the following:
State => StrSpecifies whether the instance port is "open" or "closed". The port state for Lightsail instances is always "open". ToPort => IntThe last port in a range of open ports on an instance. Allowed ports:
SEE ALSOThis class forms part of Paws, describing an object used in Paws::Lightsail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|