Struct aws_sdk_ec2::input::CreateCustomerGatewayInput [−][src]
#[non_exhaustive]pub struct CreateCustomerGatewayInput {
pub bgp_asn: Option<i32>,
pub public_ip: Option<String>,
pub certificate_arn: Option<String>,
pub type: Option<GatewayType>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub device_name: Option<String>,
pub dry_run: Option<bool>,
}
Expand description
Contains the parameters for CreateCustomerGateway.
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.bgp_asn: Option<i32>
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
public_ip: Option<String>
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
certificate_arn: Option<String>
The Amazon Resource Name (ARN) for the customer gateway certificate.
type: Option<GatewayType>
The type of VPN connection that this customer gateway supports
(ipsec.1
).
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the customer gateway.
device_name: Option<String>
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
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<CreateCustomerGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomerGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateCustomerGateway
>
Creates a new builder-style object to manufacture CreateCustomerGatewayInput
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
The Amazon Resource Name (ARN) for the customer gateway certificate.
The type of VPN connection that this customer gateway supports
(ipsec.1
).
The tags to apply to the customer gateway.
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
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 CreateCustomerGatewayInput
impl Send for CreateCustomerGatewayInput
impl Sync for CreateCustomerGatewayInput
impl Unpin for CreateCustomerGatewayInput
impl UnwindSafe for CreateCustomerGatewayInput
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