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-11-06T23:25:04.390Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnChannelNamespacePropsstatic final classAn implementation forCfnChannelNamespaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getApiId()AppSync Api Id that this Channel Namespace belongs to.default StringString of APPSYNC_JS code to be used by the handlers.default StringThe Amazon S3 endpoint where the code is located.getName()Namespace indentifier.default Objectdefault ObjectgetTags()An arbitrary set of tags (key-value pairs) for this AppSync API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
AppSync Api Id that this Channel Namespace belongs to.- See Also:
-
getName
Namespace indentifier.- See Also:
-
getCodeHandlers
String of APPSYNC_JS code to be used by the handlers.- See Also:
-
getCodeS3Location
The Amazon S3 endpoint where the code is located.- See Also:
-
getPublishAuthModes
- See Also:
-
getSubscribeAuthModes
- See Also:
-
getTags
An arbitrary set of tags (key-value pairs) for this AppSync API.- See Also:
-
builder
- Returns:
- a
CfnChannelNamespaceProps.BuilderofCfnChannelNamespaceProps
-