PortMapping class
Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in AWS Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.
Constructors
-
PortMapping({int? acceleratorPort, SocketAddress? destinationSocketAddress, CustomRoutingDestinationTrafficState? destinationTrafficState, String? endpointGroupArn, String? endpointId, List<
CustomRoutingProtocol> ? protocols}) -
PortMapping.fromJson(Map<
String, dynamic> json) -
factory
Properties
- acceleratorPort → int?
-
The accelerator port.
final
- destinationSocketAddress → SocketAddress?
-
The EC2 instance IP address and port number in the virtual private cloud
(VPC) subnet.
final
- destinationTrafficState → CustomRoutingDestinationTrafficState?
-
Indicates whether or not a port mapping destination can receive traffic. The
value is either ALLOW, if traffic is allowed to the destination, or DENY, if
traffic is not allowed to the destination.
final
- endpointGroupArn → String?
-
The Amazon Resource Name (ARN) of the endpoint group.
final
- endpointId → String?
-
The IP address of the VPC subnet (the subnet ID).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
protocols
→ List<
CustomRoutingProtocol> ? -
The protocols supported by the endpoint group.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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