UNPKG

@csermet/multiprovider

Version:

cloud-graph provider plugin for AWS used to fetch AWS cloud data.

25 lines (24 loc) 742 B
import { AppSync } from 'aws-sdk'; import { Config } from 'aws-sdk/lib/config'; import { TagMap } from '../../types'; export interface RawAwsFunction extends AppSync.FunctionConfiguration { resolvers: AppSync.Resolver[]; } export interface RawAwsType extends AppSync.Type { resolvers: AppSync.Resolver[]; } export interface RawAwsAppSync extends Omit<AppSync.GraphqlApi, 'tags'> { awsApiKeys: AppSync.ApiKeys; awsDataSources: AppSync.DataSources; awsFunctions: RawAwsFunction[]; awsTypes: RawAwsType[]; region: string; Tags?: TagMap; } declare const _default: ({ regions, config, }: { regions: string; config: Config; }) => Promise<{ [region: string]: RawAwsAppSync[]; }>; export default _default;