import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::AppSync::DataSource</code> resource creates data sources for resolvers in AWS AppSync to connect to, such as Amazon DynamoDB, AWS Lambda, and Amazon OpenSearch Service. Resolvers use these data sources to fetch data when clients make GraphQL calls.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html">the AWS Docs</a>
*/
export function dataSource(dataSourceProps) {
    return new AwsResource('AWS::AppSync::DataSource', dataSourceProps, { DataSourceArn: 'DataSourceArn', Name: 'Name' });
}
