Gets or sets an Amazon S3 file key.

Syntax

PHP

Initialize

public function getKey() {
}

public function setKey($value) {
}

Property Value

Type: string

The Amazon S3 file key. You can use a placeholder ${filename} to preserve an original file name and ${path} to pass a folder structure. Any prefix or a folder path can be prepended.

Default value is "${filename}".