1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getTrafficMirrorFilter

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws-native.ec2.getTrafficMirrorFilter

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

    Resource schema for AWS::EC2::TrafficMirrorFilter

    Using getTrafficMirrorFilter

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getTrafficMirrorFilter(args: GetTrafficMirrorFilterArgs, opts?: InvokeOptions): Promise<GetTrafficMirrorFilterResult>
    function getTrafficMirrorFilterOutput(args: GetTrafficMirrorFilterOutputArgs, opts?: InvokeOptions): Output<GetTrafficMirrorFilterResult>
    def get_traffic_mirror_filter(id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetTrafficMirrorFilterResult
    def get_traffic_mirror_filter_output(id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetTrafficMirrorFilterResult]
    func LookupTrafficMirrorFilter(ctx *Context, args *LookupTrafficMirrorFilterArgs, opts ...InvokeOption) (*LookupTrafficMirrorFilterResult, error)
    func LookupTrafficMirrorFilterOutput(ctx *Context, args *LookupTrafficMirrorFilterOutputArgs, opts ...InvokeOption) LookupTrafficMirrorFilterResultOutput

    > Note: This function is named LookupTrafficMirrorFilter in the Go SDK.

    public static class GetTrafficMirrorFilter 
    {
        public static Task<GetTrafficMirrorFilterResult> InvokeAsync(GetTrafficMirrorFilterArgs args, InvokeOptions? opts = null)
        public static Output<GetTrafficMirrorFilterResult> Invoke(GetTrafficMirrorFilterInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrafficMirrorFilterResult> getTrafficMirrorFilter(GetTrafficMirrorFilterArgs args, InvokeOptions options)
    public static Output<GetTrafficMirrorFilterResult> getTrafficMirrorFilter(GetTrafficMirrorFilterArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getTrafficMirrorFilter
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of a traffic mirror filter.
    Id string
    The ID of a traffic mirror filter.
    id String
    The ID of a traffic mirror filter.
    id string
    The ID of a traffic mirror filter.
    id str
    The ID of a traffic mirror filter.
    id String
    The ID of a traffic mirror filter.

    getTrafficMirrorFilter Result

    The following output properties are available:

    Id string
    The ID of a traffic mirror filter.
    NetworkServices List<Pulumi.AwsNative.Ec2.TrafficMirrorFilterTrafficMirrorNetworkService>
    The network service that is associated with the traffic mirror filter.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for a traffic mirror filter.
    Id string
    The ID of a traffic mirror filter.
    NetworkServices []TrafficMirrorFilterTrafficMirrorNetworkService
    The network service that is associated with the traffic mirror filter.
    Tags Tag
    The tags for a traffic mirror filter.
    id String
    The ID of a traffic mirror filter.
    networkServices List<TrafficMirrorFilterTrafficMirrorNetworkService>
    The network service that is associated with the traffic mirror filter.
    tags List<Tag>
    The tags for a traffic mirror filter.
    id string
    The ID of a traffic mirror filter.
    networkServices TrafficMirrorFilterTrafficMirrorNetworkService[]
    The network service that is associated with the traffic mirror filter.
    tags Tag[]
    The tags for a traffic mirror filter.
    id str
    The ID of a traffic mirror filter.
    network_services Sequence[TrafficMirrorFilterTrafficMirrorNetworkService]
    The network service that is associated with the traffic mirror filter.
    tags Sequence[root_Tag]
    The tags for a traffic mirror filter.
    id String
    The ID of a traffic mirror filter.
    networkServices List<"amazon-dns">
    The network service that is associated with the traffic mirror filter.
    tags List<Property Map>
    The tags for a traffic mirror filter.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    TrafficMirrorFilterTrafficMirrorNetworkService

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi