Struct aws_sdk_ec2::operation::modify_vpn_connection_options::ModifyVpnConnectionOptionsInput
source · #[non_exhaustive]pub struct ModifyVpnConnectionOptionsInput {
pub vpn_connection_id: Option<String>,
pub local_ipv4_network_cidr: Option<String>,
pub remote_ipv4_network_cidr: Option<String>,
pub local_ipv6_network_cidr: Option<String>,
pub remote_ipv6_network_cidr: Option<String>,
pub dry_run: Option<bool>,
}
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.vpn_connection_id: Option<String>
The ID of the Site-to-Site VPN connection.
local_ipv4_network_cidr: Option<String>
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
remote_ipv4_network_cidr: Option<String>
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
local_ipv6_network_cidr: Option<String>
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
remote_ipv6_network_cidr: Option<String>
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
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§
source§impl ModifyVpnConnectionOptionsInput
impl ModifyVpnConnectionOptionsInput
sourcepub fn vpn_connection_id(&self) -> Option<&str>
pub fn vpn_connection_id(&self) -> Option<&str>
The ID of the Site-to-Site VPN connection.
sourcepub fn local_ipv4_network_cidr(&self) -> Option<&str>
pub fn local_ipv4_network_cidr(&self) -> Option<&str>
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn remote_ipv4_network_cidr(&self) -> Option<&str>
pub fn remote_ipv4_network_cidr(&self) -> Option<&str>
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn local_ipv6_network_cidr(&self) -> Option<&str>
pub fn local_ipv6_network_cidr(&self) -> Option<&str>
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
sourcepub fn remote_ipv6_network_cidr(&self) -> Option<&str>
pub fn remote_ipv6_network_cidr(&self) -> Option<&str>
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
source§impl ModifyVpnConnectionOptionsInput
impl ModifyVpnConnectionOptionsInput
sourcepub fn builder() -> ModifyVpnConnectionOptionsInputBuilder
pub fn builder() -> ModifyVpnConnectionOptionsInputBuilder
Creates a new builder-style object to manufacture ModifyVpnConnectionOptionsInput
.
Trait Implementations§
source§impl Clone for ModifyVpnConnectionOptionsInput
impl Clone for ModifyVpnConnectionOptionsInput
source§fn clone(&self) -> ModifyVpnConnectionOptionsInput
fn clone(&self) -> ModifyVpnConnectionOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyVpnConnectionOptionsInput> for ModifyVpnConnectionOptionsInput
impl PartialEq<ModifyVpnConnectionOptionsInput> for ModifyVpnConnectionOptionsInput
source§fn eq(&self, other: &ModifyVpnConnectionOptionsInput) -> bool
fn eq(&self, other: &ModifyVpnConnectionOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.