interface AuthorizationConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppSync.CfnDataSource.AuthorizationConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnDataSource_AuthorizationConfigProperty |
![]() | software.amazon.awscdk.services.appsync.CfnDataSource.AuthorizationConfigProperty |
![]() | aws_cdk.aws_appsync.CfnDataSource.AuthorizationConfigProperty |
![]() | 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
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.