Interface PortOverride
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PortOverride.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:59.611Z")
@Stability(Stable)
public interface PortOverride
extends software.amazon.jsii.JsiiSerializable
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.globalaccelerator.*; PortOverride portOverride = PortOverride.builder() .endpointPort(123) .listenerPort(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPortOverride
static final class
An implementation forPortOverride
-
Method Summary
Modifier and TypeMethodDescriptionstatic PortOverride.Builder
builder()
The endpoint port that you want a listener port to be mapped to.The listener port that you want to map to a specific endpoint port.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpointPort
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.
-
getListenerPort
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.
-
builder
- Returns:
- a
PortOverride.Builder
ofPortOverride
-