Contenido principal

parallel.cluster.generic.awsbatch.uploadJobFilesToS3

Upload job input files to Amazon S3

Description

s3Prefix = parallel.cluster.generic.awsbatch.uploadJobFilesToS3(job,s3Bucket) uploads the input files for job to the Amazon S3™ bucket s3Bucket under the prefix s3Prefix/stageIn/, where s3Prefix is a randomly generated string.

Note

This function requires the Parallel Computing Toolbox™ plugin for MATLAB® Parallel Server™ with AWS® Batch. For an example of how to use the function, see the plugin scripts.

Input Arguments

collapse all

MATLAB job, specified as a parallel.job.CJSIndependentJob object.

Data Types: parallel.job.CJSIndependentJob

S3 bucket to upload job input files to, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

collapse all

Prefix of the S3 location in the S3 bucket s3Bucket to which uploadJobFilesToS3 uploads files. s3Prefix is a randomly generated string.

Data Types: char | string

Version History

Introduced in R2019b