https://pulumi.com logo
Title
g

gentle-monitor-55086

06/18/2021, 5:25 PM
where are the docs for lamda.CallbackFunction ? Using it like this.
import {lambda} from "@pulumi/aws";
...
new lambda.CallbackFunction...
but at the aws lambda docs page there's no "CallbackFunction" defined
n

nice-airport-15607

06/18/2021, 5:56 PM
looking at the code, looks like these are the arguments, idk if this helps or not…
export declare class CallbackFunction<E, R> extends LambdaFunction {
    constructor(name: string, args: CallbackFunctionArgs<E, R>, opts?: pulumi.CustomResourceOptions);
}
g

gentle-monitor-55086

06/18/2021, 6:31 PM
Yea i ended up finding what i needed just kind of confused why there's no docs 🙃 thanks though!
n

nice-airport-15607

06/18/2021, 6:35 PM
yeah, i’ve mentioned this before also. the lack of examples is annoying….