Struct rusoto_ec2::CreateCustomerGatewayRequest [−][src]
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 tag_specifications: Option<Vec<TagSpecification>>, pub type_: String, }
Expand description
Contains the parameters for CreateCustomerGateway.
Fields
bgp_asn: i64
For 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.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the customer gateway.
type_: String
The type of VPN connection that this customer gateway supports (ipsec.1
).
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 Send for CreateCustomerGatewayRequest
impl Sync for CreateCustomerGatewayRequest
impl Unpin for CreateCustomerGatewayRequest
impl UnwindSafe for CreateCustomerGatewayRequest
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