@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.518Z") @Stability(value=Stable) public interface PortOverride extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PortOverride.Builder
A builder for
PortOverride |
static class |
PortOverride.Jsii$Proxy
An implementation for
PortOverride |
| Modifier and Type | Method and Description |
|---|---|
static PortOverride.Builder |
builder() |
Number |
getEndpointPort()
The endpoint port that you want a listener port to be mapped to.
|
Number |
getListenerPort()
The listener port that you want to map to a specific endpoint port.
|
@Stability(value=Stable) @NotNull Number getEndpointPort()
This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
@Stability(value=Stable) @NotNull Number getListenerPort()
This is the port that user traffic arrives to the Global Accelerator on.
@Stability(value=Stable) static PortOverride.Builder builder()
PortOverride.Builder of PortOverrideCopyright © 2022. All rights reserved.