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) -> Option<&[String]>
pub fn dns_servers(&self) -> Option<&[String]>
Information about the DNS servers to be used for DNS resolution.
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) -> Option<&[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) -> Option<&[AssociatedTargetNetwork]>
Information about the associated target networks. A target network is a subnet in a VPC.
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) -> Option<&[ClientVpnAuthentication]>
pub fn authentication_options(&self) -> Option<&[ClientVpnAuthentication]>
Information about the authentication method used by the Client VPN endpoint.
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.
sourcepub fn security_group_ids(&self) -> Option<&[String]>
pub fn security_group_ids(&self) -> Option<&[String]>
The IDs of the security groups for the target network.
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<ClientVpnEndpoint> for ClientVpnEndpoint
impl PartialEq<ClientVpnEndpoint> 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 ==
.