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 tag_specifications: Option<Vec<TagSpecification>>, 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
.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the virtual private gateway.
type_: String
The type of VPN connection this virtual private gateway supports.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateVpnGatewayRequest
impl Send for CreateVpnGatewayRequest
impl Sync for CreateVpnGatewayRequest
impl Unpin for CreateVpnGatewayRequest
impl UnwindSafe for CreateVpnGatewayRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self