PortOverride class
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Port overrides in the AWS Global Accelerator Developer Guide.
Constructors
- PortOverride({int? endpointPort, int? listenerPort})
-
PortOverride.fromJson(Map<
String, dynamic> json) -
factory
Properties
- endpointPort → int?
-
The endpoint port that you want a listener port to be mapped to. This is the
port on the endpoint, such as the Application Load Balancer or Amazon EC2
instance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- listenerPort → int?
-
The listener port that you want to map to a specific endpoint port. This is
the port that user traffic arrives to the Global Accelerator on.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited