published on Thursday, Jul 9, 2026 by Byteplus
published on Thursday, Jul 9, 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)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" {
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:
- 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 stringId - Source log topic ID of the data processing task
- Target
Resources List<Byteplus.Etl Target Resource> - 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 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
- 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 stringId - Source log topic ID of the data processing task
- Target
Resources []EtlTarget Resource Args - 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 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
- 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_ stringid - 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
- dsl
Type 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
- source
Topic StringId - Source log topic ID of the data processing task
- target
Resources List<EtlTarget Resource> - 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 Integer - The processing start time of the data processing task, in seconds as a Unix timestamp
- to
Time Integer - 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 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
- source
Topic stringId - Source log topic ID of the data processing task
- target
Resources EtlTarget Resource[] - 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
- 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_ strid - Source log topic ID of the data processing task
- target_
resources Sequence[EtlTarget Resource Args] - 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
- dsl
Type 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
- source
Topic StringId - Source log topic ID of the data processing task
- target
Resources 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.
- 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
Outputs
All input properties are implicitly available as output properties. Additionally, the Etl resource produces the following output properties:
- 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 stringTime - 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 stringName - Source log topic name of the data processing task
- Task
Id 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 stringTime - 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 stringName - Source log topic name of the data processing task
- Task
Id 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_ stringtime - 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_ stringname - Source log topic name of the data processing task
- task_
id 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 StringTime - 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 StringName - Source log topic name of the data processing task
- task
Id 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 stringTime - 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 stringName - Source log topic name of the data processing task
- task
Id 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_ strtime - 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_ strname - Source log topic name of the data processing task
- task_
id str - 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 StringTime - 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 StringName - Source log topic name of the data processing task
- task
Id 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) -> Etlfunc 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.
- 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 int - The processing start time of the data processing task, in seconds as a Unix timestamp
- Last
Enable stringTime - 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 stringId - Source log topic ID of the data processing task
- Source
Topic stringName - Source log topic name of the data processing task
- Target
Resources List<Byteplus.Etl Target Resource> - 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 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 int - The processing start time of the data processing task, in seconds as a Unix timestamp
- Last
Enable stringTime - 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 stringId - Source log topic ID of the data processing task
- Source
Topic stringName - Source log topic name of the data processing task
- Target
Resources []EtlTarget Resource Args - 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 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_ stringtime - 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_ stringid - Source log topic ID of the data processing task
- source_
topic_ stringname - 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
- 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 Boolean
- 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 Integer - The processing start time of the data processing task, in seconds as a Unix timestamp
- last
Enable StringTime - 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 StringId - Source log topic ID of the data processing task
- source
Topic StringName - Source log topic name of the data processing task
- target
Resources List<EtlTarget Resource> - 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 Integer - 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 boolean
- 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 stringTime - 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 stringId - Source log topic ID of the data processing task
- source
Topic stringName - Source log topic name of the data processing task
- target
Resources EtlTarget Resource[] - 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
- 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_ strtime - 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_ strid - Source log topic ID of the data processing task
- source_
topic_ strname - Source log topic name of the data processing task
- target_
resources Sequence[EtlTarget Resource Args] - 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
- 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 Boolean
- 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 StringTime - 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 StringId - Source log topic ID of the data processing task
- source
Topic StringName - Source log topic name of the data processing task
- target
Resources 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.
- 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
Supporting Types
EtlTargetResource, EtlTargetResourceArgs
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
byteplusccTerraform Provider.
published on Thursday, Jul 9, 2026 by Byteplus