interface CfnMonitorProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkMonitor.CfnMonitorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsnetworkmonitor#CfnMonitorProps |
Java | software.amazon.awscdk.services.networkmonitor.CfnMonitorProps |
Python | aws_cdk.aws_networkmonitor.CfnMonitorProps |
TypeScript | aws-cdk-lib » aws_networkmonitor » CfnMonitorProps |
Properties for defining a CfnMonitor.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmonitor as networkmonitor } from 'aws-cdk-lib';
const cfnMonitorProps: networkmonitor.CfnMonitorProps = {
monitorName: 'monitorName',
// the properties below are optional
aggregationPeriod: 123,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| monitor | string | The name identifying the monitor. |
| aggregation | number | The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. |
| tags? | Cfn[] | The tags for the monitor. |
monitorName
Type:
string
The name identifying the monitor.
It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
aggregationPeriod?
Type:
number
(optional)
The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.
Valid values are either 30 or 60.
tags?
Type:
Cfn[]
(optional)
The tags for the monitor.

.NET
Go
Java
Python
TypeScript