Struct aws_sdk_ec2::input::CreateCustomerGatewayInput
source · #[non_exhaustive]pub struct CreateCustomerGatewayInput { /* private fields */ }
Expand description
Contains the parameters for CreateCustomerGateway.
Implementations§
source§impl CreateCustomerGatewayInput
impl CreateCustomerGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomerGateway, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomerGateway, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateCustomerGateway
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCustomerGatewayInput
.
source§impl CreateCustomerGatewayInput
impl CreateCustomerGatewayInput
sourcepub fn bgp_asn(&self) -> Option<i32>
pub fn bgp_asn(&self) -> Option<i32>
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
sourcepub fn public_ip(&self) -> Option<&str>
pub fn public_ip(&self) -> Option<&str>
This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
sourcepub fn certificate_arn(&self) -> Option<&str>
pub fn certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the customer gateway certificate.
sourcepub fn type(&self) -> Option<&GatewayType>
pub fn type(&self) -> Option<&GatewayType>
The type of VPN connection that this customer gateway supports (ipsec.1
).
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the customer gateway.
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
IPv4 address for the customer gateway device's outside interface. The address must be static.
Trait Implementations§
source§impl Clone for CreateCustomerGatewayInput
impl Clone for CreateCustomerGatewayInput
source§fn clone(&self) -> CreateCustomerGatewayInput
fn clone(&self) -> CreateCustomerGatewayInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCustomerGatewayInput
impl Debug for CreateCustomerGatewayInput
source§impl PartialEq<CreateCustomerGatewayInput> for CreateCustomerGatewayInput
impl PartialEq<CreateCustomerGatewayInput> for CreateCustomerGatewayInput
source§fn eq(&self, other: &CreateCustomerGatewayInput) -> bool
fn eq(&self, other: &CreateCustomerGatewayInput) -> bool
self
and other
values to be equal, and is used
by ==
.