@Stability(value=Stable) public static final class CfnClientVpnEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<CfnClientVpnEndpointProps>
CfnClientVpnEndpointProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder authenticationOptions(IResolvable authenticationOptions)
CfnClientVpnEndpointProps.getAuthenticationOptions()authenticationOptions - Information about the authentication method to be used to authenticate clients. This parameter is required.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder authenticationOptions(List<? extends Object> authenticationOptions)
CfnClientVpnEndpointProps.getAuthenticationOptions()authenticationOptions - Information about the authentication method to be used to authenticate clients. This parameter is required.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder clientCidrBlock(String clientCidrBlock)
CfnClientVpnEndpointProps.getClientCidrBlock()clientCidrBlock - 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. The address range cannot be changed after the Client VPN endpoint has been created. The CIDR block should be /22 or greater.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder connectionLogOptions(CfnClientVpnEndpoint.ConnectionLogOptionsProperty connectionLogOptions)
CfnClientVpnEndpointProps.getConnectionLogOptions()connectionLogOptions - Information about the client connection logging options. This parameter is required.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder connectionLogOptions(IResolvable connectionLogOptions)
CfnClientVpnEndpointProps.getConnectionLogOptions()connectionLogOptions - Information about the client connection logging options. This parameter is required.
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder serverCertificateArn(String serverCertificateArn)
CfnClientVpnEndpointProps.getServerCertificateArn()serverCertificateArn - The ARN of the server certificate. This parameter is required.
For more information, see the AWS Certificate Manager User Guide .this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder clientConnectOptions(CfnClientVpnEndpoint.ClientConnectOptionsProperty clientConnectOptions)
CfnClientVpnEndpointProps.getClientConnectOptions()clientConnectOptions - The options for managing connection authorization for new client connections.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder clientConnectOptions(IResolvable clientConnectOptions)
CfnClientVpnEndpointProps.getClientConnectOptions()clientConnectOptions - The options for managing connection authorization for new client connections.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder clientLoginBannerOptions(CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty clientLoginBannerOptions)
CfnClientVpnEndpointProps.getClientLoginBannerOptions()clientLoginBannerOptions - Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder clientLoginBannerOptions(IResolvable clientLoginBannerOptions)
CfnClientVpnEndpointProps.getClientLoginBannerOptions()clientLoginBannerOptions - Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder description(String description)
CfnClientVpnEndpointProps.getDescription()description - A brief description of the Client VPN endpoint.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder dnsServers(List<String> dnsServers)
CfnClientVpnEndpointProps.getDnsServers()dnsServers - 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.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder securityGroupIds(List<String> securityGroupIds)
CfnClientVpnEndpointProps.getSecurityGroupIds()securityGroupIds - 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.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder selfServicePortal(String selfServicePortal)
CfnClientVpnEndpointProps.getSelfServicePortal()selfServicePortal - Specify whether to enable the self-service portal for the Client VPN endpoint.
Default Value: enabledthis@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder sessionTimeoutHours(Number sessionTimeoutHours)
CfnClientVpnEndpointProps.getSessionTimeoutHours()sessionTimeoutHours - The maximum VPN session duration time in hours.
Valid values: 8 | 10 | 12 | 24
Default value: 24
this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder splitTunnel(Boolean splitTunnel)
CfnClientVpnEndpointProps.getSplitTunnel()splitTunnel - 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 .
this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder splitTunnel(IResolvable splitTunnel)
CfnClientVpnEndpointProps.getSplitTunnel()splitTunnel - 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 .
this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder tagSpecifications(IResolvable tagSpecifications)
CfnClientVpnEndpointProps.getTagSpecifications()tagSpecifications - The tags to apply to the Client VPN endpoint during creation.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder tagSpecifications(List<? extends Object> tagSpecifications)
CfnClientVpnEndpointProps.getTagSpecifications()tagSpecifications - The tags to apply to the Client VPN endpoint during creation.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder transportProtocol(String transportProtocol)
CfnClientVpnEndpointProps.getTransportProtocol()transportProtocol - The transport protocol to be used by the VPN session.
Default value: udpthis@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder vpcId(String vpcId)
CfnClientVpnEndpointProps.getVpcId()vpcId - 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.this@Stability(value=Stable) public CfnClientVpnEndpointProps.Builder vpnPort(Number vpnPort)
CfnClientVpnEndpointProps.getVpnPort()vpnPort - The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
Valid Values: 443 | 1194
Default Value: 443
this@Stability(value=Stable) public CfnClientVpnEndpointProps build()
build in interface software.amazon.jsii.Builder<CfnClientVpnEndpointProps>CfnClientVpnEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.