Skip to content

Commit 13c47bd

Browse files
authored
chore(lambda): fix addPermission function name in docs (#18991)
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*
1 parent f1c465d commit 13c47bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-lambda/lib/permission.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Construct } from '@aws-cdk/core';
33

44
/**
55
* Represents a permission statement that can be added to a Lambda function's
6-
* resource policy via the `addPermissions()` method.
6+
* resource policy via the `addPermission()` method.
77
*/
88
export interface Permission {
99
/**

0 commit comments

Comments
 (0)