Interface CfnChannelNamespaceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelNamespaceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:22.757Z")
@Stability(Stable)
public interface CfnChannelNamespaceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnChannelNamespacePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.appsync.mixins.*;
CfnChannelNamespaceMixinProps cfnChannelNamespaceMixinProps = CfnChannelNamespaceMixinProps.builder()
.apiId("apiId")
.codeHandlers("codeHandlers")
.codeS3Location("codeS3Location")
.handlerConfigs(HandlerConfigsProperty.builder()
.onPublish(HandlerConfigProperty.builder()
.behavior("behavior")
.integration(IntegrationProperty.builder()
.dataSourceName("dataSourceName")
.lambdaConfig(LambdaConfigProperty.builder()
.invokeType("invokeType")
.build())
.build())
.build())
.onSubscribe(HandlerConfigProperty.builder()
.behavior("behavior")
.integration(IntegrationProperty.builder()
.dataSourceName("dataSourceName")
.lambdaConfig(LambdaConfigProperty.builder()
.invokeType("invokeType")
.build())
.build())
.build())
.build())
.name("name")
.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 forCfnChannelNamespaceMixinPropsstatic final classAn implementation forCfnChannelNamespaceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetApiId()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.default StringgetName()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:
-
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
IResolvableorCfnChannelNamespacePropsMixin.HandlerConfigsProperty- See Also:
-
getName
The name of the channel namespace.This name must be unique within the
Api.- 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: '<'eitherIResolvableorCfnChannelNamespacePropsMixin.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: '<'eitherIResolvableorCfnChannelNamespacePropsMixin.AuthModeProperty>- See Also:
-
getTags
A set of tags (key-value pairs) for this channel namespace.- See Also:
-
builder
-