interface AuthModeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppSync.CfnChannelNamespace.AuthModeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#CfnChannelNamespace_AuthModeProperty |
Java | software.amazon.awscdk.services.appsync.CfnChannelNamespace.AuthModeProperty |
Python | aws_cdk.aws_appsync.CfnChannelNamespace.AuthModeProperty |
TypeScript | aws-cdk-lib » aws_appsync » CfnChannelNamespace » 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.CfnChannelNamespace.AuthModeProperty = {
authType: 'authType',
};
Properties
| Name | Type | Description |
|---|---|---|
| auth | string | The authorization type. |
authType?
Type:
string
(optional)
The authorization type.

.NET
Go
Java
Python
TypeScript