Class CfnChannel

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-24T21:15:54.941Z") @Stability(Stable) public class CfnChannel extends CfnResource implements IInspectable, ITaggable
The AWS::IVS::Channel resource specifies an channel.

A channel stores configuration information related to your live stream. For more information, see CreateChannel in the Amazon IVS Low-Latency Streaming API Reference .

By default, the IVS API CreateChannel endpoint creates a stream key in addition to a channel. The Channel resource does not create a stream key; to create a stream key, use the StreamKey resource instead.

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.ivs.*;
 CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel")
         .authorized(false)
         .containerFormat("containerFormat")
         .insecureIngest(false)
         .latencyMode("latencyMode")
         .multitrackInputConfiguration(MultitrackInputConfigurationProperty.builder()
                 .enabled(false)
                 .maximumResolution("maximumResolution")
                 .policy("policy")
                 .build())
         .name("name")
         .preset("preset")
         .recordingConfigurationArn("recordingConfigurationArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .type("type")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnChannel

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

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

      @Stability(Stable) public CfnChannel(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnChannelProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnChannel

      @Stability(Stable) public CfnChannel(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      Channel ARN is automatically generated on creation and assigned as the unique identifier.
    • getAttrIngestEndpoint

      @Stability(Stable) @NotNull public String getAttrIngestEndpoint()
      Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
    • getAttrPlaybackUrl

      @Stability(Stable) @NotNull public String getAttrPlaybackUrl()
      Channel Playback URL.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAuthorized

      @Stability(Stable) @Nullable public Object getAuthorized()
      Whether the channel is authorized.
    • setAuthorized

      @Stability(Stable) public void setAuthorized(@Nullable Boolean value)
      Whether the channel is authorized.
    • setAuthorized

      @Stability(Stable) public void setAuthorized(@Nullable IResolvable value)
      Whether the channel is authorized.
    • getContainerFormat

      @Stability(Stable) @Nullable public String getContainerFormat()
      Indicates which content-packaging format is used (MPEG-TS or fMP4).
    • setContainerFormat

      @Stability(Stable) public void setContainerFormat(@Nullable String value)
      Indicates which content-packaging format is used (MPEG-TS or fMP4).
    • getInsecureIngest

      @Stability(Stable) @Nullable public Object getInsecureIngest()
      Whether the channel allows insecure ingest.
    • setInsecureIngest

      @Stability(Stable) public void setInsecureIngest(@Nullable Boolean value)
      Whether the channel allows insecure ingest.
    • setInsecureIngest

      @Stability(Stable) public void setInsecureIngest(@Nullable IResolvable value)
      Whether the channel allows insecure ingest.
    • getLatencyMode

      @Stability(Stable) @Nullable public String getLatencyMode()
      Channel latency mode.
    • setLatencyMode

      @Stability(Stable) public void setLatencyMode(@Nullable String value)
      Channel latency mode.
    • getMultitrackInputConfiguration

      @Stability(Stable) @Nullable public Object getMultitrackInputConfiguration()
      Object specifying multitrack input configuration.
    • setMultitrackInputConfiguration

      @Stability(Stable) public void setMultitrackInputConfiguration(@Nullable IResolvable value)
      Object specifying multitrack input configuration.
    • setMultitrackInputConfiguration

      @Stability(Stable) public void setMultitrackInputConfiguration(@Nullable CfnChannel.MultitrackInputConfigurationProperty value)
      Object specifying multitrack input configuration.
    • getName

      @Stability(Stable) @Nullable public String getName()
      Channel.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      Channel.
    • getPreset

      @Stability(Stable) @Nullable public String getPreset()
      Optional transcode preset for the channel.
    • setPreset

      @Stability(Stable) public void setPreset(@Nullable String value)
      Optional transcode preset for the channel.
    • getRecordingConfigurationArn

      @Stability(Stable) @Nullable public String getRecordingConfigurationArn()
      Recording Configuration ARN.
    • setRecordingConfigurationArn

      @Stability(Stable) public void setRecordingConfigurationArn(@Nullable String value)
      Recording Configuration ARN.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A list of key-value pairs that contain metadata for the asset model.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A list of key-value pairs that contain metadata for the asset model.
    • getType

      @Stability(Stable) @Nullable public String getType()
      Channel type, which determines the allowable resolution and bitrate.
    • setType

      @Stability(Stable) public void setType(@Nullable String value)
      Channel type, which determines the allowable resolution and bitrate.