1. Packages
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. EventGatewayTlsTrustBundle
Viewing docs for konnect 3.14.0
published on Friday, Apr 24, 2026 by kong
Viewing docs for konnect 3.14.0
published on Friday, Apr 24, 2026 by kong

    EventGatewayTLSTrustBundle Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myEventgatewaytlstrustbundle = new konnect.EventGatewayTlsTrustBundle("my_eventgatewaytlstrustbundle", {
        config: {
            trustedCa: "...my_trusted_ca...",
        },
        description: "",
        gatewayId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels: {
            key: "value",
        },
        name: "...my_name...",
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_eventgatewaytlstrustbundle = konnect.EventGatewayTlsTrustBundle("my_eventgatewaytlstrustbundle",
        config={
            "trusted_ca": "...my_trusted_ca...",
        },
        description="",
        gateway_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        labels={
            "key": "value",
        },
        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.NewEventGatewayTlsTrustBundle(ctx, "my_eventgatewaytlstrustbundle", &konnect.EventGatewayTlsTrustBundleArgs{
    			Config: &konnect.EventGatewayTlsTrustBundleConfigArgs{
    				TrustedCa: pulumi.String("...my_trusted_ca..."),
    			},
    			Description: pulumi.String(""),
    			GatewayId:   pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
    			Labels: pulumi.StringMap{
    				"key": pulumi.String("value"),
    			},
    			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 myEventgatewaytlstrustbundle = new Konnect.EventGatewayTlsTrustBundle("my_eventgatewaytlstrustbundle", new()
        {
            Config = new Konnect.Inputs.EventGatewayTlsTrustBundleConfigArgs
            {
                TrustedCa = "...my_trusted_ca...",
            },
            Description = "",
            GatewayId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            Labels = 
            {
                { "key", "value" },
            },
            Name = "...my_name...",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.EventGatewayTlsTrustBundle;
    import com.pulumi.konnect.EventGatewayTlsTrustBundleArgs;
    import com.pulumi.konnect.inputs.EventGatewayTlsTrustBundleConfigArgs;
    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 myEventgatewaytlstrustbundle = new EventGatewayTlsTrustBundle("myEventgatewaytlstrustbundle", EventGatewayTlsTrustBundleArgs.builder()
                .config(EventGatewayTlsTrustBundleConfigArgs.builder()
                    .trustedCa("...my_trusted_ca...")
                    .build())
                .description("")
                .gatewayId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .labels(Map.of("key", "value"))
                .name("...my_name...")
                .build());
    
        }
    }
    
    resources:
      myEventgatewaytlstrustbundle:
        type: konnect:EventGatewayTlsTrustBundle
        name: my_eventgatewaytlstrustbundle
        properties:
          config:
            trustedCa: '...my_trusted_ca...'
          description: ""
          gatewayId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          labels:
            key: value
          name: '...my_name...'
    

    Create EventGatewayTlsTrustBundle Resource

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

    Constructor syntax

    new EventGatewayTlsTrustBundle(name: string, args: EventGatewayTlsTrustBundleArgs, opts?: CustomResourceOptions);
    @overload
    def EventGatewayTlsTrustBundle(resource_name: str,
                                   args: EventGatewayTlsTrustBundleArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventGatewayTlsTrustBundle(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   config: Optional[EventGatewayTlsTrustBundleConfigArgs] = None,
                                   gateway_id: Optional[str] = None,
                                   description: Optional[str] = None,
                                   labels: Optional[Mapping[str, str]] = None,
                                   name: Optional[str] = None)
    func NewEventGatewayTlsTrustBundle(ctx *Context, name string, args EventGatewayTlsTrustBundleArgs, opts ...ResourceOption) (*EventGatewayTlsTrustBundle, error)
    public EventGatewayTlsTrustBundle(string name, EventGatewayTlsTrustBundleArgs args, CustomResourceOptions? opts = null)
    public EventGatewayTlsTrustBundle(String name, EventGatewayTlsTrustBundleArgs args)
    public EventGatewayTlsTrustBundle(String name, EventGatewayTlsTrustBundleArgs args, CustomResourceOptions options)
    
    type: konnect:EventGatewayTlsTrustBundle
    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 EventGatewayTlsTrustBundleArgs
    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 EventGatewayTlsTrustBundleArgs
    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 EventGatewayTlsTrustBundleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventGatewayTlsTrustBundleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventGatewayTlsTrustBundleArgs
    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 eventGatewayTlsTrustBundleResource = new Konnect.EventGatewayTlsTrustBundle("eventGatewayTlsTrustBundleResource", new()
    {
        Config = new Konnect.Inputs.EventGatewayTlsTrustBundleConfigArgs
        {
            TrustedCa = "string",
        },
        GatewayId = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := konnect.NewEventGatewayTlsTrustBundle(ctx, "eventGatewayTlsTrustBundleResource", &konnect.EventGatewayTlsTrustBundleArgs{
    	Config: &konnect.EventGatewayTlsTrustBundleConfigArgs{
    		TrustedCa: pulumi.String("string"),
    	},
    	GatewayId:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var eventGatewayTlsTrustBundleResource = new EventGatewayTlsTrustBundle("eventGatewayTlsTrustBundleResource", EventGatewayTlsTrustBundleArgs.builder()
        .config(EventGatewayTlsTrustBundleConfigArgs.builder()
            .trustedCa("string")
            .build())
        .gatewayId("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .build());
    
    event_gateway_tls_trust_bundle_resource = konnect.EventGatewayTlsTrustBundle("eventGatewayTlsTrustBundleResource",
        config={
            "trusted_ca": "string",
        },
        gateway_id="string",
        description="string",
        labels={
            "string": "string",
        },
        name="string")
    
    const eventGatewayTlsTrustBundleResource = new konnect.EventGatewayTlsTrustBundle("eventGatewayTlsTrustBundleResource", {
        config: {
            trustedCa: "string",
        },
        gatewayId: "string",
        description: "string",
        labels: {
            string: "string",
        },
        name: "string",
    });
    
    type: konnect:EventGatewayTlsTrustBundle
    properties:
        config:
            trustedCa: string
        description: string
        gatewayId: string
        labels:
            string: string
        name: string
    

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

    Config EventGatewayTlsTrustBundleConfig
    GatewayId string
    The UUID of your Gateway.
    Description string
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.
    Config EventGatewayTlsTrustBundleConfigArgs
    GatewayId string
    The UUID of your Gateway.
    Description string
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.
    config EventGatewayTlsTrustBundleConfig
    gatewayId String
    The UUID of your Gateway.
    description String
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.
    config EventGatewayTlsTrustBundleConfig
    gatewayId string
    The UUID of your Gateway.
    description string
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.
    config EventGatewayTlsTrustBundleConfigArgs
    gateway_id str
    The UUID of your Gateway.
    description str
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.
    config Property Map
    gatewayId String
    The UUID of your Gateway.
    description String
    A human-readable description of the TLS trust bundle. Default: ""
    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
    The unique name of the TLS trust bundle.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventGatewayTlsTrustBundle 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.
    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 EventGatewayTlsTrustBundle Resource

    Get an existing EventGatewayTlsTrustBundle 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?: EventGatewayTlsTrustBundleState, opts?: CustomResourceOptions): EventGatewayTlsTrustBundle
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[EventGatewayTlsTrustBundleConfigArgs] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            gateway_id: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None) -> EventGatewayTlsTrustBundle
    func GetEventGatewayTlsTrustBundle(ctx *Context, name string, id IDInput, state *EventGatewayTlsTrustBundleState, opts ...ResourceOption) (*EventGatewayTlsTrustBundle, error)
    public static EventGatewayTlsTrustBundle Get(string name, Input<string> id, EventGatewayTlsTrustBundleState? state, CustomResourceOptions? opts = null)
    public static EventGatewayTlsTrustBundle get(String name, Output<String> id, EventGatewayTlsTrustBundleState state, CustomResourceOptions options)
    resources:  _:    type: konnect:EventGatewayTlsTrustBundle    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 EventGatewayTlsTrustBundleConfig
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    Name string
    The unique name of the TLS trust bundle.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Config EventGatewayTlsTrustBundleConfigArgs
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    Description string
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    Name string
    The unique name of the TLS trust bundle.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayTlsTrustBundleConfig
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    name String
    The unique name of the TLS trust bundle.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayTlsTrustBundleConfig
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    description string
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    name string
    The unique name of the TLS trust bundle.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    config EventGatewayTlsTrustBundleConfigArgs
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    description str
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    name str
    The unique name of the TLS trust bundle.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    config Property Map
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    description String
    A human-readable description of the TLS trust bundle. Default: ""
    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.
    name String
    The unique name of the TLS trust bundle.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Supporting Types

    EventGatewayTlsTrustBundleConfig, EventGatewayTlsTrustBundleConfigArgs

    TrustedCa string
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.
    TrustedCa string
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.
    trustedCa String
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.
    trustedCa string
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.
    trusted_ca str
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.
    trustedCa String
    PEM-encoded list of trusted CA certificates used to verify client certificates. Can be a literal PEM string or a vault reference.

    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_tls_trust_bundle.my_konnect_event_gateway_tls_trust_bundle

    id = jsonencode({

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

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/eventGatewayTlsTrustBundle:EventGatewayTlsTrustBundle my_konnect_event_gateway_tls_trust_bundle '{"gateway_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "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.
    Viewing docs for konnect 3.14.0
    published on Friday, Apr 24, 2026 by kong
      Try Pulumi Cloud free. Your team will thank you.