[][src]Struct rusoto_globalaccelerator::PortMapping

pub struct PortMapping {
    pub accelerator_port: Option<i64>,
    pub destination_socket_address: Option<SocketAddress>,
    pub destination_traffic_state: Option<String>,
    pub endpoint_group_arn: Option<String>,
    pub endpoint_id: Option<String>,
    pub protocols: Option<Vec<String>>,
}

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 AWS 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.

Fields

accelerator_port: Option<i64>

The accelerator port.

destination_socket_address: Option<SocketAddress>

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

destination_traffic_state: Option<String>

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.

endpoint_group_arn: Option<String>

The Amazon Resource Name (ARN) of the endpoint group.

endpoint_id: Option<String>

The IP address of the VPC subnet (the subnet ID).

protocols: Option<Vec<String>>

The protocols supported by the endpoint group.

Trait Implementations

impl Clone for PortMapping[src]

impl Debug for PortMapping[src]

impl Default for PortMapping[src]

impl<'de> Deserialize<'de> for PortMapping[src]

impl PartialEq<PortMapping> for PortMapping[src]

impl StructuralPartialEq for PortMapping[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.