interface TrafficMirrorTargetReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.TrafficMirrorTargetReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#TrafficMirrorTargetReference |
Java | software.amazon.awscdk.services.ec2.TrafficMirrorTargetReference |
Python | aws_cdk.aws_ec2.TrafficMirrorTargetReference |
TypeScript | aws-cdk-lib » aws_ec2 » TrafficMirrorTargetReference |
A reference to a TrafficMirrorTarget resource.
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 trafficMirrorTargetReference: ec2.TrafficMirrorTargetReference = {
trafficMirrorTargetId: 'trafficMirrorTargetId',
};
Properties
| Name | Type | Description |
|---|---|---|
| traffic | string | The Id of the TrafficMirrorTarget resource. |
trafficMirrorTargetId
Type:
string
The Id of the TrafficMirrorTarget resource.

.NET
Go
Java
Python
TypeScript