Interface ChannelAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ChannelAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)", date="2026-05-21T17:28:01.169Z") @Stability(Experimental) public interface ChannelAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Represents a Channel defined outside of this stack.

Example:

 Stack stack;
 IChannel channel = Channel.fromChannelAttributes(stack, "ImportedChannel", ChannelAttributes.builder()
         .channelName("MyChannel")
         .channelGroupName("MyChannelGroup")
         .build());
 
  • Method Details

    • getChannelGroupName

      @Stability(Experimental) @NotNull String getChannelGroupName()
      (experimental) The name that describes the channel group.
    • getChannelName

      @Stability(Experimental) @NotNull String getChannelName()
      (experimental) The name that describes the channel.
    • getRegion

      @Stability(Experimental) @Nullable default String getRegion()
      (experimental) The AWS region where the channel lives.

      Required for cross-region imports to construct the correct ARN.

      Default: - the importing stack's region

    • builder

      @Stability(Experimental) static ChannelAttributes.Builder builder()
      Returns:
      a ChannelAttributes.Builder of ChannelAttributes