InstancePortInfo class

Describes information about ports for an Amazon Lightsail instance.

Constructors

InstancePortInfo({AccessDirection? accessDirection, String? accessFrom, PortAccessType? accessType, List<String>? cidrListAliases, List<String>? cidrs, String? commonName, int? fromPort, NetworkProtocol? protocol, int? toPort})
InstancePortInfo.fromJson(Map<String, dynamic> json)
factory

Properties

accessDirection AccessDirection?
The access direction (inbound or outbound).
final
accessFrom String?
The location from which access is allowed. For example, Anywhere (0.0.0.0/0), or Custom if a specific IP address or range of IP addresses is allowed.
final
accessType PortAccessType?
The type of access (Public or Private).
final
cidrListAliases List<String>?
An alias that defines access for a preconfigured range of IP addresses.
final
cidrs List<String>?
The IP address, or range of IP addresses in CIDR notation, that are allowed to connect to an instance through the ports, and the protocol. Lightsail supports IPv4 addresses.
final
commonName String?
The common name of the port information.
final
fromPort int?
The first port in a range of open ports on an instance.
final
hashCode int
The hash code for this object.
no setterinherited
protocol NetworkProtocol?
The IP protocol name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toPort int?
The last port in a range of open ports on an instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited