Struct aws_sdk_ec2::model::VpnConnection
source · [−]#[non_exhaustive]pub struct VpnConnection { /* private fields */ }
Expand description
Describes a VPN connection.
Implementations
sourceimpl VpnConnection
impl VpnConnection
sourcepub fn customer_gateway_configuration(&self) -> Option<&str>
pub fn customer_gateway_configuration(&self) -> Option<&str>
The configuration information for the VPN connection's customer gateway (in the native XML format). This element is always present in the CreateVpnConnection
response; however, it's present in the DescribeVpnConnections
response only if the VPN connection is in the pending
or available
state.
sourcepub fn customer_gateway_id(&self) -> Option<&str>
pub fn customer_gateway_id(&self) -> Option<&str>
The ID of the customer gateway at your end of the VPN connection.
sourcepub fn category(&self) -> Option<&str>
pub fn category(&self) -> Option<&str>
The category of the VPN connection. A value of VPN
indicates an Amazon Web Services VPN connection. A value of VPN-Classic
indicates an Amazon Web Services Classic VPN connection.
sourcepub fn type(&self) -> Option<&GatewayType>
pub fn type(&self) -> Option<&GatewayType>
The type of VPN connection.
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The ID of the VPN connection.
sourcepub fn vpn_gateway_id(&self) -> Option<&str>
pub fn vpn_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway associated with the VPN connection.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The ARN of the core network.
sourcepub fn core_network_attachment_arn(&self) -> Option<&str>
pub fn core_network_attachment_arn(&self) -> Option<&str>
The ARN of the core network attachment.
sourcepub fn gateway_association_state(&self) -> Option<&GatewayAssociationState>
pub fn gateway_association_state(&self) -> Option<&GatewayAssociationState>
The current state of the gateway association.
sourcepub fn options(&self) -> Option<&VpnConnectionOptions>
pub fn options(&self) -> Option<&VpnConnectionOptions>
The VPN connection options.
sourcepub fn routes(&self) -> Option<&[VpnStaticRoute]>
pub fn routes(&self) -> Option<&[VpnStaticRoute]>
The static routes associated with the VPN connection.
Any tags assigned to the VPN connection.
sourcepub fn vgw_telemetry(&self) -> Option<&[VgwTelemetry]>
pub fn vgw_telemetry(&self) -> Option<&[VgwTelemetry]>
Information about the VPN tunnel.
sourceimpl VpnConnection
impl VpnConnection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VpnConnection
.
Trait Implementations
sourceimpl Clone for VpnConnection
impl Clone for VpnConnection
sourcefn clone(&self) -> VpnConnection
fn clone(&self) -> VpnConnection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VpnConnection
impl Debug for VpnConnection
sourceimpl PartialEq<VpnConnection> for VpnConnection
impl PartialEq<VpnConnection> for VpnConnection
sourcefn eq(&self, other: &VpnConnection) -> bool
fn eq(&self, other: &VpnConnection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for VpnConnection
Auto Trait Implementations
impl RefUnwindSafe for VpnConnection
impl Send for VpnConnection
impl Sync for VpnConnection
impl Unpin for VpnConnection
impl UnwindSafe for VpnConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more