pub struct CreateCustomerGatewayRequest {
pub bgp_asn: i64,
pub certificate_arn: Option<String>,
pub device_name: Option<String>,
pub dry_run: Option<bool>,
pub public_ip: Option<String>,
pub type_: String,
}Expand description
Contains the parameters for CreateCustomerGateway.
Fields§
§bgp_asn: i64For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
certificate_arn: Option<String>The Amazon Resource Name (ARN) for the customer gateway certificate.
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.
public_ip: Option<String>The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
type_: StringThe type of VPN connection that this customer gateway supports (ipsec.1).
Trait Implementations§
Source§impl Clone for CreateCustomerGatewayRequest
impl Clone for CreateCustomerGatewayRequest
Source§fn clone(&self) -> CreateCustomerGatewayRequest
fn clone(&self) -> CreateCustomerGatewayRequest
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 CreateCustomerGatewayRequest
impl Debug for CreateCustomerGatewayRequest
Source§impl Default for CreateCustomerGatewayRequest
impl Default for CreateCustomerGatewayRequest
Source§fn default() -> CreateCustomerGatewayRequest
fn default() -> CreateCustomerGatewayRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateCustomerGatewayRequest
impl PartialEq for CreateCustomerGatewayRequest
Source§fn eq(&self, other: &CreateCustomerGatewayRequest) -> bool
fn eq(&self, other: &CreateCustomerGatewayRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateCustomerGatewayRequest
Auto Trait Implementations§
impl Freeze for CreateCustomerGatewayRequest
impl RefUnwindSafe for CreateCustomerGatewayRequest
impl Send for CreateCustomerGatewayRequest
impl Sync for CreateCustomerGatewayRequest
impl Unpin for CreateCustomerGatewayRequest
impl UnwindSafe for CreateCustomerGatewayRequest
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