Skip to content
v2.275.0

AuthModeProperty Struct ​

Describes an authorization configuration.

Use AuthMode to specify the publishing and subscription authorization configuration for an Event API.

Example ​

ts
// 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 ​

authTypeoptionalstringauth_typeoptionalstrauthTypeoptionalStringAuthTypeoptionalstringAuthTypeoptional*string#
The authorization type.