Skip to content
v2.275.0

EntityConfigurationProperty Struct ​

Configuration for interacting with a specific data entity.

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 entityConfigurationProperty: glue.CfnConnectionType.EntityConfigurationProperty = {
  schema: {
    schemaKey: {
      fieldDataType: 'fieldDataType',
      name: 'name',

      // the properties below are optional
      filterOverrides: {
        betweenConfiguration: {
          highBoundKey: 'highBoundKey',
          lowBoundKey: 'lowBoundKey',
          template: 'template',
        },
        dateTimeFormat: 'dateTimeFormat',
        fieldName: 'fieldName',
        operatorMappings: {
          operatorMappingsKey: 'operatorMappings',
        },
      },
      isNullable: false,
      isOrderable: false,
      isPartitionable: false,
      isQueryable: false,
      responseDateFormat: 'responseDateFormat',
    },
  },
  sourceConfiguration: {
    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 ​

schemaoptionalIResolvable | { [key: string]: IResolvable | CfnConnectionType.FieldDefinitionProperty }schemaoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, FieldDefinitionProperty]]]schemaoptionalIResolvableSchemaoptionalIResolvableSchemaoptionalinterface{}#
The schema definition for this entity.
sourceConfigurationoptionalIResolvable | CfnConnectionType.SourceConfigurationPropertysource_configurationoptionaltyping.Union[IResolvable, SourceConfigurationProperty]sourceConfigurationoptionalIResolvableSourceConfigurationoptionalIResolvableSourceConfigurationoptionalinterface{}#
Configuration that defines how to make requests to endpoints.