Skip to content
v2.273.0

JavaScriptSourceMapsProperty Struct ​

A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rum as rum } from 'aws-cdk-lib';
const javaScriptSourceMapsProperty: rum.CfnAppMonitor.JavaScriptSourceMapsProperty = {
  status: 'status',

  // the properties below are optional
  s3Uri: 's3Uri',
};

Properties ​

s3Uristrings3_uristrs3UriStringS3UristringS3Uri*string#
The S3Uri of the bucket or folder that stores the source map files.

It is required if status is ENABLED.

statusstringstatusstrstatusStringStatusstringStatus*stringrequired#
Specifies whether JavaScript error stack traces should be unminified for this app monitor.

The default is for JavaScript error stack trace unminification to be DISABLED .