Interface ArtifactsBucketLocation

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ArtifactsBucketLocation.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.423Z") @Stability(Experimental) public interface ArtifactsBucketLocation extends software.amazon.jsii.JsiiSerializable
(experimental) Options for specifying the s3 location that stores the data of each canary run.

The artifacts bucket location cannot be updated once the canary is created.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.s3.*;
 import software.amazon.awscdk.services.synthetics.*;
 Bucket bucket;
 ArtifactsBucketLocation artifactsBucketLocation = ArtifactsBucketLocation.builder()
         .bucket(bucket)
         // the properties below are optional
         .prefix("prefix")
         .build();
 
  • Method Details

    • getBucket

      @Stability(Experimental) @NotNull IBucket getBucket()
      (experimental) The s3 location that stores the data of each run.
    • getPrefix

      @Stability(Experimental) @Nullable default String getPrefix()
      (experimental) The S3 bucket prefix.

      Specify this if you want a more specific path within the artifacts bucket.

      Default: - no prefix

    • builder

      @Stability(Experimental) static ArtifactsBucketLocation.Builder builder()
      Returns:
      a ArtifactsBucketLocation.Builder of ArtifactsBucketLocation