Class AmazonS3Store
Inheritance
AmazonS3Store
Assembly: Lacuna.Pki.AmazonConnector.dll
Syntax
public class AmazonS3Store : ISimpleStore
Methods
CreateFromAccessCredentials(String, String, RegionEndpoint, String, String)
Declaration
public static AmazonS3Store CreateFromAccessCredentials(string awsAccessKey, string awsSecretAccessKey, RegionEndpoint regionEndpoint, string bucketName, string basePath = null)
Parameters
Type |
Name |
Description |
String |
awsAccessKey |
|
String |
awsSecretAccessKey |
|
RegionEndpoint |
regionEndpoint |
|
String |
bucketName |
|
String |
basePath |
|
Returns
CreateFromS3Client(IAmazonS3, String, String)
Declaration
public static AmazonS3Store CreateFromS3Client(IAmazonS3 s3Client, string bucketName, string basePath = null)
Parameters
Type |
Name |
Description |
IAmazonS3 |
s3Client |
|
String |
bucketName |
|
String |
basePath |
|
Returns
Get(Byte[])
Declaration
public byte[] Get(byte[] index)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Returns
Put(Byte[], Byte[])
Declaration
public void Put(byte[] index, byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Byte[] |
content |
|