aws.cloudwatch.InternetMonitor
Explore with Pulumi AI
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")
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
})
}
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 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
Create InternetMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InternetMonitor(name: string, args: InternetMonitorArgs, opts?: CustomResourceOptions);
@overload
def InternetMonitor(resource_name: str,
args: InternetMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InternetMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_name: Optional[str] = None,
health_events_config: Optional[InternetMonitorHealthEventsConfigArgs] = None,
internet_measurements_log_delivery: Optional[InternetMonitorInternetMeasurementsLogDeliveryArgs] = None,
max_city_networks_to_monitor: Optional[int] = None,
resources: Optional[Sequence[str]] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
traffic_percentage_to_monitor: Optional[int] = None)
func NewInternetMonitor(ctx *Context, name string, args InternetMonitorArgs, opts ...ResourceOption) (*InternetMonitor, error)
public InternetMonitor(string name, InternetMonitorArgs args, CustomResourceOptions? opts = null)
public InternetMonitor(String name, InternetMonitorArgs args)
public InternetMonitor(String name, InternetMonitorArgs args, CustomResourceOptions options)
type: aws:cloudwatch:InternetMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args InternetMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args InternetMonitorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InternetMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InternetMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InternetMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var internetMonitorResource = new Aws.CloudWatch.InternetMonitor("internetMonitorResource", new()
{
MonitorName = "string",
HealthEventsConfig = new Aws.CloudWatch.Inputs.InternetMonitorHealthEventsConfigArgs
{
AvailabilityScoreThreshold = 0,
PerformanceScoreThreshold = 0,
},
InternetMeasurementsLogDelivery = new Aws.CloudWatch.Inputs.InternetMonitorInternetMeasurementsLogDeliveryArgs
{
S3Config = new Aws.CloudWatch.Inputs.InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs
{
BucketName = "string",
BucketPrefix = "string",
LogDeliveryStatus = "string",
},
},
MaxCityNetworksToMonitor = 0,
Resources = new[]
{
"string",
},
Status = "string",
Tags =
{
{ "string", "string" },
},
TrafficPercentageToMonitor = 0,
});
example, err := cloudwatch.NewInternetMonitor(ctx, "internetMonitorResource", &cloudwatch.InternetMonitorArgs{
MonitorName: pulumi.String("string"),
HealthEventsConfig: &cloudwatch.InternetMonitorHealthEventsConfigArgs{
AvailabilityScoreThreshold: pulumi.Float64(0),
PerformanceScoreThreshold: pulumi.Float64(0),
},
InternetMeasurementsLogDelivery: &cloudwatch.InternetMonitorInternetMeasurementsLogDeliveryArgs{
S3Config: &cloudwatch.InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs{
BucketName: pulumi.String("string"),
BucketPrefix: pulumi.String("string"),
LogDeliveryStatus: pulumi.String("string"),
},
},
MaxCityNetworksToMonitor: pulumi.Int(0),
Resources: pulumi.StringArray{
pulumi.String("string"),
},
Status: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TrafficPercentageToMonitor: pulumi.Int(0),
})
var internetMonitorResource = new InternetMonitor("internetMonitorResource", InternetMonitorArgs.builder()
.monitorName("string")
.healthEventsConfig(InternetMonitorHealthEventsConfigArgs.builder()
.availabilityScoreThreshold(0)
.performanceScoreThreshold(0)
.build())
.internetMeasurementsLogDelivery(InternetMonitorInternetMeasurementsLogDeliveryArgs.builder()
.s3Config(InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs.builder()
.bucketName("string")
.bucketPrefix("string")
.logDeliveryStatus("string")
.build())
.build())
.maxCityNetworksToMonitor(0)
.resources("string")
.status("string")
.tags(Map.of("string", "string"))
.trafficPercentageToMonitor(0)
.build());
internet_monitor_resource = aws.cloudwatch.InternetMonitor("internetMonitorResource",
monitor_name="string",
health_events_config={
"availabilityScoreThreshold": 0,
"performanceScoreThreshold": 0,
},
internet_measurements_log_delivery={
"s3Config": {
"bucketName": "string",
"bucketPrefix": "string",
"logDeliveryStatus": "string",
},
},
max_city_networks_to_monitor=0,
resources=["string"],
status="string",
tags={
"string": "string",
},
traffic_percentage_to_monitor=0)
const internetMonitorResource = new aws.cloudwatch.InternetMonitor("internetMonitorResource", {
monitorName: "string",
healthEventsConfig: {
availabilityScoreThreshold: 0,
performanceScoreThreshold: 0,
},
internetMeasurementsLogDelivery: {
s3Config: {
bucketName: "string",
bucketPrefix: "string",
logDeliveryStatus: "string",
},
},
maxCityNetworksToMonitor: 0,
resources: ["string"],
status: "string",
tags: {
string: "string",
},
trafficPercentageToMonitor: 0,
});
type: aws:cloudwatch:InternetMonitor
properties:
healthEventsConfig:
availabilityScoreThreshold: 0
performanceScoreThreshold: 0
internetMeasurementsLogDelivery:
s3Config:
bucketName: string
bucketPrefix: string
logDeliveryStatus: string
maxCityNetworksToMonitor: 0
monitorName: string
resources:
- string
status: string
tags:
string: string
trafficPercentageToMonitor: 0
InternetMonitor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The InternetMonitor resource accepts the following input properties:
- Monitor
Name string The name of the monitor.
The following arguments are optional:
- Health
Events InternetConfig Monitor Health Events Config - 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.
- Internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- Max
City intNetworks To Monitor - 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.
- Resources List<string>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- Status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Dictionary<string, string>
- 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. - Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- Monitor
Name string The name of the monitor.
The following arguments are optional:
- Health
Events InternetConfig Monitor Health Events Config Args - 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.
- Internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery Args - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- Max
City intNetworks To Monitor - 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.
- Resources []string
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- Status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - map[string]string
- 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. - Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- monitor
Name String The name of the monitor.
The following arguments are optional:
- health
Events InternetConfig Monitor Health Events Config - 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.
- internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City IntegerNetworks To Monitor - 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.
- resources List<String>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status String
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Map<String,String>
- 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. - traffic
Percentage IntegerTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- monitor
Name string The name of the monitor.
The following arguments are optional:
- health
Events InternetConfig Monitor Health Events Config - 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.
- internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City numberNetworks To Monitor - 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.
- resources string[]
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - {[key: string]: string}
- 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. - traffic
Percentage numberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- monitor_
name str The name of the monitor.
The following arguments are optional:
- health_
events_ Internetconfig Monitor Health Events Config Args - 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.
- internet_
measurements_ Internetlog_ delivery Monitor Internet Measurements Log Delivery Args - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max_
city_ intnetworks_ to_ monitor - 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.
- resources Sequence[str]
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status str
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Mapping[str, str]
- 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. - traffic_
percentage_ intto_ monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- monitor
Name String The name of the monitor.
The following arguments are optional:
- health
Events Property MapConfig - 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.
- internet
Measurements Property MapLog Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City NumberNetworks To Monitor - 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.
- resources List<String>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status String
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Map<String>
- 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. - traffic
Percentage NumberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
Outputs
All input properties are implicitly available as output properties. Additionally, the InternetMonitor resource produces the following output properties:
Look up Existing InternetMonitor Resource
Get an existing InternetMonitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InternetMonitorState, opts?: CustomResourceOptions): InternetMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
health_events_config: Optional[InternetMonitorHealthEventsConfigArgs] = None,
internet_measurements_log_delivery: Optional[InternetMonitorInternetMeasurementsLogDeliveryArgs] = None,
max_city_networks_to_monitor: Optional[int] = None,
monitor_name: Optional[str] = None,
resources: Optional[Sequence[str]] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
traffic_percentage_to_monitor: Optional[int] = None) -> InternetMonitor
func GetInternetMonitor(ctx *Context, name string, id IDInput, state *InternetMonitorState, opts ...ResourceOption) (*InternetMonitor, error)
public static InternetMonitor Get(string name, Input<string> id, InternetMonitorState? state, CustomResourceOptions? opts = null)
public static InternetMonitor get(String name, Output<String> id, InternetMonitorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the Monitor.
- Health
Events InternetConfig Monitor Health Events Config - 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.
- Internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- Max
City intNetworks To Monitor - 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.
- Monitor
Name string The name of the monitor.
The following arguments are optional:
- Resources List<string>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- Status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Dictionary<string, string>
- 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. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- Arn string
- ARN of the Monitor.
- Health
Events InternetConfig Monitor Health Events Config Args - 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.
- Internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery Args - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- Max
City intNetworks To Monitor - 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.
- Monitor
Name string The name of the monitor.
The following arguments are optional:
- Resources []string
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- Status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - map[string]string
- 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. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Traffic
Percentage intTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- arn String
- ARN of the Monitor.
- health
Events InternetConfig Monitor Health Events Config - 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.
- internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City IntegerNetworks To Monitor - 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.
- monitor
Name String The name of the monitor.
The following arguments are optional:
- resources List<String>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status String
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Map<String,String>
- 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. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - traffic
Percentage IntegerTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- arn string
- ARN of the Monitor.
- health
Events InternetConfig Monitor Health Events Config - 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.
- internet
Measurements InternetLog Delivery Monitor Internet Measurements Log Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City numberNetworks To Monitor - 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.
- monitor
Name string The name of the monitor.
The following arguments are optional:
- resources string[]
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status string
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - {[key: string]: string}
- 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. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - traffic
Percentage numberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- arn str
- ARN of the Monitor.
- health_
events_ Internetconfig Monitor Health Events Config Args - 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.
- internet_
measurements_ Internetlog_ delivery Monitor Internet Measurements Log Delivery Args - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max_
city_ intnetworks_ to_ monitor - 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.
- monitor_
name str The name of the monitor.
The following arguments are optional:
- resources Sequence[str]
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status str
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Mapping[str, str]
- 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. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - traffic_
percentage_ intto_ monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
- arn String
- ARN of the Monitor.
- health
Events Property MapConfig - 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.
- internet
Measurements Property MapLog Delivery - Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
- max
City NumberNetworks To Monitor - 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.
- monitor
Name String The name of the monitor.
The following arguments are optional:
- resources List<String>
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
- status String
- The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following:
ACTIVE
andINACTIVE
. - Map<String>
- 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. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - traffic
Percentage NumberTo Monitor - The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
Supporting Types
InternetMonitorHealthEventsConfig, InternetMonitorHealthEventsConfigArgs
- Availability
Score doubleThreshold - The health event threshold percentage set for availability scores.
- Performance
Score doubleThreshold - The health event threshold percentage set for performance scores.
- Availability
Score float64Threshold - The health event threshold percentage set for availability scores.
- Performance
Score float64Threshold - The health event threshold percentage set for performance scores.
- availability
Score DoubleThreshold - The health event threshold percentage set for availability scores.
- performance
Score DoubleThreshold - The health event threshold percentage set for performance scores.
- availability
Score numberThreshold - The health event threshold percentage set for availability scores.
- performance
Score numberThreshold - The health event threshold percentage set for performance scores.
- availability_
score_ floatthreshold - The health event threshold percentage set for availability scores.
- performance_
score_ floatthreshold - The health event threshold percentage set for performance scores.
- availability
Score NumberThreshold - The health event threshold percentage set for availability scores.
- performance
Score NumberThreshold - The health event threshold percentage set for performance scores.
InternetMonitorInternetMeasurementsLogDelivery, InternetMonitorInternetMeasurementsLogDeliveryArgs
InternetMonitorInternetMeasurementsLogDeliveryS3Config, InternetMonitorInternetMeasurementsLogDeliveryS3ConfigArgs
- Bucket
Name string - Bucket
Prefix string - Log
Delivery stringStatus
- Bucket
Name string - Bucket
Prefix string - Log
Delivery stringStatus
- bucket
Name String - bucket
Prefix String - log
Delivery StringStatus
- bucket
Name string - bucket
Prefix string - log
Delivery stringStatus
- bucket_
name str - bucket_
prefix str - log_
delivery_ strstatus
- bucket
Name String - bucket
Prefix String - log
Delivery StringStatus
Import
Using pulumi import
, import Internet Monitor Monitors using the monitor_name
. For example:
$ pulumi import aws:cloudwatch/internetMonitor:InternetMonitor some some-monitor
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.