Struct rusoto_ec2::CreateCustomerGatewayRequest [−][src]
pub struct CreateCustomerGatewayRequest { pub bgp_asn: i64, pub dry_run: Option<bool>, pub public_ip: String, pub type_: String, }
Contains the parameters for CreateCustomerGateway.
Fields
bgp_asn: i64
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
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: String
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
type_: String
The type of VPN connection that this customer gateway supports (ipsec.1
).
Trait Implementations
impl Default for CreateCustomerGatewayRequest
[src]
impl Default for CreateCustomerGatewayRequest
fn default() -> CreateCustomerGatewayRequest
[src]
fn default() -> CreateCustomerGatewayRequest
Returns the "default value" for a type. Read more
impl Debug for CreateCustomerGatewayRequest
[src]
impl Debug for CreateCustomerGatewayRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateCustomerGatewayRequest
[src]
impl Clone for CreateCustomerGatewayRequest
fn clone(&self) -> CreateCustomerGatewayRequest
[src]
fn clone(&self) -> CreateCustomerGatewayRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateCustomerGatewayRequest
[src]
impl PartialEq for CreateCustomerGatewayRequest
fn eq(&self, other: &CreateCustomerGatewayRequest) -> bool
[src]
fn eq(&self, other: &CreateCustomerGatewayRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateCustomerGatewayRequest) -> bool
[src]
fn ne(&self, other: &CreateCustomerGatewayRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateCustomerGatewayRequest
impl Send for CreateCustomerGatewayRequest
impl Sync for CreateCustomerGatewayRequest
impl Sync for CreateCustomerGatewayRequest