Exemplo n.º 1
0
 public MyStack()
 {
     var example = new Aws.Lambda.EventSourceMapping("example", new Aws.Lambda.EventSourceMappingArgs
     {
         EventSourceArn = aws_sqs_queue.Sqs_queue_test.Arn,
         FunctionName   = aws_lambda_function.Example.Arn,
     });
 }
Exemplo n.º 2
0
 public MyStack()
 {
     var example = new Aws.Lambda.EventSourceMapping("example", new Aws.Lambda.EventSourceMappingArgs
     {
         EventSourceArn   = aws_dynamodb_table.Example.Stream_arn,
         FunctionName     = aws_lambda_function.Example.Arn,
         StartingPosition = "LATEST",
     });
 }
Exemplo n.º 3
0
 public MyStack()
 {
     var example = new Aws.Lambda.EventSourceMapping("example", new Aws.Lambda.EventSourceMappingArgs
     {
         EventSourceArn   = aws_kinesis_stream.Example.Arn,
         FunctionName     = aws_lambda_function.Example.Arn,
         StartingPosition = "LATEST",
     });
 }