Ömer Toraman
11/15/2021, 1:44 AMconst api = new sst.Api(this, "Api", {
routes: {
"POST /": {
// @ts-expect-error
permissions: [[ev, 'grantPutEventsTo']],
handler: "src/lambda.handler",
}
}
});
Mike McCall
11/15/2021, 6:28 AMAWS_PROXY
and the Integration subtype is service-subtype. For example:
integrationType: 'AWS_PROXY',
integrationSubtype: 'StepFunctions-StartSyncExecution',
Ömer Toraman
11/15/2021, 6:43 AMFrank
Frank
Cfn*
constructs to piece together the CloudFormation code as @Mike McCall suggested.