InputConfiguration
- class aws_cdk.aws_mediapackagev2_alpha.InputConfiguration(*args: Any, **kwargs)
Bases:
object(experimental) Input configuration for a MediaPackage V2 Channel.
Use the static factory methods to create instances:
InputConfiguration.hls() for HLS input
InputConfiguration.cmaf() for CMAF input with optional CMAF-specific features
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack group = ChannelGroup(stack, "MyChannelGroup", channel_group_name="my-test-channel-group" ) channel = Channel(stack, "MyChannel", channel_group=group, channel_name="my-testchannel", input=InputConfiguration.cmaf() ) endpoint = OriginEndpoint(stack, "MyOriginEndpoint", channel=channel, origin_endpoint_name="my-test-endpoint", segment=Segment.cmaf(), manifests=[Manifest.hls( manifest_name="index" )] )
Attributes
- input_switch_configuration
(experimental) Input switch configuration (CMAF only).
- Stability:
experimental
- input_type
(experimental) The input type (HLS or CMAF).
- Stability:
experimental
- output_headers
(experimental) Output headers configuration (CMAF only).
- Stability:
experimental
Static Methods
- classmethod cmaf(*, input_switch_configuration=None, output_headers=None)
(experimental) Create a CMAF input configuration.
- Parameters:
input_switch_configuration (
Union[InputSwitchConfiguration,Dict[str,Any],None]) – (experimental) The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. Default: No customized input switch configuration addedoutput_headers (
Optional[Sequence[HeadersCMSD]]) – (experimental) The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. Default: none
- Stability:
experimental
- Return type:
- classmethod hls()
(experimental) Create an HLS input configuration.
- Stability:
experimental
- Return type: