AWS::EC2::TrafficMirrorTargetSpecifies a target for your Traffic Mirror session. 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-trafficmirrorsession.html) .
import { CfnTrafficMirrorTarget } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnTrafficMirrorTargetConfiguration passed to the constructor as CfnTrafficMirrorTargetProps.
descriptionOptionalstringThe description of the Traffic Mirror target.
gatewayLoadBalancerEndpointIdOptionalstringThe ID of the Gateway Load Balancer endpoint.
networkInterfaceIdOptionalstringThe network interface ID that is associated with the target.
networkLoadBalancerArnOptionalstringThe Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
tagsOptionalCfnTag[]The tags to assign to the Traffic Mirror target.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2AWS::EC2::TrafficMirrorTarget