Show / Hide Table of Contents

Class CfnTrafficMirrorTarget

Specifies a target for your Traffic Mirror session.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnTrafficMirrorTarget
Implements
IInspectable
ITrafficMirrorTargetRef
IConstruct
IDependable
IEnvironmentAware
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTrafficMirrorTarget : CfnResource, IInspectable, ITrafficMirrorTargetRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Syntax (vb)
Public Class CfnTrafficMirrorTarget Inherits CfnResource Implements IInspectable, ITrafficMirrorTargetRef, IConstruct, IDependable, IEnvironmentAware, ITaggable
Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

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 cfnTrafficMirrorTarget = new CfnTrafficMirrorTarget(this, "MyCfnTrafficMirrorTarget", new CfnTrafficMirrorTargetProps {
                 Description = "description",
                 GatewayLoadBalancerEndpointId = "gatewayLoadBalancerEndpointId",
                 NetworkInterfaceId = "networkInterfaceId",
                 NetworkLoadBalancerArn = "networkLoadBalancerArn",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

Synopsis

Constructors

CfnTrafficMirrorTarget(Construct, string, ICfnTrafficMirrorTargetProps?)

Create a new AWS::EC2::TrafficMirrorTarget.

Properties

AttrId

Specifies a target for your Traffic Mirror session.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Specifies a target for your Traffic Mirror session.

Description

The description of the Traffic Mirror target.

GatewayLoadBalancerEndpointId

The ID of the Gateway Load Balancer endpoint.

NetworkInterfaceId

The network interface ID that is associated with the target.

NetworkLoadBalancerArn

The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.

Tags

Tag Manager which manages the tags for this resource.

TagsRaw

The tags to assign to the Traffic Mirror target.

TrafficMirrorTargetRef

A reference to a TrafficMirrorTarget resource.

Methods

ArnForTrafficMirrorTarget(ITrafficMirrorTargetRef)

Specifies a target for your Traffic Mirror session.

FromTrafficMirrorTargetId(Construct, string, string)

Creates a new ITrafficMirrorTargetRef from a trafficMirrorTargetId.

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnTrafficMirrorTarget(object)

Checks whether the given object is a CfnTrafficMirrorTarget.

RenderProperties(IDictionary<string, object>)

Specifies a target for your Traffic Mirror session.

Constructors

CfnTrafficMirrorTarget(Construct, string, ICfnTrafficMirrorTargetProps?)

Create a new AWS::EC2::TrafficMirrorTarget.

public CfnTrafficMirrorTarget(Construct scope, string id, ICfnTrafficMirrorTargetProps? props = null)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnTrafficMirrorTargetProps

Resource properties.

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

Properties

AttrId

Specifies a target for your Traffic Mirror session.

public virtual string AttrId { get; }
Property Value

string

Remarks

CloudformationAttribute: Id

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

CfnProperties

Specifies a target for your Traffic Mirror session.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

Description

The description of the Traffic Mirror target.

public virtual string? Description { get; set; }
Property Value

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

GatewayLoadBalancerEndpointId

The ID of the Gateway Load Balancer endpoint.

public virtual string? GatewayLoadBalancerEndpointId { get; set; }
Property Value

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

NetworkInterfaceId

The network interface ID that is associated with the target.

public virtual string? NetworkInterfaceId { get; set; }
Property Value

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

NetworkLoadBalancerArn

The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.

public virtual string? NetworkLoadBalancerArn { get; set; }
Property Value

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

TagsRaw

The tags to assign to the Traffic Mirror target.

public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value

ICfnTag[]

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

TrafficMirrorTargetRef

A reference to a TrafficMirrorTarget resource.

public virtual ITrafficMirrorTargetReference TrafficMirrorTargetRef { get; }
Property Value

ITrafficMirrorTargetReference

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

Methods

ArnForTrafficMirrorTarget(ITrafficMirrorTargetRef)

Specifies a target for your Traffic Mirror session.

public static string ArnForTrafficMirrorTarget(ITrafficMirrorTargetRef resource)
Parameters
resource ITrafficMirrorTargetRef
Returns

string

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

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 cfnTrafficMirrorTarget = new CfnTrafficMirrorTarget(this, "MyCfnTrafficMirrorTarget", new CfnTrafficMirrorTargetProps {
                 Description = "description",
                 GatewayLoadBalancerEndpointId = "gatewayLoadBalancerEndpointId",
                 NetworkInterfaceId = "networkInterfaceId",
                 NetworkLoadBalancerArn = "networkLoadBalancerArn",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             });

FromTrafficMirrorTargetId(Construct, string, string)

Creates a new ITrafficMirrorTargetRef from a trafficMirrorTargetId.

public static ITrafficMirrorTargetRef FromTrafficMirrorTargetId(Construct scope, string id, string trafficMirrorTargetId)
Parameters
scope Construct
id string
trafficMirrorTargetId string
Returns

ITrafficMirrorTargetRef

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

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.

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

IsCfnTrafficMirrorTarget(object)

Checks whether the given object is a CfnTrafficMirrorTarget.

public static bool IsCfnTrafficMirrorTarget(object x)
Parameters
x object
Returns

bool

Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Specifies a target for your Traffic Mirror session.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, a Network Load Balancer, or a Gateway Load Balancer endpoint.

To use the target in a Traffic Mirror session, use AWS::EC2::TrafficMirrorSession .

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

CloudformationResource: AWS::EC2::TrafficMirrorTarget

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITrafficMirrorTargetRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
ITaggable
Back to top Generated by DocFX