aws-cdk-lib.aws_ec2.CfnTrafficMirrorTargetProps

interface CfnTrafficMirrorTargetProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnTrafficMirrorTargetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTrafficMirrorTargetProps
Javasoftware.amazon.awscdk.services.ec2.CfnTrafficMirrorTargetProps
Pythonaws_cdk.aws_ec2.CfnTrafficMirrorTargetProps
TypeScript aws-cdk-lib » aws_ec2 » CfnTrafficMirrorTargetProps

Properties for defining a CfnTrafficMirrorTarget.

Example

// 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

NameTypeDescription
description?stringThe description of the Traffic Mirror target.
gatewayLoadBalancerEndpointId?stringThe ID of the Gateway Load Balancer endpoint.
networkInterfaceId?stringThe network interface ID that is associated with the target.
networkLoadBalancerArn?stringThe Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
tags?CfnTag[]The tags to assign to the Traffic Mirror target.

description?

Type: string (optional)

The description of the Traffic Mirror target.


gatewayLoadBalancerEndpointId?

Type: string (optional)

The ID of the Gateway Load Balancer endpoint.


networkInterfaceId?

Type: string (optional)

The network interface ID that is associated with the target.


networkLoadBalancerArn?

Type: string (optional)

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


tags?

Type: CfnTag[] (optional)

The tags to assign to the Traffic Mirror target.