Skip to content

Commit

Permalink
Merge branch 'main' into scanlonp/certificate-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed May 10, 2024
2 parents bfa8e14 + b2eb86c commit 53e5ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-cloudfront/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ Additionally, you can load the function's code from a file using the `FunctionCo

If you set `autoPublish` to false, the function will not be automatically published to the LIVE stage when it’s created.

``ts
```ts
new cloudfront.Function(this, 'Function', {
code: cloudfront.FunctionCode.fromInline('function handler(event) { return event.request }'),
runtime: cloudfront.FunctionRuntime.JS_2_0,
Expand Down

0 comments on commit 53e5ef5

Please sign in to comment.