1. Packages
  2. Konnect Provider
  3. API Docs
  4. EventGatewayListenerPolicyForwardToVirtualCluster
Viewing docs for konnect 3.11.0
published on Thursday, Mar 12, 2026 by kong
konnect logo
Viewing docs for konnect 3.11.0
published on Thursday, Mar 12, 2026 by kong

    EventGatewayListenerPolicyForwardToVirtualCluster Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewaylistenerpolicyforwardtovirtualcluster = new konnect.EventGatewayListenerPolicyForwardToVirtualCluster("my_eventgatewaylistenerpolicyforwardtovirtualcluster", {
        config: {
            sni: {
                advertisedPort: 61579,
                brokerHostFormat: {
                    type: "per_cluster_suffix",
                },
                sniSuffix: ".example.com",
            },
        },
        description: "...my_description...",
        enabled: false,
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        listenerId: "bdaf2651-42bc-48ec-b29f-f4890f7f07fc",
        name: "...my_name...",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewaylistenerpolicyforwardtovirtualcluster = konnect.EventGatewayListenerPolicyForwardToVirtualCluster("my_eventgatewaylistenerpolicyforwardtovirtualcluster",
        config={
            "sni": {
                "advertised_port": 61579,
                "broker_host_format": {
                    "type": "per_cluster_suffix",
                },
                "sni_suffix": ".example.com",
            },
        },
        description="...my_description...",
        enabled=False,
        gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels={
            "key": "value",
        },
        listener_id="bdaf2651-42bc-48ec-b29f-f4890f7f07fc",
        name="...my_name...")
    
    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.NewEventGatewayListenerPolicyForwardToVirtualCluster(ctx, "my_eventgatewaylistenerpolicyforwardtovirtualcluster", &konnect.EventGatewayListenerPolicyForwardToVirtualClusterArgs{
    			Config: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs{
    				Sni: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs{
    					AdvertisedPort: pulumi.Float64(61579),
    					BrokerHostFormat: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs{
    						Type: pulumi.String("per_cluster_suffix"),
    					},
    					SniSuffix: pulumi.String(".example.com"),
    				},
    			},
    			Description: pulumi.String("...my_description..."),
    			Enabled:     pulumi.Bool(false),
    			GatewayId:   pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			ListenerId: pulumi.String("bdaf2651-42bc-48ec-b29f-f4890f7f07fc"),
    			Name:       pulumi.String("...my_name..."),
    		})
    		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 myEventgatewaylistenerpolicyforwardtovirtualcluster = new Konnect.EventGatewayListenerPolicyForwardToVirtualCluster("my_eventgatewaylistenerpolicyforwardtovirtualcluster", new()
        {
            Config = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
            {
                Sni = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs
                {
                    AdvertisedPort = 61579,
                    BrokerHostFormat = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs
                    {
                        Type = "per_cluster_suffix",
                    },
                    SniSuffix = ".example.com",
                },
            },
            Description = "...my_description...",
            Enabled = false,
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            ListenerId = "bdaf2651-42bc-48ec-b29f-f4890f7f07fc",
            Name = "...my_name...",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayListenerPolicyForwardToVirtualCluster;
    import com.pulumi.konnect.EventGatewayListenerPolicyForwardToVirtualClusterArgs;
    import com.pulumi.konnect.inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs;
    import com.pulumi.konnect.inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs;
    import com.pulumi.konnect.inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs;
    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 myEventgatewaylistenerpolicyforwardtovirtualcluster = new EventGatewayListenerPolicyForwardToVirtualCluster("myEventgatewaylistenerpolicyforwardtovirtualcluster", EventGatewayListenerPolicyForwardToVirtualClusterArgs.builder()
                .config(EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs.builder()
                    .sni(EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs.builder()
                        .advertisedPort(61579.0)
                        .brokerHostFormat(EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs.builder()
                            .type("per_cluster_suffix")
                            .build())
                        .sniSuffix(".example.com")
                        .build())
                    .build())
                .description("...my_description...")
                .enabled(false)
                .gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .labels(Map.of("key", "value"))
                .listenerId("bdaf2651-42bc-48ec-b29f-f4890f7f07fc")
                .name("...my_name...")
                .build());
    
        }
    }
    
    resources:
      myEventgatewaylistenerpolicyforwardtovirtualcluster:
        type: konnect:EventGatewayListenerPolicyForwardToVirtualCluster
        name: my_eventgatewaylistenerpolicyforwardtovirtualcluster
        properties:
          config:
            sni:
              advertisedPort: 61579
              brokerHostFormat:
                type: per_cluster_suffix
              sniSuffix: .example.com
          description: '...my_description...'
          enabled: false
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          listenerId: bdaf2651-42bc-48ec-b29f-f4890f7f07fc
          name: '...my_name...'
    

    Create EventGatewayListenerPolicyForwardToVirtualCluster Resource

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

    Constructor syntax

    new EventGatewayListenerPolicyForwardToVirtualCluster(name: string, args: EventGatewayListenerPolicyForwardToVirtualClusterArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayListenerPolicyForwardToVirtualCluster(resource_name: str,
                                                          args: EventGatewayListenerPolicyForwardToVirtualClusterArgs,
                                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayListenerPolicyForwardToVirtualCluster(resource_name: str,
                                                          opts: Optional[ResourceOptions] = None,
                                                          config: Optional[EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs] = None,
                                                          gateway_id: Optional[str] = None,
                                                          listener_id: Optional[str] = None,
                                                          description: Optional[str] = None,
                                                          enabled: Optional[bool] = None,
                                                          labels: Optional[Mapping[str, str]] = None,
                                                          name: Optional[str] = None)
    func NewEventGatewayListenerPolicyForwardToVirtualCluster(ctx *Context, name string, args EventGatewayListenerPolicyForwardToVirtualClusterArgs, opts ...ResourceOption) (*EventGatewayListenerPolicyForwardToVirtualCluster, error)
    public EventGatewayListenerPolicyForwardToVirtualCluster(string name, EventGatewayListenerPolicyForwardToVirtualClusterArgs args, CustomResourceOptions? opts = null)
    public EventGatewayListenerPolicyForwardToVirtualCluster(String name, EventGatewayListenerPolicyForwardToVirtualClusterArgs args)
    public EventGatewayListenerPolicyForwardToVirtualCluster(String name, EventGatewayListenerPolicyForwardToVirtualClusterArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayListenerPolicyForwardToVirtualCluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventGatewayListenerPolicyForwardToVirtualClusterArgs
    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 EventGatewayListenerPolicyForwardToVirtualClusterArgs
    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 EventGatewayListenerPolicyForwardToVirtualClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayListenerPolicyForwardToVirtualClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayListenerPolicyForwardToVirtualClusterArgs
    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 eventGatewayListenerPolicyForwardToVirtualClusterResource = new Konnect.EventGatewayListenerPolicyForwardToVirtualCluster("eventGatewayListenerPolicyForwardToVirtualClusterResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
        {
            PortMapping = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingArgs
            {
                AdvertisedHost = "string",
                Destination = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestinationArgs
                {
                    Id = "string",
                },
                BootstrapPort = "string",
                MinBrokerId = 0,
            },
            Sni = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs
            {
                AdvertisedPort = 0,
                BrokerHostFormat = new Konnect.Inputs.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs
                {
                    Type = "string",
                },
                SniSuffix = "string",
            },
        },
        GatewayId = "string",
        ListenerId = "string",
        Description = "string",
        Enabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayListenerPolicyForwardToVirtualCluster(ctx, "eventGatewayListenerPolicyForwardToVirtualClusterResource", &konnect.EventGatewayListenerPolicyForwardToVirtualClusterArgs{
    	Config: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs{
    		PortMapping: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingArgs{
    			AdvertisedHost: pulumi.String("string"),
    			Destination: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestinationArgs{
    				Id: pulumi.String("string"),
    			},
    			BootstrapPort: pulumi.String("string"),
    			MinBrokerId:   pulumi.Float64(0),
    		},
    		Sni: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs{
    			AdvertisedPort: pulumi.Float64(0),
    			BrokerHostFormat: &konnect.EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs{
    				Type: pulumi.String("string"),
    			},
    			SniSuffix: pulumi.String("string"),
    		},
    	},
    	GatewayId:   pulumi.String("string"),
    	ListenerId:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var eventGatewayListenerPolicyForwardToVirtualClusterResource = new EventGatewayListenerPolicyForwardToVirtualCluster("eventGatewayListenerPolicyForwardToVirtualClusterResource", EventGatewayListenerPolicyForwardToVirtualClusterArgs.builder()
        .config(EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs.builder()
            .portMapping(EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingArgs.builder()
                .advertisedHost("string")
                .destination(EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestinationArgs.builder()
                    .id("string")
                    .build())
                .bootstrapPort("string")
                .minBrokerId(0.0)
                .build())
            .sni(EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs.builder()
                .advertisedPort(0.0)
                .brokerHostFormat(EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs.builder()
                    .type("string")
                    .build())
                .sniSuffix("string")
                .build())
            .build())
        .gatewayId("string")
        .listenerId("string")
        .description("string")
        .enabled(false)
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    event_gateway_listener_policy_forward_to_virtual_cluster_resource = konnect.EventGatewayListenerPolicyForwardToVirtualCluster("eventGatewayListenerPolicyForwardToVirtualClusterResource",
        config={
            "port_mapping": {
                "advertised_host": "string",
                "destination": {
                    "id": "string",
                },
                "bootstrap_port": "string",
                "min_broker_id": 0,
            },
            "sni": {
                "advertised_port": 0,
                "broker_host_format": {
                    "type": "string",
                },
                "sni_suffix": "string",
            },
        },
        gateway_id="string",
        listener_id="string",
        description="string",
        enabled=False,
        labels={
            "string": "string",
        },
        name="string")
    
    const eventGatewayListenerPolicyForwardToVirtualClusterResource = new konnect.EventGatewayListenerPolicyForwardToVirtualCluster("eventGatewayListenerPolicyForwardToVirtualClusterResource", {
        config: {
            portMapping: {
                advertisedHost: "string",
                destination: {
                    id: "string",
                },
                bootstrapPort: "string",
                minBrokerId: 0,
            },
            sni: {
                advertisedPort: 0,
                brokerHostFormat: {
                    type: "string",
                },
                sniSuffix: "string",
            },
        },
        gatewayId: "string",
        listenerId: "string",
        description: "string",
        enabled: false,
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:EventGatewayListenerPolicyForwardToVirtualCluster
    properties:
        config:
            portMapping:
                advertisedHost: string
                bootstrapPort: string
                destination:
                    id: string
                minBrokerId: 0
            sni:
                advertisedPort: 0
                brokerHostFormat:
                    type: string
                sniSuffix: string
        description: string
        enabled: false
        gatewayId: string
        labels:
            string: string
        listenerId: string
        name: string
    

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

    Config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    GatewayId string
    The UUID of your Gateway.
    ListenerId string
    The ID of the Event Gateway Listener.
    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.
    Name string
    A unique user-defined name of the policy.
    Config EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
    The configuration of the policy.
    GatewayId string
    The UUID of your Gateway.
    ListenerId string
    The ID of the Event Gateway Listener.
    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.
    Name string
    A unique user-defined name of the policy.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    gatewayId String
    The UUID of your Gateway.
    listenerId String
    The ID of the Event Gateway Listener.
    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.
    name String
    A unique user-defined name of the policy.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    gatewayId string
    The UUID of your Gateway.
    listenerId string
    The ID of the Event Gateway Listener.
    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.
    name string
    A unique user-defined name of the policy.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
    The configuration of the policy.
    gateway_id str
    The UUID of your Gateway.
    listener_id str
    The ID of the Event Gateway Listener.
    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.
    name str
    A unique user-defined name of the policy.
    config Property Map
    The configuration of the policy.
    gatewayId String
    The UUID of your Gateway.
    listenerId String
    The ID of the Event Gateway Listener.
    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.
    name String
    A unique user-defined name of the policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventGatewayListenerPolicyForwardToVirtualCluster 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.
    ParentPolicyId string
    The unique identifier of the parent policy, if any.
    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.
    ParentPolicyId string
    The unique identifier of the parent policy, if any.
    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.
    parentPolicyId String
    The unique identifier of the parent policy, if any.
    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.
    parentPolicyId string
    The unique identifier of the parent policy, if any.
    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.
    parent_policy_id str
    The unique identifier of the parent policy, if any.
    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.
    parentPolicyId String
    The unique identifier of the parent policy, if any.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing EventGatewayListenerPolicyForwardToVirtualCluster Resource

    Get an existing EventGatewayListenerPolicyForwardToVirtualCluster 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?: EventGatewayListenerPolicyForwardToVirtualClusterState, opts?: CustomResourceOptions): EventGatewayListenerPolicyForwardToVirtualCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs] = 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,
            listener_id: Optional[str] = None,
            name: Optional[str] = None,
            parent_policy_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> EventGatewayListenerPolicyForwardToVirtualCluster
    func GetEventGatewayListenerPolicyForwardToVirtualCluster(ctx *Context, name string, id IDInput, state *EventGatewayListenerPolicyForwardToVirtualClusterState, opts ...ResourceOption) (*EventGatewayListenerPolicyForwardToVirtualCluster, error)
    public static EventGatewayListenerPolicyForwardToVirtualCluster Get(string name, Input<string> id, EventGatewayListenerPolicyForwardToVirtualClusterState? state, CustomResourceOptions? opts = null)
    public static EventGatewayListenerPolicyForwardToVirtualCluster get(String name, Output<String> id, EventGatewayListenerPolicyForwardToVirtualClusterState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayListenerPolicyForwardToVirtualCluster    get:      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:
    Config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    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.
    ListenerId string
    The ID of the Event Gateway Listener.
    Name string
    A unique user-defined name of the policy.
    ParentPolicyId string
    The unique identifier of the parent policy, if any.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Config EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
    The configuration of the policy.
    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.
    ListenerId string
    The ID of the Event Gateway Listener.
    Name string
    A unique user-defined name of the policy.
    ParentPolicyId string
    The unique identifier of the parent policy, if any.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    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.
    listenerId String
    The ID of the Event Gateway Listener.
    name String
    A unique user-defined name of the policy.
    parentPolicyId String
    The unique identifier of the parent policy, if any.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfig
    The configuration of the policy.
    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.
    listenerId string
    The ID of the Event Gateway Listener.
    name string
    A unique user-defined name of the policy.
    parentPolicyId string
    The unique identifier of the parent policy, if any.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs
    The configuration of the policy.
    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.
    listener_id str
    The ID of the Event Gateway Listener.
    name str
    A unique user-defined name of the policy.
    parent_policy_id str
    The unique identifier of the parent policy, if any.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    config Property Map
    The configuration of the policy.
    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.
    listenerId String
    The ID of the Event Gateway Listener.
    name String
    A unique user-defined name of the policy.
    parentPolicyId String
    The unique identifier of the parent policy, if any.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Supporting Types

    EventGatewayListenerPolicyForwardToVirtualClusterConfig, EventGatewayListenerPolicyForwardToVirtualClusterConfigArgs

    PortMapping EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    Sni EventGatewayListenerPolicyForwardToVirtualClusterConfigSni
    The configuration to forward requests to virtual clusters configured with SNI routing.
    PortMapping EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    Sni EventGatewayListenerPolicyForwardToVirtualClusterConfigSni
    The configuration to forward requests to virtual clusters configured with SNI routing.
    portMapping EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    sni EventGatewayListenerPolicyForwardToVirtualClusterConfigSni
    The configuration to forward requests to virtual clusters configured with SNI routing.
    portMapping EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    sni EventGatewayListenerPolicyForwardToVirtualClusterConfigSni
    The configuration to forward requests to virtual clusters configured with SNI routing.
    port_mapping EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    sni EventGatewayListenerPolicyForwardToVirtualClusterConfigSni
    The configuration to forward requests to virtual clusters configured with SNI routing.
    portMapping Property Map
    The configuration to forward request to destination and rewrite ports accordingly. All broker ids must fit in the range of ports defined in the listener, if it doesn't the metadata request will return an error.
    sni Property Map
    The configuration to forward requests to virtual clusters configured with SNI routing.

    EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMapping, EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingArgs

    AdvertisedHost string
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    Destination EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination
    Reference a virtual cluster by its unique identifier.
    BootstrapPort string
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    MinBrokerId double
    The lowest broker node ID in the cluster. Default: 0
    AdvertisedHost string
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    Destination EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination
    Reference a virtual cluster by its unique identifier.
    BootstrapPort string
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    MinBrokerId float64
    The lowest broker node ID in the cluster. Default: 0
    advertisedHost String
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    destination EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination
    Reference a virtual cluster by its unique identifier.
    bootstrapPort String
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    minBrokerId Double
    The lowest broker node ID in the cluster. Default: 0
    advertisedHost string
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    destination EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination
    Reference a virtual cluster by its unique identifier.
    bootstrapPort string
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    minBrokerId number
    The lowest broker node ID in the cluster. Default: 0
    advertised_host str
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    destination EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination
    Reference a virtual cluster by its unique identifier.
    bootstrap_port str
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    min_broker_id float
    The lowest broker node ID in the cluster. Default: 0
    advertisedHost String
    Virtual brokers are advertised to clients using this host. Any kind of host supported by kafka can be used. If not defined, it's listenaddress. If listenaddress is 0.0.0.0 it's the destination IP of the TCP connection.
    destination Property Map
    Reference a virtual cluster by its unique identifier.
    bootstrapPort String
    If set to at_start, the first port will be used as a bootstrap port. It provides a stable endpoint to use as the bootstrap server for clients, regardless of broker IDs in the cluster.
    minBrokerId Number
    The lowest broker node ID in the cluster. Default: 0

    EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestination, EventGatewayListenerPolicyForwardToVirtualClusterConfigPortMappingDestinationArgs

    Id string
    The unique identifier of the virtual cluster.
    Id string
    The unique identifier of the virtual cluster.
    id String
    The unique identifier of the virtual cluster.
    id string
    The unique identifier of the virtual cluster.
    id str
    The unique identifier of the virtual cluster.
    id String
    The unique identifier of the virtual cluster.

    EventGatewayListenerPolicyForwardToVirtualClusterConfigSni, EventGatewayListenerPolicyForwardToVirtualClusterConfigSniArgs

    AdvertisedPort double
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    BrokerHostFormat EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat
    Configures DNS names assigned to brokers in virtual clusters.
    SniSuffix string
    Optional suffix for TLS SNI validation.
    AdvertisedPort float64
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    BrokerHostFormat EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat
    Configures DNS names assigned to brokers in virtual clusters.
    SniSuffix string
    Optional suffix for TLS SNI validation.
    advertisedPort Double
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    brokerHostFormat EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat
    Configures DNS names assigned to brokers in virtual clusters.
    sniSuffix String
    Optional suffix for TLS SNI validation.
    advertisedPort number
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    brokerHostFormat EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat
    Configures DNS names assigned to brokers in virtual clusters.
    sniSuffix string
    Optional suffix for TLS SNI validation.
    advertised_port float
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    broker_host_format EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat
    Configures DNS names assigned to brokers in virtual clusters.
    sni_suffix str
    Optional suffix for TLS SNI validation.
    advertisedPort Number
    Virtual brokers are advertised to clients with this port instead of listen_port. Useful when proxy is behind loadbalancer listening on different port.
    brokerHostFormat Property Map
    Configures DNS names assigned to brokers in virtual clusters.
    sniSuffix String
    Optional suffix for TLS SNI validation.

    EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormat, EventGatewayListenerPolicyForwardToVirtualClusterConfigSniBrokerHostFormatArgs

    Type string
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]
    Type string
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]
    type String
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]
    type string
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]
    type str
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]
    type String
    Default: "perclustersuffix"; must be one of ["perclustersuffix", <span pulumi-lang-nodejs=""sharedSuffix"" pulumi-lang-dotnet=""SharedSuffix"" pulumi-lang-go=""sharedSuffix"" pulumi-lang-python=""shared_suffix"" pulumi-lang-yaml=""sharedSuffix"" pulumi-lang-java=""sharedSuffix"">"shared_suffix"]

    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_listener_policy_forward_to_virtual_cluster.my_konnect_event_gateway_listener_policy_forward_to_virtual_cluster

    id = jsonencode({

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

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/eventGatewayListenerPolicyForwardToVirtualCluster:EventGatewayListenerPolicyForwardToVirtualCluster my_konnect_event_gateway_listener_policy_forward_to_virtual_cluster '{"gateway_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "listener_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 logo
    Viewing docs for konnect 3.11.0
    published on Thursday, Mar 12, 2026 by kong
      Try Pulumi Cloud free. Your team will thank you.