Interface CfnChannelNamespaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnChannelNamespaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:28.847Z")
@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") .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnChannelNamespaceProps
static final class
An implementation forCfnChannelNamespaceProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getApiId()
TheApi
ID.default String
The event handler functions that run custom business logic to process published events and subscribe requests.default String
The Amazon S3 endpoint where the code is located.getName()
The name of the channel namespace.default Object
The authorization mode to use for publishing messages on the channel namespace.default Object
The 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
TheApi
ID.- 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:
-
getPublishAuthModes
The authorization mode to use for publishing messages on the channel namespace.This configuration overrides the default
Api
authorization configuration.- See Also:
-
getSubscribeAuthModes
The authorization mode to use for subscribing to messages on the channel namespace.This configuration overrides the default
Api
authorization configuration.- See Also:
-
getTags
A set of tags (key-value pairs) for this channel namespace.- See Also:
-
builder
- Returns:
- a
CfnChannelNamespaceProps.Builder
ofCfnChannelNamespaceProps
-