Class CfnChannel
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediatailor.CfnChannel
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IChannelRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:40.519Z")
@Stability(Stable)
public class CfnChannel
extends CfnResource
implements IInspectable, IChannelRef, 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnChannel.static interfaceDash manifest configuration parameters.static interfaceHLS playlist configuration parameters.static interfaceThe log configuration for the channel.static interfaceThe output configuration for this channel.static interfaceSlate VOD source configuration.static interfaceThe configuration for time-shifted viewing.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mediatailor.IChannelRef
IChannelRef.Jsii$Default, IChannelRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnChannel(software.amazon.jsii.JsiiObjectRef objRef) CfnChannel(software.constructs.Construct scope, String id, CfnChannelProps props) Create a newAWS::MediaTailor::Channel. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForChannel(IChannelRef resource) static IChannelReffromChannelArn(software.constructs.Construct scope, String id, String arn) Creates a new IChannelRef from an ARN.static IChannelReffromChannelName(software.constructs.Construct scope, String id, String channelName) Creates a new IChannelRef from a channelName.The ARN of the channel.The list of audiences defined in channel.Tag Manager which manages the tags for this resource.The name of the channel.A reference to a Channel resource.The slate used to fill gaps between programs in the schedule.The log configuration.The channel's output properties.The type of playback mode for this channel.getTags()The tags to assign to the channel.getTier()The tier for this channel.The configuration for time-shifted viewing.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnChannel.renderProperties(Map<String, Object> props) voidsetAudiences(List<String> value) The list of audiences defined in channel.voidsetChannelName(String value) The name of the channel.voidsetFillerSlate(IResolvable value) The slate used to fill gaps between programs in the schedule.voidThe slate used to fill gaps between programs in the schedule.voidsetLogConfiguration(IResolvable value) The log configuration.voidThe log configuration.voidsetOutputs(List<Object> value) The channel's output properties.voidsetOutputs(IResolvable value) The channel's output properties.voidsetPlaybackMode(String value) The type of playback mode for this channel.voidThe tags to assign to the channel.voidThe tier for this channel.voidThe configuration for time-shifted viewing.voidThe configuration for time-shifted viewing.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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) Create a newAWS::MediaTailor::Channel.- 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
-
arnForChannel
- Parameters:
resource- This parameter is required.
-
fromChannelArn
@Stability(Stable) @NotNull public static IChannelRef fromChannelArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IChannelRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromChannelName
@Stability(Stable) @NotNull public static IChannelRef fromChannelName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String channelName) Creates a new IChannelRef from a channelName.- Parameters:
scope- This parameter is required.id- This parameter is required.channelName- This parameter is required.
-
isCfnChannel
Checks whether the given object is a CfnChannel.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the channel.
. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getChannelRef
A reference to a Channel resource.- Specified by:
getChannelRefin interfaceIChannelRef
-
getChannelName
The name of the channel. -
setChannelName
The name of the channel. -
getOutputs
The channel's output properties.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannel.RequestOutputItemProperty> -
setOutputs
The channel's output properties. -
setOutputs
The channel's output properties. -
getPlaybackMode
The type of playback mode for this channel. -
setPlaybackMode
The type of playback mode for this channel. -
getAudiences
The list of audiences defined in channel. -
setAudiences
The list of audiences defined in channel. -
getFillerSlate
The slate used to fill gaps between programs in the schedule.Returns union: either
IResolvableorCfnChannel.SlateSourceProperty -
setFillerSlate
The slate used to fill gaps between programs in the schedule. -
setFillerSlate
The slate used to fill gaps between programs in the schedule. -
getLogConfiguration
The log configuration.Returns union: either
IResolvableorCfnChannel.LogConfigurationForChannelProperty -
setLogConfiguration
The log configuration. -
setLogConfiguration
@Stability(Stable) public void setLogConfiguration(@Nullable CfnChannel.LogConfigurationForChannelProperty value) The log configuration. -
getTags
The tags to assign to the channel. -
setTags
The tags to assign to the channel. -
getTier
The tier for this channel. -
setTier
The tier for this channel. -
getTimeShiftConfiguration
The configuration for time-shifted viewing.Returns union: either
IResolvableorCfnChannel.TimeShiftConfigurationProperty -
setTimeShiftConfiguration
The configuration for time-shifted viewing. -
setTimeShiftConfiguration
@Stability(Stable) public void setTimeShiftConfiguration(@Nullable CfnChannel.TimeShiftConfigurationProperty value) The configuration for time-shifted viewing.
-