Builder

class Builder

Properties

Link copied to clipboard

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

Link copied to clipboard

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. Client CIDR range must have a size of at least /22 and must not be greater than /12.

Link copied to clipboard

The options for managing connection authorization for new client connections.

Link copied to clipboard

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.

Link copied to clipboard

Client route enforcement is a feature of the Client VPN service that helps enforce administrator defined routes on devices connected through the VPN. T his feature helps improve your security posture by ensuring that network traffic originating from a connected client is not inadvertently sent outside the VPN tunnel.

Link copied to clipboard

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

Link copied to clipboard

Information about the client connection logging options.

Link copied to clipboard

A brief description of the Client VPN endpoint.

Link copied to clipboard

Indicates whether the client VPN session is disconnected after the maximum timeout specified in SessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is true.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The IDs of one or more security groups to apply to the target network. You must also specify the ID of the VPC that contains the security groups.

Link copied to clipboard

Specify whether to enable the self-service portal for the Client VPN endpoint.

Link copied to clipboard

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

Link copied to clipboard

The maximum VPN session duration time in hours.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The transport protocol to be used by the VPN session.

Link copied to clipboard

The ID of the VPC to associate with the Client VPN endpoint. If no security group IDs are specified in the request, the default security group for the VPC is applied.

Link copied to clipboard
var vpnPort: Int?

The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

Functions