Created
August 24, 2019 04:16
-
-
Save adenosinew/aaea8903e8e27bfbfde029f4ad9e3d92 to your computer and use it in GitHub Desktop.
[AWS Go] Use aws go sdk
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
sess, err := session.NewSession(&aws.Config{ | |
Region: aws.String("us-west-2"), | |
Credentials: credentials.NewStaticCredentials(conf.AWS_ACCESS_KEY_ID, conf.AWS_SECRET_ACCESS_KEY, ""), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment