public static final class ClientVpnEndpointOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClientVpnEndpointOptions
ClientVpnEndpointOptions
ClientVpnEndpointOptions.Builder, ClientVpnEndpointOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getAuthorizeAllUsersToVpcCidr()
Whether to authorize all users to the VPC CIDR.
|
java.lang.String |
getCidr()
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
java.lang.String |
getClientCertificateArn()
The ARN of the client certificate for mutual authentication.
|
IClientVpnConnectionHandler |
getClientConnectionHandler()
The AWS Lambda function used for connection authorization.
|
java.lang.String |
getClientLoginBanner()
Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established.
|
java.lang.String |
getDescription()
A brief description of the Client VPN endpoint.
|
java.util.List<java.lang.String> |
getDnsServers()
Information about the DNS servers to be used for DNS resolution.
|
java.lang.Boolean |
getLogging()
Whether to enable connections logging.
|
ILogGroup |
getLogGroup()
A CloudWatch Logs log group for connection logging.
|
ILogStream |
getLogStream()
A CloudWatch Logs log stream for connection logging.
|
VpnPort |
getPort()
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
java.util.List<ISecurityGroup> |
getSecurityGroups()
The security groups to apply to the target network.
|
java.lang.Boolean |
getSelfServicePortal()
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
java.lang.String |
getServerCertificateArn()
The ARN of the server certificate.
|
ClientVpnSessionTimeout |
getSessionTimeout()
The maximum VPN session duration time.
|
java.lang.Boolean |
getSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
TransportProtocol |
getTransportProtocol()
The transport protocol to be used by the VPN session.
|
ClientVpnUserBasedAuthentication |
getUserBasedAuthentication()
The type of user-based authentication to use.
|
SubnetSelection |
getVpcSubnets()
Subnets to associate to the client VPN endpoint.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getCidr()
ClientVpnEndpointOptions
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.
Changing the address range will replace the Client VPN endpoint.
The CIDR block should be /22 or greater.
getCidr
in interface ClientVpnEndpointOptions
public final java.lang.String getServerCertificateArn()
ClientVpnEndpointOptions
getServerCertificateArn
in interface ClientVpnEndpointOptions
public final java.lang.Boolean getAuthorizeAllUsersToVpcCidr()
ClientVpnEndpointOptions
This automatically creates an authorization rule. Set this to false
and
use addAuthorizationRule()
to create your own rules instead.
Default: true
getAuthorizeAllUsersToVpcCidr
in interface ClientVpnEndpointOptions
public final java.lang.String getClientCertificateArn()
ClientVpnEndpointOptions
The certificate must be signed by a certificate authority (CA) and it must be provisioned in AWS Certificate Manager (ACM).
Default: - use user-based authentication
getClientCertificateArn
in interface ClientVpnEndpointOptions
public final IClientVpnConnectionHandler getClientConnectionHandler()
ClientVpnEndpointOptions
The name of the Lambda function must begin with the AWSClientVPN-
prefix
Default: - no connection handler
getClientConnectionHandler
in interface ClientVpnEndpointOptions
public final java.lang.String getClientLoginBanner()
ClientVpnEndpointOptions
UTF-8 encoded characters only. Maximum of 1400 characters.
Default: - no banner is presented to the client
getClientLoginBanner
in interface ClientVpnEndpointOptions
public final java.lang.String getDescription()
ClientVpnEndpointOptions
Default: - no description
getDescription
in interface ClientVpnEndpointOptions
public final java.util.List<java.lang.String> getDnsServers()
ClientVpnEndpointOptions
A Client VPN endpoint can have up to two DNS servers.
Default: - use the DNS address configured on the device
getDnsServers
in interface ClientVpnEndpointOptions
public final java.lang.Boolean getLogging()
ClientVpnEndpointOptions
Default: true
getLogging
in interface ClientVpnEndpointOptions
public final ILogGroup getLogGroup()
ClientVpnEndpointOptions
Default: - a new group is created
getLogGroup
in interface ClientVpnEndpointOptions
public final ILogStream getLogStream()
ClientVpnEndpointOptions
Default: - a new stream is created
getLogStream
in interface ClientVpnEndpointOptions
public final VpnPort getPort()
ClientVpnEndpointOptions
Default: VpnPort.HTTPS
getPort
in interface ClientVpnEndpointOptions
public final java.util.List<ISecurityGroup> getSecurityGroups()
ClientVpnEndpointOptions
Default: - a new security group is created
getSecurityGroups
in interface ClientVpnEndpointOptions
public final java.lang.Boolean getSelfServicePortal()
ClientVpnEndpointOptions
Default: true
getSelfServicePortal
in interface ClientVpnEndpointOptions
public final ClientVpnSessionTimeout getSessionTimeout()
ClientVpnEndpointOptions
Default: ClientVpnSessionTimeout.TWENTY_FOUR_HOURS
getSessionTimeout
in interface ClientVpnEndpointOptions
public final java.lang.Boolean getSplitTunnel()
ClientVpnEndpointOptions
Default: false
getSplitTunnel
in interface ClientVpnEndpointOptions
https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html
public final TransportProtocol getTransportProtocol()
ClientVpnEndpointOptions
Default: TransportProtocol.UDP
getTransportProtocol
in interface ClientVpnEndpointOptions
public final ClientVpnUserBasedAuthentication getUserBasedAuthentication()
ClientVpnEndpointOptions
Default: - use mutual authentication
getUserBasedAuthentication
in interface ClientVpnEndpointOptions
https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/client-authentication.html
public final SubnetSelection getVpcSubnets()
ClientVpnEndpointOptions
Default: - the VPC default strategy
getVpcSubnets
in interface ClientVpnEndpointOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()