1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. appsync
  5. getChannelNamespace

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

aws-native.appsync.getChannelNamespace

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi

    Resource schema for AppSync ChannelNamespace

    Using getChannelNamespace

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getChannelNamespace(args: GetChannelNamespaceArgs, opts?: InvokeOptions): Promise<GetChannelNamespaceResult>
    function getChannelNamespaceOutput(args: GetChannelNamespaceOutputArgs, opts?: InvokeOptions): Output<GetChannelNamespaceResult>
    def get_channel_namespace(channel_namespace_arn: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetChannelNamespaceResult
    def get_channel_namespace_output(channel_namespace_arn: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetChannelNamespaceResult]
    func LookupChannelNamespace(ctx *Context, args *LookupChannelNamespaceArgs, opts ...InvokeOption) (*LookupChannelNamespaceResult, error)
    func LookupChannelNamespaceOutput(ctx *Context, args *LookupChannelNamespaceOutputArgs, opts ...InvokeOption) LookupChannelNamespaceResultOutput

    > Note: This function is named LookupChannelNamespace in the Go SDK.

    public static class GetChannelNamespace 
    {
        public static Task<GetChannelNamespaceResult> InvokeAsync(GetChannelNamespaceArgs args, InvokeOptions? opts = null)
        public static Output<GetChannelNamespaceResult> Invoke(GetChannelNamespaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetChannelNamespaceResult> getChannelNamespace(GetChannelNamespaceArgs args, InvokeOptions options)
    public static Output<GetChannelNamespaceResult> getChannelNamespace(GetChannelNamespaceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:appsync:getChannelNamespace
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ChannelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    ChannelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    channelNamespaceArn String
    The Amazon Resource Name (ARN) of the channel namespace.
    channelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    channel_namespace_arn str
    The Amazon Resource Name (ARN) of the channel namespace.
    channelNamespaceArn String
    The Amazon Resource Name (ARN) of the channel namespace.

    getChannelNamespace Result

    The following output properties are available:

    ChannelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    CodeHandlers string
    The event handler functions that run custom business logic to process published events and subscribe requests.
    HandlerConfigs Pulumi.AwsNative.AppSync.Outputs.ChannelNamespaceHandlerConfigs
    The configuration for the OnPublish and OnSubscribe handlers.
    PublishAuthModes List<Pulumi.AwsNative.AppSync.Outputs.ChannelNamespaceAuthMode>
    List of AuthModes supported for Publish operations.
    SubscribeAuthModes List<Pulumi.AwsNative.AppSync.Outputs.ChannelNamespaceAuthMode>
    List of AuthModes supported for Subscribe operations.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A set of tags (key-value pairs) for this channel namespace.
    ChannelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    CodeHandlers string
    The event handler functions that run custom business logic to process published events and subscribe requests.
    HandlerConfigs ChannelNamespaceHandlerConfigs
    The configuration for the OnPublish and OnSubscribe handlers.
    PublishAuthModes []ChannelNamespaceAuthMode
    List of AuthModes supported for Publish operations.
    SubscribeAuthModes []ChannelNamespaceAuthMode
    List of AuthModes supported for Subscribe operations.
    Tags Tag
    A set of tags (key-value pairs) for this channel namespace.
    channelNamespaceArn String
    The Amazon Resource Name (ARN) of the channel namespace.
    codeHandlers String
    The event handler functions that run custom business logic to process published events and subscribe requests.
    handlerConfigs ChannelNamespaceHandlerConfigs
    The configuration for the OnPublish and OnSubscribe handlers.
    publishAuthModes List<ChannelNamespaceAuthMode>
    List of AuthModes supported for Publish operations.
    subscribeAuthModes List<ChannelNamespaceAuthMode>
    List of AuthModes supported for Subscribe operations.
    tags List<Tag>
    A set of tags (key-value pairs) for this channel namespace.
    channelNamespaceArn string
    The Amazon Resource Name (ARN) of the channel namespace.
    codeHandlers string
    The event handler functions that run custom business logic to process published events and subscribe requests.
    handlerConfigs ChannelNamespaceHandlerConfigs
    The configuration for the OnPublish and OnSubscribe handlers.
    publishAuthModes ChannelNamespaceAuthMode[]
    List of AuthModes supported for Publish operations.
    subscribeAuthModes ChannelNamespaceAuthMode[]
    List of AuthModes supported for Subscribe operations.
    tags Tag[]
    A set of tags (key-value pairs) for this channel namespace.
    channel_namespace_arn str
    The Amazon Resource Name (ARN) of the channel namespace.
    code_handlers str
    The event handler functions that run custom business logic to process published events and subscribe requests.
    handler_configs ChannelNamespaceHandlerConfigs
    The configuration for the OnPublish and OnSubscribe handlers.
    publish_auth_modes Sequence[ChannelNamespaceAuthMode]
    List of AuthModes supported for Publish operations.
    subscribe_auth_modes Sequence[ChannelNamespaceAuthMode]
    List of AuthModes supported for Subscribe operations.
    tags Sequence[root_Tag]
    A set of tags (key-value pairs) for this channel namespace.
    channelNamespaceArn String
    The Amazon Resource Name (ARN) of the channel namespace.
    codeHandlers String
    The event handler functions that run custom business logic to process published events and subscribe requests.
    handlerConfigs Property Map
    The configuration for the OnPublish and OnSubscribe handlers.
    publishAuthModes List<Property Map>
    List of AuthModes supported for Publish operations.
    subscribeAuthModes List<Property Map>
    List of AuthModes supported for Subscribe operations.
    tags List<Property Map>
    A set of tags (key-value pairs) for this channel namespace.

    Supporting Types

    ChannelNamespaceAuthMode

    ChannelNamespaceAuthenticationType

    ChannelNamespaceHandlerBehavior

    ChannelNamespaceHandlerConfig

    Behavior ChannelNamespaceHandlerBehavior
    The behavior for the handler.
    Integration ChannelNamespaceIntegration
    The integration data source configuration for the handler.
    behavior ChannelNamespaceHandlerBehavior
    The behavior for the handler.
    integration ChannelNamespaceIntegration
    The integration data source configuration for the handler.
    behavior ChannelNamespaceHandlerBehavior
    The behavior for the handler.
    integration ChannelNamespaceIntegration
    The integration data source configuration for the handler.
    behavior ChannelNamespaceHandlerBehavior
    The behavior for the handler.
    integration ChannelNamespaceIntegration
    The integration data source configuration for the handler.
    behavior "CODE" | "DIRECT"
    The behavior for the handler.
    integration Property Map
    The integration data source configuration for the handler.

    ChannelNamespaceHandlerConfigs

    OnPublish ChannelNamespaceHandlerConfig
    The configuration for the OnPublish handler.
    OnSubscribe ChannelNamespaceHandlerConfig
    The configuration for the OnSubscribe handler.
    onPublish ChannelNamespaceHandlerConfig
    The configuration for the OnPublish handler.
    onSubscribe ChannelNamespaceHandlerConfig
    The configuration for the OnSubscribe handler.
    onPublish ChannelNamespaceHandlerConfig
    The configuration for the OnPublish handler.
    onSubscribe ChannelNamespaceHandlerConfig
    The configuration for the OnSubscribe handler.
    on_publish ChannelNamespaceHandlerConfig
    The configuration for the OnPublish handler.
    on_subscribe ChannelNamespaceHandlerConfig
    The configuration for the OnSubscribe handler.
    onPublish Property Map
    The configuration for the OnPublish handler.
    onSubscribe Property Map
    The configuration for the OnSubscribe handler.

    ChannelNamespaceIntegration

    DataSourceName string
    Data source to invoke for this integration.
    LambdaConfig Pulumi.AwsNative.AppSync.Inputs.ChannelNamespaceLambdaConfig
    The configuration for a Lambda data source.
    DataSourceName string
    Data source to invoke for this integration.
    LambdaConfig ChannelNamespaceLambdaConfig
    The configuration for a Lambda data source.
    dataSourceName String
    Data source to invoke for this integration.
    lambdaConfig ChannelNamespaceLambdaConfig
    The configuration for a Lambda data source.
    dataSourceName string
    Data source to invoke for this integration.
    lambdaConfig ChannelNamespaceLambdaConfig
    The configuration for a Lambda data source.
    data_source_name str
    Data source to invoke for this integration.
    lambda_config ChannelNamespaceLambdaConfig
    The configuration for a Lambda data source.
    dataSourceName String
    Data source to invoke for this integration.
    lambdaConfig Property Map
    The configuration for a Lambda data source.

    ChannelNamespaceInvokeType

    ChannelNamespaceLambdaConfig

    InvokeType Pulumi.AwsNative.AppSync.ChannelNamespaceInvokeType
    The invocation type for a Lambda data source.
    InvokeType ChannelNamespaceInvokeType
    The invocation type for a Lambda data source.
    invokeType ChannelNamespaceInvokeType
    The invocation type for a Lambda data source.
    invokeType ChannelNamespaceInvokeType
    The invocation type for a Lambda data source.
    invoke_type ChannelNamespaceInvokeType
    The invocation type for a Lambda data source.
    invokeType "REQUEST_RESPONSE" | "EVENT"
    The invocation type for a Lambda data source.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.28.0 published on Monday, May 19, 2025 by Pulumi