1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. EventGatewayProducePolicyTranscode
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong

    EventGatewayProducePolicyTranscode Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewayproducepolicytranscode = new konnect.EventGatewayProducePolicyTranscode("my_eventgatewayproducepolicytranscode", {
        condition: "record.value.content.foo.bar == \"a-value\"",
        config: {
            avro: {
                failureMode: "mark",
                onUnknownField: "fail",
                schemaSource: {
                    reference: {
                        schemaRefDestination: {
                            none: {},
                        },
                        schemaRegistry: {
                            id: "de460e59-30fd-45da-af2b-292a5823961a",
                        },
                        subject: "context.topic.name + '-value'",
                        version: "'latest'",
                    },
                },
            },
        },
        description: "",
        enabled: true,
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        name: "...my_name...",
        parentPolicyId: "1c399fc8-e15c-4021-b66e-7a228d451dd7",
        virtualClusterId: "66575524-3680-4571-8e62-88377b472727",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewayproducepolicytranscode = konnect.EventGatewayProducePolicyTranscode("my_eventgatewayproducepolicytranscode",
        condition="record.value.content.foo.bar == \"a-value\"",
        config={
            "avro": {
                "failure_mode": "mark",
                "on_unknown_field": "fail",
                "schema_source": {
                    "reference": {
                        "schema_ref_destination": {
                            "none": {},
                        },
                        "schema_registry": {
                            "id": "de460e59-30fd-45da-af2b-292a5823961a",
                        },
                        "subject": "context.topic.name + '-value'",
                        "version": "'latest'",
                    },
                },
            },
        },
        description="",
        enabled=True,
        gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels={
            "key": "value",
        },
        name="...my_name...",
        parent_policy_id="1c399fc8-e15c-4021-b66e-7a228d451dd7",
        virtual_cluster_id="66575524-3680-4571-8e62-88377b472727")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewEventGatewayProducePolicyTranscode(ctx, "my_eventgatewayproducepolicytranscode", &konnect.EventGatewayProducePolicyTranscodeArgs{
    			Condition: pulumi.String("record.value.content.foo.bar == \"a-value\""),
    			Config: &konnect.EventGatewayProducePolicyTranscodeConfigArgs{
    				Avro: &konnect.EventGatewayProducePolicyTranscodeConfigAvroArgs{
    					FailureMode:    pulumi.String("mark"),
    					OnUnknownField: pulumi.String("fail"),
    					SchemaSource: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs{
    						Reference: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs{
    							SchemaRefDestination: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs{
    								None: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs{},
    							},
    							SchemaRegistry: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs{
    								Id: pulumi.String("de460e59-30fd-45da-af2b-292a5823961a"),
    							},
    							Subject: pulumi.String("context.topic.name + '-value'"),
    							Version: pulumi.String("'latest'"),
    						},
    					},
    				},
    			},
    			Description: pulumi.String(""),
    			Enabled:     pulumi.Bool(true),
    			GatewayId:   pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			Name:             pulumi.String("...my_name..."),
    			ParentPolicyId:   pulumi.String("1c399fc8-e15c-4021-b66e-7a228d451dd7"),
    			VirtualClusterId: pulumi.String("66575524-3680-4571-8e62-88377b472727"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myEventgatewayproducepolicytranscode = new Konnect.EventGatewayProducePolicyTranscode("my_eventgatewayproducepolicytranscode", new()
        {
            Condition = "record.value.content.foo.bar == \"a-value\"",
            Config = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigArgs
            {
                Avro = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroArgs
                {
                    FailureMode = "mark",
                    OnUnknownField = "fail",
                    SchemaSource = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs
                    {
                        Reference = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs
                        {
                            SchemaRefDestination = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs
                            {
                                None = null,
                            },
                            SchemaRegistry = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs
                            {
                                Id = "de460e59-30fd-45da-af2b-292a5823961a",
                            },
                            Subject = "context.topic.name + '-value'",
                            Version = "'latest'",
                        },
                    },
                },
            },
            Description = "",
            Enabled = true,
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            Name = "...my_name...",
            ParentPolicyId = "1c399fc8-e15c-4021-b66e-7a228d451dd7",
            VirtualClusterId = "66575524-3680-4571-8e62-88377b472727",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayProducePolicyTranscode;
    import com.pulumi.konnect.EventGatewayProducePolicyTranscodeArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs;
    import com.pulumi.konnect.inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs;
    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 myEventgatewayproducepolicytranscode = new EventGatewayProducePolicyTranscode("myEventgatewayproducepolicytranscode", EventGatewayProducePolicyTranscodeArgs.builder()
                .condition("record.value.content.foo.bar == \"a-value\"")
                .config(EventGatewayProducePolicyTranscodeConfigArgs.builder()
                    .avro(EventGatewayProducePolicyTranscodeConfigAvroArgs.builder()
                        .failureMode("mark")
                        .onUnknownField("fail")
                        .schemaSource(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs.builder()
                            .reference(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs.builder()
                                .schemaRefDestination(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs.builder()
                                    .none(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs.builder()
                                        .build())
                                    .build())
                                .schemaRegistry(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs.builder()
                                    .id("de460e59-30fd-45da-af2b-292a5823961a")
                                    .build())
                                .subject("context.topic.name + '-value'")
                                .version("'latest'")
                                .build())
                            .build())
                        .build())
                    .build())
                .description("")
                .enabled(true)
                .gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .labels(Map.of("key", "value"))
                .name("...my_name...")
                .parentPolicyId("1c399fc8-e15c-4021-b66e-7a228d451dd7")
                .virtualClusterId("66575524-3680-4571-8e62-88377b472727")
                .build());
    
        }
    }
    
    resources:
      myEventgatewayproducepolicytranscode:
        type: konnect:EventGatewayProducePolicyTranscode
        name: my_eventgatewayproducepolicytranscode
        properties:
          condition: record.value.content.foo.bar == "a-value"
          config:
            avro:
              failureMode: mark
              onUnknownField: fail
              schemaSource:
                reference:
                  schemaRefDestination:
                    none: {}
                  schemaRegistry:
                    id: de460e59-30fd-45da-af2b-292a5823961a
                  subject: context.topic.name + '-value'
                  version: '''latest'''
          description: ""
          enabled: true
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          name: '...my_name...'
          parentPolicyId: 1c399fc8-e15c-4021-b66e-7a228d451dd7
          virtualClusterId: 66575524-3680-4571-8e62-88377b472727
    
    Example coming soon!
    

    Create EventGatewayProducePolicyTranscode Resource

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

    Constructor syntax

    new EventGatewayProducePolicyTranscode(name: string, args: EventGatewayProducePolicyTranscodeArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayProducePolicyTranscode(resource_name: str,
                                           args: EventGatewayProducePolicyTranscodeArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayProducePolicyTranscode(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           config: Optional[EventGatewayProducePolicyTranscodeConfigArgs] = None,
                                           gateway_id: Optional[str] = None,
                                           parent_policy_id: Optional[str] = None,
                                           virtual_cluster_id: Optional[str] = None,
                                           condition: Optional[str] = None,
                                           description: Optional[str] = None,
                                           enabled: Optional[bool] = None,
                                           labels: Optional[Mapping[str, str]] = None,
                                           name: Optional[str] = None)
    func NewEventGatewayProducePolicyTranscode(ctx *Context, name string, args EventGatewayProducePolicyTranscodeArgs, opts ...ResourceOption) (*EventGatewayProducePolicyTranscode, error)
    public EventGatewayProducePolicyTranscode(string name, EventGatewayProducePolicyTranscodeArgs args, CustomResourceOptions? opts = null)
    public EventGatewayProducePolicyTranscode(String name, EventGatewayProducePolicyTranscodeArgs args)
    public EventGatewayProducePolicyTranscode(String name, EventGatewayProducePolicyTranscodeArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayProducePolicyTranscode
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_event_gateway_produce_policy_transcode" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EventGatewayProducePolicyTranscodeArgs
    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 EventGatewayProducePolicyTranscodeArgs
    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 EventGatewayProducePolicyTranscodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayProducePolicyTranscodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayProducePolicyTranscodeArgs
    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 eventGatewayProducePolicyTranscodeResource = new Konnect.EventGatewayProducePolicyTranscode("eventGatewayProducePolicyTranscodeResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigArgs
        {
            Avro = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroArgs
            {
                FailureMode = "string",
                SchemaSource = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs
                {
                    Inline = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInlineArgs
                    {
                        Inline = "string",
                    },
                    Reference = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs
                    {
                        SchemaRefDestination = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs
                        {
                            ConfluentFormat = null,
                            None = null,
                            RecordHeader = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs
                            {
                                Name = "string",
                            },
                        },
                        SchemaRegistry = new Konnect.Inputs.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs
                        {
                            Id = "string",
                        },
                        Subject = "string",
                        Version = "string",
                    },
                },
                OnUnknownField = "string",
            },
        },
        GatewayId = "string",
        ParentPolicyId = "string",
        VirtualClusterId = "string",
        Condition = "string",
        Description = "string",
        Enabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayProducePolicyTranscode(ctx, "eventGatewayProducePolicyTranscodeResource", &konnect.EventGatewayProducePolicyTranscodeArgs{
    	Config: &konnect.EventGatewayProducePolicyTranscodeConfigArgs{
    		Avro: &konnect.EventGatewayProducePolicyTranscodeConfigAvroArgs{
    			FailureMode: pulumi.String("string"),
    			SchemaSource: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs{
    				Inline: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInlineArgs{
    					Inline: pulumi.String("string"),
    				},
    				Reference: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs{
    					SchemaRefDestination: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs{
    						ConfluentFormat: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs{},
    						None:            &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs{},
    						RecordHeader: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs{
    							Name: pulumi.String("string"),
    						},
    					},
    					SchemaRegistry: &konnect.EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs{
    						Id: pulumi.String("string"),
    					},
    					Subject: pulumi.String("string"),
    					Version: pulumi.String("string"),
    				},
    			},
    			OnUnknownField: pulumi.String("string"),
    		},
    	},
    	GatewayId:        pulumi.String("string"),
    	ParentPolicyId:   pulumi.String("string"),
    	VirtualClusterId: pulumi.String("string"),
    	Condition:        pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Enabled:          pulumi.Bool(false),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    resource "konnect_event_gateway_produce_policy_transcode" "eventGatewayProducePolicyTranscodeResource" {
      lifecycle {
        create_before_destroy = true
      }
      config = {
        avro = {
          failure_mode = "string"
          schema_source = {
            inline = {
              inline = "string"
            }
            reference = {
              schema_ref_destination = {
                confluent_format = {}
                none             = {}
                record_header = {
                  name = "string"
                }
              }
              schema_registry = {
                id = "string"
              }
              subject = "string"
              version = "string"
            }
          }
          on_unknown_field = "string"
        }
      }
      gateway_id         = "string"
      parent_policy_id   = "string"
      virtual_cluster_id = "string"
      condition          = "string"
      description        = "string"
      enabled            = false
      labels = {
        "string" = "string"
      }
      name = "string"
    }
    
    var eventGatewayProducePolicyTranscodeResource = new EventGatewayProducePolicyTranscode("eventGatewayProducePolicyTranscodeResource", EventGatewayProducePolicyTranscodeArgs.builder()
        .config(EventGatewayProducePolicyTranscodeConfigArgs.builder()
            .avro(EventGatewayProducePolicyTranscodeConfigAvroArgs.builder()
                .failureMode("string")
                .schemaSource(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs.builder()
                    .inline(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInlineArgs.builder()
                        .inline("string")
                        .build())
                    .reference(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs.builder()
                        .schemaRefDestination(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs.builder()
                            .confluentFormat(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs.builder()
                                .build())
                            .none(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs.builder()
                                .build())
                            .recordHeader(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs.builder()
                                .name("string")
                                .build())
                            .build())
                        .schemaRegistry(EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs.builder()
                            .id("string")
                            .build())
                        .subject("string")
                        .version("string")
                        .build())
                    .build())
                .onUnknownField("string")
                .build())
            .build())
        .gatewayId("string")
        .parentPolicyId("string")
        .virtualClusterId("string")
        .condition("string")
        .description("string")
        .enabled(false)
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    event_gateway_produce_policy_transcode_resource = konnect.EventGatewayProducePolicyTranscode("eventGatewayProducePolicyTranscodeResource",
        config={
            "avro": {
                "failure_mode": "string",
                "schema_source": {
                    "inline": {
                        "inline": "string",
                    },
                    "reference": {
                        "schema_ref_destination": {
                            "confluent_format": {},
                            "none": {},
                            "record_header": {
                                "name": "string",
                            },
                        },
                        "schema_registry": {
                            "id": "string",
                        },
                        "subject": "string",
                        "version": "string",
                    },
                },
                "on_unknown_field": "string",
            },
        },
        gateway_id="string",
        parent_policy_id="string",
        virtual_cluster_id="string",
        condition="string",
        description="string",
        enabled=False,
        labels={
            "string": "string",
        },
        name="string")
    
    const eventGatewayProducePolicyTranscodeResource = new konnect.EventGatewayProducePolicyTranscode("eventGatewayProducePolicyTranscodeResource", {
        config: {
            avro: {
                failureMode: "string",
                schemaSource: {
                    inline: {
                        inline: "string",
                    },
                    reference: {
                        schemaRefDestination: {
                            confluentFormat: {},
                            none: {},
                            recordHeader: {
                                name: "string",
                            },
                        },
                        schemaRegistry: {
                            id: "string",
                        },
                        subject: "string",
                        version: "string",
                    },
                },
                onUnknownField: "string",
            },
        },
        gatewayId: "string",
        parentPolicyId: "string",
        virtualClusterId: "string",
        condition: "string",
        description: "string",
        enabled: false,
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:EventGatewayProducePolicyTranscode
    properties:
        condition: string
        config:
            avro:
                failureMode: string
                onUnknownField: string
                schemaSource:
                    inline:
                        inline: string
                    reference:
                        schemaRefDestination:
                            confluentFormat: {}
                            none: {}
                            recordHeader:
                                name: string
                        schemaRegistry:
                            id: string
                        subject: string
                        version: string
        description: string
        enabled: false
        gatewayId: string
        labels:
            string: string
        name: string
        parentPolicyId: string
        virtualClusterId: string
    

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

    Config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    GatewayId string
    The UUID of your Gateway.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    VirtualClusterId string
    The ID of the Virtual Cluster.
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Description string
    A human-readable description of the policy. Default: ""
    Enabled bool
    Whether the policy is enabled. Default: true
    Labels Dictionary<string, string>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    Name string
    A unique user-defined name of the policy.
    Config EventGatewayProducePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to produced records.
    GatewayId string
    The UUID of your Gateway.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    VirtualClusterId string
    The ID of the Virtual Cluster.
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Description string
    A human-readable description of the policy. Default: ""
    Enabled bool
    Whether the policy is enabled. Default: true
    Labels map[string]string

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    Name string
    A unique user-defined name of the policy.
    config object
    The configuration of the transcode parsed record policy applied to produced records.
    gateway_id string
    The UUID of your Gateway.
    parent_policy_id string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtual_cluster_id string
    The ID of the Virtual Cluster.
    condition string
    A string containing the boolean expression that determines whether the policy is applied.
    description string
    A human-readable description of the policy. Default: ""
    enabled bool
    Whether the policy is enabled. Default: true
    labels map(string)

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name string
    A unique user-defined name of the policy.
    config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    gatewayId String
    The UUID of your Gateway.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId String
    The ID of the Virtual Cluster.
    condition String
    A string containing the boolean expression that determines whether the policy is applied.
    description String
    A human-readable description of the policy. Default: ""
    enabled Boolean
    Whether the policy is enabled. Default: true
    labels Map<String,String>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name String
    A unique user-defined name of the policy.
    config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    gatewayId string
    The UUID of your Gateway.
    parentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId string
    The ID of the Virtual Cluster.
    condition string
    A string containing the boolean expression that determines whether the policy is applied.
    description string
    A human-readable description of the policy. Default: ""
    enabled boolean
    Whether the policy is enabled. Default: true
    labels {[key: string]: string}

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name string
    A unique user-defined name of the policy.
    config EventGatewayProducePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to produced records.
    gateway_id str
    The UUID of your Gateway.
    parent_policy_id str
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtual_cluster_id str
    The ID of the Virtual Cluster.
    condition str
    A string containing the boolean expression that determines whether the policy is applied.
    description str
    A human-readable description of the policy. Default: ""
    enabled bool
    Whether the policy is enabled. Default: true
    labels Mapping[str, str]

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name str
    A unique user-defined name of the policy.
    config Property Map
    The configuration of the transcode parsed record policy applied to produced records.
    gatewayId String
    The UUID of your Gateway.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    virtualClusterId String
    The ID of the Virtual Cluster.
    condition String
    A string containing the boolean expression that determines whether the policy is applied.
    description String
    A human-readable description of the policy. Default: ""
    enabled Boolean
    Whether the policy is enabled. Default: true
    labels Map<String>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name String
    A unique user-defined name of the policy.

    Outputs

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

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing EventGatewayProducePolicyTranscode Resource

    Get an existing EventGatewayProducePolicyTranscode 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?: EventGatewayProducePolicyTranscodeState, opts?: CustomResourceOptions): EventGatewayProducePolicyTranscode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition: Optional[str] = None,
            config: Optional[EventGatewayProducePolicyTranscodeConfigArgs] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            gateway_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            parent_policy_id: Optional[str] = None,
            updated_at: Optional[str] = None,
            virtual_cluster_id: Optional[str] = None) -> EventGatewayProducePolicyTranscode
    func GetEventGatewayProducePolicyTranscode(ctx *Context, name string, id IDInput, state *EventGatewayProducePolicyTranscodeState, opts ...ResourceOption) (*EventGatewayProducePolicyTranscode, error)
    public static EventGatewayProducePolicyTranscode Get(string name, Input<string> id, EventGatewayProducePolicyTranscodeState? state, CustomResourceOptions? opts = null)
    public static EventGatewayProducePolicyTranscode get(String name, Output<String> id, EventGatewayProducePolicyTranscodeState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayProducePolicyTranscode    get:      id: ${id}
    import {
      to = konnect_event_gateway_produce_policy_transcode.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:
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    A human-readable description of the policy. Default: ""
    Enabled bool
    Whether the policy is enabled. Default: true
    GatewayId string
    The UUID of your Gateway.
    Labels Dictionary<string, string>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    Name string
    A unique user-defined name of the policy.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    VirtualClusterId string
    The ID of the Virtual Cluster.
    Condition string
    A string containing the boolean expression that determines whether the policy is applied.
    Config EventGatewayProducePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to produced records.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    A human-readable description of the policy. Default: ""
    Enabled bool
    Whether the policy is enabled. Default: true
    GatewayId string
    The UUID of your Gateway.
    Labels map[string]string

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    Name string
    A unique user-defined name of the policy.
    ParentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    VirtualClusterId string
    The ID of the Virtual Cluster.
    condition string
    A string containing the boolean expression that determines whether the policy is applied.
    config object
    The configuration of the transcode parsed record policy applied to produced records.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    description string
    A human-readable description of the policy. Default: ""
    enabled bool
    Whether the policy is enabled. Default: true
    gateway_id string
    The UUID of your Gateway.
    labels map(string)

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name string
    A unique user-defined name of the policy.
    parent_policy_id string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    virtual_cluster_id string
    The ID of the Virtual Cluster.
    condition String
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    A human-readable description of the policy. Default: ""
    enabled Boolean
    Whether the policy is enabled. Default: true
    gatewayId String
    The UUID of your Gateway.
    labels Map<String,String>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name String
    A unique user-defined name of the policy.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId String
    The ID of the Virtual Cluster.
    condition string
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to produced records.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    description string
    A human-readable description of the policy. Default: ""
    enabled boolean
    Whether the policy is enabled. Default: true
    gatewayId string
    The UUID of your Gateway.
    labels {[key: string]: string}

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name string
    A unique user-defined name of the policy.
    parentPolicyId string
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId string
    The ID of the Virtual Cluster.
    condition str
    A string containing the boolean expression that determines whether the policy is applied.
    config EventGatewayProducePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to produced records.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    description str
    A human-readable description of the policy. Default: ""
    enabled bool
    Whether the policy is enabled. Default: true
    gateway_id str
    The UUID of your Gateway.
    labels Mapping[str, str]

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name str
    A unique user-defined name of the policy.
    parent_policy_id str
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    virtual_cluster_id str
    The ID of the Virtual Cluster.
    condition String
    A string containing the boolean expression that determines whether the policy is applied.
    config Property Map
    The configuration of the transcode parsed record policy applied to produced records.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    A human-readable description of the policy. Default: ""
    enabled Boolean
    Whether the policy is enabled. Default: true
    gatewayId String
    The UUID of your Gateway.
    labels Map<String>

    Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

    Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

    name String
    A unique user-defined name of the policy.
    parentPolicyId String
    The unique identifier of the parent schema validation policy. Requires replacement if changed.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    virtualClusterId String
    The ID of the Virtual Cluster.

    Supporting Types

    EventGatewayProducePolicyTranscodeConfig, EventGatewayProducePolicyTranscodeConfigArgs

    Avro EventGatewayProducePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    Avro EventGatewayProducePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    avro object
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    avro EventGatewayProducePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    avro EventGatewayProducePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    avro EventGatewayProducePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    avro Property Map
    The configuration of the transcode parsed record policy when converting produced records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.

    EventGatewayProducePolicyTranscodeConfigAvro, EventGatewayProducePolicyTranscodeConfigAvroArgs

    FailureMode string
    Describes how to handle a failure in a policy applied to produced records.
    SchemaSource EventGatewayProducePolicyTranscodeConfigAvroSchemaSource
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    OnUnknownField string

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    FailureMode string
    Describes how to handle a failure in a policy applied to produced records.
    SchemaSource EventGatewayProducePolicyTranscodeConfigAvroSchemaSource
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    OnUnknownField string

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    failure_mode string
    Describes how to handle a failure in a policy applied to produced records.
    schema_source object
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    on_unknown_field string

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    failureMode String
    Describes how to handle a failure in a policy applied to produced records.
    schemaSource EventGatewayProducePolicyTranscodeConfigAvroSchemaSource
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    onUnknownField String

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    failureMode string
    Describes how to handle a failure in a policy applied to produced records.
    schemaSource EventGatewayProducePolicyTranscodeConfigAvroSchemaSource
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    onUnknownField string

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    failure_mode str
    Describes how to handle a failure in a policy applied to produced records.
    schema_source EventGatewayProducePolicyTranscodeConfigAvroSchemaSource
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    on_unknown_field str

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    failureMode String
    Describes how to handle a failure in a policy applied to produced records.
    schemaSource Property Map
    Determines how to look up the schema to use for the transcoded output data. Leave this unset if the output data schema isn't needed.
    onUnknownField String

    Describes how to handle JSON fields that are not defined in the target schema.

    • fail - the transcoding fails. The policy failure_mode determines how the failure is handled.
    • drop - the unknown fields are removed from the transcoded value.

    Requires a minimum runtime version of 1.3. possible known values include one of ["fail", "drop"]; Default: "fail"

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSource, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceArgs

    Inline EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    Inline EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline object
    A schema embedded directly in the policy configuration.
    reference object
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline Property Map
    A schema embedded directly in the policy configuration.
    reference Property Map
    References a schema registered in a schema registry, computing the subject and version to use.

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInline, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceInlineArgs

    Inline string
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    Inline string
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    inline string
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    inline String
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    inline string
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    inline str
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.
    inline String
    The raw schema text (e.g. an Avro JSON schema) to use for the transcoded output data.

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReference, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceArgs

    SchemaRefDestination EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    Subject string
    An expression that computes the schema registry subject of the output data's schema.
    Version string
    An expression that computes the schema registry version of the output data's schema.
    SchemaRefDestination EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    Subject string
    An expression that computes the schema registry subject of the output data's schema.
    Version string
    An expression that computes the schema registry version of the output data's schema.
    schema_ref_destination object
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schema_registry object
    subject string
    An expression that computes the schema registry subject of the output data's schema.
    version string
    An expression that computes the schema registry version of the output data's schema.
    schemaRefDestination EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    subject String
    An expression that computes the schema registry subject of the output data's schema.
    version String
    An expression that computes the schema registry version of the output data's schema.
    schemaRefDestination EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    subject string
    An expression that computes the schema registry subject of the output data's schema.
    version string
    An expression that computes the schema registry version of the output data's schema.
    schema_ref_destination EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schema_registry EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    subject str
    An expression that computes the schema registry subject of the output data's schema.
    version str
    An expression that computes the schema registry version of the output data's schema.
    schemaRefDestination Property Map
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry Property Map
    subject String
    An expression that computes the schema registry subject of the output data's schema.
    version String
    An expression that computes the schema registry version of the output data's schema.

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs

    confluent_format object
    Prefixes the structured data bytes with a reference to the schema.
    none object
    Do not persist the schema anywhere.
    record_header object
    Puts the schema reference in a record header.
    confluentFormat Property Map
    Prefixes the structured data bytes with a reference to the schema.
    none Property Map
    Do not persist the schema anywhere.
    recordHeader Property Map
    Puts the schema reference in a record header.

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeader, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs

    Name string
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    Name string
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    name string
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    name String
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    name string
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    name str
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"
    name String
    The name is compatible with Confluent's serializer by default but can be changed. Default: "_valueschema_id"

    EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry, EventGatewayProducePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs

    Id string
    The unique identifier of the schema registry.
    Id string
    The unique identifier of the schema registry.
    id string
    The unique identifier of the schema registry.
    id String
    The unique identifier of the schema registry.
    id string
    The unique identifier of the schema registry.
    id str
    The unique identifier of the schema registry.
    id String
    The unique identifier of the schema registry.

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_event_gateway_produce_policy_transcode.my_konnect_event_gateway_produce_policy_transcode

    id = jsonencode({

    gateway_id         = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
    
    id                 = "9524ec7d-36d9-465d-a8c5-83a3c9390458"
    
    virtual_cluster_id = "..."
    

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/eventGatewayProducePolicyTranscode:EventGatewayProducePolicyTranscode my_konnect_event_gateway_produce_policy_transcode '{"gateway_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "virtual_cluster_id": "..."}'
    

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

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect
    Viewing docs for konnect 3.28.0
    published on Friday, Nov 6, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial