Class S3ArtifactStoreStorer
java.lang.Object
com.netflix.spinnaker.kork.artifacts.artifactstore.s3.S3ArtifactStoreStorer
- All Implemented Interfaces:
ArtifactStoreStorer
S3ArtifactStoreStorer will store artifacts in a s3 compatible service
Note: It is very important that the S3 bucket has object lock on it to prevent multiple writes
-
Constructor Summary
ConstructorsConstructorDescriptionS3ArtifactStoreStorer(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, ArtifactStoreURIBuilder uriBuilder, String applicationsRegex) -
Method Summary
-
Constructor Details
-
S3ArtifactStoreStorer
public S3ArtifactStoreStorer(software.amazon.awssdk.services.s3.S3Client s3Client, String bucket, ArtifactStoreURIBuilder uriBuilder, String applicationsRegex)
-
-
Method Details
-
store
Will store the artifact using thes3Clientin somebucketThis method also persists "permissions" by storing the execution id that made the original store call. In the event a service wants to retrieve said artifact, they will also need to provide the proper execution id
- Specified by:
storein interfaceArtifactStoreStorer
-