Show / Hide Table of Contents

Class AmazonS3Store

Inheritance
Object
AmazonS3Store
Namespace: Lacuna.Pki.AmazonConnector
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
Type Description
AmazonS3Store

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
Type Description
AmazonS3Store

Get(Byte[])

Declaration
public byte[] Get(byte[] index)
Parameters
Type Name Description
Byte[] index
Returns
Type Description
Byte[]

Put(Byte[], Byte[])

Declaration
public void Put(byte[] index, byte[] content)
Parameters
Type Name Description
Byte[] index
Byte[] content
Back to top Copyright © 2015-2020 Lacuna Software