CfnVodSourcePropsMixin
- class aws_cdk.mixins_preview.aws_mediatailor.mixins.CfnVodSourcePropsMixin(props, *, strategy=None)
Bases:
MixinThe VOD source configuration parameters.
- See:
- CloudformationResource:
AWS::MediaTailor::VodSource
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_mediatailor import mixins as mediatailor_mixins cfn_vod_source_props_mixin = mediatailor_mixins.CfnVodSourcePropsMixin(mediatailor_mixins.CfnVodSourceMixinProps( http_package_configurations=[mediatailor_mixins.CfnVodSourcePropsMixin.HttpPackageConfigurationProperty( path="path", source_group="sourceGroup", type="type" )], source_location_name="sourceLocationName", tags=[CfnTag( key="key", value="value" )], vod_source_name="vodSourceName" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaTailor::VodSource.- Parameters:
props (
Union[CfnVodSourceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['httpPackageConfigurations', 'sourceLocationName', 'tags', 'vodSourceName']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
HttpPackageConfigurationProperty
- class CfnVodSourcePropsMixin.HttpPackageConfigurationProperty(*, path=None, source_group=None, type=None)
Bases:
objectThe HTTP package configuration properties for the requested VOD source.
- Parameters:
path (
Optional[str]) – The relative path to the URL for this VOD source. This is combined withSourceLocation::HttpConfiguration::BaseUrlto form a valid URL.source_group (
Optional[str]) – The name of the source group. This has to match one of theChannel::Outputs::SourceGroup.type (
Optional[str]) – The streaming protocol for this package configuration. Supported values areHLSandDASH.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_mediatailor import mixins as mediatailor_mixins http_package_configuration_property = mediatailor_mixins.CfnVodSourcePropsMixin.HttpPackageConfigurationProperty( path="path", source_group="sourceGroup", type="type" )
Attributes
- path
The relative path to the URL for this VOD source.
This is combined with
SourceLocation::HttpConfiguration::BaseUrlto form a valid URL.
- source_group
The name of the source group.
This has to match one of the
Channel::Outputs::SourceGroup.
- type
The streaming protocol for this package configuration.
Supported values are
HLSandDASH.