Skip to content

Commit 5ecdf73

Browse files
author
Manasvi Jain
committed
adding changes
1 parent e4543eb commit 5ecdf73

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

apigw-websocket-api-vpclink/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ Once the application is deployed, retrieve the WebSocketURL value from CloudForm
5858
$ wscat -c <YOUR WEBSOCKET URL>
5959
```
6060
61-
4. To test the custom route and its associated function, send a JSON-formatted request like the following example. The Lambda function sends back the value of the "data" key using the callback URL:
62-
```
63-
$ wscat -c <YOUR WEBSOCKET URL>
64-
connected (press CTRL+C to quit)
65-
```
66-
6761
## Cleanup
6862
6963
1. Delete the stack

apigw-websocket-api-vpclink/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AWSTemplateFormatVersion: 2010-09-09
22
Transform: AWS::Serverless-2016-10-31
3-
Description: An Amazon API Gateway WebSocket API and an AWS Lambda function.
3+
Description: An Amazon API Gateway WebSocket API with a VPC link.
44

55
Parameters:
66
NlbInternalDns:
@@ -14,7 +14,7 @@ Resources:
1414
Type: AWS::ApiGatewayV2::Api
1515
Properties:
1616
Name: !Ref AWS::StackName
17-
Description: An Amazon API Gateway WebSocket API and an AWS Lambda function.
17+
Description: An Amazon API Gateway WebSocket API with a VPC link.
1818
ProtocolType: WEBSOCKET
1919
RouteSelectionExpression: $request.body.action
2020

0 commit comments

Comments
 (0)