NAME

Paws::Robomaker::UploadConfiguration

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Robomaker::UploadConfiguration object:

$service_obj->Method(Att1 => { Name => $value, ..., UploadBehavior => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Robomaker::UploadConfiguration object:

$result = $service_obj->Method(...);
$result->Att1->Name

DESCRIPTION

Provides upload configuration information. Files are uploaded from the simulation job to a location you specify.

ATTRIBUTES

REQUIRED Name => Str

A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.

REQUIRED Path => Str

Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library (https://github.com/gobwas/glob).

REQUIRED UploadBehavior => Str

Specifies when to upload the files:

UPLOAD_ON_TERMINATE

Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE

Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Robomaker

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues