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

konnect.GatewayPluginRequestValidator

Explore with Pulumi AI

GatewayPluginRequestValidator 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.GatewayPluginRequestValidator;
import com.pulumi.konnect.GatewayPluginRequestValidatorArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginRequestValidatorServiceArgs;
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 myGatewaypluginrequestvalidator = new GatewayPluginRequestValidator("myGatewaypluginrequestvalidator", GatewayPluginRequestValidatorArgs.builder()
            .config(GatewayPluginRequestValidatorConfigArgs.builder()
                .allowed_content_types("...")
                .body_schema("...my_body_schema...")
                .content_type_parameter_validation(false)
                .parameter_schema(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .verbose_response(true)
                .version("kong")
                .build())
            .consumer(GatewayPluginRequestValidatorConsumerArgs.builder()
                .id("...my_id...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .createdAt(5)
            .enabled(false)
            .gatewayPluginRequestValidatorId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginRequestValidatorOrderingArgs.builder()
                .after(GatewayPluginRequestValidatorOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginRequestValidatorOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("grpcs")
            .route(GatewayPluginRequestValidatorRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginRequestValidatorServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .updatedAt(7)
            .build());

    }
}
Copy
resources:
  myGatewaypluginrequestvalidator:
    type: konnect:GatewayPluginRequestValidator
    properties:
      config:
        allowed_content_types:
          - '...'
        body_schema: '...my_body_schema...'
        content_type_parameter_validation: false
        parameter_schema:
          - explode: true
            in: query
            name: '...my_name...'
            required: false
            schema: '...my_schema...'
            style: matrix
        verbose_response: true
        version: kong
      consumer:
        id: '...my_id...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      createdAt: 5
      enabled: false
      gatewayPluginRequestValidatorId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - grpcs
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
      updatedAt: 7
Copy

Create GatewayPluginRequestValidator Resource

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

Constructor syntax

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

@overload
def GatewayPluginRequestValidator(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  control_plane_id: Optional[str] = None,
                                  instance_name: Optional[str] = None,
                                  consumer: Optional[GatewayPluginRequestValidatorConsumerArgs] = None,
                                  created_at: Optional[float] = None,
                                  enabled: Optional[bool] = None,
                                  gateway_plugin_request_validator_id: Optional[str] = None,
                                  config: Optional[GatewayPluginRequestValidatorConfigArgs] = None,
                                  ordering: Optional[GatewayPluginRequestValidatorOrderingArgs] = None,
                                  protocols: Optional[Sequence[str]] = None,
                                  route: Optional[GatewayPluginRequestValidatorRouteArgs] = None,
                                  service: Optional[GatewayPluginRequestValidatorServiceArgs] = None,
                                  tags: Optional[Sequence[str]] = None,
                                  updated_at: Optional[float] = None)
func NewGatewayPluginRequestValidator(ctx *Context, name string, args GatewayPluginRequestValidatorArgs, opts ...ResourceOption) (*GatewayPluginRequestValidator, error)
public GatewayPluginRequestValidator(string name, GatewayPluginRequestValidatorArgs args, CustomResourceOptions? opts = null)
public GatewayPluginRequestValidator(String name, GatewayPluginRequestValidatorArgs args)
public GatewayPluginRequestValidator(String name, GatewayPluginRequestValidatorArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginRequestValidator
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. GatewayPluginRequestValidatorArgs
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. GatewayPluginRequestValidatorArgs
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. GatewayPluginRequestValidatorArgs
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. GatewayPluginRequestValidatorArgs
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. GatewayPluginRequestValidatorArgs
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 gatewayPluginRequestValidatorResource = new Konnect.GatewayPluginRequestValidator("gatewayPluginRequestValidatorResource", new()
{
    ControlPlaneId = "string",
    InstanceName = "string",
    Consumer = new Konnect.Inputs.GatewayPluginRequestValidatorConsumerArgs
    {
        Id = "string",
    },
    CreatedAt = 0,
    Enabled = false,
    GatewayPluginRequestValidatorId = "string",
    Config = new Konnect.Inputs.GatewayPluginRequestValidatorConfigArgs
    {
        AllowedContentTypes = new[]
        {
            "string",
        },
        BodySchema = "string",
        ContentTypeParameterValidation = false,
        ParameterSchemas = new[]
        {
            new Konnect.Inputs.GatewayPluginRequestValidatorConfigParameterSchemaArgs
            {
                Explode = false,
                In = "string",
                Name = "string",
                Required = false,
                Schema = "string",
                Style = "string",
            },
        },
        VerboseResponse = false,
        Version = "string",
    },
    Ordering = new Konnect.Inputs.GatewayPluginRequestValidatorOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginRequestValidatorOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginRequestValidatorOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginRequestValidatorRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginRequestValidatorServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
    UpdatedAt = 0,
});
Copy
example, err := konnect.NewGatewayPluginRequestValidator(ctx, "gatewayPluginRequestValidatorResource", &konnect.GatewayPluginRequestValidatorArgs{
	ControlPlaneId: pulumi.String("string"),
	InstanceName:   pulumi.String("string"),
	Consumer: &konnect.GatewayPluginRequestValidatorConsumerArgs{
		Id: pulumi.String("string"),
	},
	CreatedAt:                       pulumi.Float64(0),
	Enabled:                         pulumi.Bool(false),
	GatewayPluginRequestValidatorId: pulumi.String("string"),
	Config: &konnect.GatewayPluginRequestValidatorConfigArgs{
		AllowedContentTypes: pulumi.StringArray{
			pulumi.String("string"),
		},
		BodySchema:                     pulumi.String("string"),
		ContentTypeParameterValidation: pulumi.Bool(false),
		ParameterSchemas: konnect.GatewayPluginRequestValidatorConfigParameterSchemaArray{
			&konnect.GatewayPluginRequestValidatorConfigParameterSchemaArgs{
				Explode:  pulumi.Bool(false),
				In:       pulumi.String("string"),
				Name:     pulumi.String("string"),
				Required: pulumi.Bool(false),
				Schema:   pulumi.String("string"),
				Style:    pulumi.String("string"),
			},
		},
		VerboseResponse: pulumi.Bool(false),
		Version:         pulumi.String("string"),
	},
	Ordering: &konnect.GatewayPluginRequestValidatorOrderingArgs{
		After: &konnect.GatewayPluginRequestValidatorOrderingAfterArgs{
			Accesses: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		Before: &konnect.GatewayPluginRequestValidatorOrderingBeforeArgs{
			Accesses: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Protocols: pulumi.StringArray{
		pulumi.String("string"),
	},
	Route: &konnect.GatewayPluginRequestValidatorRouteArgs{
		Id: pulumi.String("string"),
	},
	Service: &konnect.GatewayPluginRequestValidatorServiceArgs{
		Id: pulumi.String("string"),
	},
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	UpdatedAt: pulumi.Float64(0),
})
Copy
var gatewayPluginRequestValidatorResource = new GatewayPluginRequestValidator("gatewayPluginRequestValidatorResource", GatewayPluginRequestValidatorArgs.builder()
    .controlPlaneId("string")
    .instanceName("string")
    .consumer(GatewayPluginRequestValidatorConsumerArgs.builder()
        .id("string")
        .build())
    .createdAt(0)
    .enabled(false)
    .gatewayPluginRequestValidatorId("string")
    .config(GatewayPluginRequestValidatorConfigArgs.builder()
        .allowedContentTypes("string")
        .bodySchema("string")
        .contentTypeParameterValidation(false)
        .parameterSchemas(GatewayPluginRequestValidatorConfigParameterSchemaArgs.builder()
            .explode(false)
            .in("string")
            .name("string")
            .required(false)
            .schema("string")
            .style("string")
            .build())
        .verboseResponse(false)
        .version("string")
        .build())
    .ordering(GatewayPluginRequestValidatorOrderingArgs.builder()
        .after(GatewayPluginRequestValidatorOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginRequestValidatorOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginRequestValidatorRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginRequestValidatorServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .updatedAt(0)
    .build());
Copy
gateway_plugin_request_validator_resource = konnect.GatewayPluginRequestValidator("gatewayPluginRequestValidatorResource",
    control_plane_id="string",
    instance_name="string",
    consumer={
        "id": "string",
    },
    created_at=0,
    enabled=False,
    gateway_plugin_request_validator_id="string",
    config={
        "allowed_content_types": ["string"],
        "body_schema": "string",
        "content_type_parameter_validation": False,
        "parameter_schemas": [{
            "explode": False,
            "in_": "string",
            "name": "string",
            "required": False,
            "schema": "string",
            "style": "string",
        }],
        "verbose_response": False,
        "version": "string",
    },
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"],
    updated_at=0)
Copy
const gatewayPluginRequestValidatorResource = new konnect.GatewayPluginRequestValidator("gatewayPluginRequestValidatorResource", {
    controlPlaneId: "string",
    instanceName: "string",
    consumer: {
        id: "string",
    },
    createdAt: 0,
    enabled: false,
    gatewayPluginRequestValidatorId: "string",
    config: {
        allowedContentTypes: ["string"],
        bodySchema: "string",
        contentTypeParameterValidation: false,
        parameterSchemas: [{
            explode: false,
            "in": "string",
            name: "string",
            required: false,
            schema: "string",
            style: "string",
        }],
        verboseResponse: false,
        version: "string",
    },
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
    updatedAt: 0,
});
Copy
type: konnect:GatewayPluginRequestValidator
properties:
    config:
        allowedContentTypes:
            - string
        bodySchema: string
        contentTypeParameterValidation: false
        parameterSchemas:
            - explode: false
              in: string
              name: string
              required: false
              schema: string
              style: string
        verboseResponse: false
        version: string
    consumer:
        id: string
    controlPlaneId: string
    createdAt: 0
    enabled: false
    gatewayPluginRequestValidatorId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
    updatedAt: 0
Copy

GatewayPluginRequestValidator 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 GatewayPluginRequestValidator 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 GatewayPluginRequestValidatorConfig
Consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
CreatedAt double
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginRequestValidatorId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRequestValidatorOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfigArgs
Consumer GatewayPluginRequestValidatorConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
CreatedAt float64
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginRequestValidatorId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRequestValidatorOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginRequestValidatorRouteArgs
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 GatewayPluginRequestValidatorServiceArgs
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 GatewayPluginRequestValidatorConfig
consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
createdAt Double
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginRequestValidatorId String
The ID of this resource.
instanceName String
ordering GatewayPluginRequestValidatorOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfig
consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
createdAt number
Unix epoch when the resource was created.
enabled boolean
Whether the plugin is applied.
gatewayPluginRequestValidatorId string
The ID of this resource.
instanceName string
ordering GatewayPluginRequestValidatorOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfigArgs
consumer GatewayPluginRequestValidatorConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
created_at float
Unix epoch when the resource was created.
enabled bool
Whether the plugin is applied.
gateway_plugin_request_validator_id str
The ID of this resource.
instance_name str
ordering GatewayPluginRequestValidatorOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRouteArgs
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 GatewayPluginRequestValidatorServiceArgs
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
consumer Property Map
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
createdAt Number
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginRequestValidatorId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing HTTP 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 GatewayPluginRequestValidator 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 GatewayPluginRequestValidator Resource

Get an existing GatewayPluginRequestValidator 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?: GatewayPluginRequestValidatorState, opts?: CustomResourceOptions): GatewayPluginRequestValidator
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginRequestValidatorConfigArgs] = None,
        consumer: Optional[GatewayPluginRequestValidatorConsumerArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_request_validator_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginRequestValidatorOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginRequestValidatorRouteArgs] = None,
        service: Optional[GatewayPluginRequestValidatorServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginRequestValidator
func GetGatewayPluginRequestValidator(ctx *Context, name string, id IDInput, state *GatewayPluginRequestValidatorState, opts ...ResourceOption) (*GatewayPluginRequestValidator, error)
public static GatewayPluginRequestValidator Get(string name, Input<string> id, GatewayPluginRequestValidatorState? state, CustomResourceOptions? opts = null)
public static GatewayPluginRequestValidator get(String name, Output<String> id, GatewayPluginRequestValidatorState state, CustomResourceOptions options)
resources:  _:    type: konnect:GatewayPluginRequestValidator    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 GatewayPluginRequestValidatorConfig
Consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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.
GatewayPluginRequestValidatorId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRequestValidatorOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfigArgs
Consumer GatewayPluginRequestValidatorConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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.
GatewayPluginRequestValidatorId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRequestValidatorOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginRequestValidatorRouteArgs
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 GatewayPluginRequestValidatorServiceArgs
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 GatewayPluginRequestValidatorConfig
consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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.
gatewayPluginRequestValidatorId String
The ID of this resource.
instanceName String
ordering GatewayPluginRequestValidatorOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfig
consumer GatewayPluginRequestValidatorConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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.
gatewayPluginRequestValidatorId string
The ID of this resource.
instanceName string
ordering GatewayPluginRequestValidatorOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRoute
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 GatewayPluginRequestValidatorService
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 GatewayPluginRequestValidatorConfigArgs
consumer GatewayPluginRequestValidatorConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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_request_validator_id str
The ID of this resource.
instance_name str
ordering GatewayPluginRequestValidatorOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginRequestValidatorRouteArgs
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 GatewayPluginRequestValidatorServiceArgs
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
consumer Property Map
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
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.
gatewayPluginRequestValidatorId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing HTTP 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

GatewayPluginRequestValidatorConfig
, GatewayPluginRequestValidatorConfigArgs

AllowedContentTypes List<string>
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
BodySchema string
The request body schema specification. One of body_schema or parameter_schema must be specified.
ContentTypeParameterValidation bool
Determines whether to enable parameters validation of request content-type.
ParameterSchemas List<GatewayPluginRequestValidatorConfigParameterSchema>
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
VerboseResponse bool
If enabled, the plugin returns more verbose and detailed validation errors.
Version string
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]
AllowedContentTypes []string
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
BodySchema string
The request body schema specification. One of body_schema or parameter_schema must be specified.
ContentTypeParameterValidation bool
Determines whether to enable parameters validation of request content-type.
ParameterSchemas []GatewayPluginRequestValidatorConfigParameterSchema
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
VerboseResponse bool
If enabled, the plugin returns more verbose and detailed validation errors.
Version string
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]
allowedContentTypes List<String>
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
bodySchema String
The request body schema specification. One of body_schema or parameter_schema must be specified.
contentTypeParameterValidation Boolean
Determines whether to enable parameters validation of request content-type.
parameterSchemas List<GatewayPluginRequestValidatorConfigParameterSchema>
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
verboseResponse Boolean
If enabled, the plugin returns more verbose and detailed validation errors.
version String
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]
allowedContentTypes string[]
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
bodySchema string
The request body schema specification. One of body_schema or parameter_schema must be specified.
contentTypeParameterValidation boolean
Determines whether to enable parameters validation of request content-type.
parameterSchemas GatewayPluginRequestValidatorConfigParameterSchema[]
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
verboseResponse boolean
If enabled, the plugin returns more verbose and detailed validation errors.
version string
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]
allowed_content_types Sequence[str]
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
body_schema str
The request body schema specification. One of body_schema or parameter_schema must be specified.
content_type_parameter_validation bool
Determines whether to enable parameters validation of request content-type.
parameter_schemas Sequence[GatewayPluginRequestValidatorConfigParameterSchema]
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
verbose_response bool
If enabled, the plugin returns more verbose and detailed validation errors.
version str
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]
allowedContentTypes List<String>
List of allowed content types. The value can be configured with the charset parameter. For example, application/json; charset=UTF-8.
bodySchema String
The request body schema specification. One of body_schema or parameter_schema must be specified.
contentTypeParameterValidation Boolean
Determines whether to enable parameters validation of request content-type.
parameterSchemas List<Property Map>
Array of parameter validator specification. One of body_schema or parameter_schema must be specified.
verboseResponse Boolean
If enabled, the plugin returns more verbose and detailed validation errors.
version String
Which validator to use. Supported values are kong (default) for using Kong's own schema validator, or draft4 for using a JSON Schema Draft 4-compliant validator. must be one of ["draft4", "kong"]

GatewayPluginRequestValidatorConfigParameterSchema
, GatewayPluginRequestValidatorConfigParameterSchemaArgs

Explode bool
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
In string
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
Name string
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
Required bool
Determines whether this parameter is mandatory. Not Null
Schema string
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
Style string
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]
Explode bool
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
In string
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
Name string
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
Required bool
Determines whether this parameter is mandatory. Not Null
Schema string
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
Style string
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]
explode Boolean
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
in String
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
name String
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
required Boolean
Determines whether this parameter is mandatory. Not Null
schema String
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
style String
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]
explode boolean
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
in string
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
name string
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
required boolean
Determines whether this parameter is mandatory. Not Null
schema string
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
style string
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]
explode bool
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
in_ str
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
name str
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
required bool
Determines whether this parameter is mandatory. Not Null
schema str
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
style str
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]
explode Boolean
Required when schema and style are set. When explode is true, parameter values of type array or object generate separate parameters for each value of the array or key-value pair of the map. For other types of parameters, this property has no effect.
in String
The location of the parameter. Not Null; must be one of ["header", "path", "query"]
name String
The name of the parameter. Parameter names are case-sensitive, and correspond to the parameter name used by the in property. If in is path, the name field MUST correspond to the named capture group from the configured route. Not Null
required Boolean
Determines whether this parameter is mandatory. Not Null
schema String
Requred when style and explode are set. This is the schema defining the type used for the parameter. It is validated using draft4 for JSON Schema draft 4 compliant validator. In addition to being a valid JSON Schema, the parameter schema MUST have a top-level type property to enable proper deserialization before validating.
style String
Required when schema and explode are set. Describes how the parameter value will be deserialized depending on the type of the parameter value. must be one of ["deepObject", "form", "label", "matrix", "pipeDelimited", "simple", "spaceDelimited"]

GatewayPluginRequestValidatorConsumer
, GatewayPluginRequestValidatorConsumerArgs

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

GatewayPluginRequestValidatorOrdering
, GatewayPluginRequestValidatorOrderingArgs

GatewayPluginRequestValidatorOrderingAfter
, GatewayPluginRequestValidatorOrderingAfterArgs

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

GatewayPluginRequestValidatorOrderingBefore
, GatewayPluginRequestValidatorOrderingBeforeArgs

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

GatewayPluginRequestValidatorRoute
, GatewayPluginRequestValidatorRouteArgs

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

GatewayPluginRequestValidatorService
, GatewayPluginRequestValidatorServiceArgs

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

Import

$ pulumi import konnect:index/gatewayPluginRequestValidator:GatewayPluginRequestValidator my_konnect_gateway_plugin_request_validator "{ \"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.