Skip to content
v2.274.0

HttpConfigProperty Struct ​

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 ​

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

authorizationConfigIResolvable | CfnDataSource.AuthorizationConfigPropertyauthorization_configtyping.Union[IResolvable, AuthorizationConfigProperty]authorizationConfigIResolvableAuthorizationConfigIResolvableAuthorizationConfiginterface{}#
The authorization configuration.
endpointstringendpointstrendpointStringEndpointstringEndpoint*stringrequired#
The endpoint.