konnect.GatewayCustomPluginStreaming
Explore with Pulumi AI
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:
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Handler string
- Schema string
- Created
At double - Unix epoch when the resource was created.
- Gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- Name string
- List<string>
- Updated
At double - Unix epoch when the resource was last updated.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Handler string
- Schema string
- Created
At float64 - Unix epoch when the resource was created.
- Gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- Name string
- []string
- Updated
At float64 - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- handler String
- schema String
- created
At Double - Unix epoch when the resource was created.
- gateway
Custom StringPlugin Streaming Id - The ID of this resource.
- name String
- List<String>
- updated
At Double - Unix epoch when the resource was last updated.
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- handler string
- schema string
- created
At number - Unix epoch when the resource was created.
- gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- name string
- string[]
- updated
At number - Unix epoch when the resource was last updated.
- control_
plane_ strid - 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_ strplugin_ streaming_ id - The ID of this resource.
- name str
- Sequence[str]
- updated_
at float - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- handler String
- schema String
- created
At Number - Unix epoch when the resource was created.
- gateway
Custom StringPlugin Streaming Id - The ID of this resource.
- name String
- List<String>
- updated
At 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.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At double - Unix epoch when the resource was created.
- Gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- Handler string
- Name string
- Schema string
- List<string>
- Updated
At double - Unix epoch when the resource was last updated.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At float64 - Unix epoch when the resource was created.
- Gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- Handler string
- Name string
- Schema string
- []string
- Updated
At float64 - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Double - Unix epoch when the resource was created.
- gateway
Custom StringPlugin Streaming Id - The ID of this resource.
- handler String
- name String
- schema String
- List<String>
- updated
At Double - Unix epoch when the resource was last updated.
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At number - Unix epoch when the resource was created.
- gateway
Custom stringPlugin Streaming Id - The ID of this resource.
- handler string
- name string
- schema string
- string[]
- updated
At number - Unix epoch when the resource was last updated.
- control_
plane_ strid - 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_ strplugin_ streaming_ id - The ID of this resource.
- handler str
- name str
- schema str
- Sequence[str]
- updated_
at float - Unix epoch when the resource was last updated.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Number - Unix epoch when the resource was created.
- gateway
Custom StringPlugin Streaming Id - The ID of this resource.
- handler String
- name String
- schema String
- List<String>
- updated
At 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.