# CfnTrafficMirrorFilterProps

Properties for defining a `CfnTrafficMirrorFilter`.

Used as props by: [CfnTrafficMirrorFilter](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTrafficMirrorFilter.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTrafficMirrorFilterProps: ec2.CfnTrafficMirrorFilterProps = {
  description: 'description',
  networkServices: ['networkServices'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
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_ec2 as ec2

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

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

CfnTrafficMirrorFilterProps cfnTrafficMirrorFilterProps = CfnTrafficMirrorFilterProps.builder()
        .description("description")
        .networkServices(List.of("networkServices"))
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var cfnTrafficMirrorFilterProps = new CfnTrafficMirrorFilterProps {
    Description = "description",
    NetworkServices = new [] { "networkServices" },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnTrafficMirrorFilterProps := &CfnTrafficMirrorFilterProps{
	Description: jsii.String("description"),
	NetworkServices: []*string{
		jsii.String("networkServices"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `description`: string — The description of the Traffic Mirror filter.

- `networkServices`: string[] — The network service traffic that is associated with the Traffic Mirror filter.

  Valid values are `amazon-dns` .

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags to assign to a Traffic Mirror filter.
