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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:34.261Z") @Stability(Stable) public class CfnChannel extends CfnResource implements IInspectable, ITaggableV2
The configuration parameters for a channel.

For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide .

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.mediatailor.*;
 CfnChannel cfnChannel = CfnChannel.Builder.create(this, "MyCfnChannel")
         .channelName("channelName")
         .outputs(List.of(RequestOutputItemProperty.builder()
                 .manifestName("manifestName")
                 .sourceGroup("sourceGroup")
                 // the properties below are optional
                 .dashPlaylistSettings(DashPlaylistSettingsProperty.builder()
                         .manifestWindowSeconds(123)
                         .minBufferTimeSeconds(123)
                         .minUpdatePeriodSeconds(123)
                         .suggestedPresentationDelaySeconds(123)
                         .build())
                 .hlsPlaylistSettings(HlsPlaylistSettingsProperty.builder()
                         .adMarkupType(List.of("adMarkupType"))
                         .manifestWindowSeconds(123)
                         .build())
                 .build()))
         .playbackMode("playbackMode")
         // the properties below are optional
         .audiences(List.of("audiences"))
         .fillerSlate(SlateSourceProperty.builder()
                 .sourceLocationName("sourceLocationName")
                 .vodSourceName("vodSourceName")
                 .build())
         .logConfiguration(LogConfigurationForChannelProperty.builder()
                 .logTypes(List.of("logTypes"))
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .tier("tier")
         .timeShiftConfiguration(TimeShiftConfigurationProperty.builder()
                 .maxTimeDelaySeconds(123)
                 .build())
         .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, @NotNull 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. 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()

      The ARN of the channel.

      .
    • getCdkTagManager

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

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

      @Stability(Stable) @NotNull public String getChannelName()
      The name of the channel.
    • setChannelName

      @Stability(Stable) public void setChannelName(@NotNull String value)
      The name of the channel.
    • getOutputs

      @Stability(Stable) @NotNull public Object getOutputs()
      The channel's output properties.
    • setOutputs

      @Stability(Stable) public void setOutputs(@NotNull IResolvable value)
      The channel's output properties.
    • setOutputs

      @Stability(Stable) public void setOutputs(@NotNull List<Object> value)
      The channel's output properties.
    • getPlaybackMode

      @Stability(Stable) @NotNull public String getPlaybackMode()
      The type of playback mode for this channel.
    • setPlaybackMode

      @Stability(Stable) public void setPlaybackMode(@NotNull String value)
      The type of playback mode for this channel.
    • getAudiences

      @Stability(Stable) @Nullable public List<String> getAudiences()
      The list of audiences defined in channel.
    • setAudiences

      @Stability(Stable) public void setAudiences(@Nullable List<String> value)
      The list of audiences defined in channel.
    • getFillerSlate

      @Stability(Stable) @Nullable public Object getFillerSlate()
      The slate used to fill gaps between programs in the schedule.
    • setFillerSlate

      @Stability(Stable) public void setFillerSlate(@Nullable IResolvable value)
      The slate used to fill gaps between programs in the schedule.
    • setFillerSlate

      @Stability(Stable) public void setFillerSlate(@Nullable CfnChannel.SlateSourceProperty value)
      The slate used to fill gaps between programs in the schedule.
    • getLogConfiguration

      @Stability(Stable) @Nullable public Object getLogConfiguration()
      The log configuration.
    • setLogConfiguration

      @Stability(Stable) public void setLogConfiguration(@Nullable IResolvable value)
      The log configuration.
    • setLogConfiguration

      @Stability(Stable) public void setLogConfiguration(@Nullable CfnChannel.LogConfigurationForChannelProperty value)
      The log configuration.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags to assign to the channel.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags to assign to the channel.
    • getTier

      @Stability(Stable) @Nullable public String getTier()
      The tier for this channel.
    • setTier

      @Stability(Stable) public void setTier(@Nullable String value)
      The tier for this channel.
    • getTimeShiftConfiguration

      @Stability(Stable) @Nullable public Object getTimeShiftConfiguration()
      The configuration for time-shifted viewing.
    • setTimeShiftConfiguration

      @Stability(Stable) public void setTimeShiftConfiguration(@Nullable IResolvable value)
      The configuration for time-shifted viewing.
    • setTimeShiftConfiguration

      @Stability(Stable) public void setTimeShiftConfiguration(@Nullable CfnChannel.TimeShiftConfigurationProperty value)
      The configuration for time-shifted viewing.