<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>te-nu</author_name>
  <author_url>https://blog.hatena.ne.jp/te-nu/</author_url>
  <blog_title>ウェブエンジニア珍道中</blog_title>
  <blog_url>https://www.te-nu.com/</blog_url>
  <categories>
    <anon>lambda</anon>
    <anon>AWS</anon>
    <anon>node</anon>
  </categories>
  <description>AWS LambdaからSlackに対してメッセージをpostするためのソースを備忘録として残しておきます。 動作環境 node.js 8.10 const postToSlack = (message) =&gt; { const https = require('https'); let postData = JSON.stringify({ text: message }); let options = { host: &quot;hooks.slack.com&quot;, path: &quot;&lt;Slackのincomming webhookで発行したTokenのホストより後ろの部分(service/xxxx/xxx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.te-nu.com%2Fentry%2F2018%2F08%2F05%2F164117&quot; title=&quot;AWS LambdaからSlackにメッセージを投げる（node.jsとhttpモジュールを使う） - ウェブエンジニア珍道中&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-05 16:41:17</published>
  <title>AWS LambdaからSlackにメッセージを投げる（node.jsとhttpモジュールを使う）</title>
  <type>rich</type>
  <url>https://www.te-nu.com/entry/2018/08/05/164117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
