Class ArtifactsBucketLocation
(experimental) Options for specifying the s3 location that stores the data of each canary run.
Inheritance
System.Object
ArtifactsBucketLocation
Implements
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.AWS.Synthetics.dll
Syntax (csharp)
public class ArtifactsBucketLocation : Object, IArtifactsBucketLocation
Syntax (vb)
Public Class ArtifactsBucketLocation
Inherits Object
Implements IArtifactsBucketLocation
Remarks
The artifacts bucket location cannot be updated once the canary is created.
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
using Amazon.CDK.AWS.Synthetics;
Bucket bucket;
var artifactsBucketLocation = new ArtifactsBucketLocation {
Bucket = bucket,
// the properties below are optional
Prefix = "prefix"
};
Synopsis
Constructors
ArtifactsBucketLocation() |
Properties
Bucket | (experimental) The s3 location that stores the data of each run. |
Prefix | (experimental) The S3 bucket prefix. |
Constructors
ArtifactsBucketLocation()
public ArtifactsBucketLocation()
Properties
Bucket
(experimental) The s3 location that stores the data of each run.
public IBucket Bucket { get; set; }
Property Value
Remarks
Stability: Experimental
Prefix
(experimental) The S3 bucket prefix.
public string Prefix { get; set; }
Property Value
System.String
Remarks
Specify this if you want a more specific path within the artifacts bucket.
Default: - no prefix
Stability: Experimental