Created
March 8, 2022 19:06
-
-
Save awswithdotnet/42861e00b0d389dae2cbbc35de7efede to your computer and use it in GitHub Desktop.
sqs SQSMessageConsumer Partial 2
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 SQSMessageConsumer() | |
{ | |
BasicAWSCredentials basicCredentials = new BasicAWSCredentials(_accessKey, _secret); | |
RegionEndpoint region = RegionEndpoint.GetBySystemName(_awsregion); | |
_sqsClient = new AmazonSQSClient(basicCredentials, region); | |
Console.CancelKeyPress += new ConsoleCancelEventHandler(CancelKeyPressHandler); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment