Skip to content
v2.275.0

PaginationConfigurationProperty Struct ​

Configuration for handling paginated responses.

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 ​

cursorConfigurationoptionalIResolvable | CfnConnectionType.CursorConfigurationPropertycursor_configurationoptionaltyping.Union[IResolvable, CursorConfigurationProperty]cursorConfigurationoptionalIResolvableCursorConfigurationoptionalIResolvableCursorConfigurationoptionalinterface{}#
Cursor-based pagination configuration.
offsetConfigurationoptionalIResolvable | CfnConnectionType.OffsetConfigurationPropertyoffset_configurationoptionaltyping.Union[IResolvable, OffsetConfigurationProperty]offsetConfigurationoptionalIResolvableOffsetConfigurationoptionalIResolvableOffsetConfigurationoptionalinterface{}#
Offset-based pagination configuration.