Interface ChannelNamespaceProps
- All Superinterfaces:
BaseChannelNamespaceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChannelNamespaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.967Z")
@Stability(Stable)
public interface ChannelNamespaceProps
extends software.amazon.jsii.JsiiSerializable, BaseChannelNamespaceProps
Additional property for an AppSync channel namespace for an Event API reference.
Example:
EventApi api;
ChannelNamespace.Builder.create(this, "Namespace")
.api(api)
.authorizationConfig(NamespaceAuthConfig.builder()
// Override publishing authorization to API Key
.publishAuthModeTypes(List.of(AppSyncAuthorizationType.API_KEY))
// Override subscribing authorization to Lambda
.subscribeAuthModeTypes(List.of(AppSyncAuthorizationType.LAMBDA))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forChannelNamespacePropsstatic final classAn implementation forChannelNamespaceProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.appsync.BaseChannelNamespaceProps
getAuthorizationConfig, getChannelNamespaceName, getCode, getPublishHandlerConfig, getSubscribeHandlerConfigMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApi
The API this channel namespace is associated with. -
builder
- Returns:
- a
ChannelNamespaceProps.BuilderofChannelNamespaceProps
-