Skip to content

Commit

Permalink
chore(lambda): fix addPermission function name in docs (#18991)
Browse files Browse the repository at this point in the history
Documentation text change based on open issue #17873 indicating there is a typo.

fixes #17873 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
cino authored Mar 30, 2022
1 parent f1c465d commit 13c47bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-lambda/lib/permission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Construct } from '@aws-cdk/core';

/**
* Represents a permission statement that can be added to a Lambda function's
* resource policy via the `addPermissions()` method.
* resource policy via the `addPermission()` method.
*/
export interface Permission {
/**
Expand Down

0 comments on commit 13c47bd

Please sign in to comment.