Access KPS data using selectors

Data in KPS tables can be accessed using selectors that execute in policies on the API Gateway at runtime. This topic explains KPS selector syntax and provides some example selectors.

KPS selector syntax

KPS selector syntax is as follows:

The parts in the selector are described as follows:

You can also use a composite key, for example:

KPS selector examples

For an example of accessing KPS data from a selector using a primary key, see Get started with KPS. For examples of selectors that use both primary and composite keys, see Configure database KPS storage.

The following table shows more examples of KPS selectors:

For more details on selectors, see the API Gateway Policy Developer Guide.

Related Links