CfnMonitorProps

class aws_cdk.aws_networkflowmonitor.CfnMonitorProps(*, local_resources, monitor_name, remote_resources=None, scope_arn=None, tags=None)

Bases: object

Properties for defining a CfnMonitor.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-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_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.

See:

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

monitor_name

The name of the monitor.

See:

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

remote_resources

The remote resources to monitor.

See:

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

scope_arn

The Amazon Resource Name (ARN) of the scope for the monitor.

See:

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

tags

The tags for the monitor.

See:

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