Class CfnClientVpnEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClientVpnEndpointMixinProps>
- Enclosing interface:
CfnClientVpnEndpointMixinProps
CfnClientVpnEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationOptions(List<? extends Object> authenticationOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getAuthenticationOptions()authenticationOptions(IResolvable authenticationOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getAuthenticationOptions()build()Builds the configured instance.clientCidrBlock(String clientCidrBlock) Sets the value ofCfnClientVpnEndpointMixinProps.getClientCidrBlock()clientConnectOptions(CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty clientConnectOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientConnectOptions()clientConnectOptions(IResolvable clientConnectOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientConnectOptions()clientLoginBannerOptions(CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty clientLoginBannerOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientLoginBannerOptions()clientLoginBannerOptions(IResolvable clientLoginBannerOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientLoginBannerOptions()clientRouteEnforcementOptions(CfnClientVpnEndpointPropsMixin.ClientRouteEnforcementOptionsProperty clientRouteEnforcementOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientRouteEnforcementOptions()clientRouteEnforcementOptions(IResolvable clientRouteEnforcementOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientRouteEnforcementOptions()connectionLogOptions(CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty connectionLogOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getConnectionLogOptions()connectionLogOptions(IResolvable connectionLogOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getConnectionLogOptions()description(String description) Sets the value ofCfnClientVpnEndpointMixinProps.getDescription()disconnectOnSessionTimeout(Boolean disconnectOnSessionTimeout) Sets the value ofCfnClientVpnEndpointMixinProps.getDisconnectOnSessionTimeout()disconnectOnSessionTimeout(IResolvable disconnectOnSessionTimeout) Sets the value ofCfnClientVpnEndpointMixinProps.getDisconnectOnSessionTimeout()dnsServers(List<String> dnsServers) Sets the value ofCfnClientVpnEndpointMixinProps.getDnsServers()endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnClientVpnEndpointMixinProps.getEndpointIpAddressType()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnClientVpnEndpointMixinProps.getSecurityGroupIds()selfServicePortal(String selfServicePortal) Sets the value ofCfnClientVpnEndpointMixinProps.getSelfServicePortal()serverCertificateArn(String serverCertificateArn) Sets the value ofCfnClientVpnEndpointMixinProps.getServerCertificateArn()sessionTimeoutHours(Number sessionTimeoutHours) Sets the value ofCfnClientVpnEndpointMixinProps.getSessionTimeoutHours()splitTunnel(Boolean splitTunnel) Sets the value ofCfnClientVpnEndpointMixinProps.getSplitTunnel()splitTunnel(IResolvable splitTunnel) Sets the value ofCfnClientVpnEndpointMixinProps.getSplitTunnel()tagSpecifications(List<? extends Object> tagSpecifications) Sets the value ofCfnClientVpnEndpointMixinProps.getTagSpecifications()tagSpecifications(IResolvable tagSpecifications) Sets the value ofCfnClientVpnEndpointMixinProps.getTagSpecifications()trafficIpAddressType(String trafficIpAddressType) Sets the value ofCfnClientVpnEndpointMixinProps.getTrafficIpAddressType()transportProtocol(String transportProtocol) Sets the value ofCfnClientVpnEndpointMixinProps.getTransportProtocol()Sets the value ofCfnClientVpnEndpointMixinProps.getVpcId()Sets the value ofCfnClientVpnEndpointMixinProps.getVpnPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder authenticationOptions(IResolvable authenticationOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getAuthenticationOptions()- Parameters:
authenticationOptions- Information about the authentication method to be used to authenticate clients.- Returns:
this
-
authenticationOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder authenticationOptions(List<? extends Object> authenticationOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getAuthenticationOptions()- Parameters:
authenticationOptions- Information about the authentication method to be used to authenticate clients.- Returns:
this
-
clientCidrBlock
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientCidrBlock(String clientCidrBlock) Sets the value ofCfnClientVpnEndpointMixinProps.getClientCidrBlock()- Parameters:
clientCidrBlock- 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.- Returns:
this
-
clientConnectOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientConnectOptions(IResolvable clientConnectOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientConnectOptions()- Parameters:
clientConnectOptions- The options for managing connection authorization for new client connections.- Returns:
this
-
clientConnectOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientConnectOptions(CfnClientVpnEndpointPropsMixin.ClientConnectOptionsProperty clientConnectOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientConnectOptions()- Parameters:
clientConnectOptions- The options for managing connection authorization for new client connections.- Returns:
this
-
clientLoginBannerOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientLoginBannerOptions(IResolvable clientLoginBannerOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientLoginBannerOptions()- Parameters:
clientLoginBannerOptions- Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.- Returns:
this
-
clientLoginBannerOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientLoginBannerOptions(CfnClientVpnEndpointPropsMixin.ClientLoginBannerOptionsProperty clientLoginBannerOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientLoginBannerOptions()- Parameters:
clientLoginBannerOptions- Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.- Returns:
this
-
clientRouteEnforcementOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientRouteEnforcementOptions(IResolvable clientRouteEnforcementOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientRouteEnforcementOptions()- Parameters:
clientRouteEnforcementOptions- 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.Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
- Returns:
this
-
clientRouteEnforcementOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder clientRouteEnforcementOptions(CfnClientVpnEndpointPropsMixin.ClientRouteEnforcementOptionsProperty clientRouteEnforcementOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getClientRouteEnforcementOptions()- Parameters:
clientRouteEnforcementOptions- 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.Client route enforcement works by monitoring the route table of a connected device for routing policy changes to the VPN connection. If the feature detects any VPN routing policy modifications, it will automatically force an update to the route table, reverting it back to the expected route configurations.
- Returns:
this
-
connectionLogOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder connectionLogOptions(IResolvable connectionLogOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getConnectionLogOptions()- Parameters:
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:- Client connection requests
- Client connection results (successful and unsuccessful)
- Reasons for unsuccessful client connection requests
- Client connection termination time
- Returns:
this
-
connectionLogOptions
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder connectionLogOptions(CfnClientVpnEndpointPropsMixin.ConnectionLogOptionsProperty connectionLogOptions) Sets the value ofCfnClientVpnEndpointMixinProps.getConnectionLogOptions()- Parameters:
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:- Client connection requests
- Client connection results (successful and unsuccessful)
- Reasons for unsuccessful client connection requests
- Client connection termination time
- Returns:
this
-
description
Sets the value ofCfnClientVpnEndpointMixinProps.getDescription()- Parameters:
description- A brief description of the Client VPN endpoint.- Returns:
this
-
disconnectOnSessionTimeout
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder disconnectOnSessionTimeout(Boolean disconnectOnSessionTimeout) Sets the value ofCfnClientVpnEndpointMixinProps.getDisconnectOnSessionTimeout()- Parameters:
disconnectOnSessionTimeout- Indicates whether the client VPN session is disconnected after the maximumsessionTimeoutHoursis reached. Iftrue, users are prompted to reconnect client VPN. Iffalse, client VPN attempts to reconnect automatically. The default value istrue.- Returns:
this
-
disconnectOnSessionTimeout
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder disconnectOnSessionTimeout(IResolvable disconnectOnSessionTimeout) Sets the value ofCfnClientVpnEndpointMixinProps.getDisconnectOnSessionTimeout()- Parameters:
disconnectOnSessionTimeout- Indicates whether the client VPN session is disconnected after the maximumsessionTimeoutHoursis reached. Iftrue, users are prompted to reconnect client VPN. Iffalse, client VPN attempts to reconnect automatically. The default value istrue.- Returns:
this
-
dnsServers
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder dnsServers(List<String> dnsServers) Sets the value ofCfnClientVpnEndpointMixinProps.getDnsServers()- Parameters:
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.- Returns:
this
-
endpointIpAddressType
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder endpointIpAddressType(String endpointIpAddressType) Sets the value ofCfnClientVpnEndpointMixinProps.getEndpointIpAddressType()- Parameters:
endpointIpAddressType- The IP address type of the Client VPN endpoint. Possible values areipv4for IPv4 addressing only,ipv6for IPv6 addressing only, ordual-stackfor both IPv4 and IPv6 addressing.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnClientVpnEndpointMixinProps.getSecurityGroupIds()- Parameters:
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.- Returns:
this
-
selfServicePortal
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder selfServicePortal(String selfServicePortal) Sets the value ofCfnClientVpnEndpointMixinProps.getSelfServicePortal()- Parameters:
selfServicePortal- Specify whether to enable the self-service portal for the Client VPN endpoint. Default Value:enabled- Returns:
this
-
serverCertificateArn
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder serverCertificateArn(String serverCertificateArn) Sets the value ofCfnClientVpnEndpointMixinProps.getServerCertificateArn()- Parameters:
serverCertificateArn- The ARN of the server certificate. For more information, see the Certificate Manager User Guide .- Returns:
this
-
sessionTimeoutHours
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder sessionTimeoutHours(Number sessionTimeoutHours) Sets the value ofCfnClientVpnEndpointMixinProps.getSessionTimeoutHours()- Parameters:
sessionTimeoutHours- The maximum VPN session duration time in hours. Valid values:8 | 10 | 12 | 24Default value:
24- Returns:
this
-
splitTunnel
Sets the value ofCfnClientVpnEndpointMixinProps.getSplitTunnel()- Parameters:
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 .
- Returns:
this
-
splitTunnel
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder splitTunnel(IResolvable splitTunnel) Sets the value ofCfnClientVpnEndpointMixinProps.getSplitTunnel()- Parameters:
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 .
- Returns:
this
-
tagSpecifications
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder tagSpecifications(IResolvable tagSpecifications) Sets the value ofCfnClientVpnEndpointMixinProps.getTagSpecifications()- Parameters:
tagSpecifications- The tags to apply to the Client VPN endpoint during creation.- Returns:
this
-
tagSpecifications
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder tagSpecifications(List<? extends Object> tagSpecifications) Sets the value ofCfnClientVpnEndpointMixinProps.getTagSpecifications()- Parameters:
tagSpecifications- The tags to apply to the Client VPN endpoint during creation.- Returns:
this
-
trafficIpAddressType
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder trafficIpAddressType(String trafficIpAddressType) Sets the value ofCfnClientVpnEndpointMixinProps.getTrafficIpAddressType()- Parameters:
trafficIpAddressType- The IP address type of the Client VPN endpoint. Possible values are eitheripv4for IPv4 addressing only,ipv6for IPv6 addressing only, ordual-stackfor both IPv4 and IPv6 addressing.- Returns:
this
-
transportProtocol
@Stability(Stable) public CfnClientVpnEndpointMixinProps.Builder transportProtocol(String transportProtocol) Sets the value ofCfnClientVpnEndpointMixinProps.getTransportProtocol()- Parameters:
transportProtocol- The transport protocol to be used by the VPN session. Default value:udp- Returns:
this
-
vpcId
Sets the value ofCfnClientVpnEndpointMixinProps.getVpcId()- Parameters:
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.- Returns:
this
-
vpnPort
Sets the value ofCfnClientVpnEndpointMixinProps.getVpnPort()- Parameters:
vpnPort- The port number to assign to the Client VPN endpoint for TCP and UDP traffic. Valid Values:443|1194Default Value:
443- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClientVpnEndpointMixinProps>- Returns:
- a new instance of
CfnClientVpnEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-