Skip to content
v2.274.0

AppSyncHttpDataSourceOptions Struct ​

Optional configuration for Http data sources.

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';
const appSyncHttpDataSourceOptions: appsync.AppSyncHttpDataSourceOptions = {
  authorizationConfig: {
    signingRegion: 'signingRegion',
    signingServiceName: 'signingServiceName',
  },
  description: 'description',
  name: 'name',
};

Properties ​

authorizationConfigoptionalAppSyncAwsIamConfigauthorization_configoptionalAppSyncAwsIamConfigauthorizationConfigoptionalAppSyncAwsIamConfigAuthorizationConfigoptionalAppSyncAwsIamConfigAuthorizationConfigoptionalAppSyncAwsIamConfig= none#
The authorization config in case the HTTP endpoint requires authorization.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the data source.

Default: No description

nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
The name of the data source, overrides the id given by CDK.

Default: generated by CDK given the id