interface AuthorizationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnDataSource.AuthorizationConfigProperty |
Java | software.amazon.awscdk.services.appsync.CfnDataSource.AuthorizationConfigProperty |
Python | aws_cdk.aws_appsync.CfnDataSource.AuthorizationConfigProperty |
TypeScript | @aws-cdk/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 * as appsync from '@aws-cdk/aws-appsync';
const authorizationConfigProperty: appsync.CfnDataSource.AuthorizationConfigProperty = {
authorizationType: 'authorizationType',
// the properties below are optional
awsIamConfig: {
signingRegion: 'signingRegion',
signingServiceName: 'signingServiceName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| authorization | string | The authorization type that the HTTP endpoint requires. |
| aws | IResolvable | Aws | The 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 | Aws
(optional)
The AWS Identity and Access Management settings.

.NET
Java
Python
TypeScript