@aws-cdk/aws-ec2
Version:
The CDK Construct Library for AWS::EC2
47 lines (46 loc) • 1.04 kB
TypeScript
import { IDependable, IResource } from '@aws-cdk/core';
import { IConnectable } from './connections';
/**
* 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
}