CfnMonitorProps
- class aws_cdk.aws_networkmonitor.CfnMonitorProps(*, monitor_name, aggregation_period=None, tags=None)
Bases:
objectProperties 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:
- 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.
- monitor_name
The name identifying the monitor.
It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- tags
The tags for the monitor.