Skip to content

This is a demo api that includes X-Ray tracing for testing purposes.

License

Notifications You must be signed in to change notification settings

DanielCaz/xray-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X-Ray Demo

Description

This is a demo api that includes X-Ray tracing for testing purposes.

Usage

Deploy

sam deploy

Invoke

Get all items

curl -X GET https://<api-id>.execute-api.<region>.amazonaws.com/Dev

Get item by id

curl -X GET https://<api-id>.execute-api.<region>.amazonaws.com/Dev/<id>

Create/Update item

curl -X POST https://<api-id>.execute-api.<region>.amazonaws.com/Dev -d '{ "id": "<id>", "name": "<name>" }'

Delete item

curl -X DELETE https://<api-id>.execute-api.<region>.amazonaws.com/Dev/<id>

Resources created

  • Lambda functions for CRUD operations
  • DynamoDB table
  • API Gateway
  • IAM roles and policies
  • X-Ray tracing

About

This is a demo api that includes X-Ray tracing for testing purposes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages