# AWS::InternetMonitor Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as internetmonitor from 'aws-cdk-lib/aws-internetmonitor';
```

Python:

```python
import aws_cdk.aws_internetmonitor as internetmonitor
```

Java:

```java
import software.amazon.awscdk.services.internetmonitor.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.InternetMonitor;
```

Golang:

```go
import internetmonitor "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for InternetMonitor construct libraries](https://constructs.dev/search?q=internetmonitor)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::InternetMonitor resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_InternetMonitor.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::InternetMonitor](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_InternetMonitor.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnMonitor`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitor.html) Construct (L1) The `AWS::InternetMonitor::Monitor` resource is an Internet Monitor resource type that contains information about how you create a monitor in Amazon CloudWatch Internet Monitor.

### Structs

- [`CfnMonitor.HealthEventsConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitor.HealthEventsConfigProperty.html) Struct Define the health event threshold percentages for the performance score and availability score for your application's monitor.
- [`CfnMonitor.InternetMeasurementsLogDeliveryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitor.InternetMeasurementsLogDeliveryProperty.html) Struct Publish internet measurements to an Amazon S3 bucket in addition to CloudWatch Logs.
- [`CfnMonitor.LocalHealthEventsConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitor.LocalHealthEventsConfigProperty.html) Struct Configuration information that determines the threshold and other conditions for when Internet Monitor creates a health event for a local performance or availability issue, when scores cross a threshold for one or more city-networks.
- [`CfnMonitor.S3ConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitor.S3ConfigProperty.html) Struct The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
- [`CfnMonitorProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_internetmonitor.CfnMonitorProps.html) Struct Properties for defining a `CfnMonitor`.
