Store the Websocket API URL

Next, we have to tell our Alien Attack Application where our Websocket API is. To do this, we will enter the API URL into a parameter within our AWS Systems Manager Parameter Store.

Store the WebSocket URL in Parameter Store

  1. Navigate to the AWS Systems Manager Console here.
  2. Navigate to Parameter Store on the lower lefthand side of the webpage.
  3. Select Create Paramater.
    1. For Name enter, /<YourEnvironmentName>/websocket (Use your application’s environment name. Note that your environment name should be all lowercase.)
    2. For Description enter, URL for the WebSocket for Alien Attack.
    3. For value enter the URL of your newly created Websocket API.
    4. Select Create Parameter.