1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vpc
  6. TrafficMirrorTarget
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
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:

    InstanceId string
    Resource ID of the mirror target.
    InstanceType 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.
    ProjectName string
    Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
    Tags List<Volcengine.TrafficMirrorTargetTag>
    TrafficMirrorTargetName string
    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.
    InstanceId string
    Resource ID of the mirror target.
    InstanceType 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.
    ProjectName string
    Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
    Tags []TrafficMirrorTargetTagArgs
    TrafficMirrorTargetName string
    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.
    instanceId String
    Resource ID of the mirror target.
    instanceType 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.
    projectName String
    Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
    tags List<TrafficMirrorTargetTag>
    trafficMirrorTargetName String
    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.
    instanceId string
    Resource ID of the mirror target.
    instanceType 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.
    projectName string
    Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
    tags TrafficMirrorTargetTag[]
    trafficMirrorTargetName string
    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.
    tags Sequence[TrafficMirrorTargetTagArgs]
    traffic_mirror_target_name str
    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.
    instanceId String
    Resource ID of the mirror target.
    instanceType 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.
    projectName String
    Name of the project to which the mirror target belongs. If not specified, it will be added to the default project.
    tags List<Property Map>
    trafficMirrorTargetName String
    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:

    CreatedAt 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.
    TrafficMirrorTargetId string
    ID of the mirror target.
    UpdatedAt string
    Update time of the mirror session.
    CreatedAt 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.
    TrafficMirrorTargetId string
    ID of the mirror target.
    UpdatedAt string
    Update time of the mirror session.
    createdAt 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.
    trafficMirrorTargetId String
    ID of the mirror target.
    updatedAt String
    Update time of the mirror session.
    createdAt 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.
    trafficMirrorTargetId string
    ID of the mirror target.
    updatedAt 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_target_id str
    ID of the mirror target.
    updated_at str
    Update time of the mirror session.
    createdAt 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.
    trafficMirrorTargetId String
    ID of the mirror target.
    updatedAt 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) -> TrafficMirrorTarget
    func 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.
    The following state arguments are supported:
    CreatedAt 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.
    InstanceId string
    Resource ID of the mirror target.
    InstanceType string
    Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
    ProjectName 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.
    Tags List<Volcengine.TrafficMirrorTargetTag>
    TrafficMirrorTargetId string
    ID of the mirror target.
    TrafficMirrorTargetName string
    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.
    UpdatedAt string
    Update time of the mirror session.
    CreatedAt 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.
    InstanceId string
    Resource ID of the mirror target.
    InstanceType string
    Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
    ProjectName 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.
    Tags []TrafficMirrorTargetTagArgs
    TrafficMirrorTargetId string
    ID of the mirror target.
    TrafficMirrorTargetName string
    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.
    UpdatedAt string
    Update time of the mirror session.
    createdAt 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.
    instanceId String
    Resource ID of the mirror target.
    instanceType String
    Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
    projectName 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.
    tags List<TrafficMirrorTargetTag>
    trafficMirrorTargetId String
    ID of the mirror target.
    trafficMirrorTargetName String
    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.
    updatedAt String
    Update time of the mirror session.
    createdAt 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.
    instanceId string
    Resource ID of the mirror target.
    instanceType string
    Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
    projectName 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.
    tags TrafficMirrorTargetTag[]
    trafficMirrorTargetId string
    ID of the mirror target.
    trafficMirrorTargetName string
    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.
    updatedAt 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.
    tags Sequence[TrafficMirrorTargetTagArgs]
    traffic_mirror_target_id str
    ID of the mirror target.
    traffic_mirror_target_name str
    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.
    createdAt 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.
    instanceId String
    Resource ID of the mirror target.
    instanceType String
    Resource type of the mirror target. NetworkInterface: Elastic network interface. ClbInstance: Classic load balancer.
    projectName 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.
    tags List<Property Map>
    trafficMirrorTargetId String
    ID of the mirror target.
    trafficMirrorTargetName String
    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.
    updatedAt 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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.