[][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).

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 Clone for CreateVpnConnectionRequest[src]

impl Debug for CreateVpnConnectionRequest[src]

impl Default for CreateVpnConnectionRequest[src]

impl PartialEq<CreateVpnConnectionRequest> for CreateVpnConnectionRequest[src]

impl StructuralPartialEq for CreateVpnConnectionRequest[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> From<T> 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.