diff --git a/packages/aws-cdk-lib/triggers/README.md b/packages/aws-cdk-lib/triggers/README.md index c9bd4a0e86fad..fa3de681f35e9 100644 --- a/packages/aws-cdk-lib/triggers/README.md +++ b/packages/aws-cdk-lib/triggers/README.md @@ -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: