Struct OpenVDS::AWSOpenOptions

struct AWSOpenOptions : public OpenVDS::OpenOptions

Options for opening a VDS in AWS.

Public Functions

inline AWSOpenOptions()
inline AWSOpenOptions(std::string const &bucket, std::string const &key, std::string const &region = std::string(), std::string const &endpointOverride = std::string(), int connectionTimeoutMs = 3000, int requestTimeoutMs = 6000, bool disableInitApi = false)

AWSOpenOptions constructor.

Parameters:
  • bucket – The bucket of the VDS

  • key – The key prefix of the VDS

  • region – The region of the bucket of the VDS

  • endpointOverride – This parameter allows to override the endpoint url

  • connectionTimeoutMs – This parameter allows to override the time a connection can spend on connecting to AWS

  • requestTimeoutMs – This paramter allows to override the time a request can take

Public Members

std::string bucket
std::string key
std::string region
std::string endpointOverride
std::string accessKeyId
std::string secretKey
std::string sessionToken
std::string expiration
int connectionTimeoutMs
int requestTimeoutMs
bool disableInitApi