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

konnect.GatewayPluginHttpLog

Explore with Pulumi AI

GatewayPluginHTTPLog 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.GatewayPluginHttpLog;
import com.pulumi.konnect.GatewayPluginHttpLogArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogConfigQueueArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginHttpLogServiceArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 myGatewaypluginhttplog = new GatewayPluginHttpLog("myGatewaypluginhttplog", GatewayPluginHttpLogArgs.builder()
            .config(GatewayPluginHttpLogConfigArgs.builder()
                .content_type("application/json; charset=utf-8")
                .custom_fields_by_lua(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .flush_timeout(8.97)
                .headers(Map.of("key", serializeJson(
                    "value")))
                .http_endpoint("...my_http_endpoint...")
                .keepalive(2.25)
                .method("POST")
                .queue(GatewayPluginHttpLogConfigQueueArgs.builder()
                    .concurrencyLimit(0)
                    .initialRetryDelay(154435.3)
                    .maxBatchSize(297113)
                    .maxBytes(7)
                    .maxCoalescingDelay(198.88)
                    .maxEntries(603921)
                    .maxRetryDelay(290740.88)
                    .maxRetryTime(4.99)
                    .build())
                .queue_size(3)
                .retry_count(10)
                .timeout(6.49)
                .build())
            .consumer(GatewayPluginHttpLogConsumerArgs.builder()
                .id("...my_id...")
                .build())
            .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
            .enabled(false)
            .gatewayPluginHttpLogId("...my_id...")
            .instanceName("...my_instance_name...")
            .ordering(GatewayPluginHttpLogOrderingArgs.builder()
                .after(GatewayPluginHttpLogOrderingAfterArgs.builder()
                    .access("...")
                    .build())
                .before(GatewayPluginHttpLogOrderingBeforeArgs.builder()
                    .access("...")
                    .build())
                .build())
            .protocols("grpcs")
            .route(GatewayPluginHttpLogRouteArgs.builder()
                .id("...my_id...")
                .build())
            .service(GatewayPluginHttpLogServiceArgs.builder()
                .id("...my_id...")
                .build())
            .tags("...")
            .build());

    }
}
Copy
resources:
  myGatewaypluginhttplog:
    type: konnect:GatewayPluginHttpLog
    properties:
      config:
        content_type: application/json; charset=utf-8
        custom_fields_by_lua:
          key:
            fn::toJSON: value
        flush_timeout: 8.97
        headers:
          key:
            fn::toJSON: value
        http_endpoint: '...my_http_endpoint...'
        keepalive: 2.25
        method: POST
        queue:
          concurrencyLimit: 0
          initialRetryDelay: 154435.3
          maxBatchSize: 297113
          maxBytes: 7
          maxCoalescingDelay: 198.88
          maxEntries: 603921
          maxRetryDelay: 290740.88
          maxRetryTime: 4.99
        queue_size: 3
        retry_count: 10
        timeout: 6.49
      consumer:
        id: '...my_id...'
      controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      enabled: false
      gatewayPluginHttpLogId: '...my_id...'
      instanceName: '...my_instance_name...'
      ordering:
        after:
          access:
            - '...'
        before:
          access:
            - '...'
      protocols:
        - grpcs
      route:
        id: '...my_id...'
      service:
        id: '...my_id...'
      tags:
        - '...'
Copy

Create GatewayPluginHttpLog Resource

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

Constructor syntax

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

@overload
def GatewayPluginHttpLog(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         config: Optional[GatewayPluginHttpLogConfigArgs] = None,
                         control_plane_id: Optional[str] = None,
                         consumer: Optional[GatewayPluginHttpLogConsumerArgs] = None,
                         enabled: Optional[bool] = None,
                         gateway_plugin_http_log_id: Optional[str] = None,
                         instance_name: Optional[str] = None,
                         ordering: Optional[GatewayPluginHttpLogOrderingArgs] = None,
                         protocols: Optional[Sequence[str]] = None,
                         route: Optional[GatewayPluginHttpLogRouteArgs] = None,
                         service: Optional[GatewayPluginHttpLogServiceArgs] = None,
                         tags: Optional[Sequence[str]] = None)
