1. Packages
  2. Konnect Provider
  3. API Docs
  4. GatewayPluginTcpLog
konnect 3.0.0 published on Friday, Aug 22, 2025 by kong

konnect.GatewayPluginTcpLog

Explore with Pulumi AI

konnect logo
konnect 3.0.0 published on Friday, Aug 22, 2025 by kong

    GatewayPluginTCPLog Resource

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.GatewayPluginTcpLog;
    import com.pulumi.konnect.GatewayPluginTcpLogArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogConfigArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogConsumerArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogOrderingArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogOrderingAfterArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogOrderingBeforeArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogPartialArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogRouteArgs;
    import com.pulumi.konnect.inputs.GatewayPluginTcpLogServiceArgs;
    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 myGatewayplugintcplog = new GatewayPluginTcpLog("myGatewayplugintcplog", GatewayPluginTcpLogArgs.builder()
                .config(GatewayPluginTcpLogConfigArgs.builder()
                    .custom_fields_by_lua(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .host("...my_host...")
                    .keepalive(1.57)
                    .port(54956)
                    .timeout(5.53)
                    .tls(false)
                    .tls_sni("...my_tls_sni...")
                    .build())
                .consumer(GatewayPluginTcpLogConsumerArgs.builder()
                    .id("...my_id...")
                    .build())
                .controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
                .createdAt(1)
                .enabled(true)
                .gatewayPluginTcpLogId("...my_id...")
                .instanceName("...my_instance_name...")
                .ordering(GatewayPluginTcpLogOrderingArgs.builder()
                    .after(GatewayPluginTcpLogOrderingAfterArgs.builder()
                        .access("...")
                        .build())
                    .before(GatewayPluginTcpLogOrderingBeforeArgs.builder()
                        .access("...")
                        .build())
                    .build())
                .partials(GatewayPluginTcpLogPartialArgs.builder()
                    .id("...my_id...")
                    .name("...my_name...")
                    .path("...my_path...")
                    .build())
                .protocols("https")
                .route(GatewayPluginTcpLogRouteArgs.builder()
                    .id("...my_id...")
                    .build())
                .service(GatewayPluginTcpLogServiceArgs.builder()
                    .id("...my_id...")
                    .build())
                .tags("...")
                .updatedAt(4)
                .build());
    
        }
    }
    
    resources:
      myGatewayplugintcplog:
        type: konnect:GatewayPluginTcpLog
        properties:
          config:
            custom_fields_by_lua:
              key:
                fn::toJSON: value
            host: '...my_host...'
            keepalive: 1.57
            port: 54956
            timeout: 5.53
            tls: false
            tls_sni: '...my_tls_sni...'
          consumer:
            id: '...my_id...'
          controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
          createdAt: 1
          enabled: true
          gatewayPluginTcpLogId: '...my_id...'
          instanceName: '...my_instance_name...'
          ordering:
            after:
              access:
                - '...'
            before:
              access:
                - '...'
          partials:
            - id: '...my_id...'
              name: '...my_name...'
              path: '...my_path...'
          protocols:
            - https
          route:
            id: '...my_id...'
          service:
            id: '...my_id...'
          tags:
            - '...'
          updatedAt: 4
    

    Create GatewayPluginTcpLog Resource

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

    Constructor syntax

    new GatewayPluginTcpLog(name: string, args: GatewayPluginTcpLogArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayPluginTcpLog(resource_name: str,
                            args: GatewayPluginTcpLogArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayPluginTcpLog(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            control_plane_id: Optional[str] = None,
                            config: Optional[GatewayPluginTcpLogConfigArgs] = None,
                            instance_name: Optional[str] = None,
                            created_at: Optional[float] = None,
                            enabled: Optional[bool] = None,
                            gateway_plugin_tcp_log_id: Optional[str] = None,
                            consumer: Optional[GatewayPluginTcpLogConsumerArgs] = None,
                            ordering: Optional[GatewayPluginTcpLogOrderingArgs] = None,
                            partials: Optional[Sequence[GatewayPluginTcpLogPartialArgs]] = None,
                            protocols: Optional[Sequence[str]] = None,
                            route: Optional[GatewayPluginTcpLogRouteArgs] = None,
                            service: Optional[GatewayPluginTcpLogServiceArgs] = None,
                            tags: Optional[Sequence[str]] = None,
                            updated_at: Optional[float] = None)
    func NewGatewayPluginTcpLog(ctx *Context, name string, args GatewayPluginTcpLogArgs, opts ...ResourceOption) (*GatewayPluginTcpLog, error)
    public GatewayPluginTcpLog(string name, GatewayPluginTcpLogArgs args, CustomResourceOptions? opts = null)
    public GatewayPluginTcpLog(String name, GatewayPluginTcpLogArgs args)
    public GatewayPluginTcpLog(String name, GatewayPluginTcpLogArgs args, CustomResourceOptions options)
    
    type: konnect:GatewayPluginTcpLog
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args GatewayPluginTcpLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GatewayPluginTcpLogArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GatewayPluginTcpLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayPluginTcpLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayPluginTcpLogArgs
    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 gatewayPluginTcpLogResource = new Konnect.GatewayPluginTcpLog("gatewayPluginTcpLogResource", new()
    {
        ControlPlaneId = "string",
        Config = new Konnect.Inputs.GatewayPluginTcpLogConfigArgs
        {
            Host = "string",
            Port = 0,
            CustomFieldsByLua = 
            {
                { "string", "string" },
            },
            Keepalive = 0,
            Timeout = 0,
            Tls = false,
            TlsSni = "string",
        },
        InstanceName = "string",
        CreatedAt = 0,
        Enabled = false,
        GatewayPluginTcpLogId = "string",
        Consumer = new Konnect.Inputs.GatewayPluginTcpLogConsumerArgs
        {
            Id = "string",
        },
        Ordering = new Konnect.Inputs.GatewayPluginTcpLogOrderingArgs
        {
            After = new Konnect.Inputs.GatewayPluginTcpLogOrderingAfterArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
            Before = new Konnect.Inputs.GatewayPluginTcpLogOrderingBeforeArgs
            {
                Accesses = new[]
                {
                    "string",
                },
            },
        },
        Partials = new[]
        {
            new Konnect.Inputs.GatewayPluginTcpLogPartialArgs
            {
                Id = "string",
                Name = "string",
                Path = "string",
            },
        },
        Protocols = new[]
        {
            "string",
        },
        Route = new Konnect.Inputs.GatewayPluginTcpLogRouteArgs
        {
            Id = "string",
        },
        Service = new Konnect.Inputs.GatewayPluginTcpLogServiceArgs
        {
            Id = "string",
        },
        Tags = new[]
        {
            "string",
        },
        UpdatedAt = 0,
    });
    
    example, err := konnect.NewGatewayPluginTcpLog(ctx, "gatewayPluginTcpLogResource", &konnect.GatewayPluginTcpLogArgs{
    	ControlPlaneId: pulumi.String("string"),
    	Config: &konnect.GatewayPluginTcpLogConfigArgs{
    		Host: pulumi.String("string"),
    		Port: pulumi.Float64(0),
    		CustomFieldsByLua: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		Keepalive: pulumi.Float64(0),
    		Timeout:   pulumi.Float64(0),
    		Tls:       pulumi.Bool(false),
    		TlsSni:    pulumi.String("string"),
    	},
    	InstanceName:          pulumi.String("string"),
    	CreatedAt:             pulumi.Float64(0),
    	Enabled:               pulumi.Bool(false),
    	GatewayPluginTcpLogId: pulumi.String("string"),
    	Consumer: &konnect.GatewayPluginTcpLogConsumerArgs{
    		Id: pulumi.String("string"),
    	},
    	Ordering: &konnect.GatewayPluginTcpLogOrderingArgs{
    		After: &konnect.GatewayPluginTcpLogOrderingAfterArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		Before: &konnect.GatewayPluginTcpLogOrderingBeforeArgs{
    			Accesses: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Partials: konnect.GatewayPluginTcpLogPartialArray{
    		&konnect.GatewayPluginTcpLogPartialArgs{
    			Id:   pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Path: pulumi.String("string"),
    		},
    	},
    	Protocols: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Route: &konnect.GatewayPluginTcpLogRouteArgs{
    		Id: pulumi.String("string"),
    	},
    	Service: &konnect.GatewayPluginTcpLogServiceArgs{
    		Id: pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UpdatedAt: pulumi.Float64(0),
    })
    
    var gatewayPluginTcpLogResource = new GatewayPluginTcpLog("gatewayPluginTcpLogResource", GatewayPluginTcpLogArgs.builder()
        .controlPlaneId("string")
        .config(GatewayPluginTcpLogConfigArgs.builder()
            .host("string")
            .port(0.0)
            .customFieldsByLua(Map.of("string", "string"))
            .keepalive(0.0)
            .timeout(0.0)
            .tls(false)
            .tlsSni("string")
            .build())
        .instanceName("string")
        .createdAt(0.0)
        .enabled(false)
        .gatewayPluginTcpLogId("string")
        .consumer(GatewayPluginTcpLogConsumerArgs.builder()
            .id("string")
            .build())
        .ordering(GatewayPluginTcpLogOrderingArgs.builder()
            .after(GatewayPluginTcpLogOrderingAfterArgs.builder()
                .accesses("string")
                .build())
            .before(GatewayPluginTcpLogOrderingBeforeArgs.builder()
                .accesses("string")
                .build())
            .build())
        .partials(GatewayPluginTcpLogPartialArgs.builder()
            .id("string")
            .name("string")
            .path("string")
            .build())
        .protocols("string")
        .route(GatewayPluginTcpLogRouteArgs.builder()
            .id("string")
            .build())
        .service(GatewayPluginTcpLogServiceArgs.builder()
            .id("string")
            .build())
        .tags("string")
        .updatedAt(0.0)
        .build());
    
    gateway_plugin_tcp_log_resource = konnect.GatewayPluginTcpLog("gatewayPluginTcpLogResource",
        control_plane_id="string",
        config={
            "host": "string",
            "port": 0,
            "custom_fields_by_lua": {
                "string": "string",
            },
            "keepalive": 0,
            "timeout": 0,
            "tls": False,
            "tls_sni": "string",
        },
        instance_name="string",
        created_at=0,
        enabled=False,
        gateway_plugin_tcp_log_id="string",
        consumer={
            "id": "string",
        },
        ordering={
            "after": {
                "accesses": ["string"],
            },
            "before": {
                "accesses": ["string"],
            },
        },
        partials=[{
            "id": "string",
            "name": "string",
            "path": "string",
        }],
        protocols=["string"],
        route={
            "id": "string",
        },
        service={
            "id": "string",
        },
        tags=["string"],
        updated_at=0)
    
    const gatewayPluginTcpLogResource = new konnect.GatewayPluginTcpLog("gatewayPluginTcpLogResource", {
        controlPlaneId: "string",
        config: {
            host: "string",
            port: 0,
            customFieldsByLua: {
                string: "string",
            },
            keepalive: 0,
            timeout: 0,
            tls: false,
            tlsSni: "string",
        },
        instanceName: "string",
        createdAt: 0,
        enabled: false,
        gatewayPluginTcpLogId: "string",
        consumer: {
            id: "string",
        },
        ordering: {
            after: {
                accesses: ["string"],
            },
            before: {
                accesses: ["string"],
            },
        },
        partials: [{
            id: "string",
            name: "string",
            path: "string",
        }],
        protocols: ["string"],
        route: {
            id: "string",
        },
        service: {
            id: "string",
        },
        tags: ["string"],
        updatedAt: 0,
    });
    
    type: konnect:GatewayPluginTcpLog
    properties:
        config:
            customFieldsByLua:
                string: string
            host: string
            keepalive: 0
            port: 0
            timeout: 0
            tls: false
            tlsSni: string
        consumer:
            id: string
        controlPlaneId: string
        createdAt: 0
        enabled: false
        gatewayPluginTcpLogId: string
        instanceName: string
        ordering:
            after:
                accesses:
                    - string
            before:
                accesses:
                    - string
        partials:
            - id: string
              name: string
              path: string
        protocols:
            - string
        route:
            id: string
        service:
            id: string
        tags:
            - string
        updatedAt: 0
    

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

    Config GatewayPluginTcpLogConfig
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Consumer GatewayPluginTcpLogConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    CreatedAt double
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginTcpLogOrdering
    Partials List<GatewayPluginTcpLogPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing protocols.
    Route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfigArgs
    ControlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    Consumer GatewayPluginTcpLogConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    CreatedAt float64
    Unix epoch when the resource was created.
    Enabled bool
    Whether the plugin is applied. Default: true
    GatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginTcpLogOrderingArgs
    Partials []GatewayPluginTcpLogPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing protocols.
    Route GatewayPluginTcpLogRouteArgs
    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 GatewayPluginTcpLogServiceArgs
    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 GatewayPluginTcpLogConfig
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginTcpLogConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt Double
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginTcpLogId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrdering
    partials List<GatewayPluginTcpLogPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing protocols.
    route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfig
    controlPlaneId string
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginTcpLogConsumer
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt number
    Unix epoch when the resource was created.
    enabled boolean
    Whether the plugin is applied. Default: true
    gatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrdering
    partials GatewayPluginTcpLogPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing protocols.
    route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfigArgs
    control_plane_id str
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer GatewayPluginTcpLogConsumerArgs
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    created_at float
    Unix epoch when the resource was created.
    enabled bool
    Whether the plugin is applied. Default: true
    gateway_plugin_tcp_log_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrderingArgs
    partials Sequence[GatewayPluginTcpLogPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing protocols.
    route GatewayPluginTcpLogRouteArgs
    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 GatewayPluginTcpLogServiceArgs
    If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
    tags Sequence[str]
    An optional set of strings associated with the Plugin for grouping and filtering.
    updated_at float
    Unix epoch when the resource was last updated.
    config Property Map
    controlPlaneId String
    The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
    consumer Property Map
    If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
    createdAt Number
    Unix epoch when the resource was created.
    enabled Boolean
    Whether the plugin is applied. Default: true
    gatewayPluginTcpLogId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    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.

    Outputs

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

    Get an existing GatewayPluginTcpLog 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?: GatewayPluginTcpLogState, opts?: CustomResourceOptions): GatewayPluginTcpLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[GatewayPluginTcpLogConfigArgs] = None,
            consumer: Optional[GatewayPluginTcpLogConsumerArgs] = None,
            control_plane_id: Optional[str] = None,
            created_at: Optional[float] = None,
            enabled: Optional[bool] = None,
            gateway_plugin_tcp_log_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            ordering: Optional[GatewayPluginTcpLogOrderingArgs] = None,
            partials: Optional[Sequence[GatewayPluginTcpLogPartialArgs]] = None,
            protocols: Optional[Sequence[str]] = None,
            route: Optional[GatewayPluginTcpLogRouteArgs] = None,
            service: Optional[GatewayPluginTcpLogServiceArgs] = None,
            tags: Optional[Sequence[str]] = None,
            updated_at: Optional[float] = None) -> GatewayPluginTcpLog
    func GetGatewayPluginTcpLog(ctx *Context, name string, id IDInput, state *GatewayPluginTcpLogState, opts ...ResourceOption) (*GatewayPluginTcpLog, error)
    public static GatewayPluginTcpLog Get(string name, Input<string> id, GatewayPluginTcpLogState? state, CustomResourceOptions? opts = null)
    public static GatewayPluginTcpLog get(String name, Output<String> id, GatewayPluginTcpLogState state, CustomResourceOptions options)
    resources:  _:    type: konnect:GatewayPluginTcpLog    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Config GatewayPluginTcpLogConfig
    Consumer GatewayPluginTcpLogConsumer
    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. Default: true
    GatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginTcpLogOrdering
    Partials List<GatewayPluginTcpLogPartial>
    A list of partials to be used by the plugin.
    Protocols List<string>
    A set of strings representing protocols.
    Route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfigArgs
    Consumer GatewayPluginTcpLogConsumerArgs
    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. Default: true
    GatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    InstanceName string
    A unique string representing a UTF-8 encoded name.
    Ordering GatewayPluginTcpLogOrderingArgs
    Partials []GatewayPluginTcpLogPartialArgs
    A list of partials to be used by the plugin.
    Protocols []string
    A set of strings representing protocols.
    Route GatewayPluginTcpLogRouteArgs
    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 GatewayPluginTcpLogServiceArgs
    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 GatewayPluginTcpLogConfig
    consumer GatewayPluginTcpLogConsumer
    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. Default: true
    gatewayPluginTcpLogId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrdering
    partials List<GatewayPluginTcpLogPartial>
    A list of partials to be used by the plugin.
    protocols List<String>
    A set of strings representing protocols.
    route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfig
    consumer GatewayPluginTcpLogConsumer
    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. Default: true
    gatewayPluginTcpLogId string
    A string representing a UUID (universally unique identifier).
    instanceName string
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrdering
    partials GatewayPluginTcpLogPartial[]
    A list of partials to be used by the plugin.
    protocols string[]
    A set of strings representing protocols.
    route GatewayPluginTcpLogRoute
    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 GatewayPluginTcpLogService
    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 GatewayPluginTcpLogConfigArgs
    consumer GatewayPluginTcpLogConsumerArgs
    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. Default: true
    gateway_plugin_tcp_log_id str
    A string representing a UUID (universally unique identifier).
    instance_name str
    A unique string representing a UTF-8 encoded name.
    ordering GatewayPluginTcpLogOrderingArgs
    partials Sequence[GatewayPluginTcpLogPartialArgs]
    A list of partials to be used by the plugin.
    protocols Sequence[str]
    A set of strings representing protocols.
    route GatewayPluginTcpLogRouteArgs
    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 GatewayPluginTcpLogServiceArgs
    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. Default: true
    gatewayPluginTcpLogId String
    A string representing a UUID (universally unique identifier).
    instanceName String
    A unique string representing a UTF-8 encoded name.
    ordering Property Map
    partials List<Property Map>
    A list of partials to be used by the plugin.
    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

    GatewayPluginTcpLogConfig, GatewayPluginTcpLogConfigArgs

    Host string
    The IP address or host name to send data to.
    Port double
    The port to send data to on the upstream server.
    CustomFieldsByLua Dictionary<string, string>
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    Keepalive double
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    Timeout double
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    Tls bool
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    TlsSni string
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.
    Host string
    The IP address or host name to send data to.
    Port float64
    The port to send data to on the upstream server.
    CustomFieldsByLua map[string]string
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    Keepalive float64
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    Timeout float64
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    Tls bool
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    TlsSni string
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.
    host String
    The IP address or host name to send data to.
    port Double
    The port to send data to on the upstream server.
    customFieldsByLua Map<String,String>
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    keepalive Double
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    timeout Double
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    tls Boolean
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    tlsSni String
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.
    host string
    The IP address or host name to send data to.
    port number
    The port to send data to on the upstream server.
    customFieldsByLua {[key: string]: string}
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    keepalive number
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    timeout number
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    tls boolean
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    tlsSni string
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.
    host str
    The IP address or host name to send data to.
    port float
    The port to send data to on the upstream server.
    custom_fields_by_lua Mapping[str, str]
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    keepalive float
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    timeout float
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    tls bool
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    tls_sni str
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.
    host String
    The IP address or host name to send data to.
    port Number
    The port to send data to on the upstream server.
    customFieldsByLua Map<String>
    A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value.
    keepalive Number
    An optional value in milliseconds that defines how long an idle connection lives before being closed. Default: 60000
    timeout Number
    An optional timeout in milliseconds when sending data to the upstream server. Default: 10000
    tls Boolean
    Indicates whether to perform a TLS handshake against the remote server. Default: false
    tlsSni String
    An optional string that defines the SNI (Server Name Indication) hostname to send in the TLS handshake.

    GatewayPluginTcpLogConsumer, GatewayPluginTcpLogConsumerArgs

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

    GatewayPluginTcpLogOrdering, GatewayPluginTcpLogOrderingArgs

    GatewayPluginTcpLogOrderingAfter, GatewayPluginTcpLogOrderingAfterArgs

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

    GatewayPluginTcpLogOrderingBefore, GatewayPluginTcpLogOrderingBeforeArgs

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

    GatewayPluginTcpLogPartial, GatewayPluginTcpLogPartialArgs

    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    Id string
    A string representing a UUID (universally unique identifier).
    Name string
    A unique string representing a UTF-8 encoded name.
    Path string
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String
    id string
    A string representing a UUID (universally unique identifier).
    name string
    A unique string representing a UTF-8 encoded name.
    path string
    id str
    A string representing a UUID (universally unique identifier).
    name str
    A unique string representing a UTF-8 encoded name.
    path str
    id String
    A string representing a UUID (universally unique identifier).
    name String
    A unique string representing a UTF-8 encoded name.
    path String

    GatewayPluginTcpLogRoute, GatewayPluginTcpLogRouteArgs

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

    GatewayPluginTcpLogService, GatewayPluginTcpLogServiceArgs

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

    Import

    $ pulumi import konnect:index/gatewayPluginTcpLog:GatewayPluginTcpLog my_konnect_gateway_plugin_tcp_log '{"control_plane_id": "9524ec7d-36d9-465d-a8c5-83a3c9390458", "id": "3473c251-5b6c-4f45-b1ff-7ede735a366d"}'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    konnect 3.0.0 published on Friday, Aug 22, 2025 by kong