[][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 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:

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 of the VPC that is to be associated with Client VPN endpoint is used as 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.

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 PartialEq<CreateClientVpnEndpointRequest> for CreateClientVpnEndpointRequest[src]

impl Default for CreateClientVpnEndpointRequest[src]

impl Clone for CreateClientVpnEndpointRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateClientVpnEndpointRequest[src]

Auto Trait Implementations

impl Send for CreateClientVpnEndpointRequest

impl Sync for CreateClientVpnEndpointRequest

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self