Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip Edwards committed Jul 15, 2021
1 parent 764d81e commit 3ceec24
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions aws-ts-stepfunctions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,30 +51,14 @@ const helloFunction = new aws.lambda.CallbackFunction(
}
});

// const helloFunction = new aws.serverless.Function(
// "helloFunction",
// { role: lambdaRole },
// (event, context, callback) => {
// callback(null, "Hello");
// },
// );

const worldFunction = new aws.lambda.CallbackFunction(
"worldFunction", {
role: lambdaRole,
callback: (event, context, callback) => {
callback(null, `${event} World!`)
}
}
)

// const worldFunction = new aws.serverless.Function(
// "worldFunction",
// { role: lambdaRole },
// (event, context, callback) => {
// callback(null, `${event} World!`);
// },
// );
);

const stateMachine = new aws.sfn.StateMachine("stateMachine", {
roleArn: sfnRole.arn,
Expand Down

0 comments on commit 3ceec24

Please sign in to comment.