#[non_exhaustive]pub struct CreateVpnGatewayInput {
pub availability_zone: Option<String>,
pub type: Option<GatewayType>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub amazon_side_asn: Option<i64>,
pub dry_run: Option<bool>,
}
Expand description
Contains the parameters for CreateVpnGateway.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.availability_zone: Option<String>
The Availability Zone for the virtual private gateway.
type: Option<GatewayType>
The type of VPN connection this virtual private gateway supports.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the virtual private gateway.
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
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
.
Implementations§
source§impl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone for the virtual private gateway.
sourcepub fn type(&self) -> Option<&GatewayType>
pub fn type(&self) -> Option<&GatewayType>
The type of VPN connection this virtual private gateway supports.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the virtual private gateway.
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> 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
source§impl CreateVpnGatewayInput
impl CreateVpnGatewayInput
sourcepub fn builder() -> CreateVpnGatewayInputBuilder
pub fn builder() -> CreateVpnGatewayInputBuilder
Creates a new builder-style object to manufacture CreateVpnGatewayInput
.
Trait Implementations§
source§impl Clone for CreateVpnGatewayInput
impl Clone for CreateVpnGatewayInput
source§fn clone(&self) -> CreateVpnGatewayInput
fn clone(&self) -> CreateVpnGatewayInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVpnGatewayInput
impl Debug for CreateVpnGatewayInput
source§impl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
impl PartialEq<CreateVpnGatewayInput> for CreateVpnGatewayInput
source§fn eq(&self, other: &CreateVpnGatewayInput) -> bool
fn eq(&self, other: &CreateVpnGatewayInput) -> bool
self
and other
values to be equal, and is used
by ==
.