Struct rusoto_ec2::TunnelOption
source · [−]pub struct TunnelOption {Show 19 fields
pub dpd_timeout_action: Option<String>,
pub dpd_timeout_seconds: Option<i64>,
pub ike_versions: Option<Vec<IKEVersionsListValue>>,
pub outside_ip_address: Option<String>,
pub phase_1dh_group_numbers: Option<Vec<Phase1DHGroupNumbersListValue>>,
pub phase_1_encryption_algorithms: Option<Vec<Phase1EncryptionAlgorithmsListValue>>,
pub phase_1_integrity_algorithms: Option<Vec<Phase1IntegrityAlgorithmsListValue>>,
pub phase_1_lifetime_seconds: Option<i64>,
pub phase_2dh_group_numbers: Option<Vec<Phase2DHGroupNumbersListValue>>,
pub phase_2_encryption_algorithms: Option<Vec<Phase2EncryptionAlgorithmsListValue>>,
pub phase_2_integrity_algorithms: Option<Vec<Phase2IntegrityAlgorithmsListValue>>,
pub phase_2_lifetime_seconds: Option<i64>,
pub pre_shared_key: Option<String>,
pub rekey_fuzz_percentage: Option<i64>,
pub rekey_margin_time_seconds: Option<i64>,
pub replay_window_size: Option<i64>,
pub startup_action: Option<String>,
pub tunnel_inside_cidr: Option<String>,
pub tunnel_inside_ipv_6_cidr: Option<String>,
}
Expand description
The VPN tunnel options.
Fields
dpd_timeout_action: Option<String>
The action to take after a DPD timeout occurs.
dpd_timeout_seconds: Option<i64>
The number of seconds after which a DPD timeout occurs.
ike_versions: Option<Vec<IKEVersionsListValue>>
The IKE versions that are permitted for the VPN tunnel.
outside_ip_address: Option<String>
The external IP address of the VPN tunnel.
phase_1dh_group_numbers: Option<Vec<Phase1DHGroupNumbersListValue>>
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
phase_1_encryption_algorithms: Option<Vec<Phase1EncryptionAlgorithmsListValue>>
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase_1_integrity_algorithms: Option<Vec<Phase1IntegrityAlgorithmsListValue>>
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
phase_1_lifetime_seconds: Option<i64>
The lifetime for phase 1 of the IKE negotiation, in seconds.
phase_2dh_group_numbers: Option<Vec<Phase2DHGroupNumbersListValue>>
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
phase_2_encryption_algorithms: Option<Vec<Phase2EncryptionAlgorithmsListValue>>
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase_2_integrity_algorithms: Option<Vec<Phase2IntegrityAlgorithmsListValue>>
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
phase_2_lifetime_seconds: Option<i64>
The lifetime for phase 2 of the IKE negotiation, in seconds.
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
rekey_fuzz_percentage: Option<i64>
The percentage of the rekey window determined by RekeyMarginTimeSeconds
during which the rekey time is randomly selected.
rekey_margin_time_seconds: Option<i64>
The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the VPN connection performs an IKE rekey.
replay_window_size: Option<i64>
The number of packets in an IKE replay window.
startup_action: Option<String>
The action to take when the establishing the VPN tunnels for a VPN connection.
tunnel_inside_cidr: Option<String>
The range of inside IPv4 addresses for the tunnel.
tunnel_inside_ipv_6_cidr: Option<String>
The range of inside IPv6 addresses for the tunnel.
Trait Implementations
sourceimpl Clone for TunnelOption
impl Clone for TunnelOption
sourcefn clone(&self) -> TunnelOption
fn clone(&self) -> TunnelOption
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 TunnelOption
impl Debug for TunnelOption
sourceimpl Default for TunnelOption
impl Default for TunnelOption
sourcefn default() -> TunnelOption
fn default() -> TunnelOption
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TunnelOption> for TunnelOption
impl PartialEq<TunnelOption> for TunnelOption
sourcefn eq(&self, other: &TunnelOption) -> bool
fn eq(&self, other: &TunnelOption) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TunnelOption) -> bool
fn ne(&self, other: &TunnelOption) -> bool
This method tests for !=
.
impl StructuralPartialEq for TunnelOption
Auto Trait Implementations
impl RefUnwindSafe for TunnelOption
impl Send for TunnelOption
impl Sync for TunnelOption
impl Unpin for TunnelOption
impl UnwindSafe for TunnelOption
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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