ChannelNamespaceArgs constructor
- required Input<
String> apiId, - Input<
String?> ? codeHandlers, - Input<
ChannelNamespaceHandlerConfigs?> ? handlerConfigs, - Input<
String?> ? name, - Input<
List< ? publishAuthModes,ChannelNamespacePublishAuthMode> ?> - Input<
String?> ? region, - Input<
List< ? subscribeAuthModes,ChannelNamespaceSubscribeAuthMode> ?> - Input<
Map< ? tags,String, String> ?>
Creates a new ChannelNamespaceArgs.
apiId Event API ID.
codeHandlers Event handler functions that run custom business logic to process published events and subscribe requests.
handlerConfigs Configuration for the onPublish and onSubscribe handlers. See handlerConfigs below.
name Name of the channel namespace.
publishAuthModes Authorization modes to use for publishing messages on the channel namespace. This configuration overrides the default API authorization configuration. See publishAuthMode below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
subscribeAuthModes Authorization modes to use for subscribing to messages on the channel namespace. This configuration overrides the default API authorization configuration. See subscribeAuthMode below.
tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const ChannelNamespaceArgs({
required this.apiId,
this.codeHandlers,
this.handlerConfigs,
this.name,
this.publishAuthModes,
this.region,
this.subscribeAuthModes,
this.tags,
});