Skip to content
v2.278.0

OffsetConfigurationProperty Struct ​

Offset-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 offsetConfigurationProperty: glue.CfnConnectionType.OffsetConfigurationProperty = {
  limitParameter: {
    defaultValue: 'defaultValue',
    key: 'key',
    propertyLocation: 'propertyLocation',
    value: {
      contentPath: 'contentPath',
      headerKey: 'headerKey',
    },
  },
  offsetParameter: {
    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

offset_configuration_property = glue.CfnConnectionType.OffsetConfigurationProperty(
    limit_parameter=glue.CfnConnectionType.ExtractedParameterProperty(
        default_value="defaultValue",
        key="key",
        property_location="propertyLocation",
        value=glue.CfnConnectionType.ResponseExtractionMappingProperty(
            content_path="contentPath",
            header_key="headerKey"
        )
    ),
    offset_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.*;

OffsetConfigurationProperty offsetConfigurationProperty = OffsetConfigurationProperty.builder()
        .limitParameter(ExtractedParameterProperty.builder()
                .defaultValue("defaultValue")
                .key("key")
                .propertyLocation("propertyLocation")
                .value(ResponseExtractionMappingProperty.builder()
                        .contentPath("contentPath")
                        .headerKey("headerKey")
                        .build())
                .build())
        .offsetParameter(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 offsetConfigurationProperty = new OffsetConfigurationProperty {
    LimitParameter = new ExtractedParameterProperty {
        DefaultValue = "defaultValue",
        Key = "key",
        PropertyLocation = "propertyLocation",
        Value = new ResponseExtractionMappingProperty {
            ContentPath = "contentPath",
            HeaderKey = "headerKey"
        }
    },
    OffsetParameter = 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"

offsetConfigurationProperty := &OffsetConfigurationProperty{
	LimitParameter: &ExtractedParameterProperty{
		DefaultValue: jsii.String("defaultValue"),
		Key: jsii.String("key"),
		PropertyLocation: jsii.String("propertyLocation"),
		Value: &ResponseExtractionMappingProperty{
			ContentPath: jsii.String("contentPath"),
			HeaderKey: jsii.String("headerKey"),
		},
	},
	OffsetParameter: &ExtractedParameterProperty{
		DefaultValue: jsii.String("defaultValue"),
		Key: jsii.String("key"),
		PropertyLocation: jsii.String("propertyLocation"),
		Value: &ResponseExtractionMappingProperty{
			ContentPath: jsii.String("contentPath"),
			HeaderKey: jsii.String("headerKey"),
		},
	},
}

Properties ​

limitParameterIResolvable | CfnConnectionType.ExtractedParameterPropertylimit_parametertyping.Union[IResolvable, ExtractedParameterProperty]limitParameterIResolvableLimitParameterIResolvableLimitParameterinterface{} required #
Parameter extraction configuration.
offsetParameterIResolvable | CfnConnectionType.ExtractedParameterPropertyoffset_parametertyping.Union[IResolvable, ExtractedParameterProperty]offsetParameterIResolvableOffsetParameterIResolvableOffsetParameterinterface{} required #
Parameter extraction configuration.