Interface ChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChannelProps.Jsii$Proxy
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder()
.input(input)
.audioSelectors(List.of(AudioSelector.byLanguage("eng", "eng", AudioLanguageSelectionPolicy.STRICT)))
.captionSelectors(List.of(CaptionSelector.embedded("embedded")))
.videoSelector(VideoSelectorSettings.builder()
.colorSpace(VideoColorSpace.HDR10)
.colorSpaceUsage(VideoColorSpaceUsage.FORCE)
.selectBy(VideoSelection.byProgramId(1))
.build())
.build()))
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forChannelPropsstatic final classAn implementation forChannelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelProps.Builderbuilder()default AnywhereSettings(experimental) Anywhere settings for running the channel on AWS Elemental Anywhere.default AvailBlanking(experimental) Settings for blanking video, audio, and captions during ad avails.default AvailSettings(experimental) Ad avail handling configuration.default BlackoutSlate(experimental) Blackout slate configuration.default ChannelClass(experimental) The class of the channel (STANDARD for redundancy, SINGLE_PIPELINE for cost savings).default String(experimental) The engine version for the channel.default String(experimental) The name of the channel.default List<IInputSecurityGroupRef> (experimental) Input security groups to associate with the channel.default List<ColorCorrection> (experimental) Global color correction rules applied to all outputs.default FeatureActivations(experimental) Feature activations for the channel (e.g.default GlobalConfiguration(experimental) Global configuration settings for the channel.default String(experimental) An AWS Elemental Inference feed to send this channel's media to for inference processing.(experimental) The input attachments for this channel.default InputSpecification(experimental) The input specification for this channel.default LinkedChannelSettings(experimental) Linked channel settings for primary/follower channel configurations.default LogLevel(experimental) The log level for the channel.default MaintenanceSettings(experimental) Maintenance window configuration for the channel.default MotionGraphicsConfiguration(experimental) Motion graphics overlay configuration.default NielsenConfiguration(experimental) Nielsen watermark configuration.(experimental) The initial output groups for this channel.default IRolegetRole()(experimental) The IAM role for MediaLive to assume when running this channel.default Scte35SegmentationScope(experimental) Which output groups receive SCTE-35 segmentation cues.getTags()(experimental) Tags to add to the channel.default ThumbnailConfiguration(experimental) Thumbnail generation configuration.default TimecodeConfig(experimental) Timecode configuration for the channel.default VpcOutputSettingsgetVpc()(experimental) VPC output settings.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputs
(experimental) The input attachments for this channel.At least one is required. Additional inputs can be added with
addInput(). -
getOutputGroups
(experimental) The initial output groups for this channel. At least one is required. Additional output groups can be added withaddOutputGroup().A single channel can contain multiple output groups with different codecs (e.g. H.264 and H.265 ladders) sharing the same input.
-
getAnywhereSettings
(experimental) Anywhere settings for running the channel on AWS Elemental Anywhere.Default: - not an Anywhere channel
-
getAvailBlanking
(experimental) Settings for blanking video, audio, and captions during ad avails.Default: - avail blanking disabled
-
getAvailSettings
(experimental) Ad avail handling configuration.Defines how SCTE-35 markers are processed.
Default: - no avail configuration
-
getBlackoutSlate
(experimental) Blackout slate configuration.Controls what is displayed during blackout events.
Default: - blackout slate disabled
-
getChannelClass
(experimental) The class of the channel (STANDARD for redundancy, SINGLE_PIPELINE for cost savings).Default: ChannelClass.SINGLE_PIPELINE
-
getChannelEngineVersion
(experimental) The engine version for the channel.Default: - service default
-
getChannelName
(experimental) The name of the channel.Default: - auto-generated
-
getChannelSecurityGroups
(experimental) Input security groups to associate with the channel.Controls which IP addresses can connect to the channel's outputs (pull-style outputs where downstream systems initiate connections).
Default: - no channel security groups
-
getColorCorrections
(experimental) Global color correction rules applied to all outputs.Default: - no color corrections
-
getFeatureActivations
(experimental) Feature activations for the channel (e.g. Input Prepare schedule actions).Default: - all features disabled
-
getGlobalConfiguration
(experimental) Global configuration settings for the channel.Default: - default global configuration
-
getInferenceFeedArn
(experimental) An AWS Elemental Inference feed to send this channel's media to for inference processing.Future breaking change: this will change when Elemental Inference is released as an L2 construct.
Default: - the channel is not associated to an inference feed
-
getInputSpecification
(experimental) The input specification for this channel.Defines the expected codec, bitrate, and resolution of the inputs, and whether they are standard, CDI, or Elemental Link inputs.
Default: - InputSpecification.standard() (AVC codec, 20 Mbps max, HD resolution)
-
getLinkedChannelSettings
(experimental) Linked channel settings for primary/follower channel configurations.Default: - not a linked channel
-
getLogLevel
(experimental) The log level for the channel.Default: LogLevel.DISABLED
-
getMaintenance
(experimental) Maintenance window configuration for the channel.Default: - default maintenance window
-
getMotionGraphicsConfiguration
@Stability(Experimental) @Nullable default MotionGraphicsConfiguration getMotionGraphicsConfiguration()(experimental) Motion graphics overlay configuration.Default: - motion graphics disabled
-
getNielsenConfiguration
(experimental) Nielsen watermark configuration.Default: - no Nielsen configuration
-
getRole
(experimental) The IAM role for MediaLive to assume when running this channel.[disable-awslint:prefer-ref-interface]
Default: - a role is auto-created with confused-deputy prevention
-
getScte35SegmentationScope
(experimental) Which output groups receive SCTE-35 segmentation cues.Default: - service default
-
getTags
(experimental) Tags to add to the channel.Default: - no tags
-
getThumbnailConfiguration
(experimental) Thumbnail generation configuration.Default: - thumbnails disabled
-
getTimecodeConfig
(experimental) Timecode configuration for the channel.Default: - EMBEDDED source, no sync threshold
-
getVpc
(experimental) VPC output settings.When set, all output endpoints are created in the specified VPC.
Default: - no VPC (outputs use public endpoints)
-
builder
- Returns:
- a
ChannelProps.BuilderofChannelProps
-