Show / Hide Table of Contents

Class TrafficMirrorFilter

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

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var foo = new Aws.Ec2.TrafficMirrorFilter("foo", new Aws.Ec2.TrafficMirrorFilterArgs
    {
        Description = "traffic mirror filter - example",
        NetworkServices = 
        {
            "amazon-dns",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
TrafficMirrorFilter
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class TrafficMirrorFilter : CustomResource

Constructors

View Source

TrafficMirrorFilter(String, TrafficMirrorFilterArgs, CustomResourceOptions)

Create a TrafficMirrorFilter resource with the given unique name, arguments, and options.

Declaration
public TrafficMirrorFilter(string name, TrafficMirrorFilterArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TrafficMirrorFilterArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Description

A description of the filter.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

NetworkServices

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

Declaration
public Output<ImmutableArray<string>> NetworkServices { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Tags

Key-value map of resource tags.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, TrafficMirrorFilterState, CustomResourceOptions)

Get an existing TrafficMirrorFilter resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static TrafficMirrorFilter Get(string name, Input<string> id, TrafficMirrorFilterState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

TrafficMirrorFilterState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
TrafficMirrorFilter
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.