struct

Aws::S3::Presigned::Url::Options

Inherits Struct / Value / Object

Options for generating a Presigned::Url

Constructors

new(aws_access_key : String, aws_secret_key : String, region : String, object : String, bucket : String, expires : Int32 = 86400, host_name : Nil | String = nil, additional_options : Hash(String, String) = {} of String => String, signer : Symbol = :v4)
Source

Instance methods

additional_options

Additional presigned options

Source
aws_access_key

Aws access key

Source
aws_secret_key

Aws secret key

Source
bucket

The bucket for the presigned url

Source
expires

When the link expires, defaults to 1 day

Source
host_name

Optionally set the host name to use. The default is s3.amazonaws.com

Source
object

The object key, it must start with '/'

Source
region

The Aws region

Source
signer
Source
signer_version
Source