Skip to content

Commit

Permalink
docs(lambda): fix some typos in function (#31824)
Browse files Browse the repository at this point in the history
I found some typos by chance and fixed them :)

### 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*
  • Loading branch information
mazyu36 authored Oct 21, 2024
1 parent 366b492 commit 530aa4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/aws-cdk-lib/aws-lambda/lib/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export enum ApplicationLogLevel {
* This field takes in 2 values either Text or JSON. By setting this value to Text,
* will result in the current structure of logs format, whereas, by setting this value to JSON,
* Lambda will print the logs as Structured JSON Logs, with the corresponding timestamp and log level
* of each event. Selecting ‘JSON’ format will only allow customer’s to have different log level
* of each event. Selecting ‘JSON’ format will only allow customers to have different log level
* Application log level and the System log level.
*/
export enum LogFormat {
Expand All @@ -126,7 +126,7 @@ export enum LogFormat {
* This field takes in 2 values either Text or JSON. By setting this value to Text,
* will result in the current structure of logs format, whereas, by setting this value to JSON,
* Lambda will print the logs as Structured JSON Logs, with the corresponding timestamp and log level
* of each event. Selecting ‘JSON’ format will only allow customer’s to have different log level
* of each event. Selecting ‘JSON’ format will only allow customers to have different log level
* Application log level and the System log level.
*/
export enum LoggingFormat {
Expand Down Expand Up @@ -562,7 +562,7 @@ export interface FunctionOptions extends EventInvokeConfigOptions {

/**
* Sets the Recursive Loop Protection for Lambda Function.
* It lets Lambda detect and terminate unintended recusrive loops.
* It lets Lambda detect and terminate unintended recursive loops.
*
* @default RecursiveLoop.Terminate
*/
Expand Down Expand Up @@ -1207,7 +1207,7 @@ export class Function extends FunctionBase {
}

/**
* Get Logging Config propety for the function.
* Get Logging Config property for the function.
* This method returns the function LoggingConfig Property if the property is set on the
* function and undefined if not.
*/
Expand Down Expand Up @@ -1405,7 +1405,7 @@ Environment variables can be marked for removal when used in Lambda@Edge by sett
}

/**
* Configured lambda insights on the function if specified. This is acheived by adding an imported layer which is added to the
* Configured lambda insights on the function if specified. This is achieved by adding an imported layer which is added to the
* list of lambda layers on synthesis.
*
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-extension-versions.html
Expand Down

0 comments on commit 530aa4e

Please sign in to comment.