pub struct CreateVpnGatewayRequest {
pub amazon_side_asn: Option<i64>,
pub availability_zone: Option<String>,
pub dry_run: Option<bool>,
pub type_: String,
}Expand description
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_: StringThe type of VPN connection this virtual private gateway supports.
Trait Implementations§
Source§impl Clone for CreateVpnGatewayRequest
impl Clone for CreateVpnGatewayRequest
Source§fn clone(&self) -> CreateVpnGatewayRequest
fn clone(&self) -> CreateVpnGatewayRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateVpnGatewayRequest
impl Debug for CreateVpnGatewayRequest
Source§impl Default for CreateVpnGatewayRequest
impl Default for CreateVpnGatewayRequest
Source§fn default() -> CreateVpnGatewayRequest
fn default() -> CreateVpnGatewayRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateVpnGatewayRequest
impl PartialEq for CreateVpnGatewayRequest
impl StructuralPartialEq for CreateVpnGatewayRequest
Auto Trait Implementations§
impl Freeze for CreateVpnGatewayRequest
impl RefUnwindSafe for CreateVpnGatewayRequest
impl Send for CreateVpnGatewayRequest
impl Sync for CreateVpnGatewayRequest
impl Unpin for CreateVpnGatewayRequest
impl UnwindSafe for CreateVpnGatewayRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more