func NewGatewayPluginHttpLog(ctx *Context, name string, args GatewayPluginHttpLogArgs, opts ...ResourceOption) (*GatewayPluginHttpLog, error)
public GatewayPluginHttpLog(string name, GatewayPluginHttpLogArgs args, CustomResourceOptions? opts = null)
public GatewayPluginHttpLog(String name, GatewayPluginHttpLogArgs args)
public GatewayPluginHttpLog(String name, GatewayPluginHttpLogArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginHttpLog
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. GatewayPluginHttpLogArgs
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. GatewayPluginHttpLogArgs
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. GatewayPluginHttpLogArgs
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. GatewayPluginHttpLogArgs
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. GatewayPluginHttpLogArgs
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 gatewayPluginHttpLogResource = new Konnect.GatewayPluginHttpLog("gatewayPluginHttpLogResource", new()
{
    Config = new Konnect.Inputs.GatewayPluginHttpLogConfigArgs
    {
        ContentType = "string",
        CustomFieldsByLua = 
        {
            { "string", "string" },
        },
        FlushTimeout = 0,
        Headers = 
        {
            { "string", "string" },
        },
        HttpEndpoint = "string",
        Keepalive = 0,
        Method = "string",
        Queue = new Konnect.Inputs.GatewayPluginHttpLogConfigQueueArgs
        {
            ConcurrencyLimit = 0,
            InitialRetryDelay = 0,
            MaxBatchSize = 0,
            MaxBytes = 0,
            MaxCoalescingDelay = 0,
            MaxEntries = 0,
            MaxRetryDelay = 0,
            MaxRetryTime = 0,
        },
        QueueSize = 0,
        RetryCount = 0,
        Timeout = 0,
    },
    ControlPlaneId = "string",
    Consumer = new Konnect.Inputs.GatewayPluginHttpLogConsumerArgs
    {
        Id = "string",
    },
    Enabled = false,
    GatewayPluginHttpLogId = "string",
    InstanceName = "string",
    Ordering = new Konnect.Inputs.GatewayPluginHttpLogOrderingArgs
    {
        After = new Konnect.Inputs.GatewayPluginHttpLogOrderingAfterArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
        Before = new Konnect.Inputs.GatewayPluginHttpLogOrderingBeforeArgs
        {
            Accesses = new[]
            {
                "string",
            },
        },
    },
    Protocols = new[]
    {
        "string",
    },
    Route = new Konnect.Inputs.GatewayPluginHttpLogRouteArgs
    {
        Id = "string",
    },
    Service = new Konnect.Inputs.GatewayPluginHttpLogServiceArgs
    {
        Id = "string",
    },
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := konnect.NewGatewayPluginHttpLog(ctx, "gatewayPluginHttpLogResource", &konnect.GatewayPluginHttpLogArgs{
Config: &.GatewayPluginHttpLogConfigArgs{
ContentType: pulumi.String("string"),
CustomFieldsByLua: pulumi.StringMap{
"string": pulumi.String("string"),
},
FlushTimeout: pulumi.Float64(0),
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
HttpEndpoint: pulumi.String("string"),
Keepalive: pulumi.Float64(0),
Method: pulumi.String("string"),
Queue: &.GatewayPluginHttpLogConfigQueueArgs{
ConcurrencyLimit: pulumi.Float64(0),
InitialRetryDelay: pulumi.Float64(0),
MaxBatchSize: pulumi.Float64(0),
MaxBytes: pulumi.Float64(0),
MaxCoalescingDelay: pulumi.Float64(0),
MaxEntries: pulumi.Float64(0),
MaxRetryDelay: pulumi.Float64(0),
MaxRetryTime: pulumi.Float64(0),
},
QueueSize: pulumi.Float64(0),
RetryCount: pulumi.Float64(0),
Timeout: pulumi.Float64(0),
},
ControlPlaneId: pulumi.String("string"),
Consumer: &.GatewayPluginHttpLogConsumerArgs{
Id: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
GatewayPluginHttpLogId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginHttpLogOrderingArgs{
After: &.GatewayPluginHttpLogOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginHttpLogOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginHttpLogRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginHttpLogServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var gatewayPluginHttpLogResource = new GatewayPluginHttpLog("gatewayPluginHttpLogResource", GatewayPluginHttpLogArgs.builder()
    .config(GatewayPluginHttpLogConfigArgs.builder()
        .contentType("string")
        .customFieldsByLua(Map.of("string", "string"))
        .flushTimeout(0)
        .headers(Map.of("string", "string"))
        .httpEndpoint("string")
        .keepalive(0)
        .method("string")
        .queue(GatewayPluginHttpLogConfigQueueArgs.builder()
            .concurrencyLimit(0)
            .initialRetryDelay(0)
            .maxBatchSize(0)
            .maxBytes(0)
            .maxCoalescingDelay(0)
            .maxEntries(0)
            .maxRetryDelay(0)
            .maxRetryTime(0)
            .build())
        .queueSize(0)
        .retryCount(0)
        .timeout(0)
        .build())
    .controlPlaneId("string")
    .consumer(GatewayPluginHttpLogConsumerArgs.builder()
        .id("string")
        .build())
    .enabled(false)
    .gatewayPluginHttpLogId("string")
    .instanceName("string")
    .ordering(GatewayPluginHttpLogOrderingArgs.builder()
        .after(GatewayPluginHttpLogOrderingAfterArgs.builder()
            .accesses("string")
            .build())
        .before(GatewayPluginHttpLogOrderingBeforeArgs.builder()
            .accesses("string")
            .build())
        .build())
    .protocols("string")
    .route(GatewayPluginHttpLogRouteArgs.builder()
        .id("string")
        .build())
    .service(GatewayPluginHttpLogServiceArgs.builder()
        .id("string")
        .build())
    .tags("string")
    .build());
Copy
gateway_plugin_http_log_resource = konnect.GatewayPluginHttpLog("gatewayPluginHttpLogResource",
    config={
        "content_type": "string",
        "custom_fields_by_lua": {
            "string": "string",
        },
        "flush_timeout": 0,
        "headers": {
            "string": "string",
        },
        "http_endpoint": "string",
        "keepalive": 0,
        "method": "string",
        "queue": {
            "concurrency_limit": 0,
            "initial_retry_delay": 0,
            "max_batch_size": 0,
            "max_bytes": 0,
            "max_coalescing_delay": 0,
            "max_entries": 0,
            "max_retry_delay": 0,
            "max_retry_time": 0,
        },
        "queue_size": 0,
        "retry_count": 0,
        "timeout": 0,
    },
    control_plane_id="string",
    consumer={
        "id": "string",
    },
    enabled=False,
    gateway_plugin_http_log_id="string",
    instance_name="string",
    ordering={
        "after": {
            "accesses": ["string"],
        },
        "before": {
            "accesses": ["string"],
        },
    },
    protocols=["string"],
    route={
        "id": "string",
    },
    service={
        "id": "string",
    },
    tags=["string"])
Copy
const gatewayPluginHttpLogResource = new konnect.GatewayPluginHttpLog("gatewayPluginHttpLogResource", {
    config: {
        contentType: "string",
        customFieldsByLua: {
            string: "string",
        },
        flushTimeout: 0,
        headers: {
            string: "string",
        },
        httpEndpoint: "string",
        keepalive: 0,
        method: "string",
        queue: {
            concurrencyLimit: 0,
            initialRetryDelay: 0,
            maxBatchSize: 0,
            maxBytes: 0,
            maxCoalescingDelay: 0,
            maxEntries: 0,
            maxRetryDelay: 0,
            maxRetryTime: 0,
        },
        queueSize: 0,
        retryCount: 0,
        timeout: 0,
    },
    controlPlaneId: "string",
    consumer: {
        id: "string",
    },
    enabled: false,
    gatewayPluginHttpLogId: "string",
    instanceName: "string",
    ordering: {
        after: {
            accesses: ["string"],
        },
        before: {
            accesses: ["string"],
        },
    },
    protocols: ["string"],
    route: {
        id: "string",
    },
    service: {
        id: "string",
    },
    tags: ["string"],
});
Copy
type: konnect:GatewayPluginHttpLog
properties:
    config:
        contentType: string
        customFieldsByLua:
            string: string
        flushTimeout: 0
        headers:
            string: string
        httpEndpoint: string
        keepalive: 0
        method: string
        queue:
            concurrencyLimit: 0
            initialRetryDelay: 0
            maxBatchSize: 0
            maxBytes: 0
            maxCoalescingDelay: 0
            maxEntries: 0
            maxRetryDelay: 0
            maxRetryTime: 0
        queueSize: 0
        retryCount: 0
        timeout: 0
    consumer:
        id: string
    controlPlaneId: string
    enabled: false
    gatewayPluginHttpLogId: string
    instanceName: string
    ordering:
        after:
            accesses:
                - string
        before:
            accesses:
                - string
    protocols:
        - string
    route:
        id: string
    service:
        id: string
    tags:
        - string
Copy

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

Config This property is required. GatewayPluginHttpLogConfig
ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
Enabled bool
Whether the plugin is applied.
GatewayPluginHttpLogId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginHttpLogOrdering
Protocols List<string>
A set of strings representing protocols.
Route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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. GatewayPluginHttpLogConfigArgs
ControlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
Consumer GatewayPluginHttpLogConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
Enabled bool
Whether the plugin is applied.
GatewayPluginHttpLogId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginHttpLogOrderingArgs
Protocols []string
A set of strings representing protocols.
Route GatewayPluginHttpLogRouteArgs
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 GatewayPluginHttpLogServiceArgs
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. GatewayPluginHttpLogConfig
controlPlaneId This property is required. String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
enabled Boolean
Whether the plugin is applied.
gatewayPluginHttpLogId String
The ID of this resource.
instanceName String
ordering GatewayPluginHttpLogOrdering
protocols List<String>
A set of strings representing protocols.
route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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. GatewayPluginHttpLogConfig
controlPlaneId This property is required. string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
enabled boolean
Whether the plugin is applied.
gatewayPluginHttpLogId string
The ID of this resource.
instanceName string
ordering GatewayPluginHttpLogOrdering
protocols string[]
A set of strings representing protocols.
route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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. GatewayPluginHttpLogConfigArgs
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.
consumer GatewayPluginHttpLogConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
enabled bool
Whether the plugin is applied.
gateway_plugin_http_log_id str
The ID of this resource.
instance_name str
ordering GatewayPluginHttpLogOrderingArgs
protocols Sequence[str]
A set of strings representing protocols.
route GatewayPluginHttpLogRouteArgs
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 GatewayPluginHttpLogServiceArgs
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.
consumer Property Map
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
enabled Boolean
Whether the plugin is applied.
gatewayPluginHttpLogId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing protocols.
route Property Map
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service Property Map
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.

Outputs

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

Get an existing GatewayPluginHttpLog 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?: GatewayPluginHttpLogState, opts?: CustomResourceOptions): GatewayPluginHttpLog
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        config: Optional[GatewayPluginHttpLogConfigArgs] = None,
        consumer: Optional[GatewayPluginHttpLogConsumerArgs] = None,
        control_plane_id: Optional[str] = None,
        created_at: Optional[float] = None,
        enabled: Optional[bool] = None,
        gateway_plugin_http_log_id: Optional[str] = None,
        instance_name: Optional[str] = None,
        ordering: Optional[GatewayPluginHttpLogOrderingArgs] = None,
        protocols: Optional[Sequence[str]] = None,
        route: Optional[GatewayPluginHttpLogRouteArgs] = None,
        service: Optional[GatewayPluginHttpLogServiceArgs] = None,
        tags: Optional[Sequence[str]] = None,
        updated_at: Optional[float] = None) -> GatewayPluginHttpLog
func GetGatewayPluginHttpLog(ctx *Context, name string, id IDInput, state *GatewayPluginHttpLogState, opts ...ResourceOption) (*GatewayPluginHttpLog, error)
public static GatewayPluginHttpLog Get(string name, Input<string> id, GatewayPluginHttpLogState? state, CustomResourceOptions? opts = null)
public static GatewayPluginHttpLog get(String name, Output<String> id, GatewayPluginHttpLogState state, CustomResourceOptions options)
resources:  _:    type: konnect:GatewayPluginHttpLog    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 GatewayPluginHttpLogConfig
Consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
ControlPlaneId string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
CreatedAt double
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginHttpLogId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginHttpLogOrdering
Protocols List<string>
A set of strings representing protocols.
Route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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 GatewayPluginHttpLogConfigArgs
Consumer GatewayPluginHttpLogConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
ControlPlaneId string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
CreatedAt float64
Unix epoch when the resource was created.
Enabled bool
Whether the plugin is applied.
GatewayPluginHttpLogId string
The ID of this resource.
InstanceName string
Ordering GatewayPluginHttpLogOrderingArgs
Protocols []string
A set of strings representing protocols.
Route GatewayPluginHttpLogRouteArgs
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 GatewayPluginHttpLogServiceArgs
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 GatewayPluginHttpLogConfig
consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
controlPlaneId String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
createdAt Double
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginHttpLogId String
The ID of this resource.
instanceName String
ordering GatewayPluginHttpLogOrdering
protocols List<String>
A set of strings representing protocols.
route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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 GatewayPluginHttpLogConfig
consumer GatewayPluginHttpLogConsumer
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
controlPlaneId string
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
createdAt number
Unix epoch when the resource was created.
enabled boolean
Whether the plugin is applied.
gatewayPluginHttpLogId string
The ID of this resource.
instanceName string
ordering GatewayPluginHttpLogOrdering
protocols string[]
A set of strings representing protocols.
route GatewayPluginHttpLogRoute
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 GatewayPluginHttpLogService
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 GatewayPluginHttpLogConfigArgs
consumer GatewayPluginHttpLogConsumerArgs
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
control_plane_id str
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
created_at float
Unix epoch when the resource was created.
enabled bool
Whether the plugin is applied.
gateway_plugin_http_log_id str
The ID of this resource.
instance_name str
ordering GatewayPluginHttpLogOrderingArgs
protocols Sequence[str]
A set of strings representing protocols.
route GatewayPluginHttpLogRouteArgs
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 GatewayPluginHttpLogServiceArgs
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags Sequence[str]
An optional set of strings associated with the Plugin for grouping and filtering.
updated_at float
Unix epoch when the resource was last updated.
config Property Map
consumer Property Map
If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
controlPlaneId String
The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
createdAt Number
Unix epoch when the resource was created.
enabled Boolean
Whether the plugin is applied.
gatewayPluginHttpLogId String
The ID of this resource.
instanceName String
ordering Property Map
protocols List<String>
A set of strings representing protocols.
route Property Map
If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
service Property Map
If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
tags List<String>
An optional set of strings associated with the Plugin for grouping and filtering.
updatedAt Number
Unix epoch when the resource was last updated.

Supporting Types

GatewayPluginHttpLogConfig
, GatewayPluginHttpLogConfigArgs

ContentType string
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
CustomFieldsByLua Dictionary<string, string>
Lua code as a key-value map
FlushTimeout double
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
Headers Dictionary<string, string>
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
HttpEndpoint string
A string representing a URL, such as https://example.com/path/to/resource?q=search.
Keepalive double
An optional value in milliseconds that defines how long an idle connection will live before being closed.
Method string
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
Queue GatewayPluginHttpLogConfigQueue
QueueSize double
Maximum number of log entries to be sent on each message to the upstream server.
RetryCount double
Number of times to retry when sending data to the upstream server.
Timeout double
An optional timeout in milliseconds when sending data to the upstream server.
ContentType string
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
CustomFieldsByLua map[string]string
Lua code as a key-value map
FlushTimeout float64
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
Headers map[string]string
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
HttpEndpoint string
A string representing a URL, such as https://example.com/path/to/resource?q=search.
Keepalive float64
An optional value in milliseconds that defines how long an idle connection will live before being closed.
Method string
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
Queue GatewayPluginHttpLogConfigQueue
QueueSize float64
Maximum number of log entries to be sent on each message to the upstream server.
RetryCount float64
Number of times to retry when sending data to the upstream server.
Timeout float64
An optional timeout in milliseconds when sending data to the upstream server.
contentType String
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
customFieldsByLua Map<String,String>
Lua code as a key-value map
flushTimeout Double
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
headers Map<String,String>
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
httpEndpoint String
A string representing a URL, such as https://example.com/path/to/resource?q=search.
keepalive Double
An optional value in milliseconds that defines how long an idle connection will live before being closed.
method String
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
queue GatewayPluginHttpLogConfigQueue
queueSize Double
Maximum number of log entries to be sent on each message to the upstream server.
retryCount Double
Number of times to retry when sending data to the upstream server.
timeout Double
An optional timeout in milliseconds when sending data to the upstream server.
contentType string
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
customFieldsByLua {[key: string]: string}
Lua code as a key-value map
flushTimeout number
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
headers {[key: string]: string}
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
httpEndpoint string
A string representing a URL, such as https://example.com/path/to/resource?q=search.
keepalive number
An optional value in milliseconds that defines how long an idle connection will live before being closed.
method string
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
queue GatewayPluginHttpLogConfigQueue
queueSize number
Maximum number of log entries to be sent on each message to the upstream server.
retryCount number
Number of times to retry when sending data to the upstream server.
timeout number
An optional timeout in milliseconds when sending data to the upstream server.
content_type str
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
custom_fields_by_lua Mapping[str, str]
Lua code as a key-value map
flush_timeout float
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
headers Mapping[str, str]
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
http_endpoint str
A string representing a URL, such as https://example.com/path/to/resource?q=search.
keepalive float
An optional value in milliseconds that defines how long an idle connection will live before being closed.
method str
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
queue GatewayPluginHttpLogConfigQueue
queue_size float
Maximum number of log entries to be sent on each message to the upstream server.
retry_count float
Number of times to retry when sending data to the upstream server.
timeout float
An optional timeout in milliseconds when sending data to the upstream server.
contentType String
Indicates the type of data sent. The only available option is application/json. must be one of ["application/json", "application/json; charset=utf-8"]
customFieldsByLua Map<String>
Lua code as a key-value map
flushTimeout Number
Optional time in seconds. If queue_size > 1, this is the max idle time before sending a log with less than queue_size records.
headers Map<String>
An optional table of headers included in the HTTP message to the upstream server. Values are indexed by header name, and each header name accepts a single string.
httpEndpoint String
A string representing a URL, such as https://example.com/path/to/resource?q=search.
keepalive Number
An optional value in milliseconds that defines how long an idle connection will live before being closed.
method String
An optional method used to send data to the HTTP server. Supported values are POST (default), PUT, and PATCH. must be one of ["PATCH", "POST", "PUT"]
queue Property Map
queueSize Number
Maximum number of log entries to be sent on each message to the upstream server.
retryCount Number
Number of times to retry when sending data to the upstream server.
timeout Number
An optional timeout in milliseconds when sending data to the upstream server.

GatewayPluginHttpLogConfigQueue
, GatewayPluginHttpLogConfigQueueArgs

ConcurrencyLimit double
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
InitialRetryDelay double
Time in seconds before the initial retry is made for a failing batch.
MaxBatchSize double
Maximum number of entries that can be processed at a time.
MaxBytes double
Maximum number of bytes that can be waiting on a queue, requires string content.
MaxCoalescingDelay double
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
MaxEntries double
Maximum number of entries that can be waiting on the queue.
MaxRetryDelay double
Maximum time in seconds between retries, caps exponential backoff.
MaxRetryTime double
Time in seconds before the queue gives up calling a failed handler for a batch.
ConcurrencyLimit float64
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
InitialRetryDelay float64
Time in seconds before the initial retry is made for a failing batch.
MaxBatchSize float64
Maximum number of entries that can be processed at a time.
MaxBytes float64
Maximum number of bytes that can be waiting on a queue, requires string content.
MaxCoalescingDelay float64
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
MaxEntries float64
Maximum number of entries that can be waiting on the queue.
MaxRetryDelay float64
Maximum time in seconds between retries, caps exponential backoff.
MaxRetryTime float64
Time in seconds before the queue gives up calling a failed handler for a batch.
concurrencyLimit Double
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
initialRetryDelay Double
Time in seconds before the initial retry is made for a failing batch.
maxBatchSize Double
Maximum number of entries that can be processed at a time.
maxBytes Double
Maximum number of bytes that can be waiting on a queue, requires string content.
maxCoalescingDelay Double
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
maxEntries Double
Maximum number of entries that can be waiting on the queue.
maxRetryDelay Double
Maximum time in seconds between retries, caps exponential backoff.
maxRetryTime Double
Time in seconds before the queue gives up calling a failed handler for a batch.
concurrencyLimit number
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
initialRetryDelay number
Time in seconds before the initial retry is made for a failing batch.
maxBatchSize number
Maximum number of entries that can be processed at a time.
maxBytes number
Maximum number of bytes that can be waiting on a queue, requires string content.
maxCoalescingDelay number
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
maxEntries number
Maximum number of entries that can be waiting on the queue.
maxRetryDelay number
Maximum time in seconds between retries, caps exponential backoff.
maxRetryTime number
Time in seconds before the queue gives up calling a failed handler for a batch.
concurrency_limit float
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
initial_retry_delay float
Time in seconds before the initial retry is made for a failing batch.
max_batch_size float
Maximum number of entries that can be processed at a time.
max_bytes float
Maximum number of bytes that can be waiting on a queue, requires string content.
max_coalescing_delay float
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
max_entries float
Maximum number of entries that can be waiting on the queue.
max_retry_delay float
Maximum time in seconds between retries, caps exponential backoff.
max_retry_time float
Time in seconds before the queue gives up calling a failed handler for a batch.
concurrencyLimit Number
The number of of queue delivery timers. -1 indicates unlimited. must be one of ["-1", "1"]
initialRetryDelay Number
Time in seconds before the initial retry is made for a failing batch.
maxBatchSize Number
Maximum number of entries that can be processed at a time.
maxBytes Number
Maximum number of bytes that can be waiting on a queue, requires string content.
maxCoalescingDelay Number
Maximum number of (fractional) seconds to elapse after the first entry was queued before the queue starts calling the handler.
maxEntries Number
Maximum number of entries that can be waiting on the queue.
maxRetryDelay Number
Maximum time in seconds between retries, caps exponential backoff.
maxRetryTime Number
Time in seconds before the queue gives up calling a failed handler for a batch.

GatewayPluginHttpLogConsumer
, GatewayPluginHttpLogConsumerArgs

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

GatewayPluginHttpLogOrdering
, GatewayPluginHttpLogOrderingArgs

GatewayPluginHttpLogOrderingAfter
, GatewayPluginHttpLogOrderingAfterArgs

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

GatewayPluginHttpLogOrderingBefore
, GatewayPluginHttpLogOrderingBeforeArgs

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

GatewayPluginHttpLogRoute
, GatewayPluginHttpLogRouteArgs

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

GatewayPluginHttpLogService
, GatewayPluginHttpLogServiceArgs

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

Import

$ pulumi import konnect:index/gatewayPluginHttpLog:GatewayPluginHttpLog my_konnect_gateway_plugin_http_log "{ \"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.