Resource: aws_rum_app_monitor

Provides a CloudWatch RUM App Monitor resource.

Example Usage

resource "aws_rum_app_monitor" "example" {
  name   = "example"
  domain = "localhost"
}

Argument Reference

This resource supports the following arguments:

app_monitor_configuration

custom_events

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Cloudwatch RUM App Monitor using the name. For example:

import {
  to = aws_rum_app_monitor.example
  id = "example"
}

Using terraform import, import Cloudwatch RUM App Monitor using the name. For example:

% terraform import aws_rum_app_monitor.example example