Skip to content

Commit

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

fixes aws#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 and Stephen Potter committed Apr 27, 2022
1 parent c74accc commit 8534d0f
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 8534d0f

Please sign in to comment.