Struct rusoto_ec2::CreateVpnGatewayRequest
[−]
[src]
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]
fn default() -> CreateVpnGatewayRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateVpnGatewayRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CreateVpnGatewayRequest
[src]
fn clone(&self) -> CreateVpnGatewayRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more