java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ivs.alpha.Channel
All Implemented Interfaces:
IResource, IChannel, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:35.514Z") @Stability(Experimental) public class Channel extends Resource implements IChannel
(experimental) A new IVS channel.

Example:

 Channel myChannel = new Channel(this, "Channel");
 
  • Constructor Details

    • Channel

      protected Channel(software.amazon.jsii.JsiiObjectRef objRef)
    • Channel

      protected Channel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Channel

      @Stability(Experimental) public Channel(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ChannelProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • Channel

      @Stability(Experimental) public Channel(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromChannelArn

      @Stability(Experimental) @NotNull public static IChannel fromChannelArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String channelArn)
      (experimental) Import an existing channel.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      channelArn - This parameter is required.
    • addStreamKey

      @Stability(Experimental) @NotNull public StreamKey addStreamKey(@NotNull String id)
      (experimental) Adds a stream key for this IVS Channel.

      Specified by:
      addStreamKey in interface IChannel
      Parameters:
      id - This parameter is required.
    • getChannelArn

      @Stability(Experimental) @NotNull public String getChannelArn()
      (experimental) The channel ARN.

      For example: arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh

      Specified by:
      getChannelArn in interface IChannel
    • getChannelIngestEndpoint

      @Stability(Experimental) @NotNull public String getChannelIngestEndpoint()
      (experimental) Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

      For example: a1b2c3d4e5f6.global-contribute.live-video.net

    • getChannelPlaybackUrl

      @Stability(Experimental) @NotNull public String getChannelPlaybackUrl()
      (experimental) Channel playback URL.

      For example: https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8