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

    EventGatewayListenerPolicyTLSServer Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewaylistenerpolicytlsserver = new konnect.EventGatewayListenerPolicyTlsServer("my_eventgatewaylistenerpolicytlsserver", {
        config: {
            allowPlaintext: true,
            certificates: [{
                certificate: "...my_certificate...",
                key: "${vault.env['MY_ENV_VAR']}",
            }],
            versions: {
                max: "TLSv1.3",
                min: "TLSv1.3",
            },
        },
        description: "...my_description...",
        enabled: true,
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        listenerId: "f7d7b9be-5608-44c3-8f6a-46e055797c31",
        name: "...my_name...",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewaylistenerpolicytlsserver = konnect.EventGatewayListenerPolicyTlsServer("my_eventgatewaylistenerpolicytlsserver",
        config={
            "allow_plaintext": True,
            "certificates": [{
                "certificate": "...my_certificate...",
                "key": "${vault.env['MY_ENV_VAR']}",
            }],
            "versions": {
                "max": "TLSv1.3",
                "min": "TLSv1.3",
            },
        },
        description="...my_description...",
        enabled=True,
        gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels={
            "key": "value",
        },
        listener_id="f7d7b9be-5608-44c3-8f6a-46e055797c31",
        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.NewEventGatewayListenerPolicyTlsServer(ctx, "my_eventgatewaylistenerpolicytlsserver", &konnect.EventGatewayListenerPolicyTlsServerArgs{
    			Config: &konnect.EventGatewayListenerPolicyTlsServerConfigArgs{
    				AllowPlaintext: pulumi.Bool(true),
    				Certificates: konnect.EventGatewayListenerPolicyTlsServerConfigCertificateArray{
    					&konnect.EventGatewayListenerPolicyTlsServerConfigCertificateArgs{
    						Certificate: pulumi.String("...my_certificate..."),
    						Key:         pulumi.String("${vault.env['MY_ENV_VAR']}"),
    					},
    				},
    				Versions: &konnect.EventGatewayListenerPolicyTlsServerConfigVersionsArgs{
    					Max: pulumi.String("TLSv1.3"),
    					Min: pulumi.String("TLSv1.3"),
    				},
    			},
    			Description: pulumi.String("...my_description..."),
    			Enabled:     pulumi.Bool(true),
    			GatewayId:   pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			ListenerId: pulumi.String("f7d7b9be-5608-44c3-8f6a-46e055797c31"),
    			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 myEventgatewaylistenerpolicytlsserver = new Konnect.EventGatewayListenerPolicyTlsServer("my_eventgatewaylistenerpolicytlsserver", new()
        {
            Config = new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigArgs
            {
                AllowPlaintext = true,
                Certificates = new[]
                {
                    new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigCertificateArgs
                    {
                        Certificate = "...my_certificate...",
                        Key = "${vault.env['MY_ENV_VAR']}",
                    },
                },
                Versions = new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigVersionsArgs
                {
                    Max = "TLSv1.3",
                    Min = "TLSv1.3",
                },
            },
            Description = "...my_description...",
            Enabled = true,
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            ListenerId = "f7d7b9be-5608-44c3-8f6a-46e055797c31",
            Name = "...my_name...",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayListenerPolicyTlsServer;
    import com.pulumi.konnect.EventGatewayListenerPolicyTlsServerArgs;
    import com.pulumi.konnect.inputs.EventGatewayListenerPolicyTlsServerConfigArgs;
    import com.pulumi.konnect.inputs.EventGatewayListenerPolicyTlsServerConfigVersionsArgs;
    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 myEventgatewaylistenerpolicytlsserver = new EventGatewayListenerPolicyTlsServer("myEventgatewaylistenerpolicytlsserver", EventGatewayListenerPolicyTlsServerArgs.builder()
                .config(EventGatewayListenerPolicyTlsServerConfigArgs.builder()
                    .allowPlaintext(true)
                    .certificates(EventGatewayListenerPolicyTlsServerConfigCertificateArgs.builder()
                        .certificate("...my_certificate...")
                        .key("${vault.env['MY_ENV_VAR']}")
                        .build())
                    .versions(EventGatewayListenerPolicyTlsServerConfigVersionsArgs.builder()
                        .max("TLSv1.3")
                        .min("TLSv1.3")
                        .build())
                    .build())
                .description("...my_description...")
                .enabled(true)
                .gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .labels(Map.of("key", "value"))
                .listenerId("f7d7b9be-5608-44c3-8f6a-46e055797c31")
                .name("...my_name...")
                .build());
    
        }
    }
    
    resources:
      myEventgatewaylistenerpolicytlsserver:
        type: konnect:EventGatewayListenerPolicyTlsServer
        name: my_eventgatewaylistenerpolicytlsserver
        properties:
          config:
            allowPlaintext: true
            certificates:
              - certificate: '...my_certificate...'
                key: $${vault.env['MY_ENV_VAR']}
            versions:
              max: TLSv1.3
              min: TLSv1.3
          description: '...my_description...'
          enabled: true
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          listenerId: f7d7b9be-5608-44c3-8f6a-46e055797c31
          name: '...my_name...'
    

    Create EventGatewayListenerPolicyTlsServer Resource

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

    Constructor syntax

    new EventGatewayListenerPolicyTlsServer(name: string, args: EventGatewayListenerPolicyTlsServerArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayListenerPolicyTlsServer(resource_name: str,
                                            args: EventGatewayListenerPolicyTlsServerArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayListenerPolicyTlsServer(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            config: Optional[EventGatewayListenerPolicyTlsServerConfigArgs] = 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 NewEventGatewayListenerPolicyTlsServer(ctx *Context, name string, args EventGatewayListenerPolicyTlsServerArgs, opts ...ResourceOption) (*EventGatewayListenerPolicyTlsServer, error)
    public EventGatewayListenerPolicyTlsServer(string name, EventGatewayListenerPolicyTlsServerArgs args, CustomResourceOptions? opts = null)
    public EventGatewayListenerPolicyTlsServer(String name, EventGatewayListenerPolicyTlsServerArgs args)
    public EventGatewayListenerPolicyTlsServer(String name, EventGatewayListenerPolicyTlsServerArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayListenerPolicyTlsServer
    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 EventGatewayListenerPolicyTlsServerArgs
    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 EventGatewayListenerPolicyTlsServerArgs
    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 EventGatewayListenerPolicyTlsServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayListenerPolicyTlsServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayListenerPolicyTlsServerArgs
    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 eventGatewayListenerPolicyTlsServerResource = new Konnect.EventGatewayListenerPolicyTlsServer("eventGatewayListenerPolicyTlsServerResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigArgs
        {
            Certificates = new[]
            {
                new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigCertificateArgs
                {
                    Certificate = "string",
                    Key = "string",
                },
            },
            AllowPlaintext = false,
            Versions = new Konnect.Inputs.EventGatewayListenerPolicyTlsServerConfigVersionsArgs
            {
                Max = "string",
                Min = "string",
            },
        },
        GatewayId = "string",
        ListenerId = "string",
        Description = "string",
        Enabled = false,
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayListenerPolicyTlsServer(ctx, "eventGatewayListenerPolicyTlsServerResource", &konnect.EventGatewayListenerPolicyTlsServerArgs{
    	Config: &konnect.EventGatewayListenerPolicyTlsServerConfigArgs{
    		Certificates: konnect.EventGatewayListenerPolicyTlsServerConfigCertificateArray{
    			&konnect.EventGatewayListenerPolicyTlsServerConfigCertificateArgs{
    				Certificate: pulumi.String("string"),
    				Key:         pulumi.String("string"),
    			},
    		},
    		AllowPlaintext: pulumi.Bool(false),
    		Versions: &konnect.EventGatewayListenerPolicyTlsServerConfigVersionsArgs{
    			Max: pulumi.String("string"),
    			Min: 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 eventGatewayListenerPolicyTlsServerResource = new EventGatewayListenerPolicyTlsServer("eventGatewayListenerPolicyTlsServerResource", EventGatewayListenerPolicyTlsServerArgs.builder()
        .config(EventGatewayListenerPolicyTlsServerConfigArgs.builder()
            .certificates(EventGatewayListenerPolicyTlsServerConfigCertificateArgs.builder()
                .certificate("string")
                .key("string")
                .build())
            .allowPlaintext(false)
            .versions(EventGatewayListenerPolicyTlsServerConfigVersionsArgs.builder()
                .max("string")
                .min("string")
                .build())
            .build())
        .gatewayId("string")
        .listenerId("string")
        .description("string")
        .enabled(false)
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    event_gateway_listener_policy_tls_server_resource = konnect.EventGatewayListenerPolicyTlsServer("eventGatewayListenerPolicyTlsServerResource",
        config={
            "certificates": [{
                "certificate": "string",
                "key": "string",
            }],
            "allow_plaintext": False,
            "versions": {
                "max": "string",
                "min": "string",
            },
        },
        gateway_id="string",
        listener_id="string",
        description="string",
        enabled=False,
        labels={
            "string": "string",
        },
        name="string")
    
    const eventGatewayListenerPolicyTlsServerResource = new konnect.EventGatewayListenerPolicyTlsServer("eventGatewayListenerPolicyTlsServerResource", {
        config: {
            certificates: [{
                certificate: "string",
                key: "string",
            }],
            allowPlaintext: false,
            versions: {
                max: "string",
                min: "string",
            },
        },
        gatewayId: "string",
        listenerId: "string",
        description: "string",
        enabled: false,
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:EventGatewayListenerPolicyTlsServer
    properties:
        config:
            allowPlaintext: false
            certificates:
                - certificate: string
                  key: string
            versions:
                max: string
                min: string
        description: string
        enabled: false
        gatewayId: string
        labels:
            string: string
        listenerId: string
        name: string
    

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

    Config EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfigArgs
    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 EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfigArgs
    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 EventGatewayListenerPolicyTlsServer 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 EventGatewayListenerPolicyTlsServer Resource

    Get an existing EventGatewayListenerPolicyTlsServer 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?: EventGatewayListenerPolicyTlsServerState, opts?: CustomResourceOptions): EventGatewayListenerPolicyTlsServer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[EventGatewayListenerPolicyTlsServerConfigArgs] = 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) -> EventGatewayListenerPolicyTlsServer
    func GetEventGatewayListenerPolicyTlsServer(ctx *Context, name string, id IDInput, state *EventGatewayListenerPolicyTlsServerState, opts ...ResourceOption) (*EventGatewayListenerPolicyTlsServer, error)
    public static EventGatewayListenerPolicyTlsServer Get(string name, Input<string> id, EventGatewayListenerPolicyTlsServerState? state, CustomResourceOptions? opts = null)
    public static EventGatewayListenerPolicyTlsServer get(String name, Output<String> id, EventGatewayListenerPolicyTlsServerState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayListenerPolicyTlsServer    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 EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfigArgs
    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 EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfig
    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 EventGatewayListenerPolicyTlsServerConfigArgs
    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

    EventGatewayListenerPolicyTlsServerConfig, EventGatewayListenerPolicyTlsServerConfigArgs

    Certificates List<EventGatewayListenerPolicyTlsServerConfigCertificate>
    AllowPlaintext bool
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    Versions EventGatewayListenerPolicyTlsServerConfigVersions
    A range of TLS versions.
    Certificates []EventGatewayListenerPolicyTlsServerConfigCertificate
    AllowPlaintext bool
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    Versions EventGatewayListenerPolicyTlsServerConfigVersions
    A range of TLS versions.
    certificates List<EventGatewayListenerPolicyTlsServerConfigCertificate>
    allowPlaintext Boolean
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    versions EventGatewayListenerPolicyTlsServerConfigVersions
    A range of TLS versions.
    certificates EventGatewayListenerPolicyTlsServerConfigCertificate[]
    allowPlaintext boolean
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    versions EventGatewayListenerPolicyTlsServerConfigVersions
    A range of TLS versions.
    certificates Sequence[EventGatewayListenerPolicyTlsServerConfigCertificate]
    allow_plaintext bool
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    versions EventGatewayListenerPolicyTlsServerConfigVersions
    A range of TLS versions.
    certificates List<Property Map>
    allowPlaintext Boolean
    If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed. Default: false
    versions Property Map
    A range of TLS versions.

    EventGatewayListenerPolicyTlsServerConfigCertificate, EventGatewayListenerPolicyTlsServerConfigCertificateArgs

    Certificate string
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    Key string
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.
    Certificate string
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    Key string
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.
    certificate String
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    key String
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.
    certificate string
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    key string
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.
    certificate str
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    key str
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.
    certificate String
    A literal value or a reference to an existing secret as a template string expression. The value is stored and returned by the API as-is, not treated as sensitive information.
    key String
    A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.

    EventGatewayListenerPolicyTlsServerConfigVersions, EventGatewayListenerPolicyTlsServerConfigVersionsArgs

    Max string
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    Min string
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]
    Max string
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    Min string
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]
    max String
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    min String
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]
    max string
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    min string
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]
    max str
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    min str
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]
    max String
    Maximum TLS version to use. Default: "TLSv1.3"; must be one of ["TLSv1.2", "TLSv1.3"]
    min String
    Minimum TLS version to use. Default: "TLSv1.2"; must be one of ["TLSv1.2", "TLSv1.3"]

    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_tls_server.my_konnect_event_gateway_listener_policy_tls_server

    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/eventGatewayListenerPolicyTlsServer:EventGatewayListenerPolicyTlsServer my_konnect_event_gateway_listener_policy_tls_server '{"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.