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. |
- Type: constructs.Construct
- Type: string
- Type: WakeOnLambdaProps
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
public toString(): stringReturns a string representation of this construct.
| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
import { WakeOnLambda } from 'wake-on-lambda'
WakeOnLambda.isConstruct(x: any)Checks if x is a construct.
- Type: any
Any object.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
lambdaFn |
aws-cdk-lib.aws_lambda.Function |
No description. |
public readonly node: Node;- Type: constructs.Node
The tree node.
public readonly lambdaFn: Function;- Type: aws-cdk-lib.aws_lambda.Function
import { WakeOnLambdaProps } from 'wake-on-lambda'
const wakeOnLambdaProps: WakeOnLambdaProps = { ... }| Name | Type | Description |
|---|---|---|
destinationUrl |
string |
The url of destination server. |
instanceId |
string |
The instance id of destination server. |
public readonly destinationUrl: string;- Type: string
The url of destination server.
public readonly instanceId: string;- Type: string
The instance id of destination server.