Skip to content

Instantly share code, notes, and snippets.

@Blind-Striker
Created August 13, 2019 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blind-Striker/95b2f8d3add1af402880b64855e800d4 to your computer and use it in GitHub Desktop.
Save Blind-Striker/95b2f8d3add1af402880b64855e800d4 to your computer and use it in GitHub Desktop.
Sample for LocalStack article
public Handler()
{
ISession session = SessionStandalone
.Init()
.WithSessionOptions(AwsAccessKeyId, AwsAccessKey, AwsSessionToken, RegionName)
.WithConfig(LocalStackHost)
.Create();
_awsS3Client = session.CreateClient<AmazonS3Client>();
_awsDynamoDbClient = session.CreateClient<AmazonDynamoDBClient>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment