import { TailscaleLambdaProxy } from 'tailscale-lambda-proxy'
new TailscaleLambdaProxy ( scope : Construct , id : string , props : TailscaleLambdaProxyProps )
Type: constructs.Construct
Name
Description
toString
Returns a string representation of this construct.
public toString ( ) : string
Returns a string representation of this construct.
Name
Description
isConstruct
Checks if x is a construct.
import { TailscaleLambdaProxy } from 'tailscale-lambda-proxy'
TailscaleLambdaProxy . isConstruct ( x : any )
Checks if x is a construct.
Any object.
Name
Type
Description
node
constructs.Node
The tree node.
extension
tailscale-lambda-extension.TailscaleLambdaExtension
No description.
lambda
aws-cdk-lib.aws_lambda_nodejs.NodejsFunction
No description.
lambdaFunctionUrl
aws-cdk-lib.aws_lambda.FunctionUrl
No description.
warmer
aws-cdk-lib.aws_lambda_nodejs.NodejsFunction
No description.
warmerRule
aws-cdk-lib.aws_events.Rule
No description.
public readonly node : Node ;
The tree node.
public readonly extension: TailscaleLambdaExtension ;
Type: tailscale-lambda-extension.TailscaleLambdaExtension
public readonly lambda: NodejsFunction ;
Type: aws-cdk-lib.aws_lambda_nodejs.NodejsFunction
lambdaFunctionUrlRequired
public readonly lambdaFunctionUrl: FunctionUrl ;
Type: aws-cdk-lib.aws_lambda.FunctionUrl
public readonly warmer: NodejsFunction ;
Type: aws-cdk-lib.aws_lambda_nodejs.NodejsFunction
public readonly warmerRule: Rule ;
Type: aws-cdk-lib.aws_events.Rule
TailscaleLambdaProxyProps
import { TailscaleLambdaProxyProps } from 'tailscale-lambda-proxy'
const tailscaleLambdaProxyProps : TailscaleLambdaProxyProps = { ... }
Name
Type
Description
tsHostname
string
The "Machine" name as shown in the Tailscale admin console that identifies the Lambda function.
tsSecretApiKey
aws-cdk-lib.aws_secretsmanager.ISecret
The name of the AWS Secrets Manager secret that contains the pure text Tailscale API Key.
debug
boolean
No description.
options
TailscaleLambdaProxyPropsOptions
No description.
public readonly tsHostname: string ;
The "Machine" name as shown in the Tailscale admin console that identifies the Lambda function.
public readonly tsSecretApiKey: ISecret ;
Type: aws-cdk-lib.aws_secretsmanager.ISecret
The name of the AWS Secrets Manager secret that contains the pure text Tailscale API Key.
public readonly debug : boolean ;
public readonly options: TailscaleLambdaProxyPropsOptions ;
TailscaleLambdaProxyPropsLambdaOption
import { TailscaleLambdaProxyPropsLambdaOption } from 'tailscale-lambda-proxy'
const tailscaleLambdaProxyPropsLambdaOption : TailscaleLambdaProxyPropsLambdaOption = { ... }
public readonly functionName: string ;
nodeTlsRejectUnauthorizedOptional
public readonly nodeTlsRejectUnauthorized: boolean ;
TailscaleLambdaProxyPropsOptions
import { TailscaleLambdaProxyPropsOptions } from 'tailscale-lambda-proxy'
const tailscaleLambdaProxyPropsOptions : TailscaleLambdaProxyPropsOptions = { ... }
public readonly extension: LayerVersionOptions ;
Type: aws-cdk-lib.aws_lambda.LayerVersionOptions
public readonly lambda: TailscaleLambdaProxyPropsLambdaOption ;
public readonly warmer: TailscaleLambdaProxyPropsWarmerOption ;
If provided, a separate Lambda function will be created to periodically invoke the Tailscale proxy Lambda function to keep it warm.
TailscaleLambdaProxyPropsWarmerOption
import { TailscaleLambdaProxyPropsWarmerOption } from 'tailscale-lambda-proxy'
const tailscaleLambdaProxyPropsWarmerOption : TailscaleLambdaProxyPropsWarmerOption = { ... }
concurrentInvocationsOptional
public readonly concurrentInvocations: number ;
public readonly functionName: string ;