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

konnect.getGatewayPluginSession

Explore with Pulumi AI

Using getGatewayPluginSession

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGatewayPluginSession(args: GetGatewayPluginSessionArgs, opts?: InvokeOptions): Promise<GetGatewayPluginSessionResult>
function getGatewayPluginSessionOutput(args: GetGatewayPluginSessionOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginSessionResult>
Copy
def get_gateway_plugin_session(control_plane_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetGatewayPluginSessionResult
def get_gateway_plugin_session_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginSessionResult]
Copy
func LookupGatewayPluginSession(ctx *Context, args *LookupGatewayPluginSessionArgs, opts ...InvokeOption) (*LookupGatewayPluginSessionResult, error)
func LookupGatewayPluginSessionOutput(ctx *Context, args *LookupGatewayPluginSessionOutputArgs, opts ...InvokeOption) LookupGatewayPluginSessionResultOutput
Copy

> Note: This function is named LookupGatewayPluginSession in the Go SDK.

public static class GetGatewayPluginSession 
{
    public static Task<GetGatewayPluginSessionResult> InvokeAsync(GetGatewayPluginSessionArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayPluginSessionResult> Invoke(GetGatewayPluginSessionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGatewayPluginSessionResult> getGatewayPluginSession(GetGatewayPluginSessionArgs args, InvokeOptions options)
public static Output<GetGatewayPluginSessionResult> getGatewayPluginSession(GetGatewayPluginSessionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: konnect:index/getGatewayPluginSession:getGatewayPluginSession
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ControlPlaneId This property is required. string
ControlPlaneId This property is required. string
controlPlaneId This property is required. String
controlPlaneId This property is required. string
control_plane_id This property is required. str
controlPlaneId This property is required. String

getGatewayPluginSession Result

The following output properties are available:

Supporting Types

GetGatewayPluginSessionConfig

AbsoluteTimeout This property is required. double
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
Audience This property is required. string
The session audience, which is the intended target application. For example "my-application".
CookieDomain This property is required. string
The domain with which the cookie is intended to be exchanged.
CookieHttpOnly This property is required. bool
Applies the HttpOnly tag so that the cookie is sent only to a server.
CookieName This property is required. string
The name of the cookie.
CookiePath This property is required. string
The resource in the host where the cookie is available.
CookieSameSite This property is required. string
Determines whether and how a cookie may be sent with cross-site requests.
CookieSecure This property is required. bool
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
IdlingTimeout This property is required. double
The session cookie idle time, in seconds.
LogoutMethods This property is required. List<string>
A set of HTTP methods that the plugin will respond to.
LogoutPostArg This property is required. string
The POST argument passed to logout requests. Do not change this property.
LogoutQueryArg This property is required. string
The query argument passed to logout requests.
ReadBodyForLogout This property is required. bool
Remember This property is required. bool
Enables or disables persistent sessions.
RememberAbsoluteTimeout This property is required. double
The persistent session absolute timeout limit, in seconds.
RememberCookieName This property is required. string
Persistent session cookie name. Use with the remember configuration parameter.
RememberRollingTimeout This property is required. double
The persistent session rolling timeout window, in seconds.
RequestHeaders This property is required. List<string>
List of information to include, as headers, in the response to the downstream.
ResponseHeaders This property is required. List<string>
List of information to include, as headers, in the response to the downstream.
RollingTimeout This property is required. double
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
Secret This property is required. string
The secret that is used in keyed HMAC generation.
StaleTtl This property is required. double
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
Storage This property is required. string
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.
AbsoluteTimeout This property is required. float64
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
Audience This property is required. string
The session audience, which is the intended target application. For example "my-application".
CookieDomain This property is required. string
The domain with which the cookie is intended to be exchanged.
CookieHttpOnly This property is required. bool
Applies the HttpOnly tag so that the cookie is sent only to a server.
CookieName This property is required. string
The name of the cookie.
CookiePath This property is required. string
The resource in the host where the cookie is available.
CookieSameSite This property is required. string
Determines whether and how a cookie may be sent with cross-site requests.
CookieSecure This property is required. bool
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
IdlingTimeout This property is required. float64
The session cookie idle time, in seconds.
LogoutMethods This property is required. []string
A set of HTTP methods that the plugin will respond to.
LogoutPostArg This property is required. string
The POST argument passed to logout requests. Do not change this property.
LogoutQueryArg This property is required. string
The query argument passed to logout requests.
ReadBodyForLogout This property is required. bool
Remember This property is required. bool
Enables or disables persistent sessions.
RememberAbsoluteTimeout This property is required. float64
The persistent session absolute timeout limit, in seconds.
RememberCookieName This property is required. string
Persistent session cookie name. Use with the remember configuration parameter.
RememberRollingTimeout This property is required. float64
The persistent session rolling timeout window, in seconds.
RequestHeaders This property is required. []string
List of information to include, as headers, in the response to the downstream.
ResponseHeaders This property is required. []string
List of information to include, as headers, in the response to the downstream.
RollingTimeout This property is required. float64
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
Secret This property is required. string
The secret that is used in keyed HMAC generation.
StaleTtl This property is required. float64
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
Storage This property is required. string
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.
absoluteTimeout This property is required. Double
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
audience This property is required. String
The session audience, which is the intended target application. For example "my-application".
cookieDomain This property is required. String
The domain with which the cookie is intended to be exchanged.
cookieHttpOnly This property is required. Boolean
Applies the HttpOnly tag so that the cookie is sent only to a server.
cookieName This property is required. String
The name of the cookie.
cookiePath This property is required. String
The resource in the host where the cookie is available.
cookieSameSite This property is required. String
Determines whether and how a cookie may be sent with cross-site requests.
cookieSecure This property is required. Boolean
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
idlingTimeout This property is required. Double
The session cookie idle time, in seconds.
logoutMethods This property is required. List<String>
A set of HTTP methods that the plugin will respond to.
logoutPostArg This property is required. String
The POST argument passed to logout requests. Do not change this property.
logoutQueryArg This property is required. String
The query argument passed to logout requests.
readBodyForLogout This property is required. Boolean
remember This property is required. Boolean
Enables or disables persistent sessions.
rememberAbsoluteTimeout This property is required. Double
The persistent session absolute timeout limit, in seconds.
rememberCookieName This property is required. String
Persistent session cookie name. Use with the remember configuration parameter.
rememberRollingTimeout This property is required. Double
The persistent session rolling timeout window, in seconds.
requestHeaders This property is required. List<String>
List of information to include, as headers, in the response to the downstream.
responseHeaders This property is required. List<String>
List of information to include, as headers, in the response to the downstream.
rollingTimeout This property is required. Double
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
secret This property is required. String
The secret that is used in keyed HMAC generation.
staleTtl This property is required. Double
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
storage This property is required. String
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.
absoluteTimeout This property is required. number
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
audience This property is required. string
The session audience, which is the intended target application. For example "my-application".
cookieDomain This property is required. string
The domain with which the cookie is intended to be exchanged.
cookieHttpOnly This property is required. boolean
Applies the HttpOnly tag so that the cookie is sent only to a server.
cookieName This property is required. string
The name of the cookie.
cookiePath This property is required. string
The resource in the host where the cookie is available.
cookieSameSite This property is required. string
Determines whether and how a cookie may be sent with cross-site requests.
cookieSecure This property is required. boolean
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
idlingTimeout This property is required. number
The session cookie idle time, in seconds.
logoutMethods This property is required. string[]
A set of HTTP methods that the plugin will respond to.
logoutPostArg This property is required. string
The POST argument passed to logout requests. Do not change this property.
logoutQueryArg This property is required. string
The query argument passed to logout requests.
readBodyForLogout This property is required. boolean
remember This property is required. boolean
Enables or disables persistent sessions.
rememberAbsoluteTimeout This property is required. number
The persistent session absolute timeout limit, in seconds.
rememberCookieName This property is required. string
Persistent session cookie name. Use with the remember configuration parameter.
rememberRollingTimeout This property is required. number
The persistent session rolling timeout window, in seconds.
requestHeaders This property is required. string[]
List of information to include, as headers, in the response to the downstream.
responseHeaders This property is required. string[]
List of information to include, as headers, in the response to the downstream.
rollingTimeout This property is required. number
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
secret This property is required. string
The secret that is used in keyed HMAC generation.
staleTtl This property is required. number
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
storage This property is required. string
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.
absolute_timeout This property is required. float
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
audience This property is required. str
The session audience, which is the intended target application. For example "my-application".
cookie_domain This property is required. str
The domain with which the cookie is intended to be exchanged.
cookie_http_only This property is required. bool
Applies the HttpOnly tag so that the cookie is sent only to a server.
cookie_name This property is required. str
The name of the cookie.
cookie_path This property is required. str
The resource in the host where the cookie is available.
cookie_same_site This property is required. str
Determines whether and how a cookie may be sent with cross-site requests.
cookie_secure This property is required. bool
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
idling_timeout This property is required. float
The session cookie idle time, in seconds.
logout_methods This property is required. Sequence[str]
A set of HTTP methods that the plugin will respond to.
logout_post_arg This property is required. str
The POST argument passed to logout requests. Do not change this property.
logout_query_arg This property is required. str
The query argument passed to logout requests.
read_body_for_logout This property is required. bool
remember This property is required. bool
Enables or disables persistent sessions.
remember_absolute_timeout This property is required. float
The persistent session absolute timeout limit, in seconds.
remember_cookie_name This property is required. str
Persistent session cookie name. Use with the remember configuration parameter.
remember_rolling_timeout This property is required. float
The persistent session rolling timeout window, in seconds.
request_headers This property is required. Sequence[str]
List of information to include, as headers, in the response to the downstream.
response_headers This property is required. Sequence[str]
List of information to include, as headers, in the response to the downstream.
rolling_timeout This property is required. float
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
secret This property is required. str
The secret that is used in keyed HMAC generation.
stale_ttl This property is required. float
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
storage This property is required. str
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.
absoluteTimeout This property is required. Number
The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
audience This property is required. String
The session audience, which is the intended target application. For example "my-application".
cookieDomain This property is required. String
The domain with which the cookie is intended to be exchanged.
cookieHttpOnly This property is required. Boolean
Applies the HttpOnly tag so that the cookie is sent only to a server.
cookieName This property is required. String
The name of the cookie.
cookiePath This property is required. String
The resource in the host where the cookie is available.
cookieSameSite This property is required. String
Determines whether and how a cookie may be sent with cross-site requests.
cookieSecure This property is required. Boolean
Applies the Secure directive so that the cookie may be sent to the server only with an encrypted request over the HTTPS protocol.
idlingTimeout This property is required. Number
The session cookie idle time, in seconds.
logoutMethods This property is required. List<String>
A set of HTTP methods that the plugin will respond to.
logoutPostArg This property is required. String
The POST argument passed to logout requests. Do not change this property.
logoutQueryArg This property is required. String
The query argument passed to logout requests.
readBodyForLogout This property is required. Boolean
remember This property is required. Boolean
Enables or disables persistent sessions.
rememberAbsoluteTimeout This property is required. Number
The persistent session absolute timeout limit, in seconds.
rememberCookieName This property is required. String
Persistent session cookie name. Use with the remember configuration parameter.
rememberRollingTimeout This property is required. Number
The persistent session rolling timeout window, in seconds.
requestHeaders This property is required. List<String>
List of information to include, as headers, in the response to the downstream.
responseHeaders This property is required. List<String>
List of information to include, as headers, in the response to the downstream.
rollingTimeout This property is required. Number
The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
secret This property is required. String
The secret that is used in keyed HMAC generation.
staleTtl This property is required. Number
The duration, in seconds, after which an old cookie is discarded, starting from the moment when the session becomes outdated and is replaced by a new one.
storage This property is required. String
Determines where the session data is stored. kong: Stores encrypted session data into Kong's current database strategy; the cookie will not contain any session data. cookie: Stores encrypted session data within the cookie itself.

GetGatewayPluginSessionOrdering

After This property is required. GetGatewayPluginSessionOrderingAfter
Before This property is required. GetGatewayPluginSessionOrderingBefore
After This property is required. GetGatewayPluginSessionOrderingAfter
Before This property is required. GetGatewayPluginSessionOrderingBefore
after This property is required. GetGatewayPluginSessionOrderingAfter
before This property is required. GetGatewayPluginSessionOrderingBefore
after This property is required. GetGatewayPluginSessionOrderingAfter
before This property is required. GetGatewayPluginSessionOrderingBefore
after This property is required. GetGatewayPluginSessionOrderingAfter
before This property is required. GetGatewayPluginSessionOrderingBefore
after This property is required. Property Map
before This property is required. Property Map

GetGatewayPluginSessionOrderingAfter

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginSessionOrderingBefore

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginSessionRoute

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginSessionService

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

Package Details

Repository
konnect kong/terraform-provider-konnect
License
Notes
This Pulumi package is based on the konnect Terraform Provider.