Skip to content
v2.277.0

CursorConfigurationProperty Struct ​

Cursor-based pagination configuration.

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 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
# 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
// 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();
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"
        }
    }
};
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 ​

limitParameteroptionalIResolvable | CfnConnectionType.ExtractedParameterPropertylimit_parameteroptionaltyping.Union[IResolvable, ExtractedParameterProperty]limitParameteroptionalIResolvableLimitParameteroptionalIResolvableLimitParameteroptionalinterface{} #
Parameter extraction configuration.
nextPageIResolvable | CfnConnectionType.ExtractedParameterPropertynext_pagetyping.Union[IResolvable, ExtractedParameterProperty]nextPageIResolvableNextPageIResolvableNextPageinterface{} required #
Parameter extraction configuration.