Struct aws_sdk_globalaccelerator::model::PortMapping
source · [−]#[non_exhaustive]pub struct PortMapping { /* private fields */ }Expand description
Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.
Implementations
sourceimpl PortMapping
impl PortMapping
sourcepub fn accelerator_port(&self) -> Option<i32>
pub fn accelerator_port(&self) -> Option<i32>
The accelerator port.
sourcepub fn endpoint_group_arn(&self) -> Option<&str>
pub fn endpoint_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the endpoint group.
sourcepub fn endpoint_id(&self) -> Option<&str>
pub fn endpoint_id(&self) -> Option<&str>
The IP address of the VPC subnet (the subnet ID).
sourcepub fn destination_socket_address(&self) -> Option<&SocketAddress>
pub fn destination_socket_address(&self) -> Option<&SocketAddress>
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
sourcepub fn protocols(&self) -> Option<&[CustomRoutingProtocol]>
pub fn protocols(&self) -> Option<&[CustomRoutingProtocol]>
The protocols supported by the endpoint group.
sourcepub fn destination_traffic_state(
&self
) -> Option<&CustomRoutingDestinationTrafficState>
pub fn destination_traffic_state(
&self
) -> Option<&CustomRoutingDestinationTrafficState>
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
sourceimpl PortMapping
impl PortMapping
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PortMapping.
Trait Implementations
sourceimpl Clone for PortMapping
impl Clone for PortMapping
sourcefn clone(&self) -> PortMapping
fn clone(&self) -> PortMapping
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more