Class BaseChannelNamespaceProps
the base properties for a channel namespace.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseChannelNamespaceProps : Object, IBaseChannelNamespaceProps
Syntax (vb)
Public Class BaseChannelNamespaceProps
Inherits Object
Implements IBaseChannelNamespaceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
Code code;
var baseChannelNamespaceProps = new BaseChannelNamespaceProps {
AuthorizationConfig = new NamespaceAuthConfig {
PublishAuthModeTypes = new [] { AppSyncAuthorizationType.API_KEY },
SubscribeAuthModeTypes = new [] { AppSyncAuthorizationType.API_KEY }
},
ChannelNamespaceName = "channelNamespaceName",
Code = code
};
Synopsis
Constructors
Base |
Properties
Authorization |
Authorization config for channel namespace. |
Channel |
the name of the channel namespace. |
Code | The Event Handler code. |
Constructors
BaseChannelNamespaceProps()
public BaseChannelNamespaceProps()
Properties
AuthorizationConfig
Authorization config for channel namespace.
public INamespaceAuthConfig AuthorizationConfig { get; set; }
Property Value
Remarks
Default: - defaults to Event API default auth config
ChannelNamespaceName
the name of the channel namespace.
public string ChannelNamespaceName { get; set; }
Property Value
System.
Remarks
Default: - the construct's id will be used
Code
The Event Handler code.
public Code Code { get; set; }
Property Value
Remarks
Default: - no code is used