Task Description
Your task in this part of the workshop is to extend the system with the ability to set expiration times for shortened links. Each shortened link should have the option to specify how long it will remain active (e.g., 3 hours, 2 weeks, and 3 days). After this time, the link should no longer work and should not redirect to the target URL.
Requirements Summary
- The system must allow setting different expiration times for each shortened link (e.g., 3 hours, 2 weeks, and 3 days).
- After the expiration time, the shortened link must stop working and should not redirect to the target URL.
- After expiration, the link should return a message indicating it has expired or that it is inactive.
Technical Requirements
- Setting Expiration Time – The system must allow the user to set an expiration time for each shortened link during its creation.
- API – Links must be checked for validity during each request. The system must return expiration information after the link’s validity has expired.
- Serverless – The solution should follow serverless architecture.
Task
Draw your solution on paper using AWS service icons provided. Your solution should include:
- The architecture of the extended system
- Use case diagrams showing the process of setting link expiration time and verifying its validity during each request
- Data access diagrams