Skip to content

Commit f832851

Browse files
authored
chore(docs): fix typos (#32864)
### Issue # (if applicable) None ### Reason for this change Fixed typos in code comments. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a734841 commit f832851

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/aws-cdk-lib/aws-lambda/lib/function-base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export abstract class FunctionBase extends Resource implements IFunction, ec2.IC
316316
protected _invocationGrants: Record<string, iam.Grant> = {};
317317

318318
/**
319-
* Mapping of fucntion URL invocation principals to grants. Used to de-dupe `grantInvokeUrl()` calls.
319+
* Mapping of function URL invocation principals to grants. Used to de-dupe `grantInvokeUrl()` calls.
320320
* @internal
321321
*/
322322
protected _functionUrlInvocationGrants: Record<string, iam.Grant> = {};

packages/aws-cdk-lib/aws-lambda/lib/lambda-insights.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export abstract class LambdaInsightsVersion {
105105
return new InsightsArn();
106106
}
107107

108-
// Use the verison to build the object. Not meant to be called by the user -- user should use e.g. VERSION_1_0_54_0
108+
// Use the version to build the object. Not meant to be called by the user -- user should use e.g. VERSION_1_0_54_0
109109
private static fromInsightsVersion(insightsVersion: string): LambdaInsightsVersion {
110110
class InsightsVersion extends LambdaInsightsVersion {
111111
public readonly layerVersionArn = Lazy.uncachedString({

packages/aws-cdk-lib/aws-lambda/lib/singleton-lambda.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class SingletonFunction extends FunctionBase {
8080
this.runtime = this.lambdaFunction.runtime;
8181
this.grantPrincipal = this.lambdaFunction.grantPrincipal;
8282

83-
this.canCreatePermissions = true; // Doesn't matter, addPermission is overriden anyway
83+
this.canCreatePermissions = true; // Doesn't matter, addPermission is overridden anyway
8484
}
8585

8686
/**

0 commit comments

Comments
 (0)