Class CfnTrafficMirrorTarget
Specifies a target for your Traffic Mirror session.
Inherited Members
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 .
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 |
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated
Properties
AttrId
Specifies a target for your Traffic Mirror session.
public virtual string AttrId { get; }
Property Value
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
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 .
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
Overrides
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated
Description
The description of the Traffic Mirror target.
public virtual string? Description { get; set; }
Property Value
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated
GatewayLoadBalancerEndpointId
The ID of the Gateway Load Balancer endpoint.
public virtual string? GatewayLoadBalancerEndpointId { get; set; }
Property Value
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 .
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
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 .
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
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
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 .
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated
TrafficMirrorTargetRef
A reference to a TrafficMirrorTarget resource.
public virtual ITrafficMirrorTargetReference TrafficMirrorTargetRef { get; }
Property Value
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 .
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
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 .
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
Returns
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 .
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 .
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
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 .
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
Overrides
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 .
CloudformationResource: AWS::EC2::TrafficMirrorTarget
ExampleMetadata: fixture=_generated