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.

Link

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.

Link

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

Return type

Optional[str]

network_services

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

Valid values are amazon-dns .

Link

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

Return type

Optional[List[str]]

tags

The tags to assign to a Traffic Mirror filter.

Link

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

Return type

Optional[List[CfnTag]]