Skip to content

Commit

Permalink
docs(trigger): fix incorrect construct id in README for aws-cdk-lib.t…
Browse files Browse the repository at this point in the history
…riggers module.
  • Loading branch information
tam0ri committed Jul 19, 2023
1 parent e8fc7a8 commit 6b81b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/triggers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ new triggers.TriggerFunction(this, 'MyTrigger', {
});
```

In the above example, the AWS Lambda function defined in `myLambdaFunction` will
In the above example, the AWS Lambda function defined in `MyTrigger` will
be invoked when the stack is deployed.

It is also possible to trigger a predefined Lambda function by using the `Trigger` construct:
Expand Down

0 comments on commit 6b81b5b

Please sign in to comment.