@Stability(value=Stable) public static final class ClientVpnEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<ClientVpnEndpointProps>
ClientVpnEndpointProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ClientVpnEndpointProps.Builder vpc(IVpc vpc)
ClientVpnEndpointProps.getVpc()vpc - The VPC to connect to. This parameter is required.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder cidr(String cidr)
ClientVpnEndpointOptions.getCidr()cidr - The IPv4 address range, in CIDR notation, from which to assign client IP addresses. This parameter is required.
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.
this@Stability(value=Stable) public ClientVpnEndpointProps.Builder serverCertificateArn(String serverCertificateArn)
ClientVpnEndpointOptions.getServerCertificateArn()serverCertificateArn - The ARN of the server certificate. This parameter is required.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder authorizeAllUsersToVpcCidr(Boolean authorizeAllUsersToVpcCidr)
ClientVpnEndpointOptions.getAuthorizeAllUsersToVpcCidr()authorizeAllUsersToVpcCidr - Whether to authorize all users to the VPC CIDR.
This automatically creates an authorization rule. Set this to false and
use addAuthorizationRule() to create your own rules instead.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder clientCertificateArn(String clientCertificateArn)
ClientVpnEndpointOptions.getClientCertificateArn()clientCertificateArn - The ARN of the client certificate for mutual authentication.
The certificate must be signed by a certificate authority (CA) and it must
be provisioned in AWS Certificate Manager (ACM).this@Stability(value=Stable) public ClientVpnEndpointProps.Builder clientConnectionHandler(IClientVpnConnectionHandler clientConnectionHandler)
ClientVpnEndpointOptions.getClientConnectionHandler()clientConnectionHandler - The AWS Lambda function used for connection authorization.
The name of the Lambda function must begin with the AWSClientVPN- prefixthis@Stability(value=Stable) public ClientVpnEndpointProps.Builder clientLoginBanner(String clientLoginBanner)
ClientVpnEndpointOptions.getClientLoginBanner()clientLoginBanner - Customizable text that will be displayed in a banner on AWS provided clients when a VPN session is established.
UTF-8 encoded characters only. Maximum of 1400 characters.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder description(String description)
ClientVpnEndpointOptions.getDescription()description - A brief description of the Client VPN endpoint.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder dnsServers(List<String> dnsServers)
ClientVpnEndpointOptions.getDnsServers()dnsServers - Information about the DNS servers to be used for DNS resolution.
A Client VPN endpoint can have up to two DNS servers.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder logging(Boolean logging)
ClientVpnEndpointOptions.getLogging()logging - Whether to enable connections logging.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder logGroup(ILogGroup logGroup)
ClientVpnEndpointOptions.getLogGroup()logGroup - A CloudWatch Logs log group for connection logging.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder logStream(ILogStream logStream)
ClientVpnEndpointOptions.getLogStream()logStream - A CloudWatch Logs log stream for connection logging.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder port(VpnPort port)
ClientVpnEndpointOptions.getPort()port - The port number to assign to the Client VPN endpoint for TCP and UDP traffic.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ClientVpnEndpointOptions.getSecurityGroups()securityGroups - The security groups to apply to the target network.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder selfServicePortal(Boolean selfServicePortal)
ClientVpnEndpointOptions.getSelfServicePortal()selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder sessionTimeout(ClientVpnSessionTimeout sessionTimeout)
ClientVpnEndpointOptions.getSessionTimeout()sessionTimeout - The maximum VPN session duration time.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder splitTunnel(Boolean splitTunnel)
ClientVpnEndpointOptions.getSplitTunnel()splitTunnel - Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder transportProtocol(TransportProtocol transportProtocol)
ClientVpnEndpointOptions.getTransportProtocol()transportProtocol - The transport protocol to be used by the VPN session.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder userBasedAuthentication(ClientVpnUserBasedAuthentication userBasedAuthentication)
ClientVpnEndpointOptions.getUserBasedAuthentication()userBasedAuthentication - The type of user-based authentication to use.this@Stability(value=Stable) public ClientVpnEndpointProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
ClientVpnEndpointOptions.getVpcSubnets()vpcSubnets - Subnets to associate to the client VPN endpoint.this@Stability(value=Stable) public ClientVpnEndpointProps build()
build in interface software.amazon.jsii.Builder<ClientVpnEndpointProps>ClientVpnEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.