CfnChannelPropsMixin
- class aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnChannelPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a channel to receive content.
After it’s created, a channel provides static input URLs. These URLs remain the same throughout the lifetime of the channel, regardless of any failures or upgrades that might occur. Use these URLs to configure the outputs of your upstream encoder.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-channel.html
- CloudformationResource:
AWS::MediaPackage::Channel
- 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_mediapackage import mixins as mediapackage_mixins cfn_channel_props_mixin = mediapackage_mixins.CfnChannelPropsMixin(mediapackage_mixins.CfnChannelMixinProps( description="description", egress_access_logs=mediapackage_mixins.CfnChannelPropsMixin.LogConfigurationProperty( log_group_name="logGroupName" ), hls_ingest=mediapackage_mixins.CfnChannelPropsMixin.HlsIngestProperty( ingest_endpoints=[mediapackage_mixins.CfnChannelPropsMixin.IngestEndpointProperty( id="id", password="password", url="url", username="username" )] ), id="id", ingress_access_logs=mediapackage_mixins.CfnChannelPropsMixin.LogConfigurationProperty( log_group_name="logGroupName" ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaPackage::Channel.- Parameters:
props (
Union[CfnChannelMixinProps,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 = ['description', 'egressAccessLogs', 'hlsIngest', 'id', 'ingressAccessLogs', 'tags']
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
HlsIngestProperty
- class CfnChannelPropsMixin.HlsIngestProperty(*, ingest_endpoints=None)
Bases:
objectHLS ingest configuration.
- Parameters:
ingest_endpoints (
Union[IResolvable,Sequence[Union[IResolvable,IngestEndpointProperty,Dict[str,Any]]],None]) – The input URL where the source stream should be sent.- 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_mediapackage import mixins as mediapackage_mixins hls_ingest_property = mediapackage_mixins.CfnChannelPropsMixin.HlsIngestProperty( ingest_endpoints=[mediapackage_mixins.CfnChannelPropsMixin.IngestEndpointProperty( id="id", password="password", url="url", username="username" )] )
Attributes
- ingest_endpoints
The input URL where the source stream should be sent.
IngestEndpointProperty
- class CfnChannelPropsMixin.IngestEndpointProperty(*, id=None, password=None, url=None, username=None)
Bases:
objectAn endpoint for ingesting source content for a channel.
- Parameters:
id (
Optional[str]) – The endpoint identifier.password (
Optional[str]) – The system-generated password for WebDAV input authentication.url (
Optional[str]) – The input URL where the source stream should be sent.username (
Optional[str]) – The system-generated username for WebDAV input authentication.
- 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_mediapackage import mixins as mediapackage_mixins ingest_endpoint_property = mediapackage_mixins.CfnChannelPropsMixin.IngestEndpointProperty( id="id", password="password", url="url", username="username" )
Attributes
- id
The endpoint identifier.
- password
The system-generated password for WebDAV input authentication.
- url
The input URL where the source stream should be sent.
- username
The system-generated username for WebDAV input authentication.
LogConfigurationProperty
- class CfnChannelPropsMixin.LogConfigurationProperty(*, log_group_name=None)
Bases:
objectThe access log configuration parameters for your channel.
- Parameters:
log_group_name (
Optional[str]) – Sets a custom Amazon CloudWatch log group name.- 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_mediapackage import mixins as mediapackage_mixins log_configuration_property = mediapackage_mixins.CfnChannelPropsMixin.LogConfigurationProperty( log_group_name="logGroupName" )
Attributes
- log_group_name
Sets a custom Amazon CloudWatch log group name.