interface AuthModeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnChannelNamespacePropsMixin.AuthModeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnChannelNamespacePropsMixin_AuthModeProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnChannelNamespacePropsMixin.AuthModeProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnChannelNamespacePropsMixin.AuthModeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnChannelNamespacePropsMixin » 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 { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const authModeProperty: appsync_mixins.CfnChannelNamespacePropsMixin.AuthModeProperty = {
authType: 'authType',
};
Properties
| Name | Type | Description |
|---|---|---|
| auth | string | The authorization type. |
authType?
Type:
string
(optional)
The authorization type.

.NET
Go
Java
Python
TypeScript