1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginPreFunction
konnect 2.5.0 published on Tuesday, Apr 15, 2025 by kong

konnect.GatewayPluginPreFunction

Explore with Pulumi AI

GatewayPluginPreFunction Resource

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPluginPreFunction;
import com.pulumi.konnect.GatewayPluginPreFunctionArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginPreFunctionServiceArgs;
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 myGatewaypluginprefunction = new GatewayPluginPreFunction("myGatewaypluginprefunction", GatewayPluginPreFunctionArgs.builder()
            .config(GatewayPluginPreFunctionConfigArgs.builder()
                .access("...")
                .body_filter("...")
                .certificate("...")
                .header_filter("...")
                .log("...")
                .rewrite("...")
                .ws_client_frame("...")
                .ws_close("...")
                .ws_handshake("...")
                .ws_upstream_frame("...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .createdAt(6)
            .enabled(true)
            .gatewayPluginPreFunctionId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginPreFunctionOrderingArgs.builder()
                .after(GatewayPluginPreFunctionOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginPreFunctionOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("udp")
            .route(GatewayPluginPreFunctionRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginPreFunctionServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .updatedAt(3)
            .build());

    }
}
Copy
resources:
  myGatewaypluginprefunction:
    type: konnect:GatewayPluginPreFunction
    properties:
      config:
        access:
          - '...'
        body_filter:
          - '...'
        certificate:
          - '...'
        header_filter:
          - '...'
        log:
          - '...'
        rewrite:
          - '...'
        ws_client_frame:
          - '...'
        ws_close:
          - '...'
        ws_handshake:
          - '...'
        ws_upstream_frame:
          - '...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      createdAt: 6
      enabled: true
      gatewayPluginPreFunctionId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - udp
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
      updatedAt: 3
Copy

Create GatewayPluginPreFunction Resource

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

Constructor syntax

new GatewayPluginPreFunction(name: string, args: GatewayPluginPreFunctionArgs, opts?: CustomResourceOptions);
@overload
def GatewayPluginPreFunction(resource_name: str,
                             args: GatewayPluginPreFunctionArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def GatewayPluginPreFunction(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             control_plane_id: Optional[str] = None,
                             config: Optional[GatewayPluginPreFunctionConfigArgs] = None,
                             created_at: Optional[float] = None,
                             enabled: Optional[bool] = None,
                             gateway_plugin_pre_function_id: Optional[str] = None,
                             instance_name: Optional[str] = None,
                             ordering: Optional[GatewayPluginPreFunctionOrderingArgs] = None,
                             protocols: Optional[Sequence[str]] = None,
                             route: Optional[GatewayPluginPreFunctionRouteArgs] = None,
                             service: Optional[GatewayPluginPreFunctionServiceArgs] = None,
                             tags: Optional[Sequence[str]] = None,
                             updated_at: Optional[float] = None)
func NewGatewayPluginPreFunction(ctx *Context, name string, args GatewayPluginPreFunctionArgs, opts ...ResourceOption) (*GatewayPluginPreFunction, error)
public GatewayPluginPreFunction(string name, GatewayPluginPreFunctionArgs args, CustomResourceOptions? opts = null)
public GatewayPluginPreFunction(String name, GatewayPluginPreFunctionArgs args)
public GatewayPluginPreFunction(String name, GatewayPluginPreFunctionArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginPreFunction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GatewayPluginPreFunctionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GatewayPluginPreFunctionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GatewayPluginPreFunctionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GatewayPluginPreFunctionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GatewayPluginPreFunctionArgs
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 gatewayPluginPreFunctionResource = new Konnect.GatewayPluginPreFunction("gatewayPluginPreFunctionResource", new()
{
    ControlPlaneId = "string",
    Config = new Konnect.Inputs.GatewayPluginPreFunctionConfigArgs
    {
        Accesses = new[]
        {
            "string",
        },
        BodyFilters = new[]
        {
            "string",
        },
        Certificates = new[]
        {
            "string",
        },
        HeaderFilters = new[]
        {
            "string",
        },
        Logs = new[]
        {
            "string",
        },
        Rewrites = new[]
        {
            "string",
        },
        WsClientFrames = new[]
        {
            "string",
        },
        WsCloses = new[]
        {
            "string",
        },
        WsHandshakes = new[]
        {
            "string",
        },
        WsUpstreamFrames = new[]
        {
            "string",
        },
    },
    CreatedAt = 0,
    Enabled = false,
    GatewayPluginPreFunctionId = "string",
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginPreFunctionOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginPreFunctionOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginPreFunctionOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginPreFunctionRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginPreFunctionServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
    UpdatedAt = 0,
});
Copy
example, err := konnect.NewGatewayPluginPreFunction(ctx, "gatewayPluginPreFunctionResource", &konnect.GatewayPluginPreFunctionArgs{
ControlPlaneId: pulumi.String("string"),
Config: &.GatewayPluginPreFunctionConfigArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
BodyFilters: pulumi.StringArray{
pulumi.String("string"),
},
Certificates: pulumi.StringArray{
pulumi.String("string"),
},
HeaderFilters: pulumi.StringArray{
pulumi.String("string"),
},
Logs: pulumi.StringArray{
pulumi.String("string"),
},
Rewrites: pulumi.StringArray{
pulumi.String("string"),
},
WsClientFrames: pulumi.StringArray{
pulumi.String("string"),
},
WsCloses: pulumi.StringArray{
pulumi.String("string"),
},
WsHandshakes: pulumi.StringArray{
pulumi.String("string"),
},
WsUpstreamFrames: pulumi.StringArray{
pulumi.String("string"),
},
},
CreatedAt: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
GatewayPluginPreFunctionId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginPreFunctionOrderingArgs{
After: &.GatewayPluginPreFunctionOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginPreFunctionOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginPreFunctionRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginPreFunctionServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
})
Copy
var gatewayPluginPreFunctionResource = new GatewayPluginPreFunction("gatewayPluginPreFunctionResource", GatewayPluginPreFunctionArgs.builder()
    .controlPlaneId("string")
    .config(GatewayPluginPreFunctionConfigArgs.builder()
        .accesses("string")
        .bodyFilters("string")
        .certificates("string")
        .headerFilters("string")
        .logs("string")
        .rewrites("string")
        .wsClientFrames("string")
        .wsCloses("string")
        .wsHandshakes("string")
        .wsUpstreamFrames("string")
        .build())
    .createdAt(0)
    .enabled(false)
    .gatewayPluginPreFunctionId("string")
    .instanceName("string")
    .ordering(GatewayPluginPreFunctionOrderingArgs.builder()
        .after(GatewayPluginPreFunctionOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginPreFunctionOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginPreFunctionRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginPreFunctionServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .updatedAt(0)
    .build());
Copy
gateway_plugin_pre_function_resource = konnect.GatewayPluginPreFunction("gatewayPluginPreFunctionResource",
    control_plane_id="string",
    config={
        "accesses": ["string"],
        "body_filters": ["string"],
        "certificates": ["string"],
        "header_filters": ["string"],
        "logs": ["string"],
        "rewrites": ["string"],
        "ws_client_frames": ["string"],
        "ws_closes": ["string"],
        "ws_handshakes": ["string"],
        "ws_upstream_frames": ["string"],
    },
    created_at=0,
    enabled=False,
    gateway_plugin_pre_function_id="string",
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"],
    updated_at=0)
Copy
const gatewayPluginPreFunctionResource = new konnect.GatewayPluginPreFunction("gatewayPluginPreFunctionResource", {
    controlPlaneId: "string",
    config: {
        accesses: ["string"],
        bodyFilters: ["string"],
        certificates: ["string"],
        headerFilters: ["string"],
        logs: ["string"],
        rewrites: ["string"],
        wsClientFrames: ["string"],
        wsCloses: ["string"],
        wsHandshakes: ["string"],
        wsUpstreamFrames: ["string"],
    },
    createdAt: 0,
    enabled: false,
    gatewayPluginPreFunctionId: "string",
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
    updatedAt: 0,
});
Copy
type: konnect:GatewayPluginPreFunction
properties:
    config:
        accesses:
            - string
        bodyFilters:
            - string
        certificates:
            - string
        headerFilters:
            - string
        logs:
            - string
        rewrites:
            - string
        wsClientFrames:
            - string
        wsCloses:
            - string
        wsHandshakes:
            - string
        wsUpstreamFrames:
            - string
    controlPlaneId: string
    createdAt: 0
    enabled: false
    gatewayPluginPreFunctionId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
    updatedAt: 0
Copy

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

ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Config GatewayPluginPreFunctionConfig
CreatedAt double
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginPreFunctionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginPreFunctionOrdering
Protocols List<string>
A set of strings representing protocols.
Route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
Service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
Tags List<string>
An optional set of strings associated with the Plugin for grouping and filtering.
UpdatedAt double
Unix epoch when the resource was last updated.
ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Config GatewayPluginPreFunctionConfigArgs
CreatedAt float64
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginPreFunctionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginPreFunctionOrderingArgs
Protocols []string
A set of strings representing protocols.
Route GatewayPluginPreFunctionRouteArgs
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
Service GatewayPluginPreFunctionServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
Tags []string
An optional set of strings associated with the Plugin for grouping and filtering.
UpdatedAt float64
Unix epoch when the resource was last updated.
controlPlaneId This property is required. String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
config GatewayPluginPreFunctionConfig
createdAt Double
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId String
The ID of this resource.
instanceName String
ordering GatewayPluginPreFunctionOrdering
protocols List<String>
A set of strings representing protocols.
route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt Double
Unix epoch when the resource was last updated.
controlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
config GatewayPluginPreFunctionConfig
createdAt number
Unix epoch when the resource was created.
enabled boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId string
The ID of this resource.
instanceName string
ordering GatewayPluginPreFunctionOrdering
protocols string[]
A set of strings representing protocols.
route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags string[]
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt number
Unix epoch when the resource was last updated.
control_plane_id This property is required. str
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
config GatewayPluginPreFunctionConfigArgs
created_at float
Unix epoch when the resource was created.
enabled bool
Whether the plugin is applied.
gateway_plugin_pre_function_id str
The ID of this resource.
instance_name str
ordering GatewayPluginPreFunctionOrderingArgs
protocols Sequence[str]
A set of strings representing protocols.
route GatewayPluginPreFunctionRouteArgs
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags Sequence[str]
An optional set of strings associated with the Plugin for grouping and filtering.
updated_at float
Unix epoch when the resource was last updated.
controlPlaneId This property is required. String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
config Property Map
createdAt Number
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing protocols.
route Property Map
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service Property Map
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt Number
Unix epoch when the resource was last updated.

Outputs

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

Get an existing GatewayPluginPreFunction 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?: GatewayPluginPreFunctionState, opts?: CustomResourceOptions): GatewayPluginPreFunction
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginPreFunctionConfigArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_pre_function_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginPreFunctionOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginPreFunctionRouteArgs] = None,
        service: Optional[GatewayPluginPreFunctionServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginPreFunction
func GetGatewayPluginPreFunction(ctx *Context, name string, id IDInput, state *GatewayPluginPreFunctionState, opts ...ResourceOption) (*GatewayPluginPreFunction, error)
public static GatewayPluginPreFunction Get(string name, Input<string> id, GatewayPluginPreFunctionState? state, CustomResourceOptions? opts = null)
public static GatewayPluginPreFunction get(String name, Output<String> id, GatewayPluginPreFunctionState state, CustomResourceOptions options)
resources:  _:    type: konnect:GatewayPluginPreFunction    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 GatewayPluginPreFunctionConfig
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.
Enabled bool
Whether the plugin is applied.
GatewayPluginPreFunctionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginPreFunctionOrdering
Protocols List<string>
A set of strings representing protocols.
Route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
Service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
Tags List<string>
An optional set of strings associated with the Plugin for grouping and filtering.
UpdatedAt double
Unix epoch when the resource was last updated.
Config GatewayPluginPreFunctionConfigArgs
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.
Enabled bool
Whether the plugin is applied.
GatewayPluginPreFunctionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginPreFunctionOrderingArgs
Protocols []string
A set of strings representing protocols.
Route GatewayPluginPreFunctionRouteArgs
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
Service GatewayPluginPreFunctionServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
Tags []string
An optional set of strings associated with the Plugin for grouping and filtering.
UpdatedAt float64
Unix epoch when the resource was last updated.
config GatewayPluginPreFunctionConfig
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.
enabled Boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId String
The ID of this resource.
instanceName String
ordering GatewayPluginPreFunctionOrdering
protocols List<String>
A set of strings representing protocols.
route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt Double
Unix epoch when the resource was last updated.
config GatewayPluginPreFunctionConfig
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.
enabled boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId string
The ID of this resource.
instanceName string
ordering GatewayPluginPreFunctionOrdering
protocols string[]
A set of strings representing protocols.
route GatewayPluginPreFunctionRoute
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionService
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags string[]
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt number
Unix epoch when the resource was last updated.
config GatewayPluginPreFunctionConfigArgs
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.
enabled bool
Whether the plugin is applied.
gateway_plugin_pre_function_id str
The ID of this resource.
instance_name str
ordering GatewayPluginPreFunctionOrderingArgs
protocols Sequence[str]
A set of strings representing protocols.
route GatewayPluginPreFunctionRouteArgs
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service GatewayPluginPreFunctionServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags Sequence[str]
An optional set of strings associated with the Plugin for grouping and filtering.
updated_at float
Unix epoch when the resource was last updated.
config Property Map
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.
enabled Boolean
Whether the plugin is applied.
gatewayPluginPreFunctionId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing protocols.
route Property Map
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service Property Map
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt Number
Unix epoch when the resource was last updated.

Supporting Types

GatewayPluginPreFunctionConfig
, GatewayPluginPreFunctionConfigArgs

Accesses List<string>
BodyFilters List<string>
Certificates List<string>
HeaderFilters List<string>
Logs List<string>
Rewrites List<string>
WsClientFrames List<string>
WsCloses List<string>
WsHandshakes List<string>
WsUpstreamFrames List<string>
Accesses []string
BodyFilters []string
Certificates []string
HeaderFilters []string
Logs []string
Rewrites []string
WsClientFrames []string
WsCloses []string
WsHandshakes []string
WsUpstreamFrames []string
accesses List<String>
bodyFilters List<String>
certificates List<String>
headerFilters List<String>
logs List<String>
rewrites List<String>
wsClientFrames List<String>
wsCloses List<String>
wsHandshakes List<String>
wsUpstreamFrames List<String>
accesses string[]
bodyFilters string[]
certificates string[]
headerFilters string[]
logs string[]
rewrites string[]
wsClientFrames string[]
wsCloses string[]
wsHandshakes string[]
wsUpstreamFrames string[]
accesses Sequence[str]
body_filters Sequence[str]
certificates Sequence[str]
header_filters Sequence[str]
logs Sequence[str]
rewrites Sequence[str]
ws_client_frames Sequence[str]
ws_closes Sequence[str]
ws_handshakes Sequence[str]
ws_upstream_frames Sequence[str]
accesses List<String>
bodyFilters List<String>
certificates List<String>
headerFilters List<String>
logs List<String>
rewrites List<String>
wsClientFrames List<String>
wsCloses List<String>
wsHandshakes List<String>
wsUpstreamFrames List<String>

GatewayPluginPreFunctionOrdering
, GatewayPluginPreFunctionOrderingArgs

GatewayPluginPreFunctionOrderingAfter
, GatewayPluginPreFunctionOrderingAfterArgs

Accesses List<string>
Accesses []string
accesses List<String>
accesses string[]
accesses Sequence[str]
accesses List<String>

GatewayPluginPreFunctionOrderingBefore
, GatewayPluginPreFunctionOrderingBeforeArgs

Accesses List<string>
Accesses []string
accesses List<String>
accesses string[]
accesses Sequence[str]
accesses List<String>

GatewayPluginPreFunctionRoute
, GatewayPluginPreFunctionRouteArgs

Id string
Id string
id String
id string
id str
id String

GatewayPluginPreFunctionService
, GatewayPluginPreFunctionServiceArgs

Id string
Id string
id String
id string
id str
id String

Import

$ pulumi import konnect:index/gatewayPluginPreFunction:GatewayPluginPreFunction my_konnect_gateway_plugin_pre_function "{ \"control_plane_id\": \"9524ec7d-36d9-465d-a8c5-83a3c9390458\", \"id\": \"3473c251-5b6c-4f45-b1ff-7ede735a366d\"}"
Copy

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.