ChannelNamespaceState constructor

const ChannelNamespaceState({
  1. Input<String?>? apiId,
  2. Input<String?>? channelNamespaceArn,
  3. Input<String?>? codeHandlers,
  4. Input<ChannelNamespaceHandlerConfigs?>? handlerConfigs,
  5. Input<String?>? name,
  6. Input<List<ChannelNamespacePublishAuthMode>?>? publishAuthModes,
  7. Input<String?>? region,
  8. Input<List<ChannelNamespaceSubscribeAuthMode>?>? subscribeAuthModes,
  9. Input<Map<String, String>?>? tags,
  10. Input<Map<String, String>?>? tagsAll,
})

Creates a new ChannelNamespaceState. apiId Event API ID. channelNamespaceArn ARN of the channel namespace. 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. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const ChannelNamespaceState({
  this.apiId,
  this.channelNamespaceArn,
  this.codeHandlers,
  this.handlerConfigs,
  this.name,
  this.publishAuthModes,
  this.region,
  this.subscribeAuthModes,
  this.tags,
  this.tagsAll,
});