# PaginationConfigurationProperty

Configuration for handling paginated responses.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const paginationConfigurationProperty: glue.CfnConnectionType.PaginationConfigurationProperty = {
  cursorConfiguration: {
    nextPage: {
      defaultValue: 'defaultValue',
      key: 'key',
      propertyLocation: 'propertyLocation',
      value: {
        contentPath: 'contentPath',
        headerKey: 'headerKey',
      },
    },

    // the properties below are optional
    limitParameter: {
      defaultValue: 'defaultValue',
      key: 'key',
      propertyLocation: 'propertyLocation',
      value: {
        contentPath: 'contentPath',
        headerKey: 'headerKey',
      },
    },
  },
  offsetConfiguration: {
    limitParameter: {
      defaultValue: 'defaultValue',
      key: 'key',
      propertyLocation: 'propertyLocation',
      value: {
        contentPath: 'contentPath',
        headerKey: 'headerKey',
      },
    },
    offsetParameter: {
      defaultValue: 'defaultValue',
      key: 'key',
      propertyLocation: 'propertyLocation',
      value: {
        contentPath: 'contentPath',
        headerKey: 'headerKey',
      },
    },
  },
};
```

## Properties

- `cursorConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.CursorConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.CursorConfigurationProperty.html) — Cursor-based pagination configuration.

- `offsetConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.OffsetConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.OffsetConfigurationProperty.html) — Offset-based pagination configuration.
