@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.133Z") @Stability(value=Stable) public interface CfnClientVpnEndpointProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnClientVpnEndpointProps cfnClientVpnEndpointProps = CfnClientVpnEndpointProps.builder()
.authenticationOptions(List.of(ClientAuthenticationRequestProperty.builder()
.type("type")
// the properties below are optional
.activeDirectory(DirectoryServiceAuthenticationRequestProperty.builder()
.directoryId("directoryId")
.build())
.federatedAuthentication(FederatedAuthenticationRequestProperty.builder()
.samlProviderArn("samlProviderArn")
// the properties below are optional
.selfServiceSamlProviderArn("selfServiceSamlProviderArn")
.build())
.mutualAuthentication(CertificateAuthenticationRequestProperty.builder()
.clientRootCertificateChainArn("clientRootCertificateChainArn")
.build())
.build()))
.clientCidrBlock("clientCidrBlock")
.connectionLogOptions(ConnectionLogOptionsProperty.builder()
.enabled(false)
// the properties below are optional
.cloudwatchLogGroup("cloudwatchLogGroup")
.cloudwatchLogStream("cloudwatchLogStream")
.build())
.serverCertificateArn("serverCertificateArn")
// the properties below are optional
.clientConnectOptions(ClientConnectOptionsProperty.builder()
.enabled(false)
// the properties below are optional
.lambdaFunctionArn("lambdaFunctionArn")
.build())
.clientLoginBannerOptions(ClientLoginBannerOptionsProperty.builder()
.enabled(false)
// the properties below are optional
.bannerText("bannerText")
.build())
.description("description")
.dnsServers(List.of("dnsServers"))
.securityGroupIds(List.of("securityGroupIds"))
.selfServicePortal("selfServicePortal")
.sessionTimeoutHours(123)
.splitTunnel(false)
.tagSpecifications(List.of(TagSpecificationProperty.builder()
.resourceType("resourceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.transportProtocol("transportProtocol")
.vpcId("vpcId")
.vpnPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClientVpnEndpointProps.Builder
A builder for
CfnClientVpnEndpointProps |
static class |
CfnClientVpnEndpointProps.Jsii$Proxy
An implementation for
CfnClientVpnEndpointProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClientVpnEndpointProps.Builder |
builder() |
Object |
getAuthenticationOptions()
Information about the authentication method to be used to authenticate clients.
|
String |
getClientCidrBlock()
The IPv4 address range, in CIDR notation, from which to assign client IP addresses.
|
default Object |
getClientConnectOptions()
The options for managing connection authorization for new client connections.
|
default Object |
getClientLoginBannerOptions()
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.
|
Object |
getConnectionLogOptions()
Information about the client connection logging options.
|
default String |
getDescription()
A brief description of the Client VPN endpoint.
|
default List<String> |
getDnsServers()
Information about the DNS servers to be used for DNS resolution.
|
default List<String> |
getSecurityGroupIds()
The IDs of one or more security groups to apply to the target network.
|
default String |
getSelfServicePortal()
Specify whether to enable the self-service portal for the Client VPN endpoint.
|
String |
getServerCertificateArn()
The ARN of the server certificate.
|
default Number |
getSessionTimeoutHours()
The maximum VPN session duration time in hours.
|
default Object |
getSplitTunnel()
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.
|
default Object |
getTagSpecifications()
The tags to apply to the Client VPN endpoint during creation.
|
default String |
getTransportProtocol()
The transport protocol to be used by the VPN session.
|
default String |
getVpcId()
The ID of the VPC to associate with the Client VPN endpoint.
|
default Number |
getVpnPort()
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
|
@Stability(value=Stable) @NotNull Object getAuthenticationOptions()
@Stability(value=Stable) @NotNull String getClientCidrBlock()
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.
@Stability(value=Stable) @NotNull Object getConnectionLogOptions()
If you enable client connection logging, data about client connections is sent to a Cloudwatch Logs log stream. The following information is logged:
@Stability(value=Stable) @NotNull String getServerCertificateArn()
For more information, see the AWS Certificate Manager User Guide .
@Stability(value=Stable) @Nullable default Object getClientConnectOptions()
@Stability(value=Stable) @Nullable default Object getClientLoginBannerOptions()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default List<String> getDnsServers()
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.
@Stability(value=Stable) @Nullable default List<String> getSecurityGroupIds()
You must also specify the ID of the VPC that contains the security groups.
@Stability(value=Stable) @Nullable default String getSelfServicePortal()
Default Value: enabled
@Stability(value=Stable) @Nullable default Number getSessionTimeoutHours()
Valid values: 8 | 10 | 12 | 24
Default value: 24
@Stability(value=Stable) @Nullable default Object getSplitTunnel()
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 .
@Stability(value=Stable) @Nullable default Object getTagSpecifications()
@Stability(value=Stable) @Nullable default String getTransportProtocol()
Default value: udp
@Stability(value=Stable) @Nullable default String getVpcId()
If no security group IDs are specified in the request, the default security group for the VPC is applied.
@Stability(value=Stable) @Nullable default Number getVpnPort()
Valid Values: 443 | 1194
Default Value: 443
@Stability(value=Stable) static CfnClientVpnEndpointProps.Builder builder()
CfnClientVpnEndpointProps.Builder of CfnClientVpnEndpointPropsCopyright © 2022. All rights reserved.