Skip to content

aws-cloud-clubs/2024-SCD-notion-api-hands-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

2024-SCD-notion-api-hands-on

โœจ๋ฐœํ‘œ์ž๋ฃŒ ๊ณต์œ โœจ

https://docs.google.com/presentation/d/1VNTDxJXBx_FMeI0NLLz8xpsagpbIhnsReUzWc7bptfw/edit?usp=sharing ์œ„ ๋งํฌ์—์„œ ์ „์ฒด ์Šฌ๋ผ์ด๋“œ๋ฅผ ํ™•์ธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Initial Setting

  1. AWS ๋ณด์•ˆ ์ž๊ฒฉ ์ฆ๋ช…
aws configure
  1. CostExplorerClient ์„ค์น˜
npm install @aws-sdk/client-cost-explorer

env setting

.env.sample โ†’ .env

NOTION_TOKEN= ๋…ธ์…˜ api ํ† ํฐ
NOTION_PAGE_ID= ๋…ธ์…˜ ๊ณต์œ  url ๋’ค id (ex. https://test-api.notion.site/cost-test-{page id}?pvs=4)

How to Run

node src/aws-cost-explorer-to-notion.js

About

2024 ACC SCD Notion API Hands-on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published