1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. tls
  6. Etl
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.42
published on Monday, Jul 20, 2026 by Byteplus

    The data processing task cleanses, transforms, and distributes log data in the log service, processing data from the source log topic and outputting it to the target log topic

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const tLSEtlDemo = new bytepluscc.tls.Etl("TLSEtlDemo", {
        dslType: "NORMAL",
        description: "ccapi-test",
        enable: true,
        fromTime: 1780302267,
        name: "ccapi-test-etltask",
        script: `# 按kv拆分contentå\xad—段\x0d
    ext_kv("content", pair_sep="&", kv_sep="=", prefix="", suffix="", mode="overwrite")\x0d
    # åˆ é™¤contentå\xad—段\x0d
    f_drop("content")`,
        sourceTopicId: "b881e3cd-3c45-42e7-966f-fe98xxxxxx",
        targetResources: [
            {
                alias: "test-dst12",
                region: "cn-shanghai",
                topic_id: "7ded0540-a2e6-48ea-9667-e0xxxxxx",
            },
            {
                alias: "test-dst13",
                region: "cn-beijing",
                topic_id: "c7474a2b-60bf-4d1d-bb5e-664xxxxxx",
            },
        ],
        taskType: "Resident",
        toTime: 1780475069,
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    t_ls_etl_demo = bytepluscc.tls.Etl("TLSEtlDemo",
        dsl_type="NORMAL",
        description="ccapi-test",
        enable=True,
        from_time=1780302267,
        name="ccapi-test-etltask",
        script="""# 按kv拆分contentå\xad—段\x0d
    ext_kv("content", pair_sep="&", kv_sep="=", prefix="", suffix="", mode="overwrite")\x0d
    # åˆ é™¤contentå\xad—段\x0d
    f_drop("content")""",
        source_topic_id="b881e3cd-3c45-42e7-966f-fe98xxxxxx",
        target_resources=[
            {
                "alias": "test-dst12",
                "region": "cn-shanghai",
                "topic_id": "7ded0540-a2e6-48ea-9667-e0xxxxxx",
            },
            {
                "alias": "test-dst13",
                "region": "cn-beijing",
                "topic_id": "c7474a2b-60bf-4d1d-bb5e-664xxxxxx",
            },
        ],
        task_type="Resident",
        to_time=1780475069)
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/tls"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.NewEtl(ctx, "TLSEtlDemo", &tls.EtlArgs{
    			DslType:       pulumi.String("NORMAL"),
    			Description:   pulumi.String("ccapi-test"),
    			Enable:        pulumi.Bool(true),
    			FromTime:      pulumi.Int(1780302267),
    			Name:          pulumi.String("ccapi-test-etltask"),
    			Script:        pulumi.String("# 按kv拆分contentå\u00ad—段\r\next_kv(\"content\", pair_sep=\"&\", kv_sep=\"=\", prefix=\"\", suffix=\"\", mode=\"overwrite\")\r\n# åˆ é™¤contentå\u00ad—段\r\nf_drop(\"content\")"),
    			SourceTopicId: pulumi.String("b881e3cd-3c45-42e7-966f-fe98xxxxxx"),
    			TargetResources: tls.EtlTargetResourceArray{
    				&tls.EtlTargetResourceArgs{
    					Alias:    pulumi.String("test-dst12"),
    					Region:   pulumi.String("cn-shanghai"),
    					Topic_id: "7ded0540-a2e6-48ea-9667-e0xxxxxx",
    				},
    				&tls.EtlTargetResourceArgs{
    					Alias:    pulumi.String("test-dst13"),
    					Region:   pulumi.String("cn-beijing"),
    					Topic_id: "c7474a2b-60bf-4d1d-bb5e-664xxxxxx",
    				},
    			},
    			TaskType: pulumi.String("Resident"),
    			ToTime:   pulumi.Int(1780475069),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var tLSEtlDemo = new Bytepluscc.Tls.Etl("TLSEtlDemo", new()
        {
            DslType = "NORMAL",
            Description = "ccapi-test",
            Enable = true,
            FromTime = 1780302267,
            Name = "ccapi-test-etltask",
            Script = @"# 按kv拆分content字段
    ext_kv(""content"", pair_sep=""&"", kv_sep=""="", prefix="""", suffix="""", mode=""overwrite"")
    # åˆ é™¤content字段
    f_drop(""content"")",
            SourceTopicId = "b881e3cd-3c45-42e7-966f-fe98xxxxxx",
            TargetResources = new[]
            {
                new Bytepluscc.Tls.Inputs.EtlTargetResourceArgs
                {
                    Alias = "test-dst12",
                    Region = "cn-shanghai",
                    Topic_id = "7ded0540-a2e6-48ea-9667-e0xxxxxx",
                },
                new Bytepluscc.Tls.Inputs.EtlTargetResourceArgs
                {
                    Alias = "test-dst13",
                    Region = "cn-beijing",
                    Topic_id = "c7474a2b-60bf-4d1d-bb5e-664xxxxxx",
                },
            },
            TaskType = "Resident",
            ToTime = 1780475069,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.tls.Etl;
    import com.byteplus.bytepluscc.tls.EtlArgs;
    import com.pulumi.bytepluscc.tls.inputs.EtlTargetResourceArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 tLSEtlDemo = new Etl("tLSEtlDemo", EtlArgs.builder()
                .dslType("NORMAL")
                .description("ccapi-test")
                .enable(true)
                .fromTime(1780302267)
                .name("ccapi-test-etltask")
                .script("""
    # 按kv拆分content字段
    ext_kv("content", pair_sep="&", kv_sep="=", prefix="", suffix="", mode="overwrite")
    # åˆ é™¤content字段
    f_drop("content")            """)
                .sourceTopicId("b881e3cd-3c45-42e7-966f-fe98xxxxxx")
                .targetResources(            
                    EtlTargetResourceArgs.builder()
                        .alias("test-dst12")
                        .region("cn-shanghai")
                        .topic_id("7ded0540-a2e6-48ea-9667-e0xxxxxx")
                        .build(),
                    EtlTargetResourceArgs.builder()
                        .alias("test-dst13")
                        .region("cn-beijing")
                        .topic_id("c7474a2b-60bf-4d1d-bb5e-664xxxxxx")
                        .build())
                .taskType("Resident")
                .toTime(1780475069)
                .build());
    
        }
    }
    
    resources:
      tLSEtlDemo:
        type: bytepluscc:tls:Etl
        name: TLSEtlDemo
        properties:
          dslType: NORMAL
          description: ccapi-test
          enable: true
          fromTime: 1.780302267e+09
          name: ccapi-test-etltask
          script: "# 按kv拆分content字段\r\next_kv(\"content\", pair_sep=\"&\", kv_sep=\"=\", prefix=\"\", suffix=\"\", mode=\"overwrite\")\r\n# åˆ é™¤content字段\r\nf_drop(\"content\")"
          sourceTopicId: b881e3cd-3c45-42e7-966f-fe98xxxxxx
          targetResources:
            - alias: test-dst12
              region: cn-shanghai
              topic_id: 7ded0540-a2e6-48ea-9667-e0xxxxxx
            - alias: test-dst13
              region: cn-beijing
              topic_id: c7474a2b-60bf-4d1d-bb5e-664xxxxxx
          taskType: Resident
          toTime: 1.780475069e+09
    
    pulumi {
      required_providers {
        bytepluscc = {
          source = "pulumi/bytepluscc"
        }
      }
    }
    
    resource "bytepluscc_tls_etl" "TLSEtlDemo" {
      dsl_type        = "NORMAL"
      description     = "ccapi-test"
      enable          = true
      from_time       = 1780302267
      name            = "ccapi-test-etltask"
      script          = "# 按kv拆分contentå\u00ad—段\r\next_kv(\"content\", pair_sep=\"&\", kv_sep=\"=\", prefix=\"\", suffix=\"\", mode=\"overwrite\")\r\n# åˆ é™¤contentå\u00ad—段\r\nf_drop(\"content\")"
      source_topic_id = "b881e3cd-3c45-42e7-966f-fe98xxxxxx"
      target_resources {
        alias    = "test-dst12"
        region   = "cn-shanghai"
        topic_id = "7ded0540-a2e6-48ea-9667-e0xxxxxx"
      }
      target_resources {
        alias    = "test-dst13"
        region   = "cn-beijing"
        topic_id = "c7474a2b-60bf-4d1d-bb5e-664xxxxxx"
      }
      task_type = "Resident"
      to_time   = 1780475069
    }
    

    Create Etl Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Etl(name: string, args: EtlArgs, opts?: CustomResourceOptions);
    @overload
    def Etl(resource_name: str,
            args: EtlArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Etl(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            dsl_type: Optional[str] = None,
            enable: Optional[bool] = None,
            name: Optional[str] = None,
            script: Optional[str] = None,
            source_topic_id: Optional[str] = None,
            target_resources: Optional[Sequence[EtlTargetResourceArgs]] = None,
            task_type: Optional[str] = None,
            description: Optional[str] = None,
            from_time: Optional[int] = None,
            to_time: Optional[int] = None)
    func NewEtl(ctx *Context, name string, args EtlArgs, opts ...ResourceOption) (*Etl, error)
    public Etl(string name, EtlArgs args, CustomResourceOptions? opts = null)
    public Etl(String name, EtlArgs args)
    public Etl(String name, EtlArgs args, CustomResourceOptions options)
    
    type: bytepluscc:tls:Etl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_tls_etl" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EtlArgs
    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 EtlArgs
    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 EtlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EtlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EtlArgs
    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 etlResource = new Bytepluscc.Tls.Etl("etlResource", new()
    {
        DslType = "string",
        Enable = false,
        Name = "string",
        Script = "string",
        SourceTopicId = "string",
        TargetResources = new[]
        {
            new Bytepluscc.Tls.Inputs.EtlTargetResourceArgs
            {
                Alias = "string",
                Region = "string",
                TopicId = "string",
                RoleTrn = "string",
            },
        },
        TaskType = "string",
        Description = "string",
        FromTime = 0,
        ToTime = 0,
    });
    
    example, err := tls.NewEtl(ctx, "etlResource", &tls.EtlArgs{
    	DslType:       pulumi.String("string"),
    	Enable:        pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Script:        pulumi.String("string"),
    	SourceTopicId: pulumi.String("string"),
    	TargetResources: tls.EtlTargetResourceArray{
    		&tls.EtlTargetResourceArgs{
    			Alias:   pulumi.String("string"),
    			Region:  pulumi.String("string"),
    			TopicId: pulumi.String("string"),
    			RoleTrn: pulumi.String("string"),
    		},
    	},
    	TaskType:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	FromTime:    pulumi.Int(0),
    	ToTime:      pulumi.Int(0),
    })
    
    resource "bytepluscc_tls_etl" "etlResource" {
      lifecycle {
        create_before_destroy = true
      }
      dsl_type        = "string"
      enable          = false
      name            = "string"
      script          = "string"
      source_topic_id = "string"
      target_resources {
        alias    = "string"
        region   = "string"
        topic_id = "string"
        role_trn = "string"
      }
      task_type   = "string"
      description = "string"
      from_time   = 0
      to_time     = 0
    }
    
    var etlResource = new Etl("etlResource", EtlArgs.builder()
        .dslType("string")
        .enable(false)
        .name("string")
        .script("string")
        .sourceTopicId("string")
        .targetResources(EtlTargetResourceArgs.builder()
            .alias("string")
            .region("string")
            .topicId("string")
            .roleTrn("string")
            .build())
        .taskType("string")
        .description("string")
        .fromTime(0)
        .toTime(0)
        .build());
    
    etl_resource = bytepluscc.tls.Etl("etlResource",
        dsl_type="string",
        enable=False,
        name="string",
        script="string",
        source_topic_id="string",
        target_resources=[{
            "alias": "string",
            "region": "string",
            "topic_id": "string",
            "role_trn": "string",
        }],
        task_type="string",
        description="string",
        from_time=0,
        to_time=0)
    
    const etlResource = new bytepluscc.tls.Etl("etlResource", {
        dslType: "string",
        enable: false,
        name: "string",
        script: "string",
        sourceTopicId: "string",
        targetResources: [{
            alias: "string",
            region: "string",
            topicId: "string",
            roleTrn: "string",
        }],
        taskType: "string",
        description: "string",
        fromTime: 0,
        toTime: 0,
    });
    
    type: bytepluscc:tls:Etl
    properties:
        description: string
        dslType: string
        enable: false
        fromTime: 0
        name: string
        script: string
        sourceTopicId: string
        targetResources:
            - alias: string
              region: string
              roleTrn: string
              topicId: string
        taskType: string
        toTime: 0
    

    Etl 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 Etl resource accepts the following input properties:

    DslType string
    Syntax type of the processing rule. Fixed as NORMAL
    Enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    Name string
    Data processing task name
    Script string
    Processing rule script used by the data processing task
    SourceTopicId string
    Source log topic ID of the data processing task
    TargetResources List<Byteplus.EtlTargetResource>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    TaskType string
    Type of the data processing task. Fixed as Resident
    Description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    FromTime int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    ToTime int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    DslType string
    Syntax type of the processing rule. Fixed as NORMAL
    Enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    Name string
    Data processing task name
    Script string
    Processing rule script used by the data processing task
    SourceTopicId string
    Source log topic ID of the data processing task
    TargetResources []EtlTargetResourceArgs
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    TaskType string
    Type of the data processing task. Fixed as Resident
    Description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    FromTime int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    ToTime int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    dsl_type string
    Syntax type of the processing rule. Fixed as NORMAL
    enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    name string
    Data processing task name
    script string
    Processing rule script used by the data processing task
    source_topic_id string
    Source log topic ID of the data processing task
    target_resources list(object)
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    task_type string
    Type of the data processing task. Fixed as Resident
    description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    from_time number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    to_time number
    The processing end time of the data processing task, in seconds as a Unix timestamp
    dslType String
    Syntax type of the processing rule. Fixed as NORMAL
    enable Boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    name String
    Data processing task name
    script String
    Processing rule script used by the data processing task
    sourceTopicId String
    Source log topic ID of the data processing task
    targetResources List<EtlTargetResource>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskType String
    Type of the data processing task. Fixed as Resident
    description String
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    fromTime Integer
    The processing start time of the data processing task, in seconds as a Unix timestamp
    toTime Integer
    The processing end time of the data processing task, in seconds as a Unix timestamp
    dslType string
    Syntax type of the processing rule. Fixed as NORMAL
    enable boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    name string
    Data processing task name
    script string
    Processing rule script used by the data processing task
    sourceTopicId string
    Source log topic ID of the data processing task
    targetResources EtlTargetResource[]
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskType string
    Type of the data processing task. Fixed as Resident
    description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    fromTime number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    toTime number
    The processing end time of the data processing task, in seconds as a Unix timestamp
    dsl_type str
    Syntax type of the processing rule. Fixed as NORMAL
    enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    name str
    Data processing task name
    script str
    Processing rule script used by the data processing task
    source_topic_id str
    Source log topic ID of the data processing task
    target_resources Sequence[EtlTargetResourceArgs]
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    task_type str
    Type of the data processing task. Fixed as Resident
    description str
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    from_time int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    to_time int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    dslType String
    Syntax type of the processing rule. Fixed as NORMAL
    enable Boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    name String
    Data processing task name
    script String
    Processing rule script used by the data processing task
    sourceTopicId String
    Source log topic ID of the data processing task
    targetResources List<Property Map>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskType String
    Type of the data processing task. Fixed as Resident
    description String
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    fromTime Number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    toTime Number
    The processing end time of the data processing task, in seconds as a Unix timestamp

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Etl resource produces the following output properties:

    CreateTime string
    Creation time of the data processing task
    EtlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEnableTime string
    The most recent activation time of the data processing task
    ModifyTime string
    Modification time of the data processing task
    ProjectId string
    Log project ID to which the data processing task belongs
    ProjectName string
    Log project name to which the data processing task belongs
    SourceTopicName string
    Source log topic name of the data processing task
    TaskId string
    Data processing task ID
    CreateTime string
    Creation time of the data processing task
    EtlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEnableTime string
    The most recent activation time of the data processing task
    ModifyTime string
    Modification time of the data processing task
    ProjectId string
    Log project ID to which the data processing task belongs
    ProjectName string
    Log project name to which the data processing task belongs
    SourceTopicName string
    Source log topic name of the data processing task
    TaskId string
    Data processing task ID
    create_time string
    Creation time of the data processing task
    etl_status string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    id string
    The provider-assigned unique ID for this managed resource.
    last_enable_time string
    The most recent activation time of the data processing task
    modify_time string
    Modification time of the data processing task
    project_id string
    Log project ID to which the data processing task belongs
    project_name string
    Log project name to which the data processing task belongs
    source_topic_name string
    Source log topic name of the data processing task
    task_id string
    Data processing task ID
    createTime String
    Creation time of the data processing task
    etlStatus String
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    id String
    The provider-assigned unique ID for this managed resource.
    lastEnableTime String
    The most recent activation time of the data processing task
    modifyTime String
    Modification time of the data processing task
    projectId String
    Log project ID to which the data processing task belongs
    projectName String
    Log project name to which the data processing task belongs
    sourceTopicName String
    Source log topic name of the data processing task
    taskId String
    Data processing task ID
    createTime string
    Creation time of the data processing task
    etlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    id string
    The provider-assigned unique ID for this managed resource.
    lastEnableTime string
    The most recent activation time of the data processing task
    modifyTime string
    Modification time of the data processing task
    projectId string
    Log project ID to which the data processing task belongs
    projectName string
    Log project name to which the data processing task belongs
    sourceTopicName string
    Source log topic name of the data processing task
    taskId string
    Data processing task ID
    create_time str
    Creation time of the data processing task
    etl_status str
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    id str
    The provider-assigned unique ID for this managed resource.
    last_enable_time str
    The most recent activation time of the data processing task
    modify_time str
    Modification time of the data processing task
    project_id str
    Log project ID to which the data processing task belongs
    project_name str
    Log project name to which the data processing task belongs
    source_topic_name str
    Source log topic name of the data processing task
    task_id str
    Data processing task ID
    createTime String
    Creation time of the data processing task
    etlStatus String
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    id String
    The provider-assigned unique ID for this managed resource.
    lastEnableTime String
    The most recent activation time of the data processing task
    modifyTime String
    Modification time of the data processing task
    projectId String
    Log project ID to which the data processing task belongs
    projectName String
    Log project name to which the data processing task belongs
    sourceTopicName String
    Source log topic name of the data processing task
    taskId String
    Data processing task ID

    Look up Existing Etl Resource

    Get an existing Etl 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?: EtlState, opts?: CustomResourceOptions): Etl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            dsl_type: Optional[str] = None,
            enable: Optional[bool] = None,
            etl_status: Optional[str] = None,
            from_time: Optional[int] = None,
            last_enable_time: Optional[str] = None,
            modify_time: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            project_name: Optional[str] = None,
            script: Optional[str] = None,
            source_topic_id: Optional[str] = None,
            source_topic_name: Optional[str] = None,
            target_resources: Optional[Sequence[EtlTargetResourceArgs]] = None,
            task_id: Optional[str] = None,
            task_type: Optional[str] = None,
            to_time: Optional[int] = None) -> Etl
    func GetEtl(ctx *Context, name string, id IDInput, state *EtlState, opts ...ResourceOption) (*Etl, error)
    public static Etl Get(string name, Input<string> id, EtlState? state, CustomResourceOptions? opts = null)
    public static Etl get(String name, Output<String> id, EtlState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:tls:Etl    get:      id: ${id}
    import {
      to = bytepluscc_tls_etl.example
      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:
    CreateTime string
    Creation time of the data processing task
    Description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    DslType string
    Syntax type of the processing rule. Fixed as NORMAL
    Enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    EtlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    FromTime int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    LastEnableTime string
    The most recent activation time of the data processing task
    ModifyTime string
    Modification time of the data processing task
    Name string
    Data processing task name
    ProjectId string
    Log project ID to which the data processing task belongs
    ProjectName string
    Log project name to which the data processing task belongs
    Script string
    Processing rule script used by the data processing task
    SourceTopicId string
    Source log topic ID of the data processing task
    SourceTopicName string
    Source log topic name of the data processing task
    TargetResources List<Byteplus.EtlTargetResource>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    TaskId string
    Data processing task ID
    TaskType string
    Type of the data processing task. Fixed as Resident
    ToTime int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    CreateTime string
    Creation time of the data processing task
    Description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    DslType string
    Syntax type of the processing rule. Fixed as NORMAL
    Enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    EtlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    FromTime int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    LastEnableTime string
    The most recent activation time of the data processing task
    ModifyTime string
    Modification time of the data processing task
    Name string
    Data processing task name
    ProjectId string
    Log project ID to which the data processing task belongs
    ProjectName string
    Log project name to which the data processing task belongs
    Script string
    Processing rule script used by the data processing task
    SourceTopicId string
    Source log topic ID of the data processing task
    SourceTopicName string
    Source log topic name of the data processing task
    TargetResources []EtlTargetResourceArgs
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    TaskId string
    Data processing task ID
    TaskType string
    Type of the data processing task. Fixed as Resident
    ToTime int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    create_time string
    Creation time of the data processing task
    description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    dsl_type string
    Syntax type of the processing rule. Fixed as NORMAL
    enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    etl_status string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    from_time number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    last_enable_time string
    The most recent activation time of the data processing task
    modify_time string
    Modification time of the data processing task
    name string
    Data processing task name
    project_id string
    Log project ID to which the data processing task belongs
    project_name string
    Log project name to which the data processing task belongs
    script string
    Processing rule script used by the data processing task
    source_topic_id string
    Source log topic ID of the data processing task
    source_topic_name string
    Source log topic name of the data processing task
    target_resources list(object)
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    task_id string
    Data processing task ID
    task_type string
    Type of the data processing task. Fixed as Resident
    to_time number
    The processing end time of the data processing task, in seconds as a Unix timestamp
    createTime String
    Creation time of the data processing task
    description String
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    dslType String
    Syntax type of the processing rule. Fixed as NORMAL
    enable Boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    etlStatus String
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    fromTime Integer
    The processing start time of the data processing task, in seconds as a Unix timestamp
    lastEnableTime String
    The most recent activation time of the data processing task
    modifyTime String
    Modification time of the data processing task
    name String
    Data processing task name
    projectId String
    Log project ID to which the data processing task belongs
    projectName String
    Log project name to which the data processing task belongs
    script String
    Processing rule script used by the data processing task
    sourceTopicId String
    Source log topic ID of the data processing task
    sourceTopicName String
    Source log topic name of the data processing task
    targetResources List<EtlTargetResource>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskId String
    Data processing task ID
    taskType String
    Type of the data processing task. Fixed as Resident
    toTime Integer
    The processing end time of the data processing task, in seconds as a Unix timestamp
    createTime string
    Creation time of the data processing task
    description string
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    dslType string
    Syntax type of the processing rule. Fixed as NORMAL
    enable boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    etlStatus string
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    fromTime number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    lastEnableTime string
    The most recent activation time of the data processing task
    modifyTime string
    Modification time of the data processing task
    name string
    Data processing task name
    projectId string
    Log project ID to which the data processing task belongs
    projectName string
    Log project name to which the data processing task belongs
    script string
    Processing rule script used by the data processing task
    sourceTopicId string
    Source log topic ID of the data processing task
    sourceTopicName string
    Source log topic name of the data processing task
    targetResources EtlTargetResource[]
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskId string
    Data processing task ID
    taskType string
    Type of the data processing task. Fixed as Resident
    toTime number
    The processing end time of the data processing task, in seconds as a Unix timestamp
    create_time str
    Creation time of the data processing task
    description str
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    dsl_type str
    Syntax type of the processing rule. Fixed as NORMAL
    enable bool
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    etl_status str
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    from_time int
    The processing start time of the data processing task, in seconds as a Unix timestamp
    last_enable_time str
    The most recent activation time of the data processing task
    modify_time str
    Modification time of the data processing task
    name str
    Data processing task name
    project_id str
    Log project ID to which the data processing task belongs
    project_name str
    Log project name to which the data processing task belongs
    script str
    Processing rule script used by the data processing task
    source_topic_id str
    Source log topic ID of the data processing task
    source_topic_name str
    Source log topic name of the data processing task
    target_resources Sequence[EtlTargetResourceArgs]
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    task_id str
    Data processing task ID
    task_type str
    Type of the data processing task. Fixed as Resident
    to_time int
    The processing end time of the data processing task, in seconds as a Unix timestamp
    createTime String
    Creation time of the data processing task
    description String
    Brief description of the data processing task. Does not support <>, ', , or . Length: 0–64 characters
    dslType String
    Syntax type of the processing rule. Fixed as NORMAL
    enable Boolean
    Whether the data processing task is enabled. true: Enabled. false: Disabled
    etlStatus String
    Task scheduling status. WAITING: Preparing. RUNNING: Running. STOPPING: Stopping. STOPPED: Stopped. RESTARTING: Restarting
    fromTime Number
    The processing start time of the data processing task, in seconds as a Unix timestamp
    lastEnableTime String
    The most recent activation time of the data processing task
    modifyTime String
    Modification time of the data processing task
    name String
    Data processing task name
    projectId String
    Log project ID to which the data processing task belongs
    projectName String
    Log project name to which the data processing task belongs
    script String
    Processing rule script used by the data processing task
    sourceTopicId String
    Source log topic ID of the data processing task
    sourceTopicName String
    Source log topic name of the data processing task
    targetResources List<Property Map>
    Information about the output target Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    taskId String
    Data processing task ID
    taskType String
    Type of the data processing task. Fixed as Resident
    toTime Number
    The processing end time of the data processing task, in seconds as a Unix timestamp

    Supporting Types

    EtlTargetResource, EtlTargetResourceArgs

    Alias string
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    Region string
    Region of the log topic for storing processed logs
    TopicId string
    Log topic ID for storing processed logs
    RoleTrn string
    Cross-account authorization role name
    Alias string
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    Region string
    Region of the log topic for storing processed logs
    TopicId string
    Log topic ID for storing processed logs
    RoleTrn string
    Cross-account authorization role name
    alias string
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    region string
    Region of the log topic for storing processed logs
    topic_id string
    Log topic ID for storing processed logs
    role_trn string
    Cross-account authorization role name
    alias String
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    region String
    Region of the log topic for storing processed logs
    topicId String
    Log topic ID for storing processed logs
    roleTrn String
    Cross-account authorization role name
    alias string
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    region string
    Region of the log topic for storing processed logs
    topicId string
    Log topic ID for storing processed logs
    roleTrn string
    Cross-account authorization role name
    alias str
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    region str
    Region of the log topic for storing processed logs
    topic_id str
    Log topic ID for storing processed logs
    role_trn str
    Cross-account authorization role name
    alias String
    Name of the custom output target. You must use this name to refer to the output target in the data processing rules
    region String
    Region of the log topic for storing processed logs
    topicId String
    Log topic ID for storing processed logs
    roleTrn String
    Cross-account authorization role name

    Import

    $ pulumi import bytepluscc:tls/etl:Etl example "task_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.42
    published on Monday, Jul 20, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial