[][src]Struct rusoto_ec2::CreateVpnGatewayRequest

pub struct CreateVpnGatewayRequest {
    pub amazon_side_asn: Option<i64>,
    pub availability_zone: Option<String>,
    pub dry_run: Option<bool>,
    pub type_: String,
}

Contains the parameters for CreateVpnGateway.

Fields

amazon_side_asn: Option<i64>

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.

Default: 64512

availability_zone: Option<String>

The Availability Zone for the virtual private 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.

type_: String

The type of VPN connection this virtual private gateway supports.

Trait Implementations

impl Default for CreateVpnGatewayRequest[src]

impl Clone for CreateVpnGatewayRequest[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<CreateVpnGatewayRequest> for CreateVpnGatewayRequest[src]

impl Debug for CreateVpnGatewayRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self