Interface PortOverride
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PortOverride.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:40.724Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPortOverridestatic final classAn implementation forPortOverride -
Method Summary
Modifier and TypeMethodDescriptionstatic PortOverride.Builderbuilder()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.BuilderofPortOverride
-