aws-cdk-lib.aws_appsync.CfnDataSource.AuthorizationConfigProperty

interface AuthorizationConfigProperty

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

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

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

NameTypeDescription
authorizationTypestringThe authorization type that the HTTP endpoint requires.
awsIamConfig?IResolvable | AwsIamConfigPropertyThe AWS Identity and Access Management settings.

authorizationType

Type: string

The authorization type that the HTTP endpoint requires.

  • AWS_IAM : The authorization type is Signature Version 4 (SigV4).

awsIamConfig?

Type: IResolvable | AwsIamConfigProperty (optional)

The AWS Identity and Access Management settings.