Skip to content
v2.273.0

CfnTrafficMirrorTargetProps Struct ​

Properties for defining a CfnTrafficMirrorTarget.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTrafficMirrorTargetProps: ec2.CfnTrafficMirrorTargetProps = {
  description: 'description',
  gatewayLoadBalancerEndpointId: 'gatewayLoadBalancerEndpointId',
  networkInterfaceId: 'networkInterfaceId',
  networkLoadBalancerArn: 'networkLoadBalancerArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The description of the Traffic Mirror target.
gatewayLoadBalancerEndpointIdstringgateway_load_balancer_endpoint_idstrgatewayLoadBalancerEndpointIdStringGatewayLoadBalancerEndpointIdstringGatewayLoadBalancerEndpointId*string#
The ID of the Gateway Load Balancer endpoint.
networkInterfaceIdstringnetwork_interface_idstrnetworkInterfaceIdStringNetworkInterfaceIdstringNetworkInterfaceId*string#
The network interface ID that is associated with the target.
networkLoadBalancerArnstringnetwork_load_balancer_arnstrnetworkLoadBalancerArnStringNetworkLoadBalancerArnstringNetworkLoadBalancerArn*string#
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags to assign to the Traffic Mirror target.

Used as props by ​