Interface RecordingConfig

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

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.493Z") @Stability(Stable) public interface RecordingConfig extends software.amazon.jsii.JsiiSerializable
Recording configuration for browser.

Example:

 // Create an S3 bucket for recordings
 Bucket recordingBucket = Bucket.Builder.create(this, "RecordingBucket")
         .bucketName("my-browser-recordings")
         .removalPolicy(RemovalPolicy.DESTROY)
         .build();
 // Create browser with recording enabled
 BrowserCustom browser = BrowserCustom.Builder.create(this, "MyBrowser")
         .browserCustomName("my_browser")
         .description("Browser with recording enabled")
         .networkConfiguration(BrowserNetworkConfiguration.usingPublicNetwork())
         .recordingConfig(RecordingConfig.builder()
                 .enabled(true)
                 .s3Location(Location.builder()
                         .bucketName(recordingBucket.getBucketName())
                         .objectKey("browser-recordings/")
                         .build())
                 .build())
         .build();
 
  • Method Details