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
,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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnChannel
.static interface
Dash manifest configuration parameters.static interface
HLS playlist configuration parameters.static interface
The log configuration for the channel.static interface
The output configuration for this channel.static interface
Slate VOD source configuration.static interface
The configuration for time-shifted viewing.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnChannel
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnChannel
(software.amazon.jsii.JsiiObjectRef objRef) CfnChannel
(software.constructs.Construct scope, String id, CfnChannelProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAudiences
(List<String> value) The list of audiences defined in channel.void
setChannelName
(String value) The name of the channel.void
setFillerSlate
(IResolvable value) The slate used to fill gaps between programs in the schedule.void
The slate used to fill gaps between programs in the schedule.void
setLogConfiguration
(IResolvable value) The log configuration.void
The log configuration.void
setOutputs
(List<Object> value) The channel's output properties.void
setOutputs
(IResolvable value) The channel's output properties.void
setPlaybackMode
(String value) The type of playback mode for this channel.void
The tags to assign to the channel.void
The tier for this channel.void
The configuration for time-shifted viewing.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getChannelName
The name of the channel. -
setChannelName
The name of the channel. -
getOutputs
The channel's output properties. -
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. -
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. -
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. -
setTimeShiftConfiguration
The configuration for time-shifted viewing. -
setTimeShiftConfiguration
@Stability(Stable) public void setTimeShiftConfiguration(@Nullable CfnChannel.TimeShiftConfigurationProperty value) The configuration for time-shifted viewing.
-