interface AuthModeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppSync.CfnChannelNamespacePropsMixin.AuthModeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappsync#CfnChannelNamespacePropsMixin_AuthModeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnChannelNamespacePropsMixin.AuthModeProperty |
Python | aws_cdk.cfn_property_mixins.aws_appsync.CfnChannelNamespacePropsMixin.AuthModeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appsync » 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 { aws_appsync as appsync } from '@aws-cdk/cfn-property-mixins';
const authModeProperty: appsync.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