published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
The mirror target is the network interface or classic load balancer used to collect traffic. You can use traffic mirroring to replicate network interface traffic based on your filtering criteria and forward the replicated traffic over the private network to the target service for monitoring and analysis.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vPCTrafficMirrorTargetDemo = new volcenginecc.vpc.TrafficMirrorTarget("VPCTrafficMirrorTargetDemo", {
trafficMirrorTargetName: "test-terraformtest",
description: "this is a test",
instanceId: "eni-2yggxh4o692bk6asvxxxxx",
instanceType: "NetworkInterface",
projectName: "default",
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
v_pc_traffic_mirror_target_demo = volcenginecc.vpc.TrafficMirrorTarget("VPCTrafficMirrorTargetDemo",
traffic_mirror_target_name="test-terraformtest",
description="this is a test",
instance_id="eni-2yggxh4o692bk6asvxxxxx",
instance_type="NetworkInterface",
project_name="default",
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewTrafficMirrorTarget(ctx, "VPCTrafficMirrorTargetDemo", &vpc.TrafficMirrorTargetArgs{
TrafficMirrorTargetName: pulumi.String("test-terraformtest"),
Description: pulumi.String("this is a test"),
InstanceId: pulumi.String("eni-2yggxh4o692bk6asvxxxxx"),
InstanceType: pulumi.String("NetworkInterface"),
ProjectName: pulumi.String("default"),
Tags: vpc.TrafficMirrorTargetTagArray{
&vpc.TrafficMirrorTargetTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vPCTrafficMirrorTargetDemo = new Volcenginecc.Vpc.TrafficMirrorTarget("VPCTrafficMirrorTargetDemo", new()
{
TrafficMirrorTargetName = "test-terraformtest",
Description = "this is a test",
InstanceId = "eni-2yggxh4o692bk6asvxxxxx",
InstanceType = "NetworkInterface",
ProjectName = "default",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.TrafficMirrorTargetTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpc.TrafficMirrorTarget;
import com.volcengine.volcenginecc.vpc.TrafficMirrorTargetArgs;
import com.pulumi.volcenginecc.vpc.inputs.TrafficMirrorTargetTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vPCTrafficMirrorTargetDemo = new TrafficMirrorTarget("vPCTrafficMirrorTargetDemo", TrafficMirrorTargetArgs.builder()
.trafficMirrorTargetName("test-terraformtest")
.description("this is a test")
.instanceId("eni-2yggxh4o692bk6asvxxxxx")
.instanceType("NetworkInterface")
.projectName("default")
.tags(TrafficMirrorTargetTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
vPCTrafficMirrorTargetDemo:
type: volcenginecc:vpc:TrafficMirrorTarget
name: VPCTrafficMirrorTargetDemo
properties:
trafficMirrorTargetName: test-terraformtest
description: this is a test
instanceId: eni-2yggxh4o692bk6asvxxxxx
instanceType: NetworkInterface
projectName: default
tags:
- key: env
value: test
Create TrafficMirrorTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TrafficMirrorTarget(name: string, args: TrafficMirrorTargetArgs, opts?: CustomResourceOptions);@overload
def TrafficMirrorTarget(resource_name: str,
args: TrafficMirrorTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TrafficMirrorTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
instance_type: Optional[str] = None,
description: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[TrafficMirrorTargetTagArgs]] = None,
traffic_mirror_target_name: Optional[str] = None)func NewTrafficMirrorTarget(ctx *Context, name string, args TrafficMirrorTargetArgs, opts ...ResourceOption) (*TrafficMirrorTarget, error)public TrafficMirrorTarget(string name, TrafficMirrorTargetArgs args, CustomResourceOptions? opts = null)
public TrafficMirrorTarget(String name, TrafficMirrorTargetArgs args)
public TrafficMirrorTarget(String name, TrafficMirrorTargetArgs args, CustomResourceOptions options)
type: volcenginecc:vpc:TrafficMirrorTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TrafficMirrorTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TrafficMirrorTargetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TrafficMirrorTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TrafficMirrorTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TrafficMirrorTargetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var trafficMirrorTargetResource = new Volcenginecc.Vpc.TrafficMirrorTarget("trafficMirrorTargetResource", new()
{
InstanceId = "string",
InstanceType = "string",
Description = "string",
ProjectName = "string",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.TrafficMirrorTargetTagArgs
{
Key = "string",
Value = "string",
},
},
TrafficMirrorTargetName = "string",
});
example, err := vpc.NewTrafficMirrorTarget(ctx, "trafficMirrorTargetResource", &vpc.TrafficMirrorTargetArgs{
InstanceId: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Description: pulumi.String("string"),
ProjectName: pulumi.String("string"),
Tags: vpc.TrafficMirrorTargetTagArray{
&vpc.TrafficMirrorTargetTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TrafficMirrorTargetName: pulumi.String("string"),
})
var trafficMirrorTargetResource = new TrafficMirrorTarget("trafficMirrorTargetResource", TrafficMirrorTargetArgs.builder()
.instanceId("string")
.instanceType("string")
.description("string")
.projectName("string")
.tags(TrafficMirrorTargetTagArgs.builder()
.key("string")
.value("string")
.build())
.trafficMirrorTargetName("string")
.build());
traffic_mirror_target_resource = volcenginecc.vpc.TrafficMirrorTarget("trafficMirrorTargetResource",
instance_id="string",
instance_type="string",
description="string",
project_name="string",
tags=[{
"key": "string",
"value": "string",
}],
traffic_mirror_target_name="string")
const trafficMirrorTargetResource = new volcenginecc.vpc.TrafficMirrorTarget("trafficMirrorTargetResource", {
instanceId: "string",
instanceType: "string",
description: "string",
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
trafficMirrorTargetName: "string",
});
type: volcenginecc:vpc:TrafficMirrorTarget
properties:
description: string
instanceId: string
instanceType: string
projectName: string
tags:
- key: string
value: string
trafficMirrorTargetName: string
TrafficMirrorTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TrafficMirrorTarget resource accepts the following input properties:
- Instance
Id string - Resource ID of the mirror target.
- Instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- Description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- Project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
-
List<Volcengine.
Traffic Mirror Target Tag> - Traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- Instance
Id string - Resource ID of the mirror target.
- Instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- Description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- Project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
-
[]Traffic
Mirror Target Tag Args - Traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- instance
Id String - Resource ID of the mirror target.
- instance
Type String - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- description String
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- project
Name String - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
-
List<Traffic
Mirror Target Tag> - traffic
Mirror StringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- instance
Id string - Resource ID of the mirror target.
- instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
-
Traffic
Mirror Target Tag[] - traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- instance_
id str - Resource ID of the mirror target.
- instance_
type str - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- description str
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- project_
name str - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
-
Sequence[Traffic
Mirror Target Tag Args] - traffic_
mirror_ strtarget_ name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- instance
Id String - Resource ID of the mirror target.
- instance
Type String - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- description String
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- project
Name String - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- List<Property Map>
- traffic
Mirror StringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
Outputs
All input properties are implicitly available as output properties. Additionally, the TrafficMirrorTarget resource produces the following output properties:
- Created
At string - Creation time of the mirror session.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the mirror target. Available: Available. Creating: Creating.
- Traffic
Mirror stringTarget Id - ID of the mirror target.
- Updated
At string - Update time of the mirror session.
- Created
At string - Creation time of the mirror session.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the mirror target. Available: Available. Creating: Creating.
- Traffic
Mirror stringTarget Id - ID of the mirror target.
- Updated
At string - Update time of the mirror session.
- created
At String - Creation time of the mirror session.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the mirror target. Available: Available. Creating: Creating.
- traffic
Mirror StringTarget Id - ID of the mirror target.
- updated
At String - Update time of the mirror session.
- created
At string - Creation time of the mirror session.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the mirror target. Available: Available. Creating: Creating.
- traffic
Mirror stringTarget Id - ID of the mirror target.
- updated
At string - Update time of the mirror session.
- created_
at str - Creation time of the mirror session.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the mirror target. Available: Available. Creating: Creating.
- traffic_
mirror_ strtarget_ id - ID of the mirror target.
- updated_
at str - Update time of the mirror session.
- created
At String - Creation time of the mirror session.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the mirror target. Available: Available. Creating: Creating.
- traffic
Mirror StringTarget Id - ID of the mirror target.
- updated
At String - Update time of the mirror session.
Look up Existing TrafficMirrorTarget Resource
Get an existing TrafficMirrorTarget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TrafficMirrorTargetState, opts?: CustomResourceOptions): TrafficMirrorTarget@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
description: Optional[str] = None,
instance_id: Optional[str] = None,
instance_type: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[TrafficMirrorTargetTagArgs]] = None,
traffic_mirror_target_id: Optional[str] = None,
traffic_mirror_target_name: Optional[str] = None,
updated_at: Optional[str] = None) -> TrafficMirrorTargetfunc GetTrafficMirrorTarget(ctx *Context, name string, id IDInput, state *TrafficMirrorTargetState, opts ...ResourceOption) (*TrafficMirrorTarget, error)public static TrafficMirrorTarget Get(string name, Input<string> id, TrafficMirrorTargetState? state, CustomResourceOptions? opts = null)public static TrafficMirrorTarget get(String name, Output<String> id, TrafficMirrorTargetState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpc:TrafficMirrorTarget get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Creation time of the mirror session.
- Description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- Instance
Id string - Resource ID of the mirror target.
- Instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- Project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- Status string
- Status of the mirror target. Available: Available. Creating: Creating.
-
List<Volcengine.
Traffic Mirror Target Tag> - Traffic
Mirror stringTarget Id - ID of the mirror target.
- Traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- Updated
At string - Update time of the mirror session.
- Created
At string - Creation time of the mirror session.
- Description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- Instance
Id string - Resource ID of the mirror target.
- Instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- Project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- Status string
- Status of the mirror target. Available: Available. Creating: Creating.
-
[]Traffic
Mirror Target Tag Args - Traffic
Mirror stringTarget Id - ID of the mirror target.
- Traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- Updated
At string - Update time of the mirror session.
- created
At String - Creation time of the mirror session.
- description String
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- instance
Id String - Resource ID of the mirror target.
- instance
Type String - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- project
Name String - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- status String
- Status of the mirror target. Available: Available. Creating: Creating.
-
List<Traffic
Mirror Target Tag> - traffic
Mirror StringTarget Id - ID of the mirror target.
- traffic
Mirror StringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- updated
At String - Update time of the mirror session.
- created
At string - Creation time of the mirror session.
- description string
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- instance
Id string - Resource ID of the mirror target.
- instance
Type string - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- project
Name string - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- status string
- Status of the mirror target. Available: Available. Creating: Creating.
-
Traffic
Mirror Target Tag[] - traffic
Mirror stringTarget Id - ID of the mirror target.
- traffic
Mirror stringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- updated
At string - Update time of the mirror session.
- created_
at str - Creation time of the mirror session.
- description str
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- instance_
id str - Resource ID of the mirror target.
- instance_
type str - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- project_
name str - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- status str
- Status of the mirror target. Available: Available. Creating: Creating.
-
Sequence[Traffic
Mirror Target Tag Args] - traffic_
mirror_ strtarget_ id - ID of the mirror target.
- traffic_
mirror_ strtarget_ name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- updated_
at str - Update time of the mirror session.
- created
At String - Creation time of the mirror session.
- description String
- Listener description. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: comma (,), period (.), underscore (_), space ( ), equals sign (=), hyphen (-), Chinese comma (,), and Chinese period (。). Length must be between 0 and 255 characters. If not specified, the default value is an empty string.
- instance
Id String - Resource ID of the mirror target.
- instance
Type String - Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
- project
Name String - Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
- status String
- Status of the mirror target. Available: Available. Creating: Creating.
- List<Property Map>
- traffic
Mirror StringTarget Id - ID of the mirror target.
- traffic
Mirror StringTarget Name - Listener name. Must start with a letter, number, or Chinese character. Can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length must be between 1 and 128 characters. If not specified, the default is 'protocol-port' as the listener name.
- updated
At String - Update time of the mirror session.
Supporting Types
TrafficMirrorTargetTag, TrafficMirrorTargetTagArgs
- Key string
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- Value string
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- Key string
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- Value string
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key String
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- value String
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key string
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- value string
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key str
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- value str
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
- key String
- Tag key. Length must be between 1 and 128 characters. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). If the tag key starts or ends with a space, the system will automatically remove it.
- value String
- Tag value. Length must be between 0 and 256 characters. If not specified, the default is empty. Supports input of characters from any language, numbers, spaces ( ), underscores (_), periods (.), colons (:), slashes (/), equals signs (=), plus signs (+), hyphens (-), and @ (@). Case sensitive. If the tag value starts or ends with a space, the system will automatically remove it.
Import
$ pulumi import volcenginecc:vpc/trafficMirrorTarget:TrafficMirrorTarget example "traffic_mirror_target_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
