예제 #1
0
 //--- Methods ---
 public override async Task InitializeAsync(LambdaConfig config)
 {
     _connections = new ConnectionsTable(
         config.ReadDynamoDBTableName("ConnectionsTable"),
         new AmazonDynamoDBClient()
         );
 }
예제 #2
0
 //--- Methods ---
 public override async Task InitializeAsync(LambdaConfig config)
 {
     _amaClient = new AmazonApiGatewayManagementApiClient(new AmazonApiGatewayManagementApiConfig {
         ServiceURL = config.ReadText("Module::WebSocket::Url")
     });
     _connections = new ConnectionsTable(
         config.ReadDynamoDBTableName("ConnectionsTable"),
         new AmazonDynamoDBClient()
         );
 }