aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
48 lines (47 loc) • 1.07 kB
TypeScript
import { IDependable } from 'constructs';
import { IConnectable } from './connections';
import { IResource } from '../../core';
/**
* A client VPN endpoint
*/
export interface IClientVpnEndpoint extends IResource, IConnectable {
/**
* The endpoint ID
*/
readonly endpointId: string;
/**
* Dependable that can be depended upon to force target networks associations
*/
readonly targetNetworksAssociated: IDependable;
}
/**
* A connection handler for client VPN endpoints
*/
export interface IClientVpnConnectionHandler {
/**
* The name of the function
*/
readonly functionName: string;
/**
* The ARN of the function.
*/
readonly functionArn: string;
}
/**
* Transport protocol for client VPN
*/
export declare enum TransportProtocol {
/** Transmission Control Protocol (TCP) */
TCP = "tcp",
/** User Datagram Protocol (UDP) */
UDP = "udp"
}
/**
* Port for client VPN
*/
export declare enum VpnPort {
/** HTTPS */
HTTPS = 443,
/** OpenVPN */
OPENVPN = 1194
}