1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginJsonThreatProtection
konnect 2.4.1 published on Thursday, Mar 13, 2025 by kong

konnect.GatewayPluginJsonThreatProtection

Explore with Pulumi AI

GatewayPluginJSONThreatProtection 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.GatewayPluginJsonThreatProtection;
import com.pulumi.konnect.GatewayPluginJsonThreatProtectionArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginJsonThreatProtectionServiceArgs;
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 myGatewaypluginjsonthreatprotection = new GatewayPluginJsonThreatProtection("myGatewaypluginjsonthreatprotection", GatewayPluginJsonThreatProtectionArgs.builder()
            .config(GatewayPluginJsonThreatProtectionConfigArgs.builder()
                .enforcement_mode("log_only")
                .error_message("...my_error_message...")
                .error_status_code(434)
                .max_array_element_count(96675195)
                .max_body_size(99378519)
                .max_container_depth(2031079601)
                .max_object_entry_count(916870322)
                .max_object_entry_name_length(1383216872)
                .max_string_value_length(1149380350)
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .enabled(false)
            .gatewayPluginJsonThreatProtectionId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginJsonThreatProtectionOrderingArgs.builder()
                .after(GatewayPluginJsonThreatProtectionOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginJsonThreatProtectionOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("grpc")
            .route(GatewayPluginJsonThreatProtectionRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginJsonThreatProtectionServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .build());

    }
}
Copy
resources:
  myGatewaypluginjsonthreatprotection:
    type: konnect:GatewayPluginJsonThreatProtection
    properties:
      config:
        enforcement_mode: log_only
        error_message: '...my_error_message...'
        error_status_code: 434
        max_array_element_count: 9.6675195e+07
        max_body_size: 9.9378519e+07
        max_container_depth: 2.031079601e+09
        max_object_entry_count: 9.16870322e+08
        max_object_entry_name_length: 1.383216872e+09
        max_string_value_length: 1.14938035e+09
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      enabled: false
      gatewayPluginJsonThreatProtectionId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - grpc
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
Copy

Create GatewayPluginJsonThreatProtection Resource

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

Constructor syntax

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

@overload
def GatewayPluginJsonThreatProtection(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      config: Optional[GatewayPluginJsonThreatProtectionConfigArgs] = None,
                                      control_plane_id: Optional[str] = None,
                                      enabled: Optional[bool] = None,
                                      gateway_plugin_json_threat_protection_id: Optional[str] = None,
                                      instance_name: Optional[str] = None,
                                      ordering: Optional[GatewayPluginJsonThreatProtectionOrderingArgs] = None,
                                      protocols: Optional[Sequence[str]] = None,
                                      route: Optional[GatewayPluginJsonThreatProtectionRouteArgs] = None,
                                      service: Optional[GatewayPluginJsonThreatProtectionServiceArgs] = None,
                                      tags: Optional[Sequence[str]] = None)
func NewGatewayPluginJsonThreatProtection(ctx *Context, name string, args GatewayPluginJsonThreatProtectionArgs, opts ...ResourceOption) (*GatewayPluginJsonThreatProtection, error)
public GatewayPluginJsonThreatProtection(string name, GatewayPluginJsonThreatProtectionArgs args, CustomResourceOptions? opts = null)
public GatewayPluginJsonThreatProtection(String name, GatewayPluginJsonThreatProtectionArgs args)
public GatewayPluginJsonThreatProtection(String name, GatewayPluginJsonThreatProtectionArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginJsonThreatProtection
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. GatewayPluginJsonThreatProtectionArgs
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. GatewayPluginJsonThreatProtectionArgs
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. GatewayPluginJsonThreatProtectionArgs
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. GatewayPluginJsonThreatProtectionArgs
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. GatewayPluginJsonThreatProtectionArgs
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 gatewayPluginJsonThreatProtectionResource = new Konnect.GatewayPluginJsonThreatProtection("gatewayPluginJsonThreatProtectionResource", new()
{
    Config = new Konnect.Inputs.GatewayPluginJsonThreatProtectionConfigArgs
    {
        EnforcementMode = "string",
        ErrorMessage = "string",
        ErrorStatusCode = 0,
        MaxArrayElementCount = 0,
        MaxBodySize = 0,
        MaxContainerDepth = 0,
        MaxObjectEntryCount = 0,
        MaxObjectEntryNameLength = 0,
        MaxStringValueLength = 0,
    },
    ControlPlaneId = "string",
    Enabled = false,
    GatewayPluginJsonThreatProtectionId = "string",
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginJsonThreatProtectionOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginJsonThreatProtectionOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginJsonThreatProtectionOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginJsonThreatProtectionRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginJsonThreatProtectionServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := konnect.NewGatewayPluginJsonThreatProtection(ctx, "gatewayPluginJsonThreatProtectionResource", &konnect.GatewayPluginJsonThreatProtectionArgs{
Config: &.GatewayPluginJsonThreatProtectionConfigArgs{
EnforcementMode: pulumi.String("string"),
ErrorMessage: pulumi.String("string"),
ErrorStatusCode: pulumi.Float64(0),
MaxArrayElementCount: pulumi.Float64(0),
MaxBodySize: pulumi.Float64(0),
MaxContainerDepth: pulumi.Float64(0),
MaxObjectEntryCount: pulumi.Float64(0),
MaxObjectEntryNameLength: pulumi.Float64(0),
MaxStringValueLength: pulumi.Float64(0),
},
ControlPlaneId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
GatewayPluginJsonThreatProtectionId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginJsonThreatProtectionOrderingArgs{
After: &.GatewayPluginJsonThreatProtectionOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginJsonThreatProtectionOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginJsonThreatProtectionRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginJsonThreatProtectionServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var gatewayPluginJsonThreatProtectionResource = new GatewayPluginJsonThreatProtection("gatewayPluginJsonThreatProtectionResource", GatewayPluginJsonThreatProtectionArgs.builder()
    .config(GatewayPluginJsonThreatProtectionConfigArgs.builder()
        .enforcementMode("string")
        .errorMessage("string")
        .errorStatusCode(0)
        .maxArrayElementCount(0)
        .maxBodySize(0)
        .maxContainerDepth(0)
        .maxObjectEntryCount(0)
        .maxObjectEntryNameLength(0)
        .maxStringValueLength(0)
        .build())
    .controlPlaneId("string")
    .enabled(false)
    .gatewayPluginJsonThreatProtectionId("string")
    .instanceName("string")
    .ordering(GatewayPluginJsonThreatProtectionOrderingArgs.builder()
        .after(GatewayPluginJsonThreatProtectionOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginJsonThreatProtectionOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginJsonThreatProtectionRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginJsonThreatProtectionServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .build());
Copy
gateway_plugin_json_threat_protection_resource = konnect.GatewayPluginJsonThreatProtection("gatewayPluginJsonThreatProtectionResource",
    config={
        "enforcement_mode": "string",
        "error_message": "string",
        "error_status_code": 0,
        "max_array_element_count": 0,
        "max_body_size": 0,
        "max_container_depth": 0,
        "max_object_entry_count": 0,
        "max_object_entry_name_length": 0,
        "max_string_value_length": 0,
    },
    control_plane_id="string",
    enabled=False,
    gateway_plugin_json_threat_protection_id="string",
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"])
Copy
const gatewayPluginJsonThreatProtectionResource = new konnect.GatewayPluginJsonThreatProtection("gatewayPluginJsonThreatProtectionResource", {
    config: {
        enforcementMode: "string",
        errorMessage: "string",
        errorStatusCode: 0,
        maxArrayElementCount: 0,
        maxBodySize: 0,
        maxContainerDepth: 0,
        maxObjectEntryCount: 0,
        maxObjectEntryNameLength: 0,
        maxStringValueLength: 0,
    },
    controlPlaneId: "string",
    enabled: false,
    gatewayPluginJsonThreatProtectionId: "string",
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
});
Copy
type: konnect:GatewayPluginJsonThreatProtection
properties:
    config:
        enforcementMode: string
        errorMessage: string
        errorStatusCode: 0
        maxArrayElementCount: 0
        maxBodySize: 0
        maxContainerDepth: 0
        maxObjectEntryCount: 0
        maxObjectEntryNameLength: 0
        maxStringValueLength: 0
    controlPlaneId: string
    enabled: false
    gatewayPluginJsonThreatProtectionId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
Copy

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

Config This property is required. GatewayPluginJsonThreatProtectionConfig
ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Enabled bool
Whether the plugin is applied.
GatewayPluginJsonThreatProtectionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginJsonThreatProtectionOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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.
Config This property is required. GatewayPluginJsonThreatProtectionConfigArgs
ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Enabled bool
Whether the plugin is applied.
GatewayPluginJsonThreatProtectionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginJsonThreatProtectionOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginJsonThreatProtectionRouteArgs
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 GatewayPluginJsonThreatProtectionServiceArgs
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.
config This property is required. GatewayPluginJsonThreatProtectionConfig
controlPlaneId This property is required. String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
enabled Boolean
Whether the plugin is applied.
gatewayPluginJsonThreatProtectionId String
The ID of this resource.
instanceName String
ordering GatewayPluginJsonThreatProtectionOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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.
config This property is required. GatewayPluginJsonThreatProtectionConfig
controlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
enabled boolean
Whether the plugin is applied.
gatewayPluginJsonThreatProtectionId string
The ID of this resource.
instanceName string
ordering GatewayPluginJsonThreatProtectionOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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.
config This property is required. GatewayPluginJsonThreatProtectionConfigArgs
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.
enabled bool
Whether the plugin is applied.
gateway_plugin_json_threat_protection_id str
The ID of this resource.
instance_name str
ordering GatewayPluginJsonThreatProtectionOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRouteArgs
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 GatewayPluginJsonThreatProtectionServiceArgs
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.
config This property is required. Property Map
controlPlaneId This property is required. String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
enabled Boolean
Whether the plugin is applied.
gatewayPluginJsonThreatProtectionId 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.

Outputs

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

CreatedAt double
Unix epoch when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt double
Unix epoch when the resource was last updated.
CreatedAt float64
Unix epoch when the resource was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt float64
Unix epoch when the resource was last updated.
createdAt Double
Unix epoch when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt Double
Unix epoch when the resource was last updated.
createdAt number
Unix epoch when the resource was created.
id string
The provider-assigned unique ID for this managed resource.
updatedAt number
Unix epoch when the resource was last updated.
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.
createdAt Number
Unix epoch when the resource was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt Number
Unix epoch when the resource was last updated.

Look up Existing GatewayPluginJsonThreatProtection Resource

Get an existing GatewayPluginJsonThreatProtection 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?: GatewayPluginJsonThreatProtectionState, opts?: CustomResourceOptions): GatewayPluginJsonThreatProtection
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginJsonThreatProtectionConfigArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_json_threat_protection_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginJsonThreatProtectionOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginJsonThreatProtectionRouteArgs] = None,
        service: Optional[GatewayPluginJsonThreatProtectionServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginJsonThreatProtection
func GetGatewayPluginJsonThreatProtection(ctx *Context, name string, id IDInput, state *GatewayPluginJsonThreatProtectionState, opts ...ResourceOption) (*GatewayPluginJsonThreatProtection, error)
public static GatewayPluginJsonThreatProtection Get(string name, Input<string> id, GatewayPluginJsonThreatProtectionState? state, CustomResourceOptions? opts = null)
public static GatewayPluginJsonThreatProtection get(String name, Output<String> id, GatewayPluginJsonThreatProtectionState state, CustomResourceOptions options)
resources:  _:    type: konnect:GatewayPluginJsonThreatProtection    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 GatewayPluginJsonThreatProtectionConfig
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.
GatewayPluginJsonThreatProtectionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginJsonThreatProtectionOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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 GatewayPluginJsonThreatProtectionConfigArgs
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.
GatewayPluginJsonThreatProtectionId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginJsonThreatProtectionOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginJsonThreatProtectionRouteArgs
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 GatewayPluginJsonThreatProtectionServiceArgs
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 GatewayPluginJsonThreatProtectionConfig
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.
gatewayPluginJsonThreatProtectionId String
The ID of this resource.
instanceName String
ordering GatewayPluginJsonThreatProtectionOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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 GatewayPluginJsonThreatProtectionConfig
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.
gatewayPluginJsonThreatProtectionId string
The ID of this resource.
instanceName string
ordering GatewayPluginJsonThreatProtectionOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRoute
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 GatewayPluginJsonThreatProtectionService
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 GatewayPluginJsonThreatProtectionConfigArgs
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_json_threat_protection_id str
The ID of this resource.
instance_name str
ordering GatewayPluginJsonThreatProtectionOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginJsonThreatProtectionRouteArgs
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 GatewayPluginJsonThreatProtectionServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags Sequence[str]
An optional set of strings associated with the Plugin for grouping and filtering.
updated_at float
Unix epoch when the resource was last updated.
config Property Map
controlPlaneId String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
createdAt Number
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginJsonThreatProtectionId 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

GatewayPluginJsonThreatProtectionConfig
, GatewayPluginJsonThreatProtectionConfigArgs

EnforcementMode string
Enforcement mode of the security policy. must be one of ["block", "log_only"]
ErrorMessage string
The response message when validation fails
ErrorStatusCode double
The response status code when validation fails.
MaxArrayElementCount double
Max number of elements in an array. -1 means unlimited.
MaxBodySize double
Max size of the request body. -1 means unlimited.
MaxContainerDepth double
Max nested depth of objects and arrays. -1 means unlimited.
MaxObjectEntryCount double
Max number of entries in an object. -1 means unlimited.
MaxObjectEntryNameLength double
Max string length of object name. -1 means unlimited.
MaxStringValueLength double
Max string value length. -1 means unlimited.
EnforcementMode string
Enforcement mode of the security policy. must be one of ["block", "log_only"]
ErrorMessage string
The response message when validation fails
ErrorStatusCode float64
The response status code when validation fails.
MaxArrayElementCount float64
Max number of elements in an array. -1 means unlimited.
MaxBodySize float64
Max size of the request body. -1 means unlimited.
MaxContainerDepth float64
Max nested depth of objects and arrays. -1 means unlimited.
MaxObjectEntryCount float64
Max number of entries in an object. -1 means unlimited.
MaxObjectEntryNameLength float64
Max string length of object name. -1 means unlimited.
MaxStringValueLength float64
Max string value length. -1 means unlimited.
enforcementMode String
Enforcement mode of the security policy. must be one of ["block", "log_only"]
errorMessage String
The response message when validation fails
errorStatusCode Double
The response status code when validation fails.
maxArrayElementCount Double
Max number of elements in an array. -1 means unlimited.
maxBodySize Double
Max size of the request body. -1 means unlimited.
maxContainerDepth Double
Max nested depth of objects and arrays. -1 means unlimited.
maxObjectEntryCount Double
Max number of entries in an object. -1 means unlimited.
maxObjectEntryNameLength Double
Max string length of object name. -1 means unlimited.
maxStringValueLength Double
Max string value length. -1 means unlimited.
enforcementMode string
Enforcement mode of the security policy. must be one of ["block", "log_only"]
errorMessage string
The response message when validation fails
errorStatusCode number
The response status code when validation fails.
maxArrayElementCount number
Max number of elements in an array. -1 means unlimited.
maxBodySize number
Max size of the request body. -1 means unlimited.
maxContainerDepth number
Max nested depth of objects and arrays. -1 means unlimited.
maxObjectEntryCount number
Max number of entries in an object. -1 means unlimited.
maxObjectEntryNameLength number
Max string length of object name. -1 means unlimited.
maxStringValueLength number
Max string value length. -1 means unlimited.
enforcement_mode str
Enforcement mode of the security policy. must be one of ["block", "log_only"]
error_message str
The response message when validation fails
error_status_code float
The response status code when validation fails.
max_array_element_count float
Max number of elements in an array. -1 means unlimited.
max_body_size float
Max size of the request body. -1 means unlimited.
max_container_depth float
Max nested depth of objects and arrays. -1 means unlimited.
max_object_entry_count float
Max number of entries in an object. -1 means unlimited.
max_object_entry_name_length float
Max string length of object name. -1 means unlimited.
max_string_value_length float
Max string value length. -1 means unlimited.
enforcementMode String
Enforcement mode of the security policy. must be one of ["block", "log_only"]
errorMessage String
The response message when validation fails
errorStatusCode Number
The response status code when validation fails.
maxArrayElementCount Number
Max number of elements in an array. -1 means unlimited.
maxBodySize Number
Max size of the request body. -1 means unlimited.
maxContainerDepth Number
Max nested depth of objects and arrays. -1 means unlimited.
maxObjectEntryCount Number
Max number of entries in an object. -1 means unlimited.
maxObjectEntryNameLength Number
Max string length of object name. -1 means unlimited.
maxStringValueLength Number
Max string value length. -1 means unlimited.

GatewayPluginJsonThreatProtectionOrdering
, GatewayPluginJsonThreatProtectionOrderingArgs

GatewayPluginJsonThreatProtectionOrderingAfter
, GatewayPluginJsonThreatProtectionOrderingAfterArgs

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

GatewayPluginJsonThreatProtectionOrderingBefore
, GatewayPluginJsonThreatProtectionOrderingBeforeArgs

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

GatewayPluginJsonThreatProtectionRoute
, GatewayPluginJsonThreatProtectionRouteArgs

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

GatewayPluginJsonThreatProtectionService
, GatewayPluginJsonThreatProtectionServiceArgs

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

Import

$ pulumi import konnect:index/gatewayPluginJsonThreatProtection:GatewayPluginJsonThreatProtection my_konnect_gateway_plugin_json_threat_protection "{ \"control_plane_id\": \"9524ec7d-36d9-465d-a8c5-83a3c9390458\", \"plugin_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.