zoukankan      html  css  js  c++  java
  • [AWS] Lab

    In this hands-on exercise, you will learn how to send alerts via SNS by creating a topic, subscribing to a topic, and publishing an alert message to a topic.

    1. Prerequisites: AWS Account
    2. By the end of this lab, you will be able to:
      • Create a topic
      • Subscribe to a topic
      • Publish a message to a topic

    Follow the exercise instructions described below:

    Step 1. Create a Topic

    • From the AWS Management Console page, select the SNS service.
    • On the left-hand navigation pane, click on the Topics service, and start the Create topic wizard.
    • In the Details section, enter a topic name of your choice
    • In the Access policy – optional section, use the following configuration to create the topic:
    ConfigurationValue
    Policy method Basic
    Define who can publish messages to the topic Everyone
    Define who can subscribe to this topic Everyone
    • Finish the Create topic. The topic details will display, or you can select the newly created topic from the Topics dashboard to create a subscription next.

    Step 2. Subscribe to a Topic

    • While you are viewing the details of the newly created topic, start the Create subscription wizard, and use the following details:
    FieldValue
    Protocol Email
    Endpoint Enter your email that should receive the notifications
    • The subscription page will display, and the status will be Pending confirmation. You will receive an email from Amazon SNS to confirm the subscription. Confirm the subscription.
    • In your web browser, a subscription confirmation screen appears.

    Step 3. Publish Message to a Topic

    • Go back to the Topics service.
    • Select the topic you created earlier and Publish a message with the following details:
    SectionFieldValue
    Message details Subject Wishes
    Message body Message body
    to send to the endpoint
    Congratulations on your
    Udacity Nanodegree Graduation!
    Message attributes Type, Name, Value StringOccasionGraduation
  • 相关阅读:
    cf1100 F. Ivan and Burgers
    cf 1033 D. Divisors
    LeetCode 17. 电话号码的字母组合
    LeetCode 491. 递增的子序列
    LeetCode 459.重复的子字符串
    LeetCode 504. 七进制数
    LeetCode 3.无重复字符的最长子串
    LeetCode 16.06. 最小差
    LeetCode 77. 组合
    LeetCode 611. 有效三角形个数
  • 原文地址:https://www.cnblogs.com/Answer1215/p/14552123.html
Copyright © 2011-2022 走看看