[][src]Struct rusoto_ec2::CreateClientVpnEndpointRequest

pub struct CreateClientVpnEndpointRequest {
    pub authentication_options: Vec<ClientVpnAuthenticationRequest>,
    pub client_cidr_block: String,
    pub client_token: Option<String>,
    pub connection_log_options: ConnectionLogOptions,
    pub description: Option<String>,
    pub dns_servers: Option<Vec<String>>,
    pub dry_run: Option<bool>,
    pub server_certificate_arn: String,
    pub split_tunnel: Option<bool>,
    pub tag_specifications: Option<Vec<TagSpecification>>,
    pub transport_protocol: Option<String>,
}

Fields

authentication_options: Vec<ClientVpnAuthenticationRequest>

Information about the authentication method to be used to authenticate clients.

client_cidr_block: String

The IPv4 address range, in CIDR notation, from which to assign client IP addresses. The address range cannot overlap with the local CIDR of the VPC in which the associated subnet is located, or the routes that you add manually. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.

client_token: Option<String>

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

connection_log_options: ConnectionLogOptions

Information about the client connection logging options.

If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:

  • Client connection requests

  • Client connection results (successful and unsuccessful)

  • Reasons for unsuccessful client connection requests

  • Client connection termination time

description: Option<String>

A brief description of the Client VPN endpoint.

dns_servers: Option<Vec<String>>

Information about the DNS servers to be used for DNS resolution. A Client VPN endpoint can have up to two DNS servers. If no DNS server is specified, the DNS address configured on the device is used for the DNS server.

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.

server_certificate_arn: String

The ARN of the server certificate. For more information, see the AWS Certificate Manager User Guide.

split_tunnel: Option<bool>

Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.

By default, split-tunnel on a VPN endpoint is disabled.

For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.

tag_specifications: Option<Vec<TagSpecification>>

The tags to apply to the Client VPN endpoint during creation.

transport_protocol: Option<String>

The transport protocol to be used by the VPN session.

Default value: udp

Trait Implementations

impl Clone for CreateClientVpnEndpointRequest[src]

impl Default for CreateClientVpnEndpointRequest[src]

impl PartialEq<CreateClientVpnEndpointRequest> for CreateClientVpnEndpointRequest[src]

impl Debug for CreateClientVpnEndpointRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self