Struct aws_sdk_ec2::input::CreateVpnGatewayInput [−][src]
#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateVpnGateway
>
Creates a new builder-style object to manufacture CreateVpnGatewayInput
The Availability Zone for the virtual private gateway.
The type of VPN connection this virtual private gateway supports.
The tags to apply to the virtual private gateway.
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
Trait Implementations
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 CreateVpnGatewayInput
impl Send for CreateVpnGatewayInput
impl Sync for CreateVpnGatewayInput
impl Unpin for CreateVpnGatewayInput
impl UnwindSafe for CreateVpnGatewayInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more