Membrane.S3.Sink (Membrane S3 plugin v0.2.0)

View Source

Uploads items to an S3 Bucket.

Element options

Passed via struct Membrane.S3.Sink.t/0

  • path

    String.t()

    Required
    The path within your S3 bucket where you'd like to store the resource

  • bucket

    String.t()

    Required
    S3 bucket

  • chunk_size

    integer()

    Default value: 5242880
    Chunk size in bytes. Determines how many bytes are written to S3 in one request. AWS requires this to be at least 5MB

  • s3_opts

    Keyword.t()

    Default value: []
    S3 options

  • aws_config

    Keyword.t()

    Default value: []
    AWS configuration

  • ex_aws

    atom()

    Default value: ExAws
    AWS client. Only needed when substituting the default ExAws dependency.

Pads

:input

Accepted formats:

_any
Direction::input
Availability::always
Flow control::auto

Summary

Types

t()

Struct containing options for Membrane.S3.Sink

Functions

Returns description of options available for this module

Types

t()

@type t() :: %Membrane.S3.Sink{
  aws_config: Keyword.t(),
  bucket: String.t(),
  chunk_size: integer(),
  ex_aws: atom(),
  path: String.t(),
  s3_opts: Keyword.t()
}

Struct containing options for Membrane.S3.Sink

Functions

options()

@spec options() :: keyword()

Returns description of options available for this module