{"url":"https://blog.serverworks.co.jp/ec2-dev-cost-Slack","published":"2025-08-12 10:07:00","author_url":"https://blog.hatena.ne.jp/swx-yamamoto/","author_name":"swx-yamamoto","provider_url":"https://hatena.blog","title":"\u958b\u767a\u74b0\u5883\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u76f4\u8fd1\u3069\u306e\u304f\u3089\u3044\u306e\u6642\u9593\u8d77\u52d5\u3057\u3066\u3044\u3066\u3001\u6599\u91d1\u304c\u3044\u304f\u3089\u304b\u304b\u3063\u3066\u3044\u308b\u304b\u3092 Slack \u306b\u7c21\u5358\u306b\u901a\u77e5\u3059\u308b Step Functions ","version":"1.0","height":"190","description":"\u3053\u3093\u306b\u3061\u306f\ud83d\ude38 \u30ab\u30b9\u30bf\u30de\u30fc\u30b5\u30af\u30bb\u30b9\u90e8\u306e\u5c71\u672c\u3067\u3059\u3002 \u6982\u8981 Slack \u5074\u306e\u8a2d\u5b9a (\u30a2\u30d7\u30ea\u306e\u4f5c\u6210) \u30e1\u30e2\u3057\u3066\u304a\u304f\u3082\u306e\u307e\u3068\u3081 EventBridge \u306e \u300c\u63a5\u7d9a\u300d\u4f5c\u6210 \u30e1\u30e2\u3057\u3066\u304a\u304f\u3082\u306e\u307e\u3068\u3081 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30bf\u30a4\u30d7\u3054\u3068\u306e\u6599\u91d1\u3092\u30e1\u30e2 Step Functions Step Functions \u306e\u5168\u4f53\u69cb\u6210 1. DescribeInstances \u30b9\u30c6\u30c3\u30d7 2. Map \u30b9\u30c6\u30c3\u30d7 PostInstanceInfoToSlack \u30b9\u30c6\u30c3\u30d7 (ItemProcessor\u5185) JSONata \u5f0f\u89e3\u8aac '*Running Hours:*\\n' & $string($ceil(($toMillis($now()) - \u2026","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-yamamoto/20250811/20250811043657.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fec2-dev-cost-Slack\" title=\"\u958b\u767a\u74b0\u5883\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u76f4\u8fd1\u3069\u306e\u304f\u3089\u3044\u306e\u6642\u9593\u8d77\u52d5\u3057\u3066\u3044\u3066\u3001\u6599\u91d1\u304c\u3044\u304f\u3089\u304b\u304b\u3063\u3066\u3044\u308b\u304b\u3092 Slack \u306b\u7c21\u5358\u306b\u901a\u77e5\u3059\u308b Step Functions  - \u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["AWS Step Functions","Amazon EC2"],"blog_url":"https://blog.serverworks.co.jp/","type":"rich","blog_title":"\u30b5\u30fc\u30d0\u30fc\u30ef\u30fc\u30af\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","provider_name":"Hatena Blog"}