Show / Hide Table of Contents

Interface IChannelNamespaceProps

Additional property for an AppSync channel namespace for an Event API reference.

Inherited Members
IBaseChannelNamespaceProps.AuthorizationConfig
IBaseChannelNamespaceProps.ChannelNamespaceName
IBaseChannelNamespaceProps.Code
IBaseChannelNamespaceProps.PublishHandlerConfig
IBaseChannelNamespaceProps.SubscribeHandlerConfig
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IChannelNamespaceProps : IBaseChannelNamespaceProps
Syntax (vb)
Public Interface IChannelNamespaceProps Inherits IBaseChannelNamespaceProps
Remarks

ExampleMetadata: infused

Examples
EventApi api;


            new ChannelNamespace(this, "Namespace", new ChannelNamespaceProps {
                Api = api,
                AuthorizationConfig = new NamespaceAuthConfig {
                    // Override publishing authorization to API Key
                    PublishAuthModeTypes = new [] { AppSyncAuthorizationType.API_KEY },
                    // Override subscribing authorization to Lambda
                    SubscribeAuthModeTypes = new [] { AppSyncAuthorizationType.LAMBDA }
                }
            });

Synopsis

Properties

Api

The API this channel namespace is associated with.

Properties

Api

The API this channel namespace is associated with.

IEventApi Api { get; }
Property Value

IEventApi

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX