Created
August 13, 2019 20:34
-
-
Save Blind-Striker/95b2f8d3add1af402880b64855e800d4 to your computer and use it in GitHub Desktop.
Sample for LocalStack article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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