1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. EventGatewayConsumePolicyTranscode
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

    EventGatewayConsumePolicyTranscode Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewayconsumepolicytranscode = new konnect.EventGatewayConsumePolicyTranscode("my_eventgatewayconsumepolicytranscode", {
        condition: "record.value.content.foo.bar == \"a-value\"",
        config: {
            avro: {
                failureMode: "passthrough",
                onUnknownField: "fail",
                schemaSource: {
                    reference: {
                        schemaRefDestination: {
                            confluentFormat: {},
                        },
                        schemaRegistry: {
                            id: "8e2017b8-a61c-477c-98ba-09dd461a6484",
                        },
                        subject: "context.topic.name + '-value'",
                        version: "'latest'",
                    },
                },
            },
        },
        description: "",
        enabled: true,
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        name: "...my_name...",
        parentPolicyId: "65e2e968-cbcf-4527-96dd-2760bd98c676",
        virtualClusterId: "cdbc3581-884d-4a5c-b9e2-7d1a0067abae",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewayconsumepolicytranscode = konnect.EventGatewayConsumePolicyTranscode("my_eventgatewayconsumepolicytranscode",
        condition="record.value.content.foo.bar == \"a-value\"",
        config={
            "avro": {
                "failure_mode": "passthrough",
                "on_unknown_field": "fail",
                "schema_source": {
                    "reference": {
                        "schema_ref_destination": {
                            "confluent_format": {},
                        },
                        "schema_registry": {
                            "id": "8e2017b8-a61c-477c-98ba-09dd461a6484",
                        },
                        "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="65e2e968-cbcf-4527-96dd-2760bd98c676",
        virtual_cluster_id="cdbc3581-884d-4a5c-b9e2-7d1a0067abae")
    
    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.NewEventGatewayConsumePolicyTranscode(ctx, "my_eventgatewayconsumepolicytranscode", &konnect.EventGatewayConsumePolicyTranscodeArgs{
    			Condition: pulumi.String("record.value.content.foo.bar == \"a-value\""),
    			Config: &konnect.EventGatewayConsumePolicyTranscodeConfigArgs{
    				Avro: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroArgs{
    					FailureMode:    pulumi.String("passthrough"),
    					OnUnknownField: pulumi.String("fail"),
    					SchemaSource: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs{
    						Reference: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs{
    							SchemaRefDestination: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs{
    								ConfluentFormat: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs{},
    							},
    							SchemaRegistry: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs{
    								Id: pulumi.String("8e2017b8-a61c-477c-98ba-09dd461a6484"),
    							},
    							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("65e2e968-cbcf-4527-96dd-2760bd98c676"),
    			VirtualClusterId: pulumi.String("cdbc3581-884d-4a5c-b9e2-7d1a0067abae"),
    		})
    		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 myEventgatewayconsumepolicytranscode = new Konnect.EventGatewayConsumePolicyTranscode("my_eventgatewayconsumepolicytranscode", new()
        {
            Condition = "record.value.content.foo.bar == \"a-value\"",
            Config = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigArgs
            {
                Avro = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroArgs
                {
                    FailureMode = "passthrough",
                    OnUnknownField = "fail",
                    SchemaSource = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs
                    {
                        Reference = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs
                        {
                            SchemaRefDestination = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs
                            {
                                ConfluentFormat = null,
                            },
                            SchemaRegistry = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs
                            {
                                Id = "8e2017b8-a61c-477c-98ba-09dd461a6484",
                            },
                            Subject = "context.topic.name + '-value'",
                            Version = "'latest'",
                        },
                    },
                },
            },
            Description = "",
            Enabled = true,
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            Name = "...my_name...",
            ParentPolicyId = "65e2e968-cbcf-4527-96dd-2760bd98c676",
            VirtualClusterId = "cdbc3581-884d-4a5c-b9e2-7d1a0067abae",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayConsumePolicyTranscode;
    import com.pulumi.konnect.EventGatewayConsumePolicyTranscodeArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs;
    import com.pulumi.konnect.inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs;
    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 myEventgatewayconsumepolicytranscode = new EventGatewayConsumePolicyTranscode("myEventgatewayconsumepolicytranscode", EventGatewayConsumePolicyTranscodeArgs.builder()
                .condition("record.value.content.foo.bar == \"a-value\"")
                .config(EventGatewayConsumePolicyTranscodeConfigArgs.builder()
                    .avro(EventGatewayConsumePolicyTranscodeConfigAvroArgs.builder()
                        .failureMode("passthrough")
                        .onUnknownField("fail")
                        .schemaSource(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs.builder()
                            .reference(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs.builder()
                                .schemaRefDestination(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs.builder()
                                    .confluentFormat(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs.builder()
                                        .build())
                                    .build())
                                .schemaRegistry(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs.builder()
                                    .id("8e2017b8-a61c-477c-98ba-09dd461a6484")
                                    .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("65e2e968-cbcf-4527-96dd-2760bd98c676")
                .virtualClusterId("cdbc3581-884d-4a5c-b9e2-7d1a0067abae")
                .build());
    
        }
    }
    
    resources:
      myEventgatewayconsumepolicytranscode:
        type: konnect:EventGatewayConsumePolicyTranscode
        name: my_eventgatewayconsumepolicytranscode
        properties:
          condition: record.value.content.foo.bar == "a-value"
          config:
            avro:
              failureMode: passthrough
              onUnknownField: fail
              schemaSource:
                reference:
                  schemaRefDestination:
                    confluentFormat: {}
                  schemaRegistry:
                    id: 8e2017b8-a61c-477c-98ba-09dd461a6484
                  subject: context.topic.name + '-value'
                  version: '''latest'''
          description: ""
          enabled: true
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          name: '...my_name...'
          parentPolicyId: 65e2e968-cbcf-4527-96dd-2760bd98c676
          virtualClusterId: cdbc3581-884d-4a5c-b9e2-7d1a0067abae
    
    Example coming soon!
    

    Create EventGatewayConsumePolicyTranscode Resource

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

    Constructor syntax

    new EventGatewayConsumePolicyTranscode(name: string, args: EventGatewayConsumePolicyTranscodeArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayConsumePolicyTranscode(resource_name: str,
                                           args: EventGatewayConsumePolicyTranscodeArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayConsumePolicyTranscode(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           config: Optional[EventGatewayConsumePolicyTranscodeConfigArgs] = 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 NewEventGatewayConsumePolicyTranscode(ctx *Context, name string, args EventGatewayConsumePolicyTranscodeArgs, opts ...ResourceOption) (*EventGatewayConsumePolicyTranscode, error)
    public EventGatewayConsumePolicyTranscode(string name, EventGatewayConsumePolicyTranscodeArgs args, CustomResourceOptions? opts = null)
    public EventGatewayConsumePolicyTranscode(String name, EventGatewayConsumePolicyTranscodeArgs args)
    public EventGatewayConsumePolicyTranscode(String name, EventGatewayConsumePolicyTranscodeArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayConsumePolicyTranscode
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_event_gateway_consume_policy_transcode" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EventGatewayConsumePolicyTranscodeArgs
    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 EventGatewayConsumePolicyTranscodeArgs
    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 EventGatewayConsumePolicyTranscodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayConsumePolicyTranscodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayConsumePolicyTranscodeArgs
    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 eventGatewayConsumePolicyTranscodeResource = new Konnect.EventGatewayConsumePolicyTranscode("eventGatewayConsumePolicyTranscodeResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigArgs
        {
            Avro = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroArgs
            {
                FailureMode = "string",
                SchemaSource = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs
                {
                    Inline = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInlineArgs
                    {
                        Inline = "string",
                    },
                    Reference = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs
                    {
                        SchemaRefDestination = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs
                        {
                            ConfluentFormat = null,
                            None = null,
                            RecordHeader = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs
                            {
                                Name = "string",
                            },
                        },
                        SchemaRegistry = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs
                        {
                            Id = "string",
                        },
                        Subject = "string",
                        Version = "string",
                    },
                },
                OnUnknownField = "string",
            },
            Json = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonArgs
            {
                FailureMode = "string",
                OnUnknownField = "string",
                SchemaSource = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceArgs
                {
                    Inline = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInlineArgs
                    {
                        Inline = "string",
                    },
                    Reference = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceArgs
                    {
                        SchemaRefDestination = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationArgs
                        {
                            ConfluentFormat = null,
                            None = null,
                            RecordHeader = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs
                            {
                                Name = "string",
                            },
                        },
                        SchemaRegistry = new Konnect.Inputs.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistryArgs
                        {
                            Id = "string",
                        },
                        Subject = "string",
                        Version = "string",
                    },
                },
            },
        },
        GatewayId = "string",
        ParentPolicyId = "string",
        VirtualClusterId = "string",
        Condition = "string",
        Description = "string",
        Enabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayConsumePolicyTranscode(ctx, "eventGatewayConsumePolicyTranscodeResource", &konnect.EventGatewayConsumePolicyTranscodeArgs{
    	Config: &konnect.EventGatewayConsumePolicyTranscodeConfigArgs{
    		Avro: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroArgs{
    			FailureMode: pulumi.String("string"),
    			SchemaSource: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs{
    				Inline: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInlineArgs{
    					Inline: pulumi.String("string"),
    				},
    				Reference: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs{
    					SchemaRefDestination: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs{
    						ConfluentFormat: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs{},
    						None:            &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs{},
    						RecordHeader: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs{
    							Name: pulumi.String("string"),
    						},
    					},
    					SchemaRegistry: &konnect.EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs{
    						Id: pulumi.String("string"),
    					},
    					Subject: pulumi.String("string"),
    					Version: pulumi.String("string"),
    				},
    			},
    			OnUnknownField: pulumi.String("string"),
    		},
    		Json: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonArgs{
    			FailureMode:    pulumi.String("string"),
    			OnUnknownField: pulumi.String("string"),
    			SchemaSource: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceArgs{
    				Inline: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInlineArgs{
    					Inline: pulumi.String("string"),
    				},
    				Reference: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceArgs{
    					SchemaRefDestination: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationArgs{
    						ConfluentFormat: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs{},
    						None:            &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationNoneArgs{},
    						RecordHeader: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs{
    							Name: pulumi.String("string"),
    						},
    					},
    					SchemaRegistry: &konnect.EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistryArgs{
    						Id: pulumi.String("string"),
    					},
    					Subject: pulumi.String("string"),
    					Version: 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_consume_policy_transcode" "eventGatewayConsumePolicyTranscodeResource" {
      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"
        }
        json = {
          failure_mode     = "string"
          on_unknown_field = "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"
            }
          }
        }
      }
      gateway_id         = "string"
      parent_policy_id   = "string"
      virtual_cluster_id = "string"
      condition          = "string"
      description        = "string"
      enabled            = false
      labels = {
        "string" = "string"
      }
      name = "string"
    }
    
    var eventGatewayConsumePolicyTranscodeResource = new EventGatewayConsumePolicyTranscode("eventGatewayConsumePolicyTranscodeResource", EventGatewayConsumePolicyTranscodeArgs.builder()
        .config(EventGatewayConsumePolicyTranscodeConfigArgs.builder()
            .avro(EventGatewayConsumePolicyTranscodeConfigAvroArgs.builder()
                .failureMode("string")
                .schemaSource(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs.builder()
                    .inline(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInlineArgs.builder()
                        .inline("string")
                        .build())
                    .reference(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs.builder()
                        .schemaRefDestination(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs.builder()
                            .confluentFormat(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs.builder()
                                .build())
                            .none(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationNoneArgs.builder()
                                .build())
                            .recordHeader(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs.builder()
                                .name("string")
                                .build())
                            .build())
                        .schemaRegistry(EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs.builder()
                            .id("string")
                            .build())
                        .subject("string")
                        .version("string")
                        .build())
                    .build())
                .onUnknownField("string")
                .build())
            .json(EventGatewayConsumePolicyTranscodeConfigJsonArgs.builder()
                .failureMode("string")
                .onUnknownField("string")
                .schemaSource(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceArgs.builder()
                    .inline(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInlineArgs.builder()
                        .inline("string")
                        .build())
                    .reference(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceArgs.builder()
                        .schemaRefDestination(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationArgs.builder()
                            .confluentFormat(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationConfluentFormatArgs.builder()
                                .build())
                            .none(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationNoneArgs.builder()
                                .build())
                            .recordHeader(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs.builder()
                                .name("string")
                                .build())
                            .build())
                        .schemaRegistry(EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistryArgs.builder()
                            .id("string")
                            .build())
                        .subject("string")
                        .version("string")
                        .build())
                    .build())
                .build())
            .build())
        .gatewayId("string")
        .parentPolicyId("string")
        .virtualClusterId("string")
        .condition("string")
        .description("string")
        .enabled(false)
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    event_gateway_consume_policy_transcode_resource = konnect.EventGatewayConsumePolicyTranscode("eventGatewayConsumePolicyTranscodeResource",
        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",
            },
            "json": {
                "failure_mode": "string",
                "on_unknown_field": "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",
                    },
                },
            },
        },
        gateway_id="string",
        parent_policy_id="string",
        virtual_cluster_id="string",
        condition="string",
        description="string",
        enabled=False,
        labels={
            "string": "string",
        },
        name="string")
    
    const eventGatewayConsumePolicyTranscodeResource = new konnect.EventGatewayConsumePolicyTranscode("eventGatewayConsumePolicyTranscodeResource", {
        config: {
            avro: {
                failureMode: "string",
                schemaSource: {
                    inline: {
                        inline: "string",
                    },
                    reference: {
                        schemaRefDestination: {
                            confluentFormat: {},
                            none: {},
                            recordHeader: {
                                name: "string",
                            },
                        },
                        schemaRegistry: {
                            id: "string",
                        },
                        subject: "string",
                        version: "string",
                    },
                },
                onUnknownField: "string",
            },
            json: {
                failureMode: "string",
                onUnknownField: "string",
                schemaSource: {
                    inline: {
                        inline: "string",
                    },
                    reference: {
                        schemaRefDestination: {
                            confluentFormat: {},
                            none: {},
                            recordHeader: {
                                name: "string",
                            },
                        },
                        schemaRegistry: {
                            id: "string",
                        },
                        subject: "string",
                        version: "string",
                    },
                },
            },
        },
        gatewayId: "string",
        parentPolicyId: "string",
        virtualClusterId: "string",
        condition: "string",
        description: "string",
        enabled: false,
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:EventGatewayConsumePolicyTranscode
    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
            json:
                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
    

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

    Config EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to consumed 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 consumed 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 EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to consumed 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 consumed 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 EventGatewayConsumePolicyTranscode 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 EventGatewayConsumePolicyTranscode Resource

    Get an existing EventGatewayConsumePolicyTranscode 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?: EventGatewayConsumePolicyTranscodeState, opts?: CustomResourceOptions): EventGatewayConsumePolicyTranscode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition: Optional[str] = None,
            config: Optional[EventGatewayConsumePolicyTranscodeConfigArgs] = 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) -> EventGatewayConsumePolicyTranscode
    func GetEventGatewayConsumePolicyTranscode(ctx *Context, name string, id IDInput, state *EventGatewayConsumePolicyTranscodeState, opts ...ResourceOption) (*EventGatewayConsumePolicyTranscode, error)
    public static EventGatewayConsumePolicyTranscode Get(string name, Input<string> id, EventGatewayConsumePolicyTranscodeState? state, CustomResourceOptions? opts = null)
    public static EventGatewayConsumePolicyTranscode get(String name, Output<String> id, EventGatewayConsumePolicyTranscodeState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayConsumePolicyTranscode    get:      id: ${id}
    import {
      to = konnect_event_gateway_consume_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 EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to consumed 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 consumed 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 EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfig
    The configuration of the transcode parsed record policy applied to consumed 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 EventGatewayConsumePolicyTranscodeConfigArgs
    The configuration of the transcode parsed record policy applied to consumed 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 consumed 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

    EventGatewayConsumePolicyTranscodeConfig, EventGatewayConsumePolicyTranscodeConfigArgs

    Avro EventGatewayConsumePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    Json EventGatewayConsumePolicyTranscodeConfigJson
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    Avro EventGatewayConsumePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    Json EventGatewayConsumePolicyTranscodeConfigJson
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    avro object
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    json object
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    avro EventGatewayConsumePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    json EventGatewayConsumePolicyTranscodeConfigJson
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    avro EventGatewayConsumePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    json EventGatewayConsumePolicyTranscodeConfigJson
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    avro EventGatewayConsumePolicyTranscodeConfigAvro
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    json EventGatewayConsumePolicyTranscodeConfigJson
    The configuration of the transcode parsed record policy when converting consumed records to JSON.
    avro Property Map
    The configuration of the transcode parsed record policy when converting consumed records to Avro. Avro requires a schema to serialize the record value, so schema_source must be set.
    json Property Map
    The configuration of the transcode parsed record policy when converting consumed records to JSON.

    EventGatewayConsumePolicyTranscodeConfigAvro, EventGatewayConsumePolicyTranscodeConfigAvroArgs

    FailureMode string
    Describes how to handle a failure in a policy applied to consumed records.
    SchemaSource EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource
    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 consumed records.
    SchemaSource EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource
    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 consumed 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 consumed records.
    schemaSource EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource
    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 consumed records.
    schemaSource EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource
    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 consumed records.
    schema_source EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource
    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 consumed 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"

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSource, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceArgs

    Inline EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    Inline EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference
    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 EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference
    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.

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInline, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceInlineArgs

    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.

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReference, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceArgs

    SchemaRefDestination EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schema_registry EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry
    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.

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestination, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationArgs

    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.

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeader, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs

    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"

    EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistry, EventGatewayConsumePolicyTranscodeConfigAvroSchemaSourceReferenceSchemaRegistryArgs

    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.

    EventGatewayConsumePolicyTranscodeConfigJson, EventGatewayConsumePolicyTranscodeConfigJsonArgs

    FailureMode string
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    SchemaSource EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource
    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.
    FailureMode string
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    SchemaSource EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource
    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.
    failure_mode string
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    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.
    failureMode String
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    schemaSource EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource
    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.
    failureMode string
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    schemaSource EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource
    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.
    failure_mode str
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    schema_source EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource
    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.
    failureMode String
    Describes how to handle a failure in a policy applied to consumed records.
    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"

    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.

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSource, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceArgs

    Inline EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    Inline EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline
    A schema embedded directly in the policy configuration.
    Reference EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference
    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 EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference
    References a schema registered in a schema registry, computing the subject and version to use.
    inline EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline
    A schema embedded directly in the policy configuration.
    reference EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference
    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.

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInline, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceInlineArgs

    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.

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReference, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceArgs

    SchemaRefDestination EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    SchemaRegistry EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schemaRegistry EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry
    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 EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination
    Defines how to record the schema id for the transcoded output data. See the Confluent docs for more about the wire format.
    schema_registry EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry
    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.

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestination, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationArgs

    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.

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationRecordHeader, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRefDestinationRecordHeaderArgs

    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"

    EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistry, EventGatewayConsumePolicyTranscodeConfigJsonSchemaSourceReferenceSchemaRegistryArgs

    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_consume_policy_transcode.my_konnect_event_gateway_consume_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/eventGatewayConsumePolicyTranscode:EventGatewayConsumePolicyTranscode my_konnect_event_gateway_consume_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