Show / Hide Table of Contents

Class CfnTrafficMirrorSessionPropsMixin

Creates a Traffic Mirror session.

Inheritance
object
Mixin
CfnTrafficMirrorSessionPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTrafficMirrorSessionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTrafficMirrorSessionPropsMixin Inherits Mixin Implements IMixin
Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnTrafficMirrorSessionPropsMixin = new CfnTrafficMirrorSessionPropsMixin(new CfnTrafficMirrorSessionMixinProps {
                 Description = "description",
                 NetworkInterfaceId = "networkInterfaceId",
                 OwnerId = "ownerId",
                 PacketLength = 123,
                 SessionNumber = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficMirrorFilterId = "trafficMirrorFilterId",
                 TrafficMirrorTargetId = "trafficMirrorTargetId",
                 VirtualNetworkId = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnTrafficMirrorSessionPropsMixin(ICfnTrafficMirrorSessionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::EC2::TrafficMirrorSession.

Properties

CFN_PROPERTY_KEYS

Creates a Traffic Mirror session.

Props

Creates a Traffic Mirror session.

Strategy

Creates a Traffic Mirror session.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnTrafficMirrorSessionPropsMixin(ICfnTrafficMirrorSessionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::EC2::TrafficMirrorSession.

public CfnTrafficMirrorSessionPropsMixin(ICfnTrafficMirrorSessionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnTrafficMirrorSessionMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a Traffic Mirror session.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnTrafficMirrorSessionPropsMixin = new CfnTrafficMirrorSessionPropsMixin(new CfnTrafficMirrorSessionMixinProps {
                 Description = "description",
                 NetworkInterfaceId = "networkInterfaceId",
                 OwnerId = "ownerId",
                 PacketLength = 123,
                 SessionNumber = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficMirrorFilterId = "trafficMirrorFilterId",
                 TrafficMirrorTargetId = "trafficMirrorTargetId",
                 VirtualNetworkId = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

Creates a Traffic Mirror session.

protected virtual ICfnTrafficMirrorSessionMixinProps Props { get; }
Property Value

ICfnTrafficMirrorSessionMixinProps

Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnTrafficMirrorSessionPropsMixin = new CfnTrafficMirrorSessionPropsMixin(new CfnTrafficMirrorSessionMixinProps {
                 Description = "description",
                 NetworkInterfaceId = "networkInterfaceId",
                 OwnerId = "ownerId",
                 PacketLength = 123,
                 SessionNumber = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficMirrorFilterId = "trafficMirrorFilterId",
                 TrafficMirrorTargetId = "trafficMirrorTargetId",
                 VirtualNetworkId = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

Creates a Traffic Mirror session.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

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.CfnPropertyMixins.AWS.EC2;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnTrafficMirrorSessionPropsMixin = new CfnTrafficMirrorSessionPropsMixin(new CfnTrafficMirrorSessionMixinProps {
                 Description = "description",
                 NetworkInterfaceId = "networkInterfaceId",
                 OwnerId = "ownerId",
                 PacketLength = 123,
                 SessionNumber = 123,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TrafficMirrorFilterId = "trafficMirrorFilterId",
                 TrafficMirrorTargetId = "trafficMirrorTargetId",
                 VirtualNetworkId = 123
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use AWS::EC2::TrafficMirrorFilterRule to specify filter rules that specify the traffic to mirror.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html

CloudformationResource: AWS::EC2::TrafficMirrorSession

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX