Struct aws_sdk_ec2::types::ClientVpnEndpoint
source · #[non_exhaustive]pub struct ClientVpnEndpoint {Show 23 fields
pub client_vpn_endpoint_id: Option<String>,
pub description: Option<String>,
pub status: Option<ClientVpnEndpointStatus>,
pub creation_time: Option<String>,
pub deletion_time: Option<String>,
pub dns_name: Option<String>,
pub client_cidr_block: Option<String>,
pub dns_servers: Option<Vec<String>>,
pub split_tunnel: Option<bool>,
pub vpn_protocol: Option<VpnProtocol>,
pub transport_protocol: Option<TransportProtocol>,
pub vpn_port: Option<i32>,
pub associated_target_networks: Option<Vec<AssociatedTargetNetwork>>,
pub server_certificate_arn: Option<String>,
pub authentication_options: Option<Vec<ClientVpnAuthentication>>,
pub connection_log_options: Option<ConnectionLogResponseOptions>,
pub tags: Option<Vec<Tag>>,
pub security_group_ids: Option<Vec<String>>,
pub vpc_id: Option<String>,
pub self_service_portal_url: Option<String>,
pub client_connect_options: Option<ClientConnectResponseOptions>,
pub session_timeout_hours: Option<i32>,
pub client_login_banner_options: Option<ClientLoginBannerResponseOptions>,
}
Expand description
Describes a Client VPN endpoint.
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.client_vpn_endpoint_id: Option<String>
The ID of the Client VPN endpoint.
description: Option<String>
A brief description of the endpoint.
status: Option<ClientVpnEndpointStatus>
The current state of the Client VPN endpoint.
creation_time: Option<String>
The date and time the Client VPN endpoint was created.
deletion_time: Option<String>
The date and time the Client VPN endpoint was deleted, if applicable.
dns_name: Option<String>
The DNS name to be used by clients when connecting to the Client VPN endpoint.
client_cidr_block: Option<String>
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
dns_servers: Option<Vec<String>>
Information about the DNS servers to be used for DNS resolution.
split_tunnel: Option<bool>
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
vpn_protocol: Option<VpnProtocol>
The protocol used by the VPN session.
transport_protocol: Option<TransportProtocol>
The transport protocol used by the Client VPN endpoint.
vpn_port: Option<i32>
The port number for the Client VPN endpoint.
associated_target_networks: Option<Vec<AssociatedTargetNetwork>>
Information about the associated target networks. A target network is a subnet in a VPC.
server_certificate_arn: Option<String>
The ARN of the server certificate.
authentication_options: Option<Vec<ClientVpnAuthentication>>
Information about the authentication method used by the Client VPN endpoint.
connection_log_options: Option<ConnectionLogResponseOptions>
Information about the client connection logging options for the Client VPN endpoint.
Any tags assigned to the Client VPN endpoint.
security_group_ids: Option<Vec<String>>
The IDs of the security groups for the target network.
vpc_id: Option<String>
The ID of the VPC.
self_service_portal_url: Option<String>
The URL of the self-service portal.
client_connect_options: Option<ClientConnectResponseOptions>
The options for managing connection authorization for new client connections.
session_timeout_hours: Option<i32>
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Implementations§
source§impl ClientVpnEndpoint
impl ClientVpnEndpoint
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the endpoint.
sourcepub fn status(&self) -> Option<&ClientVpnEndpointStatus>
pub fn status(&self) -> Option<&ClientVpnEndpointStatus>
The current state of the Client VPN endpoint.
sourcepub fn creation_time(&self) -> Option<&str>
pub fn creation_time(&self) -> Option<&str>
The date and time the Client VPN endpoint was created.
sourcepub fn deletion_time(&self) -> Option<&str>
pub fn deletion_time(&self) -> Option<&str>
The date and time the Client VPN endpoint was deleted, if applicable.
sourcepub fn dns_name(&self) -> Option<&str>
pub fn dns_name(&self) -> Option<&str>
The DNS name to be used by clients when connecting to the Client VPN endpoint.
sourcepub fn client_cidr_block(&self) -> Option<&str>
pub fn client_cidr_block(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, from which client IP addresses are assigned.
sourcepub fn dns_servers(&self) -> &[String]
pub fn dns_servers(&self) -> &[String]
Information about the DNS servers to be used for DNS resolution.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dns_servers.is_none()
.
sourcepub fn split_tunnel(&self) -> Option<bool>
pub fn split_tunnel(&self) -> Option<bool>
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
sourcepub fn vpn_protocol(&self) -> Option<&VpnProtocol>
pub fn vpn_protocol(&self) -> Option<&VpnProtocol>
The protocol used by the VPN session.
sourcepub fn transport_protocol(&self) -> Option<&TransportProtocol>
pub fn transport_protocol(&self) -> Option<&TransportProtocol>
The transport protocol used by the Client VPN endpoint.
sourcepub fn associated_target_networks(&self) -> &[AssociatedTargetNetwork]
👎Deprecated: This property is deprecated. To view the target networks associated with a Client VPN endpoint, call DescribeClientVpnTargetNetworks and inspect the clientVpnTargetNetworks response element.
pub fn associated_target_networks(&self) -> &[AssociatedTargetNetwork]
Information about the associated target networks. A target network is a subnet in a VPC.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .associated_target_networks.is_none()
.
sourcepub fn server_certificate_arn(&self) -> Option<&str>
pub fn server_certificate_arn(&self) -> Option<&str>
The ARN of the server certificate.
sourcepub fn authentication_options(&self) -> &[ClientVpnAuthentication]
pub fn authentication_options(&self) -> &[ClientVpnAuthentication]
Information about the authentication method used by the Client VPN endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .authentication_options.is_none()
.
sourcepub fn connection_log_options(&self) -> Option<&ConnectionLogResponseOptions>
pub fn connection_log_options(&self) -> Option<&ConnectionLogResponseOptions>
Information about the client connection logging options for the Client VPN endpoint.
Any tags assigned to the Client VPN endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The IDs of the security groups for the target network.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
sourcepub fn self_service_portal_url(&self) -> Option<&str>
pub fn self_service_portal_url(&self) -> Option<&str>
The URL of the self-service portal.
sourcepub fn client_connect_options(&self) -> Option<&ClientConnectResponseOptions>
pub fn client_connect_options(&self) -> Option<&ClientConnectResponseOptions>
The options for managing connection authorization for new client connections.
sourcepub fn session_timeout_hours(&self) -> Option<i32>
pub fn session_timeout_hours(&self) -> Option<i32>
The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
source§impl ClientVpnEndpoint
impl ClientVpnEndpoint
sourcepub fn builder() -> ClientVpnEndpointBuilder
pub fn builder() -> ClientVpnEndpointBuilder
Creates a new builder-style object to manufacture ClientVpnEndpoint
.
Trait Implementations§
source§impl Clone for ClientVpnEndpoint
impl Clone for ClientVpnEndpoint
source§fn clone(&self) -> ClientVpnEndpoint
fn clone(&self) -> ClientVpnEndpoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnEndpoint
impl Debug for ClientVpnEndpoint
source§impl PartialEq for ClientVpnEndpoint
impl PartialEq for ClientVpnEndpoint
source§fn eq(&self, other: &ClientVpnEndpoint) -> bool
fn eq(&self, other: &ClientVpnEndpoint) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnEndpoint
Auto Trait Implementations§
impl Freeze for ClientVpnEndpoint
impl RefUnwindSafe for ClientVpnEndpoint
impl Send for ClientVpnEndpoint
impl Sync for ClientVpnEndpoint
impl Unpin for ClientVpnEndpoint
impl UnwindSafe for ClientVpnEndpoint
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more