aws-cdk-lib.aws_appsync.CfnDataSource.HttpConfigProperty

interface HttpConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.AppSync.CfnDataSource.HttpConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnDataSource_HttpConfigProperty
Javasoftware.amazon.awscdk.services.appsync.CfnDataSource.HttpConfigProperty
Pythonaws_cdk.aws_appsync.CfnDataSource.HttpConfigProperty
TypeScript aws-cdk-lib » aws_appsync » CfnDataSource » HttpConfigProperty

Use the HttpConfig property type to specify HttpConfig for an AWS AppSync data source.

HttpConfig is a property of the AWS::AppSync::DataSource resource.

Example

// 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 httpConfigProperty: appsync.CfnDataSource.HttpConfigProperty = {
  endpoint: 'endpoint',

  // the properties below are optional
  authorizationConfig: {
    authorizationType: 'authorizationType',

    // the properties below are optional
    awsIamConfig: {
      signingRegion: 'signingRegion',
      signingServiceName: 'signingServiceName',
    },
  },
};

Properties

NameTypeDescription
endpointstringThe endpoint.
authorizationConfig?IResolvable | AuthorizationConfigPropertyThe authorization configuration.

endpoint

Type: string

The endpoint.


authorizationConfig?

Type: IResolvable | AuthorizationConfigProperty (optional)

The authorization configuration.