AppMonitor

class AppMonitor : KotlinCustomResource

Provides a CloudWatch RUM App Monitor resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rum.AppMonitor;
import com.pulumi.aws.rum.AppMonitorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new AppMonitor("example", AppMonitorArgs.builder()
.domain("localhost")
.build());
}
}

Import

Cloudwatch RUM App Monitor can be imported using the name, e.g.,

$ pulumi import aws:rum/appMonitor:AppMonitor example example

Properties

Link copied to clipboard

configuration data for the app monitor. See app_monitor_configuration below.

Link copied to clipboard
val appMonitorId: Output<String>

The unique ID of the app monitor. Useful for JS templates.

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) specifying the app monitor.

Link copied to clipboard

Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED. See custom_events below.

Link copied to clipboard
val cwLogEnabled: Output<Boolean>?

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. Default value is false.

Link copied to clipboard
val cwLogGroup: Output<String>

The name of the log group where the copies are stored.

Link copied to clipboard
val domain: Output<String>

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the log stream.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>