# AWS::RUM Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as rum from 'aws-cdk-lib/aws-rum';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for RUM construct libraries](https://constructs.dev/search?q=rum)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::RUM resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RUM.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::RUM](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RUM.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnAppMonitor`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor) | Construct (L1) | Creates a CloudWatch RUM app monitor, which you can use to collect telemetry data from your application and send it to CloudWatch RUM. |
| [`CfnAppMonitor.AppMonitorConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.AppMonitorConfigurationProperty) | Struct | This structure contains much of the configuration data for the app monitor. |
| [`CfnAppMonitor.CustomEventsProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.CustomEventsProperty) | Struct | This structure specifies whether this app monitor allows the web client to define and send custom events. |
| [`CfnAppMonitor.DeobfuscationConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.DeobfuscationConfigurationProperty) | Struct | A structure that contains the configuration for how an app monitor can deobfuscate stack traces. |
| [`CfnAppMonitor.JavaScriptSourceMapsProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.JavaScriptSourceMapsProperty) | Struct | A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps. |
| [`CfnAppMonitor.MetricDefinitionProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.MetricDefinitionProperty) | Struct | Specifies one custom metric or extended metric that you want the CloudWatch RUM app monitor to send to a destination. |
| [`CfnAppMonitor.MetricDestinationProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.MetricDestinationProperty) | Struct | Creates or updates a destination to receive extended metrics from CloudWatch RUM. |
| [`CfnAppMonitor.ResourcePolicyProperty`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitor.ResourcePolicyProperty) | Struct | Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. |
| [`CfnAppMonitorProps`](/v2/docs/aws-cdk-lib.aws_rum.CfnAppMonitorProps) | Struct | Properties for defining a `CfnAppMonitor`. |
