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>,
}Expand description
Contains the parameters for CreateVpnConnection.
Fields§
§customer_gateway_id: StringThe 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_: StringThe 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§
Source§impl Clone for CreateVpnConnectionRequest
impl Clone for CreateVpnConnectionRequest
Source§fn clone(&self) -> CreateVpnConnectionRequest
fn clone(&self) -> CreateVpnConnectionRequest
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 CreateVpnConnectionRequest
impl Debug for CreateVpnConnectionRequest
Source§impl Default for CreateVpnConnectionRequest
impl Default for CreateVpnConnectionRequest
Source§fn default() -> CreateVpnConnectionRequest
fn default() -> CreateVpnConnectionRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateVpnConnectionRequest
Auto Trait Implementations§
impl Freeze for CreateVpnConnectionRequest
impl RefUnwindSafe for CreateVpnConnectionRequest
impl Send for CreateVpnConnectionRequest
impl Sync for CreateVpnConnectionRequest
impl Unpin for CreateVpnConnectionRequest
impl UnwindSafe for CreateVpnConnectionRequest
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