Skip to content
v2.278.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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rum as rum

java_script_source_maps_property = rum.CfnAppMonitor.JavaScriptSourceMapsProperty(
    status="status",

    # the properties below are optional
    s3_uri="s3Uri"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rum.*;

JavaScriptSourceMapsProperty javaScriptSourceMapsProperty = JavaScriptSourceMapsProperty.builder()
        .status("status")

        // the properties below are optional
        .s3Uri("s3Uri")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RUM;

var javaScriptSourceMapsProperty = new JavaScriptSourceMapsProperty {
    Status = "status",

    // the properties below are optional
    S3Uri = "s3Uri"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

javaScriptSourceMapsProperty := &JavaScriptSourceMapsProperty{
	Status: jsii.String("status"),

	// the properties below are optional
	S3Uri: jsii.String("s3Uri"),
}

Properties ​

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

It is required if status is ENABLED.

statusstringstatusstrstatusStringStatusstringStatus*string required #
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 .