View Source RemotePersistentTerm.Fetcher.S3 (RemotePersistentTerm v0.1.3)

A Fetcher implementation for AWS S3.

Link to this section Summary

Functions

Initialize an S3 Fetcher.

Link to this section Types

@type t() :: %RemotePersistentTerm.Fetcher.S3{
  bucket: String.t(),
  client: AWS.Client.t(),
  key: String.t()
}

Link to this section Functions

Initialize an S3 Fetcher.

Requires AWS credentials to be provided via env vars. The following vars must be set to the appropriate values:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_DEFAULT_REGION

Options:

  • :bucket (String.t/0) - Required. The s3 bucket in which the remote term is stored.

  • :key (String.t/0) - Required. The key within the s3 bucket which refers to the remote term.