TrafficMirrorFilter

class TrafficMirrorFilter : KotlinCustomResource

Provides an Traffic mirror filter. Read limits and considerations for traffic mirroring

Example Usage

To create a basic traffic mirror filter

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.TrafficMirrorFilter;
import com.pulumi.aws.ec2.TrafficMirrorFilterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new TrafficMirrorFilter("foo", TrafficMirrorFilterArgs.builder()
.description("traffic mirror filter - example")
.networkServices("amazon-dns")
.build());
}
}

Import

Traffic mirror filter can be imported using the id, e.g.,

$ pulumi import aws:ec2/trafficMirrorFilter:TrafficMirrorFilter foo tmf-0fbb93ddf38198f64

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the traffic mirror filter.

Link copied to clipboard
val description: Output<String>?

A description of the filter.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val networkServices: Output<List<String>>?

List of amazon network services that should be mirrored. Valid values: amazon-dns.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>