v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1420133140.0 KB

Updates the configuration of an existing app monitor. When you use this operation, only the parts of the app monitor configuration that you specify in this operation are changed. For any parameters that you omit, the existing values are kept.

You can't use this operation to change the tags of an existing app monitor. To change the tags of an existing app monitor, use TagResource.

To create a new app monitor, use CreateAppMonitor.

After you update an app monitor, sign in to the CloudWatch RUM console to get the updated JavaScript code snippet to add to your web application. For more information, see How do I find a code snippet that I've already generated?

patch/appmonitor/{Name}

Path parameters

Namestring required

The name of the app monitor to update.

Request body

Domainstring

The top-level internet domain name for which your application has administrative authority.

DomainListAppMonitorDomain[]

List the domain names for which your application has administrative authority. The <code>UpdateAppMonitor</code> allows either the domain or the domain list.

CwLogEnabledboolean

Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.

Response

Success

UpdateAppMonitorResponse required