konnect.GatewayPluginOasValidation
Explore with Pulumi AI
GatewayPluginOasValidation 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.GatewayPluginOasValidation;
import com.pulumi.konnect.GatewayPluginOasValidationArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginOasValidationServiceArgs;
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 myGatewaypluginoasvalidation = new GatewayPluginOasValidation("myGatewaypluginoasvalidation", GatewayPluginOasValidationArgs.builder()
            .config(GatewayPluginOasValidationConfigArgs.builder()
                .allowed_header_parameters("...my_allowed_header_parameters...")
                .api_spec("...my_api_spec...")
                .api_spec_encoded(false)
                .custom_base_path("...my_custom_base_path...")
                .header_parameter_check(false)
                .include_base_path(true)
                .notify_only_request_validation_failure(false)
                .notify_only_response_body_validation_failure(true)
                .query_parameter_check(true)
                .validate_request_body(true)
                .validate_request_header_params(true)
                .validate_request_query_params(false)
                .validate_request_uri_params(true)
                .validate_response_body(false)
                .verbose_response(true)
                .build())
            .consumer(GatewayPluginOasValidationConsumerArgs.builder()
                .id("...my_id...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .enabled(true)
            .gatewayPluginOasValidationId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginOasValidationOrderingArgs.builder()
                .after(GatewayPluginOasValidationOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginOasValidationOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("https")
            .route(GatewayPluginOasValidationRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginOasValidationServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .build());
    }
}
resources:
  myGatewaypluginoasvalidation:
    type: konnect:GatewayPluginOasValidation
    properties:
      config:
        allowed_header_parameters: '...my_allowed_header_parameters...'
        api_spec: '...my_api_spec...'
        api_spec_encoded: false
        custom_base_path: '...my_custom_base_path...'
        header_parameter_check: false
        include_base_path: true
        notify_only_request_validation_failure: false
        notify_only_response_body_validation_failure: true
        query_parameter_check: true
        validate_request_body: true
        validate_request_header_params: true
        validate_request_query_params: false
        validate_request_uri_params: true
        validate_response_body: false
        verbose_response: true
      consumer:
        id: '...my_id...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      enabled: true
      gatewayPluginOasValidationId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - https
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
Create GatewayPluginOasValidation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPluginOasValidation(name: string, args: GatewayPluginOasValidationArgs, opts?: CustomResourceOptions);@overload
def GatewayPluginOasValidation(resource_name: str,
                               args: GatewayPluginOasValidationArgs,
                               opts: Optional[ResourceOptions] = None)
@overload
def GatewayPluginOasValidation(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               config: Optional[GatewayPluginOasValidationConfigArgs] = None,
                               control_plane_id: Optional[str] = None,
                               consumer: Optional[GatewayPluginOasValidationConsumerArgs] = None,
                               enabled: Optional[bool] = None,
                               gateway_plugin_oas_validation_id: Optional[str] = None,
                               instance_name: Optional[str] = None,
                               ordering: Optional[GatewayPluginOasValidationOrderingArgs] = None,
                               protocols: Optional[Sequence[str]] = None,
                               route: Optional[GatewayPluginOasValidationRouteArgs] = None,
                               service: Optional[GatewayPluginOasValidationServiceArgs] = None,
                               tags: Optional[Sequence[str]] = None)func NewGatewayPluginOasValidation(ctx *Context, name string, args GatewayPluginOasValidationArgs, opts ...ResourceOption) (*GatewayPluginOasValidation, error)public GatewayPluginOasValidation(string name, GatewayPluginOasValidationArgs args, CustomResourceOptions? opts = null)
public GatewayPluginOasValidation(String name, GatewayPluginOasValidationArgs args)
public GatewayPluginOasValidation(String name, GatewayPluginOasValidationArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginOasValidation
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 GatewayPluginOasValidationArgs
- 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 GatewayPluginOasValidationArgs
- 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 GatewayPluginOasValidationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPluginOasValidationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPluginOasValidationArgs
- 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 gatewayPluginOasValidationResource = new Konnect.GatewayPluginOasValidation("gatewayPluginOasValidationResource", new()
{
    Config = new Konnect.Inputs.GatewayPluginOasValidationConfigArgs
    {
        AllowedHeaderParameters = "string",
        ApiSpec = "string",
        ApiSpecEncoded = false,
        CustomBasePath = "string",
        HeaderParameterCheck = false,
        IncludeBasePath = false,
        NotifyOnlyRequestValidationFailure = false,
        NotifyOnlyResponseBodyValidationFailure = false,
        QueryParameterCheck = false,
        ValidateRequestBody = false,
        ValidateRequestHeaderParams = false,
        ValidateRequestQueryParams = false,
        ValidateRequestUriParams = false,
        ValidateResponseBody = false,
        VerboseResponse = false,
    },
    ControlPlaneId = "string",
    Consumer = new Konnect.Inputs.GatewayPluginOasValidationConsumerArgs
    {
        Id = "string",
    },
    Enabled = false,
    GatewayPluginOasValidationId = "string",
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginOasValidationOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginOasValidationOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginOasValidationOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginOasValidationRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginOasValidationServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
});
example, err := konnect.NewGatewayPluginOasValidation(ctx, "gatewayPluginOasValidationResource", &konnect.GatewayPluginOasValidationArgs{
Config: &.GatewayPluginOasValidationConfigArgs{
AllowedHeaderParameters: pulumi.String("string"),
ApiSpec: pulumi.String("string"),
ApiSpecEncoded: pulumi.Bool(false),
CustomBasePath: pulumi.String("string"),
HeaderParameterCheck: pulumi.Bool(false),
IncludeBasePath: pulumi.Bool(false),
NotifyOnlyRequestValidationFailure: pulumi.Bool(false),
NotifyOnlyResponseBodyValidationFailure: pulumi.Bool(false),
QueryParameterCheck: pulumi.Bool(false),
ValidateRequestBody: pulumi.Bool(false),
ValidateRequestHeaderParams: pulumi.Bool(false),
ValidateRequestQueryParams: pulumi.Bool(false),
ValidateRequestUriParams: pulumi.Bool(false),
ValidateResponseBody: pulumi.Bool(false),
VerboseResponse: pulumi.Bool(false),
},
ControlPlaneId: pulumi.String("string"),
Consumer: &.GatewayPluginOasValidationConsumerArgs{
Id: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
GatewayPluginOasValidationId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginOasValidationOrderingArgs{
After: &.GatewayPluginOasValidationOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginOasValidationOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginOasValidationRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginOasValidationServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var gatewayPluginOasValidationResource = new GatewayPluginOasValidation("gatewayPluginOasValidationResource", GatewayPluginOasValidationArgs.builder()
    .config(GatewayPluginOasValidationConfigArgs.builder()
        .allowedHeaderParameters("string")
        .apiSpec("string")
        .apiSpecEncoded(false)
        .customBasePath("string")
        .headerParameterCheck(false)
        .includeBasePath(false)
        .notifyOnlyRequestValidationFailure(false)
        .notifyOnlyResponseBodyValidationFailure(false)
        .queryParameterCheck(false)
        .validateRequestBody(false)
        .validateRequestHeaderParams(false)
        .validateRequestQueryParams(false)
        .validateRequestUriParams(false)
        .validateResponseBody(false)
        .verboseResponse(false)
        .build())
    .controlPlaneId("string")
    .consumer(GatewayPluginOasValidationConsumerArgs.builder()
        .id("string")
        .build())
    .enabled(false)
    .gatewayPluginOasValidationId("string")
    .instanceName("string")
    .ordering(GatewayPluginOasValidationOrderingArgs.builder()
        .after(GatewayPluginOasValidationOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginOasValidationOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginOasValidationRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginOasValidationServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .build());
gateway_plugin_oas_validation_resource = konnect.GatewayPluginOasValidation("gatewayPluginOasValidationResource",
    config={
        "allowed_header_parameters": "string",
        "api_spec": "string",
        "api_spec_encoded": False,
        "custom_base_path": "string",
        "header_parameter_check": False,
        "include_base_path": False,
        "notify_only_request_validation_failure": False,
        "notify_only_response_body_validation_failure": False,
        "query_parameter_check": False,
        "validate_request_body": False,
        "validate_request_header_params": False,
        "validate_request_query_params": False,
        "validate_request_uri_params": False,
        "validate_response_body": False,
        "verbose_response": False,
    },
    control_plane_id="string",
    consumer={
        "id": "string",
    },
    enabled=False,
    gateway_plugin_oas_validation_id="string",
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"])
const gatewayPluginOasValidationResource = new konnect.GatewayPluginOasValidation("gatewayPluginOasValidationResource", {
    config: {
        allowedHeaderParameters: "string",
        apiSpec: "string",
        apiSpecEncoded: false,
        customBasePath: "string",
        headerParameterCheck: false,
        includeBasePath: false,
        notifyOnlyRequestValidationFailure: false,
        notifyOnlyResponseBodyValidationFailure: false,
        queryParameterCheck: false,
        validateRequestBody: false,
        validateRequestHeaderParams: false,
        validateRequestQueryParams: false,
        validateRequestUriParams: false,
        validateResponseBody: false,
        verboseResponse: false,
    },
    controlPlaneId: "string",
    consumer: {
        id: "string",
    },
    enabled: false,
    gatewayPluginOasValidationId: "string",
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
});
type: konnect:GatewayPluginOasValidation
properties:
    config:
        allowedHeaderParameters: string
        apiSpec: string
        apiSpecEncoded: false
        customBasePath: string
        headerParameterCheck: false
        includeBasePath: false
        notifyOnlyRequestValidationFailure: false
        notifyOnlyResponseBodyValidationFailure: false
        queryParameterCheck: false
        validateRequestBody: false
        validateRequestHeaderParams: false
        validateRequestQueryParams: false
        validateRequestUriParams: false
        validateResponseBody: false
        verboseResponse: false
    consumer:
        id: string
    controlPlaneId: string
    enabled: false
    gatewayPluginOasValidationId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
GatewayPluginOasValidation 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 GatewayPluginOasValidation resource accepts the following input properties:
- Config
GatewayPlugin Oas Validation Config 
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- Enabled bool
- Whether the plugin is applied.
- GatewayPlugin stringOas Validation Id 
- The ID of this resource.
- InstanceName string
- Ordering
GatewayPlugin Oas Validation Ordering 
- Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Config
GatewayPlugin Oas Validation Config Args 
- ControlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
GatewayPlugin Oas Validation Consumer Args 
- 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.
- Enabled bool
- Whether the plugin is applied.
- GatewayPlugin stringOas Validation Id 
- The ID of this resource.
- InstanceName string
- Ordering
GatewayPlugin Oas Validation Ordering Args 
- Protocols []string
- A set of strings representing HTTP protocols.
- Route
GatewayPlugin Oas Validation Route Args 
- 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
GatewayPlugin Oas Validation Service Args 
- 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.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
GatewayPlugin Oas Validation Config 
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- enabled Boolean
- Whether the plugin is applied.
- gatewayPlugin StringOas Validation Id 
- The ID of this resource.
- instanceName String
- ordering
GatewayPlugin Oas Validation Ordering 
- protocols List<String>
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
GatewayPlugin Oas Validation Config 
- controlPlane stringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- enabled boolean
- Whether the plugin is applied.
- gatewayPlugin stringOas Validation Id 
- The ID of this resource.
- instanceName string
- ordering
GatewayPlugin Oas Validation Ordering 
- protocols string[]
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
GatewayPlugin Oas Validation Config Args 
- control_plane_ strid 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
GatewayPlugin Oas Validation Consumer Args 
- 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.
- enabled bool
- Whether the plugin is applied.
- gateway_plugin_ stroas_ validation_ id 
- The ID of this resource.
- instance_name str
- ordering
GatewayPlugin Oas Validation Ordering Args 
- protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route Args 
- 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
GatewayPlugin Oas Validation Service Args 
- 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.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- config Property Map
- controlPlane StringId 
- The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- 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.
- enabled Boolean
- Whether the plugin is applied.
- gatewayPlugin StringOas Validation Id 
- 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.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayPluginOasValidation resource produces the following output properties:
- created_at float
- Unix epoch when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_at float
- Unix epoch when the resource was last updated.
Look up Existing GatewayPluginOasValidation Resource
Get an existing GatewayPluginOasValidation 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?: GatewayPluginOasValidationState, opts?: CustomResourceOptions): GatewayPluginOasValidation@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginOasValidationConfigArgs] = None,
        consumer: Optional[GatewayPluginOasValidationConsumerArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_oas_validation_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginOasValidationOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginOasValidationRouteArgs] = None,
        service: Optional[GatewayPluginOasValidationServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginOasValidationfunc GetGatewayPluginOasValidation(ctx *Context, name string, id IDInput, state *GatewayPluginOasValidationState, opts ...ResourceOption) (*GatewayPluginOasValidation, error)public static GatewayPluginOasValidation Get(string name, Input<string> id, GatewayPluginOasValidationState? state, CustomResourceOptions? opts = null)public static GatewayPluginOasValidation get(String name, Output<String> id, GatewayPluginOasValidationState state, CustomResourceOptions options)resources:  _:    type: konnect:GatewayPluginOasValidation    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.
- Config
GatewayPlugin Oas Validation Config 
- Consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- ControlPlane stringId 
- 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.
- GatewayPlugin stringOas Validation Id 
- The ID of this resource.
- InstanceName string
- Ordering
GatewayPlugin Oas Validation Ordering 
- Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- 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
GatewayPlugin Oas Validation Config Args 
- Consumer
GatewayPlugin Oas Validation Consumer Args 
- 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.
- ControlPlane stringId 
- 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.
- GatewayPlugin stringOas Validation Id 
- The ID of this resource.
- InstanceName string
- Ordering
GatewayPlugin Oas Validation Ordering Args 
- Protocols []string
- A set of strings representing HTTP protocols.
- Route
GatewayPlugin Oas Validation Route Args 
- 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
GatewayPlugin Oas Validation Service Args 
- 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.
- []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
GatewayPlugin Oas Validation Config 
- consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- controlPlane StringId 
- 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.
- gatewayPlugin StringOas Validation Id 
- The ID of this resource.
- instanceName String
- ordering
GatewayPlugin Oas Validation Ordering 
- protocols List<String>
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- 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
GatewayPlugin Oas Validation Config 
- consumer
GatewayPlugin Oas Validation Consumer 
- 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.
- controlPlane stringId 
- 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.
- gatewayPlugin stringOas Validation Id 
- The ID of this resource.
- instanceName string
- ordering
GatewayPlugin Oas Validation Ordering 
- protocols string[]
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route 
- 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
GatewayPlugin Oas Validation Service 
- 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.
- 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
GatewayPlugin Oas Validation Config Args 
- consumer
GatewayPlugin Oas Validation Consumer Args 
- 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_ 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.
- enabled bool
- Whether the plugin is applied.
- gateway_plugin_ stroas_ validation_ id 
- The ID of this resource.
- instance_name str
- ordering
GatewayPlugin Oas Validation Ordering Args 
- protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
GatewayPlugin Oas Validation Route Args 
- 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
GatewayPlugin Oas Validation Service Args 
- 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.
- 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.
- controlPlane StringId 
- 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.
- gatewayPlugin StringOas Validation Id 
- 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.
- 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
GatewayPluginOasValidationConfig, GatewayPluginOasValidationConfigArgs          
- AllowedHeader stringParameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- ApiSpec string
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- ApiSpec boolEncoded 
- Indicates whether the api_spec is URI-Encoded.
- CustomBase stringPath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- HeaderParameter boolCheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- IncludeBase boolPath 
- Indicates whether to include the base path when performing path match evaluation.
- NotifyOnly boolRequest Validation Failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- NotifyOnly boolResponse Body Validation Failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- QueryParameter boolCheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- ValidateRequest boolBody 
- If set to true, validates the request body content against the API specification.
- ValidateRequest boolHeader Params 
- If set to true, validates HTTP header parameters against the API specification.
- ValidateRequest boolQuery Params 
- If set to true, validates query parameters against the API specification.
- ValidateRequest boolUri Params 
- If set to true, validates URI parameters in the request against the API specification.
- ValidateResponse boolBody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- VerboseResponse bool
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
- AllowedHeader stringParameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- ApiSpec string
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- ApiSpec boolEncoded 
- Indicates whether the api_spec is URI-Encoded.
- CustomBase stringPath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- HeaderParameter boolCheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- IncludeBase boolPath 
- Indicates whether to include the base path when performing path match evaluation.
- NotifyOnly boolRequest Validation Failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- NotifyOnly boolResponse Body Validation Failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- QueryParameter boolCheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- ValidateRequest boolBody 
- If set to true, validates the request body content against the API specification.
- ValidateRequest boolHeader Params 
- If set to true, validates HTTP header parameters against the API specification.
- ValidateRequest boolQuery Params 
- If set to true, validates query parameters against the API specification.
- ValidateRequest boolUri Params 
- If set to true, validates URI parameters in the request against the API specification.
- ValidateResponse boolBody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- VerboseResponse bool
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
- allowedHeader StringParameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- apiSpec String
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- apiSpec BooleanEncoded 
- Indicates whether the api_spec is URI-Encoded.
- customBase StringPath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- headerParameter BooleanCheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- includeBase BooleanPath 
- Indicates whether to include the base path when performing path match evaluation.
- notifyOnly BooleanRequest Validation Failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- notifyOnly BooleanResponse Body Validation Failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- queryParameter BooleanCheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- validateRequest BooleanBody 
- If set to true, validates the request body content against the API specification.
- validateRequest BooleanHeader Params 
- If set to true, validates HTTP header parameters against the API specification.
- validateRequest BooleanQuery Params 
- If set to true, validates query parameters against the API specification.
- validateRequest BooleanUri Params 
- If set to true, validates URI parameters in the request against the API specification.
- validateResponse BooleanBody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- verboseResponse Boolean
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
- allowedHeader stringParameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- apiSpec string
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- apiSpec booleanEncoded 
- Indicates whether the api_spec is URI-Encoded.
- customBase stringPath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- headerParameter booleanCheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- includeBase booleanPath 
- Indicates whether to include the base path when performing path match evaluation.
- notifyOnly booleanRequest Validation Failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- notifyOnly booleanResponse Body Validation Failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- queryParameter booleanCheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- validateRequest booleanBody 
- If set to true, validates the request body content against the API specification.
- validateRequest booleanHeader Params 
- If set to true, validates HTTP header parameters against the API specification.
- validateRequest booleanQuery Params 
- If set to true, validates query parameters against the API specification.
- validateRequest booleanUri Params 
- If set to true, validates URI parameters in the request against the API specification.
- validateResponse booleanBody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- verboseResponse boolean
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
- allowed_header_ strparameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- api_spec str
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- api_spec_ boolencoded 
- Indicates whether the api_spec is URI-Encoded.
- custom_base_ strpath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- header_parameter_ boolcheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- include_base_ boolpath 
- Indicates whether to include the base path when performing path match evaluation.
- notify_only_ boolrequest_ validation_ failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- notify_only_ boolresponse_ body_ validation_ failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- query_parameter_ boolcheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- validate_request_ boolbody 
- If set to true, validates the request body content against the API specification.
- validate_request_ boolheader_ params 
- If set to true, validates HTTP header parameters against the API specification.
- validate_request_ boolquery_ params 
- If set to true, validates query parameters against the API specification.
- validate_request_ booluri_ params 
- If set to true, validates URI parameters in the request against the API specification.
- validate_response_ boolbody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- verbose_response bool
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
- allowedHeader StringParameters 
- List of header parameters in the request that will be ignored when performing HTTP header validation. These are additional headers added to an API request beyond those defined in the API specification. For example, you might include the HTTP header User-Agent, which lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
- apiSpec String
- The API specification defined using either Swagger or the OpenAPI. This can be either a JSON or YAML based file. If using a YAML file, the spec needs to be URI-Encoded to preserve the YAML format.
- apiSpec BooleanEncoded 
- Indicates whether the api_spec is URI-Encoded.
- customBase StringPath 
- The base path to be used for path match evaluation. This value is ignored if include_base_pathis set tofalse.
- headerParameter BooleanCheck 
- If set to true, checks if HTTP header parameters in the request exist in the API specification.
- includeBase BooleanPath 
- Indicates whether to include the base path when performing path match evaluation.
- notifyOnly BooleanRequest Validation Failure 
- If set to true, notifications via event hooks are enabled, but request based validation failures don't affect the request flow.
- notifyOnly BooleanResponse Body Validation Failure 
- If set to true, notifications via event hooks are enabled, but response validation failures don't affect the response flow.
- queryParameter BooleanCheck 
- If set to true, checks if query parameters in the request exist in the API specification.
- validateRequest BooleanBody 
- If set to true, validates the request body content against the API specification.
- validateRequest BooleanHeader Params 
- If set to true, validates HTTP header parameters against the API specification.
- validateRequest BooleanQuery Params 
- If set to true, validates query parameters against the API specification.
- validateRequest BooleanUri Params 
- If set to true, validates URI parameters in the request against the API specification.
- validateResponse BooleanBody 
- If set to true, validates the response from the upstream services against the API specification. If validation fails, it results in an HTTP 406 Not Acceptablestatus code.
- verboseResponse Boolean
- If set to true, returns a detailed error message for invalid requests & responses. This is useful while testing.
GatewayPluginOasValidationConsumer, GatewayPluginOasValidationConsumerArgs          
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginOasValidationOrdering, GatewayPluginOasValidationOrderingArgs          
GatewayPluginOasValidationOrderingAfter, GatewayPluginOasValidationOrderingAfterArgs            
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginOasValidationOrderingBefore, GatewayPluginOasValidationOrderingBeforeArgs            
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginOasValidationRoute, GatewayPluginOasValidationRouteArgs          
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginOasValidationService, GatewayPluginOasValidationServiceArgs          
- Id string
- Id string
- id String
- id string
- id str
- id String
Import
$ pulumi import konnect:index/gatewayPluginOasValidation:GatewayPluginOasValidation my_konnect_gateway_plugin_oas_validation "{ \"control_plane_id\": \"9524ec7d-36d9-465d-a8c5-83a3c9390458\", \"plugin_id\": \"3473c251-5b6c-4f45-b1ff-7ede735a366d\"}"
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 konnectTerraform Provider.