Skip to content
v2.275.0

AuthorizationConfigProperty Struct ​

The AuthorizationConfig property type specifies the authorization type and configuration for an AWS AppSync http data source.

AuthorizationConfig is a property of the AWS AppSync DataSource HttpConfig property type.

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 authorizationConfigProperty: appsync.CfnDataSource.AuthorizationConfigProperty = {
  authorizationType: 'authorizationType',

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

Properties ​

authorizationTypestringauthorization_typestrauthorizationTypeStringAuthorizationTypestringAuthorizationType*stringrequired#
The authorization type that the HTTP endpoint requires.
  • AWS_IAM : The authorization type is Signature Version 4 (SigV4).
awsIamConfigoptionalIResolvable | CfnDataSource.AwsIamConfigPropertyaws_iam_configoptionaltyping.Union[IResolvable, AwsIamConfigProperty]awsIamConfigoptionalIResolvableAwsIamConfigoptionalIResolvableAwsIamConfigoptionalinterface{}#
The AWS Identity and Access Management settings.