@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:49.423Z") @Stability(value=Experimental) 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()
(experimental) The endpoint port that you want a listener port to be mapped to.
|
Number |
getListenerPort()
(experimental) The listener port that you want to map to a specific endpoint port.
|
@Stability(value=Experimental) @NotNull Number getEndpointPort()
This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
@Stability(value=Experimental) @NotNull Number getListenerPort()
This is the port that user traffic arrives to the Global Accelerator on.
@Stability(value=Experimental) static PortOverride.Builder builder()
PortOverride.Builder of PortOverrideCopyright © 2022. All rights reserved.