question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(aws-lambda): Add support for Function URLs

See original GitHub issue

Describe the feature

Add support for creating function URLs through AWS CDK Lambda module: https://docs.aws.amazon.com/lambda/latest/dg/urls-configuration.html#urls-cfn

Use Case

Need an easy way to create Function URLs.

Proposed Solution

  1. FunctionUrl should be added as a new resource under lambda module
  2. A helper method of addUrl or configureUrl should be added to the Function
  3. A configuration for function urls in the props to Function should be added to create URL at the time of creating Function

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.x

Environment details (OS name and version, etc.)

All

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:20
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
illahicommented, Apr 7, 2022

Confusing. This AWS blog seems to indicate it’s already available: https://aws.amazon.com/blogs/aws/announcing-aws-lambda-function-urls-built-in-https-endpoints-for-single-function-microservices/.

You can start configuring Lambda Function URLs directly in your IaC templates today using AWS CloudFormation, AWS SAM, and AWS Cloud Development Kit (AWS CDK).

Looking forward to the feature.

9reactions
ayush987goyalcommented, Apr 8, 2022

@capaj Already WIP 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lambda function URLs - AWS Documentation
Lambda function URLs use resource-based policies for security and access control. Function URLs also support cross-origin resource sharing (CORS) configuration ...
Read more >
Announcing AWS Lambda Function URLs: Built-in HTTPS ...
Today, I'm happy to announce the general availability of Lambda Function URLs, a new feature that lets you add HTTPS endpoints to any...
Read more >
Tutorial: Creating a Lambda function with a function URL
In this tutorial, you create a Lambda function defined as a .zip file archive with a public function URL endpoint that returns the...
Read more >
Invoking Lambda function URLs - AWS Documentation
Function URLs are dual stack-enabled, supporting IPv4 and IPv6. After configuring your function URL, you can invoke your function through its HTTP(S) endpoint ......
Read more >
Security and auth model for Lambda function URLs
Using the AWS_IAM auth type · Open the Functions page of the Lambda console. · Choose the name of the function that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found