Internet Monitor Args
Provides a Internet Monitor Monitor resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.cloudwatch.InternetMonitor("example", {monitorName: "exmple"});
import pulumi
import pulumi_aws as aws
example = aws.cloudwatch.InternetMonitor("example", monitor_name="exmple")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.CloudWatch.InternetMonitor("example", new()
{
MonitorName = "exmple",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cloudwatch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudwatch.NewInternetMonitor(ctx, "example", &cloudwatch.InternetMonitorArgs{
MonitorName: pulumi.String("exmple"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudwatch.InternetMonitor;
import com.pulumi.aws.cloudwatch.InternetMonitorArgs;
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 InternetMonitor("example", InternetMonitorArgs.builder()
.monitorName("exmple")
.build());
}
}
resources:
example:
type: aws:cloudwatch:InternetMonitor
properties:
monitorName: exmple
Import
Using pulumi import
, import Internet Monitor Monitors using the monitor_name
. For example:
$ pulumi import aws:cloudwatch/internetMonitor:InternetMonitor some some-monitor
Constructors
Properties
Health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users. See Health Events Config below.
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider (ISP), that clients access the resources through. This limit helps control billing costs.
The name of the monitor. The following arguments are optional:
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.