-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-lambda): Add support for Function URLs #19798
Comments
The feature is currently not a part of the AWS CFN spec: https://d1uauaxba7bl26.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json Would need to wait for the spec to get updated (and available in CDK) before progressing on adding this feature. |
I'll be on the lookout for the CFN update! |
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/.
Looking forward to the feature. |
Prerequisite for Lambda URL feature #19798 cc @kaizen3031593 @ayush987goyal ``` # CloudFormation Resource Specification v66.0.0 ## New Resource Types * AWS::DataSync::LocationFSxOpenZFS * AWS::Events::Endpoint * AWS::Lambda::Url * AWS::MediaTailor::PlaybackConfiguration ## Attribute Changes ## Property Changes * AWS::Batch::ComputeEnvironment ReplaceComputeEnvironment (__added__) * AWS::Batch::ComputeEnvironment UpdatePolicy (__added__) * AWS::EC2::TrafficMirrorTarget GatewayLoadBalancerEndpointId (__added__) * AWS::Lambda::Permission FunctionUrlAuthType (__added__) ## Property Type Changes * AWS::Batch::ComputeEnvironment.UpdatePolicy (__added__) * AWS::EC2::LaunchTemplate.MaintenanceOptions (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources UpdateToLatestImageVersion (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources AllocationStrategy.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources BidPercentage.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2Configuration.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2KeyPair.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources ImageId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceRole.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceTypes.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources LaunchTemplate.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources PlacementGroup.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Tags.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Type.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageIdOverride.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageType.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateName.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification Version.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::DMS::Endpoint.DocDbSettings DocsToInvestigate (__added__) * AWS::DMS::Endpoint.DocDbSettings ExtractDocId (__added__) * AWS::DMS::Endpoint.DocDbSettings NestingLevel (__added__) * AWS::DMS::Endpoint.IbmDb2Settings CurrentLsn (__added__) * AWS::DMS::Endpoint.IbmDb2Settings MaxKBytesPerRead (__added__) * AWS::DMS::Endpoint.IbmDb2Settings SetDataCaptureChanges (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings BcpPacketSize (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ControlTablesFileGroup (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings QuerySingleAlwaysOnNode (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ReadBackupOnly (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings SafeguardPolicy (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseBcpFullLoad (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseThirdPartyBackupDevice (__added__) * AWS::DMS::Endpoint.RedshiftSettings AcceptAnyDate (__added__) * AWS::DMS::Endpoint.RedshiftSettings AfterConnectScript (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketFolder (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketName (__added__) * AWS::DMS::Endpoint.RedshiftSettings CaseSensitiveNames (__added__) * AWS::DMS::Endpoint.RedshiftSettings CompUpdate (__added__) * AWS::DMS::Endpoint.RedshiftSettings ConnectionTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings DateFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings EmptyAsNull (__added__) * AWS::DMS::Endpoint.RedshiftSettings EncryptionMode (__added__) * AWS::DMS::Endpoint.RedshiftSettings ExplicitIds (__added__) * AWS::DMS::Endpoint.RedshiftSettings FileTransferUploadStreams (__added__) * AWS::DMS::Endpoint.RedshiftSettings LoadTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings MaxFileSize (__added__) * AWS::DMS::Endpoint.RedshiftSettings RemoveQuotes (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceInvalidChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServerSideEncryptionKmsKeyId (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServiceAccessRoleArn (__added__) * AWS::DMS::Endpoint.RedshiftSettings TimeFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings TrimBlanks (__added__) * AWS::DMS::Endpoint.RedshiftSettings TruncateColumns (__added__) * AWS::DMS::Endpoint.RedshiftSettings WriteBufferSize (__added__) * AWS::EC2::LaunchTemplate.LaunchTemplateData MaintenanceOptions (__added__) ``` ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@ayush987goyal it seems to be added now:
|
@capaj Already WIP :D |
Prerequisite for Lambda URL feature #19798 cc @kaizen3031593 @ayush987goyal ``` # CloudFormation Resource Specification v66.0.0 ## New Resource Types * AWS::DataSync::LocationFSxOpenZFS * AWS::Events::Endpoint * AWS::Lambda::Url * AWS::MediaTailor::PlaybackConfiguration ## Attribute Changes ## Property Changes * AWS::Batch::ComputeEnvironment ReplaceComputeEnvironment (__added__) * AWS::Batch::ComputeEnvironment UpdatePolicy (__added__) * AWS::EC2::TrafficMirrorTarget GatewayLoadBalancerEndpointId (__added__) * AWS::Lambda::Permission FunctionUrlAuthType (__added__) ## Property Type Changes * AWS::Batch::ComputeEnvironment.UpdatePolicy (__added__) * AWS::EC2::LaunchTemplate.MaintenanceOptions (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources UpdateToLatestImageVersion (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources AllocationStrategy.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources BidPercentage.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2Configuration.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2KeyPair.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources ImageId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceRole.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceTypes.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources LaunchTemplate.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources PlacementGroup.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Tags.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Type.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageIdOverride.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageType.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateName.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification Version.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::DMS::Endpoint.DocDbSettings DocsToInvestigate (__added__) * AWS::DMS::Endpoint.DocDbSettings ExtractDocId (__added__) * AWS::DMS::Endpoint.DocDbSettings NestingLevel (__added__) * AWS::DMS::Endpoint.IbmDb2Settings CurrentLsn (__added__) * AWS::DMS::Endpoint.IbmDb2Settings MaxKBytesPerRead (__added__) * AWS::DMS::Endpoint.IbmDb2Settings SetDataCaptureChanges (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings BcpPacketSize (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ControlTablesFileGroup (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings QuerySingleAlwaysOnNode (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ReadBackupOnly (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings SafeguardPolicy (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseBcpFullLoad (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseThirdPartyBackupDevice (__added__) * AWS::DMS::Endpoint.RedshiftSettings AcceptAnyDate (__added__) * AWS::DMS::Endpoint.RedshiftSettings AfterConnectScript (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketFolder (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketName (__added__) * AWS::DMS::Endpoint.RedshiftSettings CaseSensitiveNames (__added__) * AWS::DMS::Endpoint.RedshiftSettings CompUpdate (__added__) * AWS::DMS::Endpoint.RedshiftSettings ConnectionTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings DateFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings EmptyAsNull (__added__) * AWS::DMS::Endpoint.RedshiftSettings EncryptionMode (__added__) * AWS::DMS::Endpoint.RedshiftSettings ExplicitIds (__added__) * AWS::DMS::Endpoint.RedshiftSettings FileTransferUploadStreams (__added__) * AWS::DMS::Endpoint.RedshiftSettings LoadTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings MaxFileSize (__added__) * AWS::DMS::Endpoint.RedshiftSettings RemoveQuotes (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceInvalidChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServerSideEncryptionKmsKeyId (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServiceAccessRoleArn (__added__) * AWS::DMS::Endpoint.RedshiftSettings TimeFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings TrimBlanks (__added__) * AWS::DMS::Endpoint.RedshiftSettings TruncateColumns (__added__) * AWS::DMS::Endpoint.RedshiftSettings WriteBufferSize (__added__) * AWS::EC2::LaunchTemplate.LaunchTemplateData MaintenanceOptions (__added__) ``` ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
feat(aws-lambda): Add support for function URL closes #19798 Refs: 1. https://docs.aws.amazon.com/lambda/latest/dg/urls-configuration.html#urls-cfn 2. https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunctionUrlConfig.html ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [x] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Prerequisite for Lambda URL feature aws#19798 cc @kaizen3031593 @ayush987goyal ``` # CloudFormation Resource Specification v66.0.0 ## New Resource Types * AWS::DataSync::LocationFSxOpenZFS * AWS::Events::Endpoint * AWS::Lambda::Url * AWS::MediaTailor::PlaybackConfiguration ## Attribute Changes ## Property Changes * AWS::Batch::ComputeEnvironment ReplaceComputeEnvironment (__added__) * AWS::Batch::ComputeEnvironment UpdatePolicy (__added__) * AWS::EC2::TrafficMirrorTarget GatewayLoadBalancerEndpointId (__added__) * AWS::Lambda::Permission FunctionUrlAuthType (__added__) ## Property Type Changes * AWS::Batch::ComputeEnvironment.UpdatePolicy (__added__) * AWS::EC2::LaunchTemplate.MaintenanceOptions (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources UpdateToLatestImageVersion (__added__) * AWS::Batch::ComputeEnvironment.ComputeResources AllocationStrategy.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources BidPercentage.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2Configuration.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Ec2KeyPair.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources ImageId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceRole.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources InstanceTypes.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources LaunchTemplate.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources PlacementGroup.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Tags.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.ComputeResources Type.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageIdOverride.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.Ec2ConfigurationObject ImageType.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateId.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification LaunchTemplateName.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::Batch::ComputeEnvironment.LaunchTemplateSpecification Version.UpdateType (__changed__) * Old: Immutable * New: Mutable * AWS::DMS::Endpoint.DocDbSettings DocsToInvestigate (__added__) * AWS::DMS::Endpoint.DocDbSettings ExtractDocId (__added__) * AWS::DMS::Endpoint.DocDbSettings NestingLevel (__added__) * AWS::DMS::Endpoint.IbmDb2Settings CurrentLsn (__added__) * AWS::DMS::Endpoint.IbmDb2Settings MaxKBytesPerRead (__added__) * AWS::DMS::Endpoint.IbmDb2Settings SetDataCaptureChanges (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings BcpPacketSize (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ControlTablesFileGroup (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings QuerySingleAlwaysOnNode (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings ReadBackupOnly (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings SafeguardPolicy (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseBcpFullLoad (__added__) * AWS::DMS::Endpoint.MicrosoftSqlServerSettings UseThirdPartyBackupDevice (__added__) * AWS::DMS::Endpoint.RedshiftSettings AcceptAnyDate (__added__) * AWS::DMS::Endpoint.RedshiftSettings AfterConnectScript (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketFolder (__added__) * AWS::DMS::Endpoint.RedshiftSettings BucketName (__added__) * AWS::DMS::Endpoint.RedshiftSettings CaseSensitiveNames (__added__) * AWS::DMS::Endpoint.RedshiftSettings CompUpdate (__added__) * AWS::DMS::Endpoint.RedshiftSettings ConnectionTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings DateFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings EmptyAsNull (__added__) * AWS::DMS::Endpoint.RedshiftSettings EncryptionMode (__added__) * AWS::DMS::Endpoint.RedshiftSettings ExplicitIds (__added__) * AWS::DMS::Endpoint.RedshiftSettings FileTransferUploadStreams (__added__) * AWS::DMS::Endpoint.RedshiftSettings LoadTimeout (__added__) * AWS::DMS::Endpoint.RedshiftSettings MaxFileSize (__added__) * AWS::DMS::Endpoint.RedshiftSettings RemoveQuotes (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ReplaceInvalidChars (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServerSideEncryptionKmsKeyId (__added__) * AWS::DMS::Endpoint.RedshiftSettings ServiceAccessRoleArn (__added__) * AWS::DMS::Endpoint.RedshiftSettings TimeFormat (__added__) * AWS::DMS::Endpoint.RedshiftSettings TrimBlanks (__added__) * AWS::DMS::Endpoint.RedshiftSettings TruncateColumns (__added__) * AWS::DMS::Endpoint.RedshiftSettings WriteBufferSize (__added__) * AWS::EC2::LaunchTemplate.LaunchTemplateData MaintenanceOptions (__added__) ``` ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
feat(aws-lambda): Add support for function URL closes aws#19798 Refs: 1. https://docs.aws.amazon.com/lambda/latest/dg/urls-configuration.html#urls-cfn 2. https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunctionUrlConfig.html ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [x] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
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
FunctionUrl
should be added as a new resource under lambda moduleaddUrl
orconfigureUrl
should be added to theFunction
Function
should be added to create URL at the time of creatingFunction
Other Information
No response
Acknowledgements
CDK version used
2.x
Environment details (OS name and version, etc.)
All
The text was updated successfully, but these errors were encountered: