# CursorConfigurationProperty

Cursor-based pagination configuration.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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 cursorConfigurationProperty: glue.CfnConnectionType.CursorConfigurationProperty = {
  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',
    },
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

cursor_configuration_property = glue.CfnConnectionType.CursorConfigurationProperty(
    next_page=glue.CfnConnectionType.ExtractedParameterProperty(
        default_value="defaultValue",
        key="key",
        property_location="propertyLocation",
        value=glue.CfnConnectionType.ResponseExtractionMappingProperty(
            content_path="contentPath",
            header_key="headerKey"
        )
    ),

    # the properties below are optional
    limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty(
        default_value="defaultValue",
        key="key",
        property_location="propertyLocation",
        value=glue.CfnConnectionType.ResponseExtractionMappingProperty(
            content_path="contentPath",
            header_key="headerKey"
        )
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

CursorConfigurationProperty cursorConfigurationProperty = CursorConfigurationProperty.builder()
        .nextPage(ExtractedParameterProperty.builder()
                .defaultValue("defaultValue")
                .key("key")
                .propertyLocation("propertyLocation")
                .value(ResponseExtractionMappingProperty.builder()
                        .contentPath("contentPath")
                        .headerKey("headerKey")
                        .build())
                .build())

        // the properties below are optional
        .limitParameter(ExtractedParameterProperty.builder()
                .defaultValue("defaultValue")
                .key("key")
                .propertyLocation("propertyLocation")
                .value(ResponseExtractionMappingProperty.builder()
                        .contentPath("contentPath")
                        .headerKey("headerKey")
                        .build())
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var cursorConfigurationProperty = new CursorConfigurationProperty {
    NextPage = new ExtractedParameterProperty {
        DefaultValue = "defaultValue",
        Key = "key",
        PropertyLocation = "propertyLocation",
        Value = new ResponseExtractionMappingProperty {
            ContentPath = "contentPath",
            HeaderKey = "headerKey"
        }
    },

    // the properties below are optional
    LimitParameter = new ExtractedParameterProperty {
        DefaultValue = "defaultValue",
        Key = "key",
        PropertyLocation = "propertyLocation",
        Value = new ResponseExtractionMappingProperty {
            ContentPath = "contentPath",
            HeaderKey = "headerKey"
        }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cursorConfigurationProperty := &CursorConfigurationProperty{
	NextPage: &ExtractedParameterProperty{
		DefaultValue: jsii.String("defaultValue"),
		Key: jsii.String("key"),
		PropertyLocation: jsii.String("propertyLocation"),
		Value: &ResponseExtractionMappingProperty{
			ContentPath: jsii.String("contentPath"),
			HeaderKey: jsii.String("headerKey"),
		},
	},

	// the properties below are optional
	LimitParameter: &ExtractedParameterProperty{
		DefaultValue: jsii.String("defaultValue"),
		Key: jsii.String("key"),
		PropertyLocation: jsii.String("propertyLocation"),
		Value: &ResponseExtractionMappingProperty{
			ContentPath: jsii.String("contentPath"),
			HeaderKey: jsii.String("headerKey"),
		},
	},
}
```

## Properties

- `limitParameter`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.ExtractedParameterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.ExtractedParameterProperty.html) — Parameter extraction configuration.

- `nextPage`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionType.ExtractedParameterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnConnectionType.ExtractedParameterProperty.html) (required) — Parameter extraction configuration.
