interface SourceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.CfnConnectionType.SourceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnConnectionType_SourceConfigurationProperty |
Java | software.amazon.awscdk.services.glue.CfnConnectionType.SourceConfigurationProperty |
Python | aws_cdk.aws_glue.CfnConnectionType.SourceConfigurationProperty |
TypeScript | aws-cdk-lib » aws_glue » CfnConnectionType » SourceConfigurationProperty |
Configuration that defines how to make requests to endpoints.
Example
// 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 sourceConfigurationProperty: glue.CfnConnectionType.SourceConfigurationProperty = {
filterConfiguration: {
filterMode: 'filterMode',
// the properties below are optional
betweenConfiguration: {
highBoundKey: 'highBoundKey',
lowBoundKey: 'lowBoundKey',
template: 'template',
},
dateTimeFormat: 'dateTimeFormat',
filterStringConfiguration: {
queryParameterName: 'queryParameterName',
// the properties below are optional
quoteCharacter: 'quoteCharacter',
quoteStringValues: false,
},
operatorMappings: {
operatorMappingsKey: 'operatorMappings',
},
stripQuotes: false,
},
paginationConfiguration: {
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',
},
},
},
},
requestMethod: 'requestMethod',
requestParameters: [{
name: 'name',
propertyType: 'propertyType',
required: false,
// the properties below are optional
allowedValues: ['allowedValues'],
defaultValue: 'defaultValue',
keyOverride: 'keyOverride',
propertyLocation: 'propertyLocation',
}],
requestPath: 'requestPath',
responseConfiguration: {
resultPath: 'resultPath',
// the properties below are optional
errorPath: 'errorPath',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| filter | IResolvable | Filter | Configuration that defines how filter predicates are applied to REST API requests, supporting both query parameter and filter string strategies. |
| pagination | IResolvable | Pagination | Configuration for handling paginated responses. |
| request | string | The HTTP method to use. |
| request | IResolvable | (IResolvable | Connector)[] | Request parameters configuration. |
| request | string | The URL path for the REST endpoint. |
| response | IResolvable | Response | Configuration for parsing JSON responses from REST API calls. |
filterConfiguration?
Type:
IResolvable | Filter
(optional)
Configuration that defines how filter predicates are applied to REST API requests, supporting both query parameter and filter string strategies.
paginationConfiguration?
Type:
IResolvable | Pagination
(optional)
Configuration for handling paginated responses.
requestMethod?
Type:
string
(optional)
The HTTP method to use.
requestParameters?
Type:
IResolvable | (IResolvable | Connector)[]
(optional)
Request parameters configuration.
requestPath?
Type:
string
(optional)
The URL path for the REST endpoint.
responseConfiguration?
Type:
IResolvable | Response
(optional)
Configuration for parsing JSON responses from REST API calls.

.NET
Go
Java
Python
TypeScript