Exemplo n.º 1
0
        static DynamoDbHelper()
        {
            _client = new AmazonDynamoDBClient(SecretsManagerHelper.GetS3SecretValue("key"),
                                               SecretsManagerHelper.GetS3SecretValue("secret"),
                                               RegionEndpoint.USEast1);

            _context = new DynamoDBContext(_client);
        }
Exemplo n.º 2
0
        static S3Helper()
        {
            //S3Client = new AmazonS3Client(S3Constants.S3_KEY, S3Constants.S3_SECRET, RegionEndpoint.USEast1);

            string S3Key    = SecretsManagerHelper.GetS3SecretValue("key");
            string S3Secret = SecretsManagerHelper.GetS3SecretValue("secret");

            S3Client = new AmazonS3Client(S3Key, S3Secret, RegionEndpoint.USEast1);
        }