Interface ArtifactsBucketLocation
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ArtifactsBucketLocation.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-26T23:01:14.425Z")
@Stability(Stable)
public interface ArtifactsBucketLocation
extends software.amazon.jsii.JsiiSerializable
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forArtifactsBucketLocation
static final class
An implementation forArtifactsBucketLocation
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The s3 location that stores the data of each run. -
getPrefix
The S3 bucket prefix.Specify this if you want a more specific path within the artifacts bucket.
Default: - no prefix
-
builder
- Returns:
- a
ArtifactsBucketLocation.Builder
ofArtifactsBucketLocation
-