1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayCustomPluginStreaming
konnect 2.7.1 published on Thursday, May 1, 2025 by kong

konnect.GatewayCustomPluginStreaming

Explore with Pulumi AI

konnect logo
konnect 2.7.1 published on Thursday, May 1, 2025 by kong

    GatewayCustomPluginStreaming Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myGatewaycustompluginstreaming = new konnect.GatewayCustomPluginStreaming("myGatewaycustompluginstreaming", {
        controlPlaneId: "9524ec7d-36d9-465d-a8c5-83a3c9390458",
        createdAt: 10,
        handler: "...my_handler...",
        gatewayCustomPluginStreamingId: "...my_id...",
        schema: "...my_schema...",
        tags: ["..."],
        updatedAt: 1,
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_gatewaycustompluginstreaming = konnect.GatewayCustomPluginStreaming("myGatewaycustompluginstreaming",
        control_plane_id="9524ec7d-36d9-465d-a8c5-83a3c9390458",
        created_at=10,
        handler="...my_handler...",
        gateway_custom_plugin_streaming_id="...my_id...",
        schema="...my_schema...",
        tags=["..."],
        updated_at=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v2/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.NewGatewayCustomPluginStreaming(ctx, "myGatewaycustompluginstreaming", &konnect.GatewayCustomPluginStreamingArgs{
    			ControlPlaneId:                 pulumi.String("9524ec7d-36d9-465d-a8c5-83a3c9390458"),
    			CreatedAt:                      pulumi.Float64(10),
    			Handler:                        pulumi.String("...my_handler..."),
    			GatewayCustomPluginStreamingId: pulumi.String("...my_id..."),
    			Schema:                         pulumi.String("...my_schema..."),
    			Tags: pulumi.StringArray{
    				pulumi.String("..."),
    			},
    			UpdatedAt: pulumi.Float64(1),
    		})
    		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 myGatewaycustompluginstreaming = new Konnect.GatewayCustomPluginStreaming("myGatewaycustompluginstreaming", new()
        {
            ControlPlaneId = "9524ec7d-36d9-465d-a8c5-83a3c9390458",
            CreatedAt = 10,
            Handler = "...my_handler...",
            GatewayCustomPluginStreamingId = "...my_id...",
            Schema = "...my_schema...",
            Tags = new[]
            {
                "...",
            },
            UpdatedAt = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.GatewayCustomPluginStreaming;
    import com.pulumi.konnect.GatewayCustomPluginStreamingArgs;
    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 myGatewaycustompluginstreaming = new GatewayCustomPluginStreaming("myGatewaycustompluginstreaming", GatewayCustomPluginStreamingArgs.builder()
                .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .createdAt(10)
                .handler("...my_handler...")
                .gatewayCustomPluginStreamingId("...my_id...")
                .schema("...my_schema...")
                .tags("...")
                .updatedAt(1)
                .build());
    
        }
    }
    
    resources:
      myGatewaycustompluginstreaming:
        type: konnect:GatewayCustomPluginStreaming
        properties:
          controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          createdAt: 10
          handler: '...my_handler...'
          gatewayCustomPluginStreamingId: '...my_id...'
          schema: '...my_schema...'
          tags:
            - '...'
          updatedAt: 1
    

    Create GatewayCustomPluginStreaming Resource

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

    Constructor syntax

    new GatewayCustomPluginStreaming(name: string, args: GatewayCustomPluginStreamingArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayCustomPluginStreaming(resource_name: str,
                                     args: GatewayCustomPluginStreamingArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayCustomPluginStreaming(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     control_plane_id: Optional[str] = None,
                                     handler: Optional[str] = None,
                                     schema: Optional[str] = None,
                                     created_at: Optional[float] = None,
                                     gateway_custom_plugin_streaming_id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     tags: Optional[Sequence[str]] = None,
                                     updated_at: Optional[float] = None)
    func NewGatewayCustomPluginStreaming(ctx *Context, name string, args GatewayCustomPluginStreamingArgs, opts ...ResourceOption) (*GatewayCustomPluginStreaming, error)
    public GatewayCustomPluginStreaming(string name, GatewayCustomPluginStreamingArgs args, CustomResourceOptions? opts = null)
    public GatewayCustomPluginStreaming(String name, GatewayCustomPluginStreamingArgs args)
    public GatewayCustomPluginStreaming(String name, GatewayCustomPluginStreamingArgs args, CustomResourceOptions options)
    
    type: konnect:GatewayCustomPluginStreaming
    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 GatewayCustomPluginStreamingArgs
    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 GatewayCustomPluginStreamingArgs
    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 GatewayCustomPluginStreamingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayCustomPluginStreamingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayCustomPluginStreamingArgs
    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 gatewayCustomPluginStreamingResource = new Konnect.GatewayCustomPluginStreaming("gatewayCustomPluginStreamingResource", new()
    {
        ControlPlaneId = "string",
        Handler = "string",
        Schema = "string",
        CreatedAt = 0,
        GatewayCustomPluginStreamingId = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        UpdatedAt = 0,
    });
    
    example, err := konnect.NewGatewayCustomPluginStreaming(ctx, "gatewayCustomPluginStreamingResource", &konnect.GatewayCustomPluginStreamingArgs{
    	ControlPlaneId:                 pulumi.String("string"),
    	Handler:                        pulumi.String("string"),
    	Schema:                         pulumi.String("string"),
    	CreatedAt:                      pulumi.Float64(0),
    	GatewayCustomPluginStreamingId: pulumi.String("string"),
    	Name:                           pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdatedAt: pulumi.Float64(0),
    })
    
    var gatewayCustomPluginStreamingResource = new GatewayCustomPluginStreaming("gatewayCustomPluginStreamingResource", GatewayCustomPluginStreamingArgs.builder()
        .controlPlaneId("string")
        .handler("string")
        .schema("string")
        .createdAt(0)
        .gatewayCustomPluginStreamingId("string")
        .name("string")
        .tags("string")
        .updatedAt(0)
        .build());
    
    gateway_custom_plugin_streaming_resource = konnect.GatewayCustomPluginStreaming("gatewayCustomPluginStreamingResource",
        control_plane_id="string",
        handler="string",
        schema="string",
        created_at=0,
        gateway_custom_plugin_streaming_id="string",
        name="string",
        tags=["string"],
        updated_at=0)
    
    const gatewayCustomPluginStreamingResource = new konnect.GatewayCustomPluginStreaming("gatewayCustomPluginStreamingResource", {
        controlPlaneId: "string",
        handler: "string",
        schema: "string",
        createdAt: 0,
        gatewayCustomPluginStreamingId: "string",
        name: "string",
        tags: ["string"],
        updatedAt: 0,
    });
    
    type: konnect:GatewayCustomPluginStreaming
    properties:
        controlPlaneId: string
        createdAt: 0
        gatewayCustomPluginStreamingId: string
        handler: string
        name: string
        schema: string
        tags:
            - string
        updatedAt: 0
    

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

    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Handler string
    Schema string
    CreatedAt double
    Unix epoch when the resource was created.
    GatewayCustomPluginStreamingId string
    The ID of this resource.
    Name string
    Tags List<string>
    UpdatedAt double
    Unix epoch when the resource was last updated.
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Handler string
    Schema string
    CreatedAt float64
    Unix epoch when the resource was created.
    GatewayCustomPluginStreamingId string
    The ID of this resource.
    Name string
    Tags []string
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    handler String
    schema String
    createdAt Double
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId String
    The ID of this resource.
    name String
    tags List<String>
    updatedAt Double
    Unix epoch when the resource was last updated.
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    handler string
    schema string
    createdAt number
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId string
    The ID of this resource.
    name string
    tags string[]
    updatedAt number
    Unix epoch when the resource was last updated.
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    handler str
    schema str
    created_at float
    Unix epoch when the resource was created.
    gateway_custom_plugin_streaming_id str
    The ID of this resource.
    name str
    tags Sequence[str]
    updated_at float
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    handler String
    schema String
    createdAt Number
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId String
    The ID of this resource.
    name String
    tags List<String>
    updatedAt Number
    Unix epoch when the resource was last updated.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GatewayCustomPluginStreaming Resource

    Get an existing GatewayCustomPluginStreaming 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?: GatewayCustomPluginStreamingState, opts?: CustomResourceOptions): GatewayCustomPluginStreaming
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            control_plane_id: Optional[str] = None,
            created_at: Optional[float] = None,
            gateway_custom_plugin_streaming_id: Optional[str] = None,
            handler: Optional[str] = None,
            name: Optional[str] = None,
            schema: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[float] = None) -> GatewayCustomPluginStreaming
    func GetGatewayCustomPluginStreaming(ctx *Context, name string, id IDInput, state *GatewayCustomPluginStreamingState, opts ...ResourceOption) (*GatewayCustomPluginStreaming, error)
    public static GatewayCustomPluginStreaming Get(string name, Input<string> id, GatewayCustomPluginStreamingState? state, CustomResourceOptions? opts = null)
    public static GatewayCustomPluginStreaming get(String name, Output<String> id, GatewayCustomPluginStreamingState state, CustomResourceOptions options)
    resources:  _:    type: konnect:GatewayCustomPluginStreaming    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:
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt double
    Unix epoch when the resource was created.
    GatewayCustomPluginStreamingId string
    The ID of this resource.
    Handler string
    Name string
    Schema string
    Tags List<string>
    UpdatedAt double
    Unix epoch when the resource was last updated.
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    CreatedAt float64
    Unix epoch when the resource was created.
    GatewayCustomPluginStreamingId string
    The ID of this resource.
    Handler string
    Name string
    Schema string
    Tags []string
    UpdatedAt float64
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Double
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId String
    The ID of this resource.
    handler String
    name String
    schema String
    tags List<String>
    updatedAt Double
    Unix epoch when the resource was last updated.
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt number
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId string
    The ID of this resource.
    handler string
    name string
    schema string
    tags string[]
    updatedAt number
    Unix epoch when the resource was last updated.
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    created_at float
    Unix epoch when the resource was created.
    gateway_custom_plugin_streaming_id str
    The ID of this resource.
    handler str
    name str
    schema str
    tags Sequence[str]
    updated_at float
    Unix epoch when the resource was last updated.
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    createdAt Number
    Unix epoch when the resource was created.
    gatewayCustomPluginStreamingId String
    The ID of this resource.
    handler String
    name String
    schema String
    tags List<String>
    updatedAt Number
    Unix epoch when the resource was last updated.

    Import

    $ pulumi import konnect:index/gatewayCustomPluginStreaming:GatewayCustomPluginStreaming my_konnect_gateway_custom_plugin_streaming "{ \"control_plane_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.
    konnect logo
    konnect 2.7.1 published on Thursday, May 1, 2025 by kong