[][src]Struct rusoto_ec2::CreateVpnConnectionRequest

pub struct CreateVpnConnectionRequest {
    pub customer_gateway_id: String,
    pub dry_run: Option<bool>,
    pub options: Option<VpnConnectionOptionsSpecification>,
    pub transit_gateway_id: Option<String>,
    pub type_: String,
    pub vpn_gateway_id: Option<String>,
}

Contains the parameters for CreateVpnConnection.

Fields

customer_gateway_id: String

The ID of the customer gateway.

dry_run: Option<bool>

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

options: Option<VpnConnectionOptionsSpecification>

The options for the VPN connection.

transit_gateway_id: Option<String>

The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.

type_: String

The type of VPN connection (ipsec.1 | ipsec.2).

vpn_gateway_id: Option<String>

The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.

Trait Implementations

impl PartialEq<CreateVpnConnectionRequest> for CreateVpnConnectionRequest[src]

impl Default for CreateVpnConnectionRequest[src]

impl Clone for CreateVpnConnectionRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateVpnConnectionRequest[src]

Auto Trait Implementations

impl Send for CreateVpnConnectionRequest

impl Sync for CreateVpnConnectionRequest

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self