1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. EbEventTransform
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.EbEventTransform

Explore with Pulumi AI

Provides a resource to create a eb eb_transform

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const fooEbEventBus = new tencentcloud.EbEventBus("fooEbEventBus", {
    eventBusName: "tf-event_bus",
    description: "event bus desc",
    enableStore: false,
    saveDays: 1,
    tags: {
        createdBy: "terraform",
    },
});
const fooEbEventRule = new tencentcloud.EbEventRule("fooEbEventRule", {
    eventBusId: fooEbEventBus.ebEventBusId,
    ruleName: "tf-event_rule",
    description: "event rule desc",
    enable: true,
    eventPattern: JSON.stringify({
        source: "apigw.cloud.tencent",
        type: ["connector:apigw"],
    }),
    tags: {
        createdBy: "terraform",
    },
});
const fooEbEventTransform = new tencentcloud.EbEventTransform("fooEbEventTransform", {
    eventBusId: fooEbEventBus.ebEventBusId,
    ruleId: fooEbEventRule.ruleId,
    transformations: [{
        extraction: {
            extractionInputPath: "$",
            format: "JSON",
        },
        transform: {
            outputStructs: [
                {
                    key: "type",
                    value: "connector:ckafka",
                    valueType: "STRING",
                },
                {
                    key: "source",
                    value: "ckafka.cloud.tencent",
                    valueType: "STRING",
                },
                {
                    key: "region",
                    value: "ap-guangzhou",
                    valueType: "STRING",
                },
                {
                    key: "datacontenttype",
                    value: "application/json;charset=utf-8",
                    valueType: "STRING",
                },
                {
                    key: "status",
                    value: "-",
                    valueType: "STRING",
                },
                {
                    key: "data",
                    value: JSON.stringify({
                        Partition: 1,
                        msgBody: "Hello from Ckafka again!",
                        msgKey: "test",
                        offset: 37,
                        topic: "test-topic",
                    }),
                    valueType: "STRING",
                },
            ],
        },
    }],
});
Copy
import pulumi
import json
import pulumi_tencentcloud as tencentcloud

foo_eb_event_bus = tencentcloud.EbEventBus("fooEbEventBus",
    event_bus_name="tf-event_bus",
    description="event bus desc",
    enable_store=False,
    save_days=1,
    tags={
        "createdBy": "terraform",
    })
foo_eb_event_rule = tencentcloud.EbEventRule("fooEbEventRule",
    event_bus_id=foo_eb_event_bus.eb_event_bus_id,
    rule_name="tf-event_rule",
    description="event rule desc",
    enable=True,
    event_pattern=json.dumps({
        "source": "apigw.cloud.tencent",
        "type": ["connector:apigw"],
    }),
    tags={
        "createdBy": "terraform",
    })
foo_eb_event_transform = tencentcloud.EbEventTransform("fooEbEventTransform",
    event_bus_id=foo_eb_event_bus.eb_event_bus_id,
    rule_id=foo_eb_event_rule.rule_id,
    transformations=[{
        "extraction": {
            "extraction_input_path": "$",
            "format": "JSON",
        },
        "transform": {
            "output_structs": [
                {
                    "key": "type",
                    "value": "connector:ckafka",
                    "value_type": "STRING",
                },
                {
                    "key": "source",
                    "value": "ckafka.cloud.tencent",
                    "value_type": "STRING",
                },
                {
                    "key": "region",
                    "value": "ap-guangzhou",
                    "value_type": "STRING",
                },
                {
                    "key": "datacontenttype",
                    "value": "application/json;charset=utf-8",
                    "value_type": "STRING",
                },
                {
                    "key": "status",
                    "value": "-",
                    "value_type": "STRING",
                },
                {
                    "key": "data",
                    "value": json.dumps({
                        "Partition": 1,
                        "msgBody": "Hello from Ckafka again!",
                        "msgKey": "test",
                        "offset": 37,
                        "topic": "test-topic",
                    }),
                    "value_type": "STRING",
                },
            ],
        },
    }])
Copy
package main

import (
	"encoding/json"

	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooEbEventBus, err := tencentcloud.NewEbEventBus(ctx, "fooEbEventBus", &tencentcloud.EbEventBusArgs{
			EventBusName: pulumi.String("tf-event_bus"),
			Description:  pulumi.String("event bus desc"),
			EnableStore:  pulumi.Bool(false),
			SaveDays:     pulumi.Float64(1),
			Tags: pulumi.StringMap{
				"createdBy": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"source": "apigw.cloud.tencent",
			"type": []string{
				"connector:apigw",
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		fooEbEventRule, err := tencentcloud.NewEbEventRule(ctx, "fooEbEventRule", &tencentcloud.EbEventRuleArgs{
			EventBusId:   fooEbEventBus.EbEventBusId,
			RuleName:     pulumi.String("tf-event_rule"),
			Description:  pulumi.String("event rule desc"),
			Enable:       pulumi.Bool(true),
			EventPattern: pulumi.String(json0),
			Tags: pulumi.StringMap{
				"createdBy": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"Partition": 1,
			"msgBody":   "Hello from Ckafka again!",
			"msgKey":    "test",
			"offset":    37,
			"topic":     "test-topic",
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		_, err = tencentcloud.NewEbEventTransform(ctx, "fooEbEventTransform", &tencentcloud.EbEventTransformArgs{
			EventBusId: fooEbEventBus.EbEventBusId,
			RuleId:     fooEbEventRule.RuleId,
			Transformations: tencentcloud.EbEventTransformTransformationArray{
				&tencentcloud.EbEventTransformTransformationArgs{
					Extraction: &tencentcloud.EbEventTransformTransformationExtractionArgs{
						ExtractionInputPath: pulumi.String("$"),
						Format:              pulumi.String("JSON"),
					},
					Transform: &tencentcloud.EbEventTransformTransformationTransformArgs{
						OutputStructs: tencentcloud.EbEventTransformTransformationTransformOutputStructArray{
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("type"),
								Value:     pulumi.String("connector:ckafka"),
								ValueType: pulumi.String("STRING"),
							},
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("source"),
								Value:     pulumi.String("ckafka.cloud.tencent"),
								ValueType: pulumi.String("STRING"),
							},
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("region"),
								Value:     pulumi.String("ap-guangzhou"),
								ValueType: pulumi.String("STRING"),
							},
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("datacontenttype"),
								Value:     pulumi.String("application/json;charset=utf-8"),
								ValueType: pulumi.String("STRING"),
							},
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("status"),
								Value:     pulumi.String("-"),
								ValueType: pulumi.String("STRING"),
							},
							&tencentcloud.EbEventTransformTransformationTransformOutputStructArgs{
								Key:       pulumi.String("data"),
								Value:     pulumi.String(json1),
								ValueType: pulumi.String("STRING"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var fooEbEventBus = new Tencentcloud.EbEventBus("fooEbEventBus", new()
    {
        EventBusName = "tf-event_bus",
        Description = "event bus desc",
        EnableStore = false,
        SaveDays = 1,
        Tags = 
        {
            { "createdBy", "terraform" },
        },
    });

    var fooEbEventRule = new Tencentcloud.EbEventRule("fooEbEventRule", new()
    {
        EventBusId = fooEbEventBus.EbEventBusId,
        RuleName = "tf-event_rule",
        Description = "event rule desc",
        Enable = true,
        EventPattern = JsonSerializer.Serialize(new Dictionary<string, object?>
        {
            ["source"] = "apigw.cloud.tencent",
            ["type"] = new[]
            {
                "connector:apigw",
            },
        }),
        Tags = 
        {
            { "createdBy", "terraform" },
        },
    });

    var fooEbEventTransform = new Tencentcloud.EbEventTransform("fooEbEventTransform", new()
    {
        EventBusId = fooEbEventBus.EbEventBusId,
        RuleId = fooEbEventRule.RuleId,
        Transformations = new[]
        {
            new Tencentcloud.Inputs.EbEventTransformTransformationArgs
            {
                Extraction = new Tencentcloud.Inputs.EbEventTransformTransformationExtractionArgs
                {
                    ExtractionInputPath = "$",
                    Format = "JSON",
                },
                Transform = new Tencentcloud.Inputs.EbEventTransformTransformationTransformArgs
                {
                    OutputStructs = new[]
                    {
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "type",
                            Value = "connector:ckafka",
                            ValueType = "STRING",
                        },
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "source",
                            Value = "ckafka.cloud.tencent",
                            ValueType = "STRING",
                        },
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "region",
                            Value = "ap-guangzhou",
                            ValueType = "STRING",
                        },
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "datacontenttype",
                            Value = "application/json;charset=utf-8",
                            ValueType = "STRING",
                        },
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "status",
                            Value = "-",
                            ValueType = "STRING",
                        },
                        new Tencentcloud.Inputs.EbEventTransformTransformationTransformOutputStructArgs
                        {
                            Key = "data",
                            Value = JsonSerializer.Serialize(new Dictionary<string, object?>
                            {
                                ["Partition"] = 1,
                                ["msgBody"] = "Hello from Ckafka again!",
                                ["msgKey"] = "test",
                                ["offset"] = 37,
                                ["topic"] = "test-topic",
                            }),
                            ValueType = "STRING",
                        },
                    },
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.EbEventBus;
import com.pulumi.tencentcloud.EbEventBusArgs;
import com.pulumi.tencentcloud.EbEventRule;
import com.pulumi.tencentcloud.EbEventRuleArgs;
import com.pulumi.tencentcloud.EbEventTransform;
import com.pulumi.tencentcloud.EbEventTransformArgs;
import com.pulumi.tencentcloud.inputs.EbEventTransformTransformationArgs;
import com.pulumi.tencentcloud.inputs.EbEventTransformTransformationExtractionArgs;
import com.pulumi.tencentcloud.inputs.EbEventTransformTransformationTransformArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 fooEbEventBus = new EbEventBus("fooEbEventBus", EbEventBusArgs.builder()
            .eventBusName("tf-event_bus")
            .description("event bus desc")
            .enableStore(false)
            .saveDays(1)
            .tags(Map.of("createdBy", "terraform"))
            .build());

        var fooEbEventRule = new EbEventRule("fooEbEventRule", EbEventRuleArgs.builder()
            .eventBusId(fooEbEventBus.ebEventBusId())
            .ruleName("tf-event_rule")
            .description("event rule desc")
            .enable(true)
            .eventPattern(serializeJson(
                jsonObject(
                    jsonProperty("source", "apigw.cloud.tencent"),
                    jsonProperty("type", jsonArray("connector:apigw"))
                )))
            .tags(Map.of("createdBy", "terraform"))
            .build());

        var fooEbEventTransform = new EbEventTransform("fooEbEventTransform", EbEventTransformArgs.builder()
            .eventBusId(fooEbEventBus.ebEventBusId())
            .ruleId(fooEbEventRule.ruleId())
            .transformations(EbEventTransformTransformationArgs.builder()
                .extraction(EbEventTransformTransformationExtractionArgs.builder()
                    .extractionInputPath("$")
                    .format("JSON")
                    .build())
                .transform(EbEventTransformTransformationTransformArgs.builder()
                    .outputStructs(                    
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("type")
                            .value("connector:ckafka")
                            .valueType("STRING")
                            .build(),
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("source")
                            .value("ckafka.cloud.tencent")
                            .valueType("STRING")
                            .build(),
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("region")
                            .value("ap-guangzhou")
                            .valueType("STRING")
                            .build(),
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("datacontenttype")
                            .value("application/json;charset=utf-8")
                            .valueType("STRING")
                            .build(),
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("status")
                            .value("-")
                            .valueType("STRING")
                            .build(),
                        EbEventTransformTransformationTransformOutputStructArgs.builder()
                            .key("data")
                            .value(serializeJson(
                                jsonObject(
                                    jsonProperty("Partition", 1),
                                    jsonProperty("msgBody", "Hello from Ckafka again!"),
                                    jsonProperty("msgKey", "test"),
                                    jsonProperty("offset", 37),
                                    jsonProperty("topic", "test-topic")
                                )))
                            .valueType("STRING")
                            .build())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  fooEbEventBus:
    type: tencentcloud:EbEventBus
    properties:
      eventBusName: tf-event_bus
      description: event bus desc
      enableStore: false
      saveDays: 1
      tags:
        createdBy: terraform
  fooEbEventRule:
    type: tencentcloud:EbEventRule
    properties:
      eventBusId: ${fooEbEventBus.ebEventBusId}
      ruleName: tf-event_rule
      description: event rule desc
      enable: true
      eventPattern:
        fn::toJSON:
          source: apigw.cloud.tencent
          type:
            - connector:apigw
      tags:
        createdBy: terraform
  fooEbEventTransform:
    type: tencentcloud:EbEventTransform
    properties:
      eventBusId: ${fooEbEventBus.ebEventBusId}
      ruleId: ${fooEbEventRule.ruleId}
      transformations:
        - extraction:
            extractionInputPath: $
            format: JSON
          transform:
            outputStructs:
              - key: type
                value: connector:ckafka
                valueType: STRING
              - key: source
                value: ckafka.cloud.tencent
                valueType: STRING
              - key: region
                value: ap-guangzhou
                valueType: STRING
              - key: datacontenttype
                value: application/json;charset=utf-8
                valueType: STRING
              - key: status
                value: '-'
                valueType: STRING
              - key: data
                value:
                  fn::toJSON:
                    Partition: 1
                    msgBody: Hello from Ckafka again!
                    msgKey: test
                    offset: 37
                    topic: test-topic
                valueType: STRING
Copy

Create EbEventTransform Resource

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

Constructor syntax

new EbEventTransform(name: string, args: EbEventTransformArgs, opts?: CustomResourceOptions);
@overload
def EbEventTransform(resource_name: str,
                     args: EbEventTransformArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def EbEventTransform(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     event_bus_id: Optional[str] = None,
                     rule_id: Optional[str] = None,
                     transformations: Optional[Sequence[EbEventTransformTransformationArgs]] = None,
                     eb_event_transform_id: Optional[str] = None)
func NewEbEventTransform(ctx *Context, name string, args EbEventTransformArgs, opts ...ResourceOption) (*EbEventTransform, error)
public EbEventTransform(string name, EbEventTransformArgs args, CustomResourceOptions? opts = null)
public EbEventTransform(String name, EbEventTransformArgs args)
public EbEventTransform(String name, EbEventTransformArgs args, CustomResourceOptions options)
type: tencentcloud:EbEventTransform
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EbEventTransformArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EbEventTransformArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EbEventTransformArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EbEventTransformArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EbEventTransformArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

EventBusId This property is required. string
event bus Id.
RuleId This property is required. string
ruleId.
Transformations This property is required. List<EbEventTransformTransformation>
A list of transformation rules, currently only one.
EbEventTransformId string
ID of the resource.
EventBusId This property is required. string
event bus Id.
RuleId This property is required. string
ruleId.
Transformations This property is required. []EbEventTransformTransformationArgs
A list of transformation rules, currently only one.
EbEventTransformId string
ID of the resource.
eventBusId This property is required. String
event bus Id.
ruleId This property is required. String
ruleId.
transformations This property is required. List<EbEventTransformTransformation>
A list of transformation rules, currently only one.
ebEventTransformId String
ID of the resource.
eventBusId This property is required. string
event bus Id.
ruleId This property is required. string
ruleId.
transformations This property is required. EbEventTransformTransformation[]
A list of transformation rules, currently only one.
ebEventTransformId string
ID of the resource.
event_bus_id This property is required. str
event bus Id.
rule_id This property is required. str
ruleId.
transformations This property is required. Sequence[EbEventTransformTransformationArgs]
A list of transformation rules, currently only one.
eb_event_transform_id str
ID of the resource.
eventBusId This property is required. String
event bus Id.
ruleId This property is required. String
ruleId.
transformations This property is required. List<Property Map>
A list of transformation rules, currently only one.
ebEventTransformId String
ID of the resource.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing EbEventTransform Resource

Get an existing EbEventTransform 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?: EbEventTransformState, opts?: CustomResourceOptions): EbEventTransform
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        eb_event_transform_id: Optional[str] = None,
        event_bus_id: Optional[str] = None,
        rule_id: Optional[str] = None,
        transformations: Optional[Sequence[EbEventTransformTransformationArgs]] = None) -> EbEventTransform
func GetEbEventTransform(ctx *Context, name string, id IDInput, state *EbEventTransformState, opts ...ResourceOption) (*EbEventTransform, error)
public static EbEventTransform Get(string name, Input<string> id, EbEventTransformState? state, CustomResourceOptions? opts = null)
public static EbEventTransform get(String name, Output<String> id, EbEventTransformState state, CustomResourceOptions options)
resources:  _:    type: tencentcloud:EbEventTransform    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
EbEventTransformId string
ID of the resource.
EventBusId string
event bus Id.
RuleId string
ruleId.
Transformations List<EbEventTransformTransformation>
A list of transformation rules, currently only one.
EbEventTransformId string
ID of the resource.
EventBusId string
event bus Id.
RuleId string
ruleId.
Transformations []EbEventTransformTransformationArgs
A list of transformation rules, currently only one.
ebEventTransformId String
ID of the resource.
eventBusId String
event bus Id.
ruleId String
ruleId.
transformations List<EbEventTransformTransformation>
A list of transformation rules, currently only one.
ebEventTransformId string
ID of the resource.
eventBusId string
event bus Id.
ruleId string
ruleId.
transformations EbEventTransformTransformation[]
A list of transformation rules, currently only one.
eb_event_transform_id str
ID of the resource.
event_bus_id str
event bus Id.
rule_id str
ruleId.
transformations Sequence[EbEventTransformTransformationArgs]
A list of transformation rules, currently only one.
ebEventTransformId String
ID of the resource.
eventBusId String
event bus Id.
ruleId String
ruleId.
transformations List<Property Map>
A list of transformation rules, currently only one.

Supporting Types

EbEventTransformTransformation
, EbEventTransformTransformationArgs

etlFilter Property Map
Describe how to filter data.
extraction Property Map
Describe how to extract data.
transform Property Map
Describe how to convert data.

EbEventTransformTransformationEtlFilter
, EbEventTransformTransformationEtlFilterArgs

Filter This property is required. string
Grammatical Rules are consistent.
Filter This property is required. string
Grammatical Rules are consistent.
filter This property is required. String
Grammatical Rules are consistent.
filter This property is required. string
Grammatical Rules are consistent.
filter This property is required. str
Grammatical Rules are consistent.
filter This property is required. String
Grammatical Rules are consistent.

EbEventTransformTransformationExtraction
, EbEventTransformTransformationExtractionArgs

ExtractionInputPath This property is required. string
JsonPath, if not specified, the default value $.
Format This property is required. string
Value: TEXT, JSON.
TextParams EbEventTransformTransformationExtractionTextParams
Only Text needs to be passed.
ExtractionInputPath This property is required. string
JsonPath, if not specified, the default value $.
Format This property is required. string
Value: TEXT, JSON.
TextParams EbEventTransformTransformationExtractionTextParams
Only Text needs to be passed.
extractionInputPath This property is required. String
JsonPath, if not specified, the default value $.
format This property is required. String
Value: TEXT, JSON.
textParams EbEventTransformTransformationExtractionTextParams
Only Text needs to be passed.
extractionInputPath This property is required. string
JsonPath, if not specified, the default value $.
format This property is required. string
Value: TEXT, JSON.
textParams EbEventTransformTransformationExtractionTextParams
Only Text needs to be passed.
extraction_input_path This property is required. str
JsonPath, if not specified, the default value $.
format This property is required. str
Value: TEXT, JSON.
text_params EbEventTransformTransformationExtractionTextParams
Only Text needs to be passed.
extractionInputPath This property is required. String
JsonPath, if not specified, the default value $.
format This property is required. String
Value: TEXT, JSON.
textParams Property Map
Only Text needs to be passed.

EbEventTransformTransformationExtractionTextParams
, EbEventTransformTransformationExtractionTextParamsArgs

Regex string
Fill in the regular expression: length 128.
Separator string
Comma, |, tab, space, newline, %, #, the limit length is 1.
Regex string
Fill in the regular expression: length 128.
Separator string
Comma, |, tab, space, newline, %, #, the limit length is 1.
regex String
Fill in the regular expression: length 128.
separator String
Comma, |, tab, space, newline, %, #, the limit length is 1.
regex string
Fill in the regular expression: length 128.
separator string
Comma, |, tab, space, newline, %, #, the limit length is 1.
regex str
Fill in the regular expression: length 128.
separator str
Comma, |, tab, space, newline, %, #, the limit length is 1.
regex String
Fill in the regular expression: length 128.
separator String
Comma, |, tab, space, newline, %, #, the limit length is 1.

EbEventTransformTransformationTransform
, EbEventTransformTransformationTransformArgs

OutputStructs This property is required. List<EbEventTransformTransformationTransformOutputStruct>
Describe how the data is transformed.
OutputStructs This property is required. []EbEventTransformTransformationTransformOutputStruct
Describe how the data is transformed.
outputStructs This property is required. List<EbEventTransformTransformationTransformOutputStruct>
Describe how the data is transformed.
outputStructs This property is required. EbEventTransformTransformationTransformOutputStruct[]
Describe how the data is transformed.
output_structs This property is required. Sequence[EbEventTransformTransformationTransformOutputStruct]
Describe how the data is transformed.
outputStructs This property is required. List<Property Map>
Describe how the data is transformed.

EbEventTransformTransformationTransformOutputStruct
, EbEventTransformTransformationTransformOutputStructArgs

Key This property is required. string
Corresponding to the key in the output json.
Value This property is required. string
You can fill in the json-path and also support constants or built-in keyword date types.
ValueType This property is required. string
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.
Key This property is required. string
Corresponding to the key in the output json.
Value This property is required. string
You can fill in the json-path and also support constants or built-in keyword date types.
ValueType This property is required. string
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.
key This property is required. String
Corresponding to the key in the output json.
value This property is required. String
You can fill in the json-path and also support constants or built-in keyword date types.
valueType This property is required. String
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.
key This property is required. string
Corresponding to the key in the output json.
value This property is required. string
You can fill in the json-path and also support constants or built-in keyword date types.
valueType This property is required. string
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.
key This property is required. str
Corresponding to the key in the output json.
value This property is required. str
You can fill in the json-path and also support constants or built-in keyword date types.
value_type This property is required. str
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.
key This property is required. String
Corresponding to the key in the output json.
value This property is required. String
You can fill in the json-path and also support constants or built-in keyword date types.
valueType This property is required. String
The data type of value, optional values: STRING, NUMBER, BOOLEAN, NULL, SYS_VARIABLE, JSONPATH.

Import

eb eb_transform can be imported using the id, e.g.

$ pulumi import tencentcloud:index/ebEventTransform:EbEventTransform eb_transform eb_transform_id
Copy

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

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.