Skip to content
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

Custom, Branded URL Shortner Component with just API Gateway #496

Open
eahefnawy opened this issue Sep 25, 2019 · 1 comment
Open

Custom, Branded URL Shortner Component with just API Gateway #496

eahefnawy opened this issue Sep 25, 2019 · 1 comment
Labels

Comments

@eahefnawy
Copy link
Member

@eahefnawy eahefnawy commented Sep 25, 2019

A great, simple and cheap use case for a component is a URL shortener that might just only require API Gateway proxies with a custom domain name. Lambda & DynamoDB wouldn't be required here.

shortner:
  component: @serverless/url-shortner
  inputs:
    domain: sls.io
    urls:

     # You could provide a custom path => sls.io/NewRelease
      - name: NewRelease
         url: https://serverless.com/blog/some-release-blog

     # or you could just have the component auto generate one for you => sls.io/qdjvbid
      - url: https://serverless.com/blog/some-thing-else
       

outputs

shortner:
  urls:
    - sls.io/NewRelease => https://serverless.com/blog/some-release-blog
    - sls.io/qdjvbid => https://serverless.com/blog/some-thing-else
@amroakmal
Copy link

@amroakmal amroakmal commented Jan 15, 2021

@eahefnawy
Can you please clarify more what's needed in to be done in this issue?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants