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>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]func LookupGatewayPluginSession(ctx *Context, args *LookupGatewayPluginSessionArgs, opts ...InvokeOption) (*LookupGatewayPluginSessionResult, error)
func LookupGatewayPluginSessionOutput(ctx *Context, args *LookupGatewayPluginSessionOutputArgs, opts ...InvokeOption) LookupGatewayPluginSessionResultOutput> 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)
}public static CompletableFuture<GetGatewayPluginSessionResult> getGatewayPluginSession(GetGatewayPluginSessionArgs args, InvokeOptions options)
public static Output<GetGatewayPluginSessionResult> getGatewayPluginSession(GetGatewayPluginSessionArgs args, InvokeOptions options)
fn::invoke:
  function: konnect:index/getGatewayPluginSession:getGatewayPluginSession
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ControlPlane stringId 
- ControlPlane stringId 
- controlPlane StringId 
- controlPlane stringId 
- control_plane_ strid 
- controlPlane StringId 
getGatewayPluginSession Result
The following output properties are available:
- Config
GetGateway Plugin Session Config 
- ControlPlane stringId 
- CreatedAt double
- Enabled bool
- Id string
- InstanceName string
- Ordering
GetGateway Plugin Session Ordering 
- Protocols List<string>
- Route
GetGateway Plugin Session Route 
- Service
GetGateway Plugin Session Service 
- List<string>
- UpdatedAt double
- Config
GetGateway Plugin Session Config 
- ControlPlane stringId 
- CreatedAt float64
- Enabled bool
- Id string
- InstanceName string
- Ordering
GetGateway Plugin Session Ordering 
- Protocols []string
- Route
GetGateway Plugin Session Route 
- Service
GetGateway Plugin Session Service 
- []string
- UpdatedAt float64
- config
GetGateway Plugin Session Config 
- controlPlane StringId 
- createdAt Double
- enabled Boolean
- id String
- instanceName String
- ordering
GetGateway Plugin Session Ordering 
- protocols List<String>
- route
GetGateway Plugin Session Route 
- service
GetGateway Plugin Session Service 
- List<String>
- updatedAt Double
- config
GetGateway Plugin Session Config 
- controlPlane stringId 
- createdAt number
- enabled boolean
- id string
- instanceName string
- ordering
GetGateway Plugin Session Ordering 
- protocols string[]
- route
GetGateway Plugin Session Route 
- service
GetGateway Plugin Session Service 
- string[]
- updatedAt number
- config
GetGateway Plugin Session Config 
- control_plane_ strid 
- created_at float
- enabled bool
- id str
- instance_name str
- ordering
GetGateway Plugin Session Ordering 
- protocols Sequence[str]
- route
GetGateway Plugin Session Route 
- service
GetGateway Plugin Session Service 
- Sequence[str]
- updated_at float
- config Property Map
- controlPlane StringId 
- createdAt Number
- enabled Boolean
- id String
- instanceName String
- ordering Property Map
- protocols List<String>
- route Property Map
- service Property Map
- List<String>
- updatedAt Number
Supporting Types
GetGatewayPluginSessionConfig    
- AbsoluteTimeout double
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- Audience string
- The session audience, which is the intended target application. For example "my-application".
- string
- The domain with which the cookie is intended to be exchanged.
- bool
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- string
- The name of the cookie.
- string
- The resource in the host where the cookie is available.
- string
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 double
- The session cookie idle time, in seconds.
- LogoutMethods List<string>
- A set of HTTP methods that the plugin will respond to.
- LogoutPost stringArg 
- The POST argument passed to logout requests. Do not change this property.
- LogoutQuery stringArg 
- The query argument passed to logout requests.
- ReadBody boolFor Logout 
- Remember bool
- Enables or disables persistent sessions.
- RememberAbsolute doubleTimeout 
- The persistent session absolute timeout limit, in seconds.
- string
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- RememberRolling doubleTimeout 
- The persistent session rolling timeout window, in seconds.
- RequestHeaders List<string>
- List of information to include, as headers, in the response to the downstream.
- ResponseHeaders List<string>
- List of information to include, as headers, in the response to the downstream.
- RollingTimeout double
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- Secret string
- The secret that is used in keyed HMAC generation.
- StaleTtl 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 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 float64
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- Audience string
- The session audience, which is the intended target application. For example "my-application".
- string
- The domain with which the cookie is intended to be exchanged.
- bool
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- string
- The name of the cookie.
- string
- The resource in the host where the cookie is available.
- string
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 float64
- The session cookie idle time, in seconds.
- LogoutMethods []string
- A set of HTTP methods that the plugin will respond to.
- LogoutPost stringArg 
- The POST argument passed to logout requests. Do not change this property.
- LogoutQuery stringArg 
- The query argument passed to logout requests.
- ReadBody boolFor Logout 
- Remember bool
- Enables or disables persistent sessions.
- RememberAbsolute float64Timeout 
- The persistent session absolute timeout limit, in seconds.
- string
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- RememberRolling float64Timeout 
- The persistent session rolling timeout window, in seconds.
- RequestHeaders []string
- List of information to include, as headers, in the response to the downstream.
- ResponseHeaders []string
- List of information to include, as headers, in the response to the downstream.
- RollingTimeout float64
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- Secret string
- The secret that is used in keyed HMAC generation.
- StaleTtl 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 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 Double
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- audience String
- The session audience, which is the intended target application. For example "my-application".
- String
- The domain with which the cookie is intended to be exchanged.
- Boolean
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- String
- The name of the cookie.
- String
- The resource in the host where the cookie is available.
- String
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 Double
- The session cookie idle time, in seconds.
- logoutMethods List<String>
- A set of HTTP methods that the plugin will respond to.
- logoutPost StringArg 
- The POST argument passed to logout requests. Do not change this property.
- logoutQuery StringArg 
- The query argument passed to logout requests.
- readBody BooleanFor Logout 
- remember Boolean
- Enables or disables persistent sessions.
- rememberAbsolute DoubleTimeout 
- The persistent session absolute timeout limit, in seconds.
- String
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- rememberRolling DoubleTimeout 
- The persistent session rolling timeout window, in seconds.
- requestHeaders List<String>
- List of information to include, as headers, in the response to the downstream.
- responseHeaders List<String>
- List of information to include, as headers, in the response to the downstream.
- rollingTimeout Double
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- secret String
- The secret that is used in keyed HMAC generation.
- staleTtl 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 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 number
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- audience string
- The session audience, which is the intended target application. For example "my-application".
- string
- The domain with which the cookie is intended to be exchanged.
- boolean
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- string
- The name of the cookie.
- string
- The resource in the host where the cookie is available.
- string
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 number
- The session cookie idle time, in seconds.
- logoutMethods string[]
- A set of HTTP methods that the plugin will respond to.
- logoutPost stringArg 
- The POST argument passed to logout requests. Do not change this property.
- logoutQuery stringArg 
- The query argument passed to logout requests.
- readBody booleanFor Logout 
- remember boolean
- Enables or disables persistent sessions.
- rememberAbsolute numberTimeout 
- The persistent session absolute timeout limit, in seconds.
- string
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- rememberRolling numberTimeout 
- The persistent session rolling timeout window, in seconds.
- requestHeaders string[]
- List of information to include, as headers, in the response to the downstream.
- responseHeaders string[]
- List of information to include, as headers, in the response to the downstream.
- rollingTimeout number
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- secret string
- The secret that is used in keyed HMAC generation.
- staleTtl 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 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 float
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- audience str
- The session audience, which is the intended target application. For example "my-application".
- str
- The domain with which the cookie is intended to be exchanged.
- bool
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- str
- The name of the cookie.
- str
- The resource in the host where the cookie is available.
- str
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 float
- The session cookie idle time, in seconds.
- logout_methods Sequence[str]
- A set of HTTP methods that the plugin will respond to.
- logout_post_ strarg 
- The POST argument passed to logout requests. Do not change this property.
- logout_query_ strarg 
- The query argument passed to logout requests.
- read_body_ boolfor_ logout 
- remember bool
- Enables or disables persistent sessions.
- remember_absolute_ floattimeout 
- The persistent session absolute timeout limit, in seconds.
- str
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- remember_rolling_ floattimeout 
- The persistent session rolling timeout window, in seconds.
- request_headers Sequence[str]
- List of information to include, as headers, in the response to the downstream.
- response_headers Sequence[str]
- List of information to include, as headers, in the response to the downstream.
- rolling_timeout float
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- secret str
- The secret that is used in keyed HMAC generation.
- stale_ttl 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 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 Number
- The session cookie absolute timeout, in seconds. Specifies how long the session can be used until it is no longer valid.
- audience String
- The session audience, which is the intended target application. For example "my-application".
- String
- The domain with which the cookie is intended to be exchanged.
- Boolean
- Applies the HttpOnlytag so that the cookie is sent only to a server.
- String
- The name of the cookie.
- String
- The resource in the host where the cookie is available.
- String
- Determines whether and how a cookie may be sent with cross-site requests.
- 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 Number
- The session cookie idle time, in seconds.
- logoutMethods List<String>
- A set of HTTP methods that the plugin will respond to.
- logoutPost StringArg 
- The POST argument passed to logout requests. Do not change this property.
- logoutQuery StringArg 
- The query argument passed to logout requests.
- readBody BooleanFor Logout 
- remember Boolean
- Enables or disables persistent sessions.
- rememberAbsolute NumberTimeout 
- The persistent session absolute timeout limit, in seconds.
- String
- Persistent session cookie name. Use with the rememberconfiguration parameter.
- rememberRolling NumberTimeout 
- The persistent session rolling timeout window, in seconds.
- requestHeaders List<String>
- List of information to include, as headers, in the response to the downstream.
- responseHeaders List<String>
- List of information to include, as headers, in the response to the downstream.
- rollingTimeout Number
- The session cookie rolling timeout, in seconds. Specifies how long the session can be used until it needs to be renewed.
- secret String
- The secret that is used in keyed HMAC generation.
- staleTtl 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 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    
GetGatewayPluginSessionOrderingAfter     
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GetGatewayPluginSessionOrderingBefore     
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GetGatewayPluginSessionRoute    
- Id string
- Id string
- id String
- id string
- id str
- id String
GetGatewayPluginSessionService    
- Id string
- Id string
- id String
- id string
- id str
- id String
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the konnectTerraform Provider.