Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ChannelProps Struct
Properties for creating a MediaLive Channel.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{
input,
audioSelectors: [
medialive.AudioSelector.byLanguage('eng', 'eng', medialive.AudioLanguageSelectionPolicy.STRICT),
],
captionSelectors: [
medialive.CaptionSelector.embedded('embedded'),
],
videoSelector: {
colorSpace: medialive.VideoColorSpace.HDR10,
colorSpaceUsage: medialive.VideoColorSpaceUsage.FORCE,
selectBy: medialive.VideoSelection.byProgramId(1),
},
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
anywhereSettingsAnywhereSettingsanywhere_settingsAnywhereSettingsanywhereSettingsAnywhereSettingsAnywhereSettingsAnywhereSettingsAnywhereSettingsAnywhereSettings= not an Anywhere channel#availBlankingAvailBlankingavail_blankingAvailBlankingavailBlankingAvailBlankingAvailBlankingAvailBlankingAvailBlankingAvailBlanking= avail blanking disabled#availSettingsAvailSettingsavail_settingsAvailSettingsavailSettingsAvailSettingsAvailSettingsAvailSettingsAvailSettingsAvailSettings= no avail configuration#Defines how SCTE-35 markers are processed.
blackoutSlateBlackoutSlateblackout_slateBlackoutSlateblackoutSlateBlackoutSlateBlackoutSlateBlackoutSlateBlackoutSlateBlackoutSlate= blackout slate disabled#Controls what is displayed during blackout events.
channelClassChannelClasschannel_classChannelClasschannelClassChannelClassChannelClassChannelClassChannelClassChannelClass= ChannelClass.SINGLE_PIPELINE#channelEngineVersionstringchannel_engine_versionstrchannelEngineVersionStringChannelEngineVersionstringChannelEngineVersion*string= service default#channelNamestringchannel_namestrchannelNameStringChannelNamestringChannelName*string= auto-generated#channelSecurityGroupsIInputSecurityGroupRef[]channel_security_groupstyping.List[IInputSecurityGroupRef]channelSecurityGroupsList<IInputSecurityGroupRef>ChannelSecurityGroupsIInputSecurityGroupRef[]ChannelSecurityGroups*[]IInputSecurityGroupRef= no channel security groups#Controls which IP addresses can connect to the channel's outputs (pull-style outputs where downstream systems initiate connections).
colorCorrectionsColorCorrection[]color_correctionstyping.List[ColorCorrection]colorCorrectionsList<ColorCorrection>ColorCorrectionsColorCorrection[]ColorCorrections*[]ColorCorrection= no color corrections#featureActivationsFeatureActivationsfeature_activationsFeatureActivationsfeatureActivationsFeatureActivationsFeatureActivationsFeatureActivationsFeatureActivationsFeatureActivations= all features disabled#globalConfigurationGlobalConfigurationglobal_configurationGlobalConfigurationglobalConfigurationGlobalConfigurationGlobalConfigurationGlobalConfigurationGlobalConfigurationGlobalConfiguration= default global configuration#inferenceFeedArnstringinference_feed_arnstrinferenceFeedArnStringInferenceFeedArnstringInferenceFeedArn*string= the channel is not associated to…#Future breaking change: this will change when Elemental Inference is released as an L2 construct.
default
Default: the channel is not associated to an inference feed
inputsInputAttachment[]inputstyping.List[InputAttachment]inputsList<InputAttachment>InputsInputAttachment[]Inputs*[]InputAttachmentrequired#At least one is required. Additional inputs can be added with addInput().
inputSpecificationInputSpecificationinput_specificationInputSpecificationinputSpecificationInputSpecificationInputSpecificationInputSpecificationInputSpecificationInputSpecification= InputSpecification.standard() (A…#Defines the expected codec, bitrate, and resolution of the inputs, and whether they are standard, CDI, or Elemental Link inputs.
default
Default: InputSpecification.standard() (AVC codec, 20 Mbps max, HD resolution)
linkedChannelSettingsLinkedChannelSettingslinked_channel_settingsLinkedChannelSettingslinkedChannelSettingsLinkedChannelSettingsLinkedChannelSettingsLinkedChannelSettingsLinkedChannelSettingsLinkedChannelSettings= not a linked channel#logLevelLogLevellog_levelLogLevellogLevelLogLevelLogLevelLogLevelLogLevelLogLevel= LogLevel.DISABLED#maintenanceMaintenanceSettingsmaintenanceMaintenanceSettingsmaintenanceMaintenanceSettingsMaintenanceMaintenanceSettingsMaintenanceMaintenanceSettings= default maintenance window#motionGraphicsConfigurationMotionGraphicsConfigurationmotion_graphics_configurationMotionGraphicsConfigurationmotionGraphicsConfigurationMotionGraphicsConfigurationMotionGraphicsConfigurationMotionGraphicsConfigurationMotionGraphicsConfigurationMotionGraphicsConfiguration= motion graphics disabled#nielsenConfigurationNielsenConfigurationnielsen_configurationNielsenConfigurationnielsenConfigurationNielsenConfigurationNielsenConfigurationNielsenConfigurationNielsenConfigurationNielsenConfiguration= no Nielsen configuration#outputGroupsOutputGroupConfiguration[]output_groupstyping.List[OutputGroupConfiguration]outputGroupsList<OutputGroupConfiguration>OutputGroupsOutputGroupConfiguration[]OutputGroups*[]OutputGroupConfigurationrequired#A single channel can contain multiple output groups with different codecs (e.g. H.264 and H.265 ladders) sharing the same input.
[disable-awslint:prefer-ref-interface]
default
Default: a role is auto-created with confused-deputy prevention
scte35SegmentationScopeScte35SegmentationScopescte35_segmentation_scopeScte35SegmentationScopescte35SegmentationScopeScte35SegmentationScopeScte35SegmentationScopeScte35SegmentationScopeScte35SegmentationScopeScte35SegmentationScope= service default#tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string= no tags#thumbnailConfigurationThumbnailConfigurationthumbnail_configurationThumbnailConfigurationthumbnailConfigurationThumbnailConfigurationThumbnailConfigurationThumbnailConfigurationThumbnailConfigurationThumbnailConfiguration= thumbnails disabled#timecodeConfigTimecodeConfigtimecode_configTimecodeConfigtimecodeConfigTimecodeConfigTimecodeConfigTimecodeConfigTimecodeConfigTimecodeConfig= EMBEDDED source, no sync thresho…#default
Default: EMBEDDED source, no sync threshold
vpcVpcOutputSettingsvpcVpcOutputSettingsvpcVpcOutputSettingsVpcVpcOutputSettingsVpcVpcOutputSettings= no VPC (outputs use public endpo…#When set, all output endpoints are created in the specified VPC.
default
Default: no VPC (outputs use public endpoints)