Struct aws_sdk_globalaccelerator::model::PortOverride
source · [−]#[non_exhaustive]pub struct PortOverride { /* private fields */ }Expand description
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 Overriding listener ports in the Global Accelerator Developer Guide.
Implementations
sourceimpl PortOverride
impl PortOverride
sourcepub fn listener_port(&self) -> Option<i32>
pub fn listener_port(&self) -> Option<i32>
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.
sourcepub fn endpoint_port(&self) -> Option<i32>
pub fn endpoint_port(&self) -> Option<i32>
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.
sourceimpl PortOverride
impl PortOverride
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PortOverride.
Trait Implementations
sourceimpl Clone for PortOverride
impl Clone for PortOverride
sourcefn clone(&self) -> PortOverride
fn clone(&self) -> PortOverride
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more