Skip to content

(aws-lambda): Add support for Function URLs #19798

@ayush987goyal

Description

@ayush987goyal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-lambdaRelated to AWS Lambdaeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions