CfnScopeProps

class aws_cdk.aws_networkflowmonitor.CfnScopeProps(*, targets, tags=None)

Bases: object

Properties for defining a CfnScope.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-scope.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_scope_props = networkflowmonitor.CfnScopeProps(
    targets=[networkflowmonitor.CfnScope.TargetResourceProperty(
        region="region",
        target_identifier=networkflowmonitor.CfnScope.TargetIdentifierProperty(
            target_id=networkflowmonitor.CfnScope.TargetIdProperty(
                account_id="accountId"
            ),
            target_type="targetType"
        )
    )],

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

Attributes

tags

The tags for the scope.

See:

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

targets

The targets for the scope.

See:

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