Class CfnTrafficMirrorFilter
A CloudFormation AWS::EC2::TrafficMirrorFilter
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnTrafficMirrorFilter : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTrafficMirrorFilter
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Specifies a Traffic Mirror filter.
A Traffic Mirror filter is a set of rules that defines the traffic to mirror.
By default, no traffic is mirrored. To mirror traffic, use AWS::EC2::TrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored.
CloudformationResource: AWS::EC2::TrafficMirrorFilter
ExampleMetadata: fixture=_generated
Examples
// 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 cfnTrafficMirrorFilter = new CfnTrafficMirrorFilter(this, "MyCfnTrafficMirrorFilter", new CfnTrafficMirrorFilterProps {
Description = "description",
NetworkServices = new [] { "networkServices" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnTrafficMirrorFilter(Construct, String, ICfnTrafficMirrorFilterProps) | Create a new |
CfnTrafficMirrorFilter(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTrafficMirrorFilter(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the Traffic Mirror filter. |
NetworkServices | The network service traffic that is associated with the Traffic Mirror filter. |
Tags | The tags to assign to a Traffic Mirror filter. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTrafficMirrorFilter(Construct, String, ICfnTrafficMirrorFilterProps)
Create a new AWS::EC2::TrafficMirrorFilter
.
public CfnTrafficMirrorFilter(Construct scope, string id, ICfnTrafficMirrorFilterProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnTrafficMirrorFilterProps
- resource properties.
CfnTrafficMirrorFilter(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTrafficMirrorFilter(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTrafficMirrorFilter(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTrafficMirrorFilter(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the Traffic Mirror filter.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
NetworkServices
The network service traffic that is associated with the Traffic Mirror filter.
public virtual string[] NetworkServices { get; set; }
Property Value
System.String[]
Remarks
Tags
The tags to assign to a Traffic Mirror filter.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>