AWS::AppSync::Api EventConfig
Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AuthProviders" :
[ AuthProvider, ... ]
, "ConnectionAuthModes" :[ AuthMode, ... ]
, "DefaultPublishAuthModes" :[ AuthMode, ... ]
, "DefaultSubscribeAuthModes" :[ AuthMode, ... ]
, "LogConfig" :EventLogConfig
}
YAML
AuthProviders:
- AuthProvider
ConnectionAuthModes:- AuthMode
DefaultPublishAuthModes:- AuthMode
DefaultSubscribeAuthModes:- AuthMode
LogConfig:EventLogConfig
Properties
AuthProviders
-
A list of authorization providers.
Required: Yes
Type: Array of AuthProvider
Update requires: No interruption
ConnectionAuthModes
-
A list of valid authorization modes for the Event API connections.
Required: Yes
Type: Array of AuthMode
Update requires: No interruption
DefaultPublishAuthModes
-
A list of valid authorization modes for the Event API publishing.
Required: Yes
Type: Array of AuthMode
Update requires: No interruption
DefaultSubscribeAuthModes
-
A list of valid authorization modes for the Event API subscriptions.
Required: Yes
Type: Array of AuthMode
Update requires: No interruption
LogConfig
-
The CloudWatch Logs configuration for the Event API.
Required: No
Type: EventLogConfig
Update requires: No interruption