Class CfnChannelNamespacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnChannelNamespacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin>
- Enclosing class:
CfnChannelNamespacePropsMixin
@Stability(Stable)
public static final class CfnChannelNamespacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelNamespacePropsMixin>
A fluent builder for
CfnChannelNamespacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionTheApiID.build()codeHandlers(String codeHandlers) The event handler functions that run custom business logic to process published events and subscribe requests.codeS3Location(String codeS3Location) The Amazon S3 endpoint where the code is located.create()create(CfnPropertyMixinOptions options) handlerConfigs(CfnChannelNamespacePropsMixin.HandlerConfigsProperty handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.handlerConfigs(IResolvable handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.The name of the channel namespace.publishAuthModes(List<? extends Object> publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.publishAuthModes(IResolvable publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.subscribeAuthModes(List<? extends Object> subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.subscribeAuthModes(IResolvable subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.A set of tags (key-value pairs) for this channel namespace.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelNamespacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChannelNamespacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChannelNamespacePropsMixin.Builder.
-
apiId
TheApiID.- Parameters:
apiId- TheApiID. This parameter is required.- Returns:
this- See Also:
-
codeHandlers
The event handler functions that run custom business logic to process published events and subscribe requests.- Parameters:
codeHandlers- The event handler functions that run custom business logic to process published events and subscribe requests. This parameter is required.- Returns:
this- See Also:
-
codeS3Location
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder codeS3Location(String codeS3Location) The Amazon S3 endpoint where the code is located.- Parameters:
codeS3Location- The Amazon S3 endpoint where the code is located. This parameter is required.- Returns:
this- See Also:
-
handlerConfigs
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder handlerConfigs(IResolvable handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.- Parameters:
handlerConfigs- The configuration for theOnPublishandOnSubscribehandlers. This parameter is required.- Returns:
this- See Also:
-
handlerConfigs
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder handlerConfigs(CfnChannelNamespacePropsMixin.HandlerConfigsProperty handlerConfigs) The configuration for theOnPublishandOnSubscribehandlers.- Parameters:
handlerConfigs- The configuration for theOnPublishandOnSubscribehandlers. This parameter is required.- Returns:
this- See Also:
-
name
The name of the channel namespace.This name must be unique within the
Api.- Parameters:
name- The name of the channel namespace. This parameter is required.- Returns:
this- See Also:
-
publishAuthModes
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder publishAuthModes(IResolvable publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.- Parameters:
publishAuthModes- The authorization mode to use for publishing messages on the channel namespace. This parameter is required.- Returns:
this- See Also:
-
publishAuthModes
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder publishAuthModes(List<? extends Object> publishAuthModes) The authorization mode to use for publishing messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.- Parameters:
publishAuthModes- The authorization mode to use for publishing messages on the channel namespace. This parameter is required.- Returns:
this- See Also:
-
subscribeAuthModes
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder subscribeAuthModes(IResolvable subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.- Parameters:
subscribeAuthModes- The authorization mode to use for subscribing to messages on the channel namespace. This parameter is required.- Returns:
this- See Also:
-
subscribeAuthModes
@Stability(Stable) public CfnChannelNamespacePropsMixin.Builder subscribeAuthModes(List<? extends Object> subscribeAuthModes) The authorization mode to use for subscribing to messages on the channel namespace.This configuration overrides the default
Apiauthorization configuration.- Parameters:
subscribeAuthModes- The authorization mode to use for subscribing to messages on the channel namespace. This parameter is required.- Returns:
this- See Also:
-
tags
A set of tags (key-value pairs) for this channel namespace.- Parameters:
tags- A set of tags (key-value pairs) for this channel namespace. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelNamespacePropsMixin>- Returns:
- a newly built instance of
CfnChannelNamespacePropsMixin.
-