CfnMonitorProps
- class aws_cdk.aws_networkflowmonitor.CfnMonitorProps(*, local_resources, monitor_name, remote_resources=None, scope_arn=None, tags=None)
Bases:
objectProperties for defining a
CfnMonitor.- Parameters:
local_resources (
Union[IResolvable,Sequence[Union[IResolvable,MonitorLocalResourceProperty,Dict[str,Any]]]]) – The local resources to monitor.monitor_name (
str) – The name of the monitor.remote_resources (
Union[IResolvable,Sequence[Union[IResolvable,MonitorRemoteResourceProperty,Dict[str,Any]]],None]) – The remote resources to monitor.scope_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the scope for the monitor.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_networkflowmonitor as networkflowmonitor cfn_monitor_props = networkflowmonitor.CfnMonitorProps( local_resources=[networkflowmonitor.CfnMonitor.MonitorLocalResourceProperty( identifier="identifier", type="type" )], monitor_name="monitorName", # the properties below are optional remote_resources=[networkflowmonitor.CfnMonitor.MonitorRemoteResourceProperty( identifier="identifier", type="type" )], scope_arn="scopeArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- local_resources
The local resources to monitor.
- monitor_name
The name of the monitor.
- remote_resources
The remote resources to monitor.
- scope_arn
The Amazon Resource Name (ARN) of the scope for the monitor.
- tags
The tags for the monitor.