An AppSync datasource backed by a http endpoint.
import { AppSyncHttpDataSource } from 'aws-cdk-lib/aws-appsync';Or use the module namespace:
import * as appsync from 'aws-cdk-lib/aws-appsync';
// appsync.AppSyncHttpDataSourceConfiguration passed to the constructor as AppSyncHttpDataSourceProps.
endpointRequiredstringThe http endpoint.
authorizationConfigOptionalAppSyncAwsIamConfigThe authorization config in case the HTTP endpoint requires authorization.
Default: - none
AppSyncBackedDataSourcePropsserviceRoleOptionalinherited from AppSyncBackedDataSourcePropsIRoleThe IAM service role to be assumed by AppSync to interact with the data source.
Default: - Create a new role
AppSyncBaseDataSourcePropsapiRequiredinherited from AppSyncBaseDataSourcePropsIApiRefThe API to attach this data source to.
descriptionOptionalinherited from AppSyncBaseDataSourcePropsstringThe description of the data source.
Default: - None
nameOptionalinherited from AppSyncBaseDataSourcePropsstringThe name of the data source. The only allowed pattern is: {[_A-Za-z][_0-9A-Za-z]*}. Any invalid characters will be automatically removed.
Default: - id of data source
Everything you need to know about AWS AppSync on one page. HD quality, print-friendly.
Download Free Infographicaws-appsync