interface AuthModeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppSync.CfnApi.AuthModeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnApi_AuthModeProperty |
![]() | software.amazon.awscdk.services.appsync.CfnApi.AuthModeProperty |
![]() | aws_cdk.aws_appsync.CfnApi.AuthModeProperty |
![]() | aws-cdk-lib » aws_appsync » CfnApi » AuthModeProperty |
Describes an authorization configuration.
Use AuthMode
to specify the publishing and subscription authorization configuration for an Event API.
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 authModeProperty: appsync.CfnApi.AuthModeProperty = {
authType: 'authType',
};
Properties
Name | Type | Description |
---|---|---|
auth | string | The authorization type. |
authType?
Type:
string
(optional)
The authorization type.