Class CfnClientVpnEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:17.686Z")
@Stability(Stable)
public class CfnClientVpnEndpoint
extends CfnResource
implements IInspectable
Specifies a Client VPN endpoint.
A Client VPN endpoint is the resource you create and configure to enable and manage client VPN sessions. It is the destination endpoint at which all client VPN sessions are terminated.
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.*; CfnClientVpnEndpoint cfnClientVpnEndpoint = CfnClientVpnEndpoint.Builder.create(this, "MyCfnClientVpnEndpoint") .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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnClientVpnEndpoint
.static interface
Information about the client certificate to be used for authentication.static interface
Describes the authentication method to be used by a Client VPN endpoint.static interface
Indicates whether client connect options are enabled.static interface
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.static interface
Describes the client connection logging options for the Client VPN endpoint.static interface
Describes the Active Directory to be used for client authentication.static interface
The IAM SAML identity provider used for federated authentication.static interface
Specifies the tags to apply to the Client VPN endpoint.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnClientVpnEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnClientVpnEndpoint
(software.amazon.jsii.JsiiObjectRef objRef) CfnClientVpnEndpoint
(software.constructs.Construct scope, String id, CfnClientVpnEndpointProps props) -
Method Summary
Modifier and TypeMethodDescriptionInformation about the authentication method to be used to authenticate clients.The IPv4 address range, in CIDR notation, from which to assign client IP addresses.The options for managing connection authorization for new client connections.Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.Information about the client connection logging options.A brief description of the Client VPN endpoint.Information about the DNS servers to be used for DNS resolution.The IDs of one or more security groups to apply to the target network.Specify whether to enable the self-service portal for the Client VPN endpoint.The ARN of the server certificate.The maximum VPN session duration time in hours.Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.The tags to apply to the Client VPN endpoint during creation.The transport protocol to be used by the VPN session.getVpcId()
The ID of the VPC to associate with the Client VPN endpoint.The port number to assign to the Client VPN endpoint for TCP and UDP traffic.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAuthenticationOptions
(List<Object> value) Information about the authentication method to be used to authenticate clients.void
Information about the authentication method to be used to authenticate clients.void
setClientCidrBlock
(String value) The IPv4 address range, in CIDR notation, from which to assign client IP addresses.void
The options for managing connection authorization for new client connections.void
The options for managing connection authorization for new client connections.void
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.void
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.void
Information about the client connection logging options.void
Information about the client connection logging options.void
setDescription
(String value) A brief description of the Client VPN endpoint.void
setDnsServers
(List<String> value) Information about the DNS servers to be used for DNS resolution.void
setSecurityGroupIds
(List<String> value) The IDs of one or more security groups to apply to the target network.void
setSelfServicePortal
(String value) Specify whether to enable the self-service portal for the Client VPN endpoint.void
setServerCertificateArn
(String value) The ARN of the server certificate.void
setSessionTimeoutHours
(Number value) The maximum VPN session duration time in hours.void
setSplitTunnel
(Boolean value) Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.void
setSplitTunnel
(IResolvable value) Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.void
setTagSpecifications
(List<Object> value) The tags to apply to the Client VPN endpoint during creation.void
setTagSpecifications
(IResolvable value) The tags to apply to the Client VPN endpoint during creation.void
setTransportProtocol
(String value) The transport protocol to be used by the VPN session.void
The ID of the VPC to associate with the Client VPN endpoint.void
setVpnPort
(Number value) The port number to assign to the Client VPN endpoint for TCP and UDP traffic.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnClientVpnEndpoint
protected CfnClientVpnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnClientVpnEndpoint
protected CfnClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnClientVpnEndpoint
@Stability(Stable) public CfnClientVpnEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnClientVpnEndpointProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAuthenticationOptions
Information about the authentication method to be used to authenticate clients. -
setAuthenticationOptions
Information about the authentication method to be used to authenticate clients. -
setAuthenticationOptions
Information about the authentication method to be used to authenticate clients. -
getClientCidrBlock
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. -
setClientCidrBlock
The IPv4 address range, in CIDR notation, from which to assign client IP addresses. -
getConnectionLogOptions
Information about the client connection logging options. -
setConnectionLogOptions
Information about the client connection logging options. -
setConnectionLogOptions
@Stability(Stable) public void setConnectionLogOptions(@NotNull CfnClientVpnEndpoint.ConnectionLogOptionsProperty value) Information about the client connection logging options. -
getServerCertificateArn
The ARN of the server certificate. -
setServerCertificateArn
The ARN of the server certificate. -
getClientConnectOptions
The options for managing connection authorization for new client connections. -
setClientConnectOptions
The options for managing connection authorization for new client connections. -
setClientConnectOptions
@Stability(Stable) public void setClientConnectOptions(@Nullable CfnClientVpnEndpoint.ClientConnectOptionsProperty value) The options for managing connection authorization for new client connections. -
getClientLoginBannerOptions
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. -
setClientLoginBannerOptions
Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. -
setClientLoginBannerOptions
@Stability(Stable) public void setClientLoginBannerOptions(@Nullable CfnClientVpnEndpoint.ClientLoginBannerOptionsProperty value) Options for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established. -
getDescription
A brief description of the Client VPN endpoint. -
setDescription
A brief description of the Client VPN endpoint. -
getDnsServers
Information about the DNS servers to be used for DNS resolution. -
setDnsServers
Information about the DNS servers to be used for DNS resolution. -
getSecurityGroupIds
The IDs of one or more security groups to apply to the target network. -
setSecurityGroupIds
The IDs of one or more security groups to apply to the target network. -
getSelfServicePortal
Specify whether to enable the self-service portal for the Client VPN endpoint. -
setSelfServicePortal
Specify whether to enable the self-service portal for the Client VPN endpoint. -
getSessionTimeoutHours
The maximum VPN session duration time in hours. -
setSessionTimeoutHours
The maximum VPN session duration time in hours. -
getSplitTunnel
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. -
setSplitTunnel
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. -
setSplitTunnel
Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint. -
getTagSpecifications
The tags to apply to the Client VPN endpoint during creation. -
setTagSpecifications
The tags to apply to the Client VPN endpoint during creation. -
setTagSpecifications
The tags to apply to the Client VPN endpoint during creation. -
getTransportProtocol
The transport protocol to be used by the VPN session. -
setTransportProtocol
The transport protocol to be used by the VPN session. -
getVpcId
The ID of the VPC to associate with the Client VPN endpoint. -
setVpcId
The ID of the VPC to associate with the Client VPN endpoint. -
getVpnPort
The port number to assign to the Client VPN endpoint for TCP and UDP traffic. -
setVpnPort
The port number to assign to the Client VPN endpoint for TCP and UDP traffic.
-