UNPKG

@aws-amplify/graphql-transformer-core

Version:

A framework to transform from GraphQL SDL to AWS CloudFormation.

17 lines 607 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SearchableDataSource = void 0; const aws_appsync_1 = require("aws-cdk-lib/aws-appsync"); class SearchableDataSource extends aws_appsync_1.BaseDataSource { constructor(scope, id, props) { super(scope, id, props, { type: 'AMAZON_ELASTICSEARCH', elasticsearchConfig: { awsRegion: props.region, endpoint: props.endpoint, }, }); } } exports.SearchableDataSource = SearchableDataSource; //# sourceMappingURL=searchable-datasource.js.map