CfnMonitorProps

class aws_cdk.aws_networkmonitor.CfnMonitorProps(*, monitor_name, aggregation_period=None, tags=None)

Bases: object

Properties for defining a CfnMonitor.

Parameters:
  • monitor_name (str) – The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.

  • aggregation_period (Union[int, float, None]) – The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. Valid values are either 30 or 60.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmonitor-monitor.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmonitor as networkmonitor

cfn_monitor_props = networkmonitor.CfnMonitorProps(
    monitor_name="monitorName",

    # the properties below are optional
    aggregation_period=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

aggregation_period

The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.

Valid values are either 30 or 60.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmonitor-monitor.html#cfn-networkmonitor-monitor-aggregationperiod

monitor_name

The name identifying the monitor.

It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmonitor-monitor.html#cfn-networkmonitor-monitor-monitorname

tags

The tags for the monitor.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmonitor-monitor.html#cfn-networkmonitor-monitor-tags