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",
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public class TrafficMirrorFilter : CustomResource
Constructors
View SourceTrafficMirrorFilter(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 SourceDescription
A description of the filter.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
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 SourceGet(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 |