Skip to content

Latest commit

 

History

History
executable file
·
161 lines (94 loc) · 4.49 KB

File metadata and controls

executable file
·
161 lines (94 loc) · 4.49 KB

API Reference

Constructs

WakeOnLambda

Initializers

import { WakeOnLambda } from 'wake-on-lambda'

new WakeOnLambda(scope: Construct, id: string, props: WakeOnLambdaProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props WakeOnLambdaProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

Methods

Name Description
toString Returns a string representation of this construct.

toString
public toString(): string

Returns a string representation of this construct.

Static Functions

Name Description
isConstruct Checks if x is a construct.

isConstruct
import { WakeOnLambda } from 'wake-on-lambda'

WakeOnLambda.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.
lambdaFn aws-cdk-lib.aws_lambda.Function No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


lambdaFnRequired
public readonly lambdaFn: Function;
  • Type: aws-cdk-lib.aws_lambda.Function

Structs

WakeOnLambdaProps

Initializer

import { WakeOnLambdaProps } from 'wake-on-lambda'

const wakeOnLambdaProps: WakeOnLambdaProps = { ... }

Properties

Name Type Description
destinationUrl string The url of destination server.
instanceId string The instance id of destination server.

destinationUrlRequired
public readonly destinationUrl: string;
  • Type: string

The url of destination server.


instanceIdRequired
public readonly instanceId: string;
  • Type: string

The instance id of destination server.