public class S3ArtifactRequest extends Object
Request for a signed PUT URL that will allow you to upload an artifact to an S3 bucket managed by the queue.
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[1]
Modifier and Type | Field and Description |
---|---|
String |
contentType
Artifact mime-type, when uploading artifact to the signed
PUT URL returned from this request this must given with the ContentType header. |
Date |
expires
Date-time after which the artifact should be deleted.
|
String |
storageType
Artifact storage type, in this case
's3' Possible values: * “s3”See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[1]/properties/storageType |
Constructor and Description |
---|
S3ArtifactRequest() |
public String contentType
Artifact mime-type, when uploading artifact to the signed PUT
URL returned from this request this must given with the ContentType
header. Please, provide correct mime-type, this make tooling a lot easier, specifically, always using application/json
for JSON artifacts.
Max length: 255
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[1]/properties/contentType
public Date expires
Date-time after which the artifact should be deleted. Note, that these will be collected over time, and artifacts may remain available after expiration. S3 based artifacts are identified in azure table storage and explicitly deleted on S3 after expiration.
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[1]/properties/expires
public String storageType
Artifact storage type, in this case 's3'
Possible values: * “s3”
See https://schemas.taskcluster.net/queue/v1/post-artifact-request.json#/oneOf[1]/properties/storageType
Copyright © 2014–2018 Mozilla. All rights reserved.