CfnTrafficMirrorFilterProps

class aws_cdk.aws_ec2.CfnTrafficMirrorFilterProps(*, description=None, network_services=None, tags=None)

Bases: object

Properties for defining a CfnTrafficMirrorFilter.

Parameters:
  • description (Optional[str]) – The description of the Traffic Mirror filter.

  • network_services (Optional[Sequence[str]]) – The network service traffic that is associated with the Traffic Mirror filter. Valid values are amazon-dns .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to assign to a Traffic Mirror filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilter.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_traffic_mirror_filter_props = ec2.CfnTrafficMirrorFilterProps(
    description="description",
    network_services=["networkServices"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of the Traffic Mirror filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilter.html#cfn-ec2-trafficmirrorfilter-description

network_services

The network service traffic that is associated with the Traffic Mirror filter.

Valid values are amazon-dns .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorfilter.html#cfn-ec2-trafficmirrorfilter-networkservices

tags

The tags to assign to a Traffic Mirror filter.

See:

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