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

konnect.GatewayPluginRateLimiting

Explore with Pulumi AI

GatewayPluginRateLimiting 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.GatewayPluginRateLimiting;
import com.pulumi.konnect.GatewayPluginRateLimitingArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingConfigRedisArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingConsumerGroupArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginRateLimitingServiceArgs;
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 myGatewaypluginratelimiting = new GatewayPluginRateLimiting("myGatewaypluginratelimiting", GatewayPluginRateLimitingArgs.builder()
            .config(GatewayPluginRateLimitingConfigArgs.builder()
                .day(2.06)
                .error_code(7.45)
                .error_message("...my_error_message...")
                .fault_tolerant(true)
                .header_name("...my_header_name...")
                .hide_client_headers(false)
                .hour(0.92)
                .limit_by("ip")
                .minute(3.29)
                .month(7.22)
                .path("...my_path...")
                .policy("local")
                .redis(GatewayPluginRateLimitingConfigRedisArgs.builder()
                    .database(3)
                    .host("...my_host...")
                    .password("...my_password...")
                    .port(37089)
                    .serverName("...my_server_name...")
                    .ssl(false)
                    .sslVerify(true)
                    .timeout(14058328)
                    .username("...my_username...")
                    .build())
                .second(1.89)
                .sync_rate(7.98)
                .year(0.32)
                .build())
            .consumer(GatewayPluginRateLimitingConsumerArgs.builder()
                .id("...my_id...")
                .build())
            .consumerGroup(GatewayPluginRateLimitingConsumerGroupArgs.builder()
                .id("...my_id...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .createdAt(9)
            .enabled(true)
            .gatewayPluginRateLimitingId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginRateLimitingOrderingArgs.builder()
                .after(GatewayPluginRateLimitingOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginRateLimitingOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("grpc")
            .route(GatewayPluginRateLimitingRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginRateLimitingServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .updatedAt(4)
            .build());

    }
}
Copy
resources:
  myGatewaypluginratelimiting:
    type: konnect:GatewayPluginRateLimiting
    properties:
      config:
        day: 2.06
        error_code: 7.45
        error_message: '...my_error_message...'
        fault_tolerant: true
        header_name: '...my_header_name...'
        hide_client_headers: false
        hour: 0.92
        limit_by: ip
        minute: 3.29
        month: 7.22
        path: '...my_path...'
        policy: local
        redis:
          database: 3
          host: '...my_host...'
          password: '...my_password...'
          port: 37089
          serverName: '...my_server_name...'
          ssl: false
          sslVerify: true
          timeout: 1.4058328e+07
          username: '...my_username...'
        second: 1.89
        sync_rate: 7.98
        year: 0.32
      consumer:
        id: '...my_id...'
      consumerGroup:
        id: '...my_id...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      createdAt: 9
      enabled: true
      gatewayPluginRateLimitingId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - grpc
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
      updatedAt: 4
Copy

Create GatewayPluginRateLimiting Resource

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

Constructor syntax

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

@overload
def GatewayPluginRateLimiting(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              control_plane_id: Optional[str] = None,
                              gateway_plugin_rate_limiting_id: Optional[str] = None,
                              consumer_group: Optional[GatewayPluginRateLimitingConsumerGroupArgs] = None,
                              consumer: Optional[GatewayPluginRateLimitingConsumerArgs] = None,
                              created_at: Optional[float] = None,
                              enabled: Optional[bool] = None,
                              config: Optional[GatewayPluginRateLimitingConfigArgs] = None,
                              instance_name: Optional[str] = None,
                              ordering: Optional[GatewayPluginRateLimitingOrderingArgs] = None,
                              protocols: Optional[Sequence[str]] = None,
                              route: Optional[GatewayPluginRateLimitingRouteArgs] = None,
                              service: Optional[GatewayPluginRateLimitingServiceArgs] = None,
                              tags: Optional[Sequence[str]] = None,
                              updated_at: Optional[float] = None)
func NewGatewayPluginRateLimiting(ctx *Context, name string, args GatewayPluginRateLimitingArgs, opts ...ResourceOption) (*GatewayPluginRateLimiting, error)
public GatewayPluginRateLimiting(string name, GatewayPluginRateLimitingArgs args, CustomResourceOptions? opts = null)
public GatewayPluginRateLimiting(String name, GatewayPluginRateLimitingArgs args)
public GatewayPluginRateLimiting(String name, GatewayPluginRateLimitingArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginRateLimiting
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. GatewayPluginRateLimitingArgs
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. GatewayPluginRateLimitingArgs
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. GatewayPluginRateLimitingArgs
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. GatewayPluginRateLimitingArgs
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. GatewayPluginRateLimitingArgs
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 gatewayPluginRateLimitingResource = new Konnect.GatewayPluginRateLimiting("gatewayPluginRateLimitingResource", new()
{
    ControlPlaneId = "string",
    GatewayPluginRateLimitingId = "string",
    ConsumerGroup = new Konnect.Inputs.GatewayPluginRateLimitingConsumerGroupArgs
    {
        Id = "string",
    },
    Consumer = new Konnect.Inputs.GatewayPluginRateLimitingConsumerArgs
    {
        Id = "string",
    },
    CreatedAt = 0,
    Enabled = false,
    Config = new Konnect.Inputs.GatewayPluginRateLimitingConfigArgs
    {
        Day = 0,
        ErrorCode = 0,
        ErrorMessage = "string",
        FaultTolerant = false,
        HeaderName = "string",
        HideClientHeaders = false,
        Hour = 0,
        LimitBy = "string",
        Minute = 0,
        Month = 0,
        Path = "string",
        Policy = "string",
        Redis = new Konnect.Inputs.GatewayPluginRateLimitingConfigRedisArgs
        {
            Database = 0,
            Host = "string",
            Password = "string",
            Port = 0,
            ServerName = "string",
            Ssl = false,
            SslVerify = false,
            Timeout = 0,
            Username = "string",
        },
        Second = 0,
        SyncRate = 0,
        Year = 0,
    },
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginRateLimitingOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginRateLimitingOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginRateLimitingOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginRateLimitingRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginRateLimitingServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
    UpdatedAt = 0,
});
Copy
example, err := konnect.NewGatewayPluginRateLimiting(ctx, "gatewayPluginRateLimitingResource", &konnect.GatewayPluginRateLimitingArgs{
ControlPlaneId: pulumi.String("string"),
GatewayPluginRateLimitingId: pulumi.String("string"),
ConsumerGroup: &.GatewayPluginRateLimitingConsumerGroupArgs{
Id: pulumi.String("string"),
},
Consumer: &.GatewayPluginRateLimitingConsumerArgs{
Id: pulumi.String("string"),
},
CreatedAt: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Config: &.GatewayPluginRateLimitingConfigArgs{
Day: pulumi.Float64(0),
ErrorCode: pulumi.Float64(0),
ErrorMessage: pulumi.String("string"),
FaultTolerant: pulumi.Bool(false),
HeaderName: pulumi.String("string"),
HideClientHeaders: pulumi.Bool(false),
Hour: pulumi.Float64(0),
LimitBy: pulumi.String("string"),
Minute: pulumi.Float64(0),
Month: pulumi.Float64(0),
Path: pulumi.String("string"),
Policy: pulumi.String("string"),
Redis: &.GatewayPluginRateLimitingConfigRedisArgs{
Database: pulumi.Float64(0),
Host: pulumi.String("string"),
Password: pulumi.String("string"),
Port: pulumi.Float64(0),
ServerName: pulumi.String("string"),
Ssl: pulumi.Bool(false),
SslVerify: pulumi.Bool(false),
Timeout: pulumi.Float64(0),
Username: pulumi.String("string"),
},
Second: pulumi.Float64(0),
SyncRate: pulumi.Float64(0),
Year: pulumi.Float64(0),
},
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginRateLimitingOrderingArgs{
After: &.GatewayPluginRateLimitingOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginRateLimitingOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginRateLimitingRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginRateLimitingServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.Float64(0),
})
Copy
var gatewayPluginRateLimitingResource = new GatewayPluginRateLimiting("gatewayPluginRateLimitingResource", GatewayPluginRateLimitingArgs.builder()
    .controlPlaneId("string")
    .gatewayPluginRateLimitingId("string")
    .consumerGroup(GatewayPluginRateLimitingConsumerGroupArgs.builder()
        .id("string")
        .build())
    .consumer(GatewayPluginRateLimitingConsumerArgs.builder()
        .id("string")
        .build())
    .createdAt(0)
    .enabled(false)
    .config(GatewayPluginRateLimitingConfigArgs.builder()
        .day(0)
        .errorCode(0)
        .errorMessage("string")
        .faultTolerant(false)
        .headerName("string")
        .hideClientHeaders(false)
        .hour(0)
        .limitBy("string")
        .minute(0)
        .month(0)
        .path("string")
        .policy("string")
        .redis(GatewayPluginRateLimitingConfigRedisArgs.builder()
            .database(0)
            .host("string")
            .password("string")
            .port(0)
            .serverName("string")
            .ssl(false)
            .sslVerify(false)
            .timeout(0)
            .username("string")
            .build())
        .second(0)
        .syncRate(0)
        .year(0)
        .build())
    .instanceName("string")
    .ordering(GatewayPluginRateLimitingOrderingArgs.builder()
        .after(GatewayPluginRateLimitingOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginRateLimitingOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginRateLimitingRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginRateLimitingServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .updatedAt(0)
    .build());
Copy
gateway_plugin_rate_limiting_resource = konnect.GatewayPluginRateLimiting("gatewayPluginRateLimitingResource",
    control_plane_id="string",
    gateway_plugin_rate_limiting_id="string",
    consumer_group={
        "id": "string",
    },
    consumer={
        "id": "string",
    },
    created_at=0,
    enabled=False,
    config={
        "day": 0,
        "error_code": 0,
        "error_message": "string",
        "fault_tolerant": False,
        "header_name": "string",
        "hide_client_headers": False,
        "hour": 0,
        "limit_by": "string",
        "minute": 0,
        "month": 0,
        "path": "string",
        "policy": "string",
        "redis": {
            "database": 0,
            "host": "string",
            "password": "string",
            "port": 0,
            "server_name": "string",
            "ssl": False,
            "ssl_verify": False,
            "timeout": 0,
            "username": "string",
        },
        "second": 0,
        "sync_rate": 0,
        "year": 0,
    },
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"],
    updated_at=0)
Copy
const gatewayPluginRateLimitingResource = new konnect.GatewayPluginRateLimiting("gatewayPluginRateLimitingResource", {
    controlPlaneId: "string",
    gatewayPluginRateLimitingId: "string",
    consumerGroup: {
        id: "string",
    },
    consumer: {
        id: "string",
    },
    createdAt: 0,
    enabled: false,
    config: {
        day: 0,
        errorCode: 0,
        errorMessage: "string",
        faultTolerant: false,
        headerName: "string",
        hideClientHeaders: false,
        hour: 0,
        limitBy: "string",
        minute: 0,
        month: 0,
        path: "string",
        policy: "string",
        redis: {
            database: 0,
            host: "string",
            password: "string",
            port: 0,
            serverName: "string",
            ssl: false,
            sslVerify: false,
            timeout: 0,
            username: "string",
        },
        second: 0,
        syncRate: 0,
        year: 0,
    },
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
    updatedAt: 0,
});
Copy
type: konnect:GatewayPluginRateLimiting
properties:
    config:
        day: 0
        errorCode: 0
        errorMessage: string
        faultTolerant: false
        headerName: string
        hideClientHeaders: false
        hour: 0
        limitBy: string
        minute: 0
        month: 0
        path: string
        policy: string
        redis:
            database: 0
            host: string
            password: string
            port: 0
            serverName: string
            ssl: false
            sslVerify: false
            timeout: 0
            username: string
        second: 0
        syncRate: 0
        year: 0
    consumer:
        id: string
    consumerGroup:
        id: string
    controlPlaneId: string
    createdAt: 0
    enabled: false
    gatewayPluginRateLimitingId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
    updatedAt: 0
Copy

GatewayPluginRateLimiting 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 GatewayPluginRateLimiting 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 GatewayPluginRateLimitingConfig
Consumer GatewayPluginRateLimitingConsumer
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.
ConsumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
CreatedAt double
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginRateLimitingId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRateLimitingOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfigArgs
Consumer GatewayPluginRateLimitingConsumerArgs
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.
ConsumerGroup GatewayPluginRateLimitingConsumerGroupArgs
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
CreatedAt float64
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginRateLimitingId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRateLimitingOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginRateLimitingRouteArgs
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 GatewayPluginRateLimitingServiceArgs
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 GatewayPluginRateLimitingConfig
consumer GatewayPluginRateLimitingConsumer
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.
consumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
createdAt Double
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginRateLimitingId String
The ID of this resource.
instanceName String
ordering GatewayPluginRateLimitingOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfig
consumer GatewayPluginRateLimitingConsumer
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.
consumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
createdAt number
Unix epoch when the resource was created.
enabled boolean
Whether the plugin is applied.
gatewayPluginRateLimitingId string
The ID of this resource.
instanceName string
ordering GatewayPluginRateLimitingOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfigArgs
consumer GatewayPluginRateLimitingConsumerArgs
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.
consumer_group GatewayPluginRateLimitingConsumerGroupArgs
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
created_at float
Unix epoch when the resource was created.
enabled bool
Whether the plugin is applied.
gateway_plugin_rate_limiting_id str
The ID of this resource.
instance_name str
ordering GatewayPluginRateLimitingOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRouteArgs
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 GatewayPluginRateLimitingServiceArgs
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.
consumerGroup Property Map
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
createdAt Number
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginRateLimitingId 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 GatewayPluginRateLimiting 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 GatewayPluginRateLimiting Resource

Get an existing GatewayPluginRateLimiting 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?: GatewayPluginRateLimitingState, opts?: CustomResourceOptions): GatewayPluginRateLimiting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginRateLimitingConfigArgs] = None,
        consumer: Optional[GatewayPluginRateLimitingConsumerArgs] = None,
        consumer_group: Optional[GatewayPluginRateLimitingConsumerGroupArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_rate_limiting_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginRateLimitingOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginRateLimitingRouteArgs] = None,
        service: Optional[GatewayPluginRateLimitingServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginRateLimiting
func GetGatewayPluginRateLimiting(ctx *Context, name string, id IDInput, state *GatewayPluginRateLimitingState, opts ...ResourceOption) (*GatewayPluginRateLimiting, error)
public static GatewayPluginRateLimiting Get(string name, Input<string> id, GatewayPluginRateLimitingState? state, CustomResourceOptions? opts = null)
public static GatewayPluginRateLimiting get(String name, Output<String> id, GatewayPluginRateLimitingState state, CustomResourceOptions options)
resources:  _:    type: konnect:GatewayPluginRateLimiting    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 GatewayPluginRateLimitingConfig
Consumer GatewayPluginRateLimitingConsumer
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.
ConsumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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.
GatewayPluginRateLimitingId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRateLimitingOrdering
Protocols List<string>
A set of strings representing HTTP protocols.
Route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfigArgs
Consumer GatewayPluginRateLimitingConsumerArgs
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.
ConsumerGroup GatewayPluginRateLimitingConsumerGroupArgs
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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.
GatewayPluginRateLimitingId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginRateLimitingOrderingArgs
Protocols []string
A set of strings representing HTTP protocols.
Route GatewayPluginRateLimitingRouteArgs
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 GatewayPluginRateLimitingServiceArgs
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 GatewayPluginRateLimitingConfig
consumer GatewayPluginRateLimitingConsumer
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.
consumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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.
gatewayPluginRateLimitingId String
The ID of this resource.
instanceName String
ordering GatewayPluginRateLimitingOrdering
protocols List<String>
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfig
consumer GatewayPluginRateLimitingConsumer
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.
consumerGroup GatewayPluginRateLimitingConsumerGroup
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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.
gatewayPluginRateLimitingId string
The ID of this resource.
instanceName string
ordering GatewayPluginRateLimitingOrdering
protocols string[]
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRoute
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 GatewayPluginRateLimitingService
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 GatewayPluginRateLimitingConfigArgs
consumer GatewayPluginRateLimitingConsumerArgs
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.
consumer_group GatewayPluginRateLimitingConsumerGroupArgs
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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_rate_limiting_id str
The ID of this resource.
instance_name str
ordering GatewayPluginRateLimitingOrderingArgs
protocols Sequence[str]
A set of strings representing HTTP protocols.
route GatewayPluginRateLimitingRouteArgs
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 GatewayPluginRateLimitingServiceArgs
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.
consumerGroup Property Map
If set, the plugin will activate only for requests where the specified consumer group has been authenticated. (Note that some plugins can not be restricted to consumers groups this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer Groups
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.
gatewayPluginRateLimitingId 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

GatewayPluginRateLimitingConfig
, GatewayPluginRateLimitingConfigArgs

Day double
The number of HTTP requests that can be made per day.
ErrorCode double
Set a custom error code to return when the rate limit is exceeded.
ErrorMessage string
Set a custom error message to return when the rate limit is exceeded.
FaultTolerant bool
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
HeaderName string
A string representing an HTTP header name.
HideClientHeaders bool
Optionally hide informative response headers.
Hour double
The number of HTTP requests that can be made per hour.
LimitBy string
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
Minute double
The number of HTTP requests that can be made per minute.
Month double
The number of HTTP requests that can be made per month.
Path string
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
Policy string
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
Redis GatewayPluginRateLimitingConfigRedis
Redis configuration
Second double
The number of HTTP requests that can be made per second.
SyncRate double
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
Year double
The number of HTTP requests that can be made per year.
Day float64
The number of HTTP requests that can be made per day.
ErrorCode float64
Set a custom error code to return when the rate limit is exceeded.
ErrorMessage string
Set a custom error message to return when the rate limit is exceeded.
FaultTolerant bool
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
HeaderName string
A string representing an HTTP header name.
HideClientHeaders bool
Optionally hide informative response headers.
Hour float64
The number of HTTP requests that can be made per hour.
LimitBy string
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
Minute float64
The number of HTTP requests that can be made per minute.
Month float64
The number of HTTP requests that can be made per month.
Path string
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
Policy string
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
Redis GatewayPluginRateLimitingConfigRedis
Redis configuration
Second float64
The number of HTTP requests that can be made per second.
SyncRate float64
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
Year float64
The number of HTTP requests that can be made per year.
day Double
The number of HTTP requests that can be made per day.
errorCode Double
Set a custom error code to return when the rate limit is exceeded.
errorMessage String
Set a custom error message to return when the rate limit is exceeded.
faultTolerant Boolean
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
headerName String
A string representing an HTTP header name.
hideClientHeaders Boolean
Optionally hide informative response headers.
hour Double
The number of HTTP requests that can be made per hour.
limitBy String
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
minute Double
The number of HTTP requests that can be made per minute.
month Double
The number of HTTP requests that can be made per month.
path String
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
policy String
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
redis GatewayPluginRateLimitingConfigRedis
Redis configuration
second Double
The number of HTTP requests that can be made per second.
syncRate Double
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
year Double
The number of HTTP requests that can be made per year.
day number
The number of HTTP requests that can be made per day.
errorCode number
Set a custom error code to return when the rate limit is exceeded.
errorMessage string
Set a custom error message to return when the rate limit is exceeded.
faultTolerant boolean
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
headerName string
A string representing an HTTP header name.
hideClientHeaders boolean
Optionally hide informative response headers.
hour number
The number of HTTP requests that can be made per hour.
limitBy string
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
minute number
The number of HTTP requests that can be made per minute.
month number
The number of HTTP requests that can be made per month.
path string
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
policy string
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
redis GatewayPluginRateLimitingConfigRedis
Redis configuration
second number
The number of HTTP requests that can be made per second.
syncRate number
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
year number
The number of HTTP requests that can be made per year.
day float
The number of HTTP requests that can be made per day.
error_code float
Set a custom error code to return when the rate limit is exceeded.
error_message str
Set a custom error message to return when the rate limit is exceeded.
fault_tolerant bool
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
header_name str
A string representing an HTTP header name.
hide_client_headers bool
Optionally hide informative response headers.
hour float
The number of HTTP requests that can be made per hour.
limit_by str
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
minute float
The number of HTTP requests that can be made per minute.
month float
The number of HTTP requests that can be made per month.
path str
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
policy str
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
redis GatewayPluginRateLimitingConfigRedis
Redis configuration
second float
The number of HTTP requests that can be made per second.
sync_rate float
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
year float
The number of HTTP requests that can be made per year.
day Number
The number of HTTP requests that can be made per day.
errorCode Number
Set a custom error code to return when the rate limit is exceeded.
errorMessage String
Set a custom error message to return when the rate limit is exceeded.
faultTolerant Boolean
A boolean value that determines if the requests should be proxied even if Kong has troubles connecting a third-party data store. If true, requests will be proxied anyway, effectively disabling the rate-limiting function until the data store is working again. If false, then the clients will see 500 errors.
headerName String
A string representing an HTTP header name.
hideClientHeaders Boolean
Optionally hide informative response headers.
hour Number
The number of HTTP requests that can be made per hour.
limitBy String
The entity that is used when aggregating the limits. must be one of ["consumer", "consumer-group", "credential", "header", "ip", "path", "service"]
minute Number
The number of HTTP requests that can be made per minute.
month Number
The number of HTTP requests that can be made per month.
path String
A string representing a URL path, such as /path/to/resource. Must start with a forward slash (/) and must not contain empty segments (i.e., two consecutive forward slashes).
policy String
The rate-limiting policies to use for retrieving and incrementing the limits. must be one of ["cluster", "local", "redis"]
redis Property Map
Redis configuration
second Number
The number of HTTP requests that can be made per second.
syncRate Number
How often to sync counter data to the central data store. A value of -1 results in synchronous behavior.
year Number
The number of HTTP requests that can be made per year.

GatewayPluginRateLimitingConfigRedis
, GatewayPluginRateLimitingConfigRedisArgs

Database double
Database to use for the Redis connection when using the redis strategy
Host string
A string representing a host name, such as example.com.
Password string
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
Port double
An integer representing a port number between 0 and 65535, inclusive.
ServerName string
A string representing an SNI (server name indication) value for TLS.
Ssl bool
If set to true, uses SSL to connect to Redis.
SslVerify bool
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
Timeout double
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
Username string
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.
Database float64
Database to use for the Redis connection when using the redis strategy
Host string
A string representing a host name, such as example.com.
Password string
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
Port float64
An integer representing a port number between 0 and 65535, inclusive.
ServerName string
A string representing an SNI (server name indication) value for TLS.
Ssl bool
If set to true, uses SSL to connect to Redis.
SslVerify bool
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
Timeout float64
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
Username string
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.
database Double
Database to use for the Redis connection when using the redis strategy
host String
A string representing a host name, such as example.com.
password String
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
port Double
An integer representing a port number between 0 and 65535, inclusive.
serverName String
A string representing an SNI (server name indication) value for TLS.
ssl Boolean
If set to true, uses SSL to connect to Redis.
sslVerify Boolean
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
timeout Double
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
username String
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.
database number
Database to use for the Redis connection when using the redis strategy
host string
A string representing a host name, such as example.com.
password string
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
port number
An integer representing a port number between 0 and 65535, inclusive.
serverName string
A string representing an SNI (server name indication) value for TLS.
ssl boolean
If set to true, uses SSL to connect to Redis.
sslVerify boolean
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
timeout number
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
username string
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.
database float
Database to use for the Redis connection when using the redis strategy
host str
A string representing a host name, such as example.com.
password str
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
port float
An integer representing a port number between 0 and 65535, inclusive.
server_name str
A string representing an SNI (server name indication) value for TLS.
ssl bool
If set to true, uses SSL to connect to Redis.
ssl_verify bool
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
timeout float
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
username str
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.
database Number
Database to use for the Redis connection when using the redis strategy
host String
A string representing a host name, such as example.com.
password String
Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis.
port Number
An integer representing a port number between 0 and 65535, inclusive.
serverName String
A string representing an SNI (server name indication) value for TLS.
ssl Boolean
If set to true, uses SSL to connect to Redis.
sslVerify Boolean
If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly.
timeout Number
An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2.
username String
Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default.

GatewayPluginRateLimitingConsumer
, GatewayPluginRateLimitingConsumerArgs

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

GatewayPluginRateLimitingConsumerGroup
, GatewayPluginRateLimitingConsumerGroupArgs

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

GatewayPluginRateLimitingOrdering
, GatewayPluginRateLimitingOrderingArgs

GatewayPluginRateLimitingOrderingAfter
, GatewayPluginRateLimitingOrderingAfterArgs

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

GatewayPluginRateLimitingOrderingBefore
, GatewayPluginRateLimitingOrderingBeforeArgs

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

GatewayPluginRateLimitingRoute
, GatewayPluginRateLimitingRouteArgs

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

GatewayPluginRateLimitingService
, GatewayPluginRateLimitingServiceArgs

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

Import

$ pulumi import konnect:index/gatewayPluginRateLimiting:GatewayPluginRateLimiting my_konnect_gateway_plugin_rate_limiting "{ \"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.