SourceApi Struct
Configuration of source API.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
declare const graphqlApi: appsync.GraphqlApi;
const sourceApi: appsync.SourceApi = {
sourceApi: graphqlApi,
// the properties below are optional
description: 'description',
mergeType: appsync.MergeType.MANUAL_MERGE,
};
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Description of the Source API asssociation.
mergeTypeoptionalMergeTypemerge_typeoptionalMergeTypemergeTypeoptionalMergeTypeMergeTypeoptionalMergeTypeMergeTypeoptionalMergeType#Merging option used to associate the source API to the Merged API.
Default: Auto merge. The merge is triggered automatically when the source API has changed
sourceApiIGraphqlApisource_apiIGraphqlApisourceApiIGraphqlApiSourceApiIGraphqlApiSourceApiIGraphqlApirequired#Source API that is associated with the merged API.