# JavaScriptSourceMapsProperty

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

- Source: Generated at build time
- Type last changed: v2.186.0 · 27 Mar 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `s3Uri`: string — The S3Uri of the bucket or folder that stores the source map files.

  It is required if status is ENABLED.

- `status`: 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` .
