Interface CfnChannelNamespaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelNamespaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:32.592Z")
@Stability(Stable)
public interface CfnChannelNamespaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnChannelNamespace.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appsync.*;
CfnChannelNamespaceProps cfnChannelNamespaceProps = CfnChannelNamespaceProps.builder()
.apiId("apiId")
.name("name")
// the properties below are optional
.codeHandlers("codeHandlers")
.codeS3Location("codeS3Location")
.handlerConfigs(HandlerConfigsProperty.builder()
.onPublish(HandlerConfigProperty.builder()
.behavior("behavior")
.integration(IntegrationProperty.builder()
.dataSourceName("dataSourceName")
// the properties below are optional
.lambdaConfig(LambdaConfigProperty.builder()
.invokeType("invokeType")
.build())
.build())
.build())
.onSubscribe(HandlerConfigProperty.builder()
.behavior("behavior")
.integration(IntegrationProperty.builder()
.dataSourceName("dataSourceName")
// the properties below are optional
.lambdaConfig(LambdaConfigProperty.builder()
.invokeType("invokeType")
.build())
.build())
.build())
.build())
.publishAuthModes(List.of(AuthModeProperty.builder()
.authType("authType")
.build()))
.subscribeAuthModes(List.of(AuthModeProperty.builder()
.authType("authType")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelNamespacePropsstatic final classAn implementation forCfnChannelNamespaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getApiId()TheApiID.default StringThe event handler functions that run custom business logic to process published events and subscribe requests.default StringThe Amazon S3 endpoint where the code is located.default ObjectThe configuration for theOnPublishandOnSubscribehandlers.getName()The name of the channel namespace.default ObjectThe authorization mode to use for publishing messages on the channel namespace.default ObjectThe authorization mode to use for subscribing to messages on the channel namespace.getTags()A set of tags (key-value pairs) for this channel namespace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
TheApiID.- See Also:
-
getName
The name of the channel namespace.This name must be unique within the
Api.- See Also:
-
getCodeHandlers
The event handler functions that run custom business logic to process published events and subscribe requests.- See Also:
-
getCodeS3Location
The Amazon S3 endpoint where the code is located.- See Also:
-
getHandlerConfigs
The configuration for theOnPublishandOnSubscribehandlers.Returns union: either
IResolvableorCfnChannelNamespace.HandlerConfigsProperty- See Also:
-
getPublishAuthModes
The authorization mode to use for publishing messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannelNamespace.AuthModeProperty>- See Also:
-
getSubscribeAuthModes
The authorization mode to use for subscribing to messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannelNamespace.AuthModeProperty>- See Also:
-
getTags
A set of tags (key-value pairs) for this channel namespace.- See Also:
-
builder
- Returns:
- a
CfnChannelNamespaceProps.BuilderofCfnChannelNamespaceProps
-