Target
Name | Type | Description |
---|---|---|
location | object | The result will be copied to this location. |
file_pattern | string | This describes the target file name. Placeholders such as {source_basename} for source file name are supported.default: {source_basename} |
existing_files | enum delete_and_replace replace replace_late rename_new rename_org fail | The desired behavior when a target file already exists. "replace": will delete the original file and write the new one. "rename_new": gives the new file a different auto-generated name. "rename_org": renames the original file. Note that renaming the original file may not be possible depending on the target location. "delete_and_replace": attempts to immediately delete the original file. This will allow for fast failure in the case of inadequate permissions. "replace_late": does not attempt to delete the original -- simply executes a write. default: fail |
Example target
{
"uid": "dpp_package_task",
"kind": "dpp_packager",
"payload": {
"target": {
"location": {
"storage_provider": "s3",
"path": "s3://my_bucket/my_destination"
},
"file_pattern": "{source_basename}_dpp.mxf"
},
"dpp_schema": "d10"
}
}