CfnLiveSourcePropsMixin

class aws_cdk.mixins_preview.aws_mediatailor.mixins.CfnLiveSourcePropsMixin(props, *, strategy=None)

Bases: Mixin

Live source configuration parameters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-livesource.html

CloudformationResource:

AWS::MediaTailor::LiveSource

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_live_source_props_mixin = mediatailor_mixins.CfnLiveSourcePropsMixin(mediatailor_mixins.CfnLiveSourceMixinProps(
    http_package_configurations=[mediatailor_mixins.CfnLiveSourcePropsMixin.HttpPackageConfigurationProperty(
        path="path",
        source_group="sourceGroup",
        type="type"
    )],
    live_source_name="liveSourceName",
    source_location_name="sourceLocationName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::MediaTailor::LiveSource.

Parameters:
  • props (Union[CfnLiveSourceMixinProps, 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:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['httpPackageConfigurations', 'liveSourceName', 'sourceLocationName', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

HttpPackageConfigurationProperty

class CfnLiveSourcePropsMixin.HttpPackageConfigurationProperty(*, path=None, source_group=None, type=None)

Bases: object

The 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 with SourceLocation::HttpConfiguration::BaseUrl to form a valid URL.

  • source_group (Optional[str]) – The name of the source group. This has to match one of the Channel::Outputs::SourceGroup .

  • type (Optional[str]) – The streaming protocol for this package configuration. Supported values are HLS and DASH .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-livesource-httppackageconfiguration.html

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.CfnLiveSourcePropsMixin.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::BaseUrl to form a valid URL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-livesource-httppackageconfiguration.html#cfn-mediatailor-livesource-httppackageconfiguration-path

source_group

The name of the source group.

This has to match one of the Channel::Outputs::SourceGroup .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-livesource-httppackageconfiguration.html#cfn-mediatailor-livesource-httppackageconfiguration-sourcegroup

type

The streaming protocol for this package configuration.

Supported values are HLS and DASH .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-livesource-httppackageconfiguration.html#cfn-mediatailor-livesource-httppackageconfiguration-type