# AppSyncHttpDataSourceOptions

Optional configuration for Http data sources.

Extends: AppSyncHttpDataSourceOptions
Extends: AppSyncDataSourceOptions

- Source: [`aws-appsync/lib/data-source-common.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-appsync/lib/data-source-common.ts#L313)
- Type last changed: v2.193.0 · 30 Apr 2025

## 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

- `authorizationConfig`: [AppSyncAwsIamConfig](/cdk/api/v2/docs/aws-cdk-lib.aws_appsync.AppSyncAwsIamConfig.html) = none — The authorization config in case the HTTP endpoint requires authorization.

- `description`: string — The description of the data source.

  **Default:** No description

- `name`: string — The name of the data source, overrides the id given by CDK.

  **Default:** generated by CDK given the id
