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="2024-11-06T23:25:07.465Z")
@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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnClientVpnEndpoint.static interfaceInformation about the client certificate to be used for authentication.static interfaceDescribes the authentication method to be used by a Client VPN endpoint.static interfaceIndicates whether client connect options are enabled.static interfaceOptions for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.static interfaceDescribes the client connection logging options for the Client VPN endpoint.static interfaceDescribes the Active Directory to be used for client authentication.static interfaceThe IAM SAML identity provider used for federated authentication.static interfaceSpecifies the tags to apply to the Client VPN endpoint.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnClientVpnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnClientVpnEndpoint(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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAuthenticationOptions(List<Object> value) Information about the authentication method to be used to authenticate clients.voidInformation about the authentication method to be used to authenticate clients.voidsetClientCidrBlock(String value) The IPv4 address range, in CIDR notation, from which to assign client IP addresses.voidThe options for managing connection authorization for new client connections.voidThe options for managing connection authorization for new client connections.voidOptions for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.voidOptions for enabling a customizable text banner that will be displayed on AWS provided clients when a VPN session is established.voidInformation about the client connection logging options.voidInformation about the client connection logging options.voidsetDescription(String value) A brief description of the Client VPN endpoint.voidsetDnsServers(List<String> value) Information about the DNS servers to be used for DNS resolution.voidsetSecurityGroupIds(List<String> value) The IDs of one or more security groups to apply to the target network.voidsetSelfServicePortal(String value) Specify whether to enable the self-service portal for the Client VPN endpoint.voidsetServerCertificateArn(String value) The ARN of the server certificate.voidsetSessionTimeoutHours(Number value) The maximum VPN session duration time in hours.voidsetSplitTunnel(Boolean value) Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.voidsetSplitTunnel(IResolvable value) Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint.voidsetTagSpecifications(List<Object> value) The tags to apply to the Client VPN endpoint during creation.voidsetTagSpecifications(IResolvable value) The tags to apply to the Client VPN endpoint during creation.voidsetTransportProtocol(String value) The transport protocol to be used by the VPN session.voidThe ID of the VPC to associate with the Client VPN endpoint.voidsetVpnPort(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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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.
-