Skip to content

eduherminio/AWS_Lambda_HelloWorldTwitter_PoC

Repository files navigation

HelloWorld Twitter Lambda PoC

Requirements

  • A role with AWSLambdaBasicExecutionRole and SecretsManagerReadWrite policies (named lambdaRole in this example).
  • A Twitter DEV account.
  • An secret in AWS SecretsManager with Twitter dev credentials (see JsonPropertys in TwitterCredentials.cs).

Instructions

Install or update Amazon.Lambda.Tools

    dotnet tool install -g Amazon.Lambda.Tools
    dotnet tool update -g Amazon.Lambda.Tools

Deploy the lambda function

    dotnet lambda deploy-function

Test the lambda function

    dotnet lambda invoke-function

Cleanup

    dotnet lambda delete-function HelloWorldTwitterLambda

Made using tweetinvi Twitter API library.

About

AWS Lambda PoC that posts tweets using .NET Core 3.1

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages