aws-cdk-lib 2.206.0__py3-none-any.whl → 2.208.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +96 -15
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.206.0.jsii.tgz → aws-cdk-lib@2.208.0.jsii.tgz} +0 -0
- aws_cdk/aws_aiops/__init__.py +70 -76
- aws_cdk/aws_amazonmq/__init__.py +8 -18
- aws_cdk/aws_appstream/__init__.py +36 -4
- aws_cdk/aws_autoscaling/__init__.py +20 -0
- aws_cdk/aws_bedrock/__init__.py +317 -142
- aws_cdk/aws_certificatemanager/__init__.py +48 -3
- aws_cdk/aws_cleanrooms/__init__.py +6 -2
- aws_cdk/aws_cloudformation/__init__.py +28 -15
- aws_cdk/aws_cloudfront/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +574 -33
- aws_cdk/aws_connect/__init__.py +107 -3
- aws_cdk/aws_customerprofiles/__init__.py +27 -22
- aws_cdk/aws_datasync/__init__.py +14 -15
- aws_cdk/aws_docdb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +59 -13
- aws_cdk/aws_ecs/__init__.py +185 -47
- aws_cdk/aws_events/__init__.py +142 -0
- aws_cdk/aws_gamelift/__init__.py +2 -2
- aws_cdk/aws_guardduty/__init__.py +86 -0
- aws_cdk/aws_iotsitewise/__init__.py +13 -9
- aws_cdk/aws_kinesisfirehose/__init__.py +377 -4
- aws_cdk/aws_kms/__init__.py +19 -17
- aws_cdk/aws_logs/__init__.py +4775 -764
- aws_cdk/aws_mediapackagev2/__init__.py +950 -48
- aws_cdk/aws_omics/__init__.py +13 -10
- aws_cdk/aws_opsworkscm/__init__.py +2 -4
- aws_cdk/aws_quicksight/__init__.py +111 -4
- aws_cdk/aws_rds/__init__.py +358 -27
- aws_cdk/aws_s3/__init__.py +781 -8
- aws_cdk/aws_s3express/__init__.py +61 -3
- aws_cdk/aws_s3tables/__init__.py +254 -0
- aws_cdk/aws_sagemaker/__init__.py +527 -140
- aws_cdk/aws_ssm/__init__.py +106 -33
- aws_cdk/aws_transfer/__init__.py +70 -11
- aws_cdk/aws_wisdom/__init__.py +1185 -100
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/RECORD +44 -44
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.206.0.dist-info → aws_cdk_lib-2.208.0.dist-info}/top_level.txt +0 -0
|
@@ -141,7 +141,7 @@ class CfnChannel(
|
|
|
141
141
|
:param input_switch_configuration: The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
|
|
142
142
|
:param input_type: The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: - ``HLS`` - The HLS streaming specification (which defines M3U8 manifests and TS segments). - ``CMAF`` - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
|
|
143
143
|
:param output_header_configuration: The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
|
|
144
|
-
:param tags:
|
|
144
|
+
:param tags:
|
|
145
145
|
'''
|
|
146
146
|
if __debug__:
|
|
147
147
|
type_hints = typing.get_type_hints(_typecheckingstub__f5f12d43fb05232f03795c27e5dde1f408f5762e93edacb27e01efb9e0e3c7c1)
|
|
@@ -219,7 +219,8 @@ class CfnChannel(
|
|
|
219
219
|
@builtins.property
|
|
220
220
|
@jsii.member(jsii_name="attrIngestEndpointUrls")
|
|
221
221
|
def attr_ingest_endpoint_urls(self) -> typing.List[builtins.str]:
|
|
222
|
-
'''
|
|
222
|
+
'''The ingest domain URL where the source stream should be sent.
|
|
223
|
+
|
|
223
224
|
:cloudformationAttribute: IngestEndpointUrls
|
|
224
225
|
'''
|
|
225
226
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrIngestEndpointUrls"))
|
|
@@ -335,7 +336,6 @@ class CfnChannel(
|
|
|
335
336
|
@builtins.property
|
|
336
337
|
@jsii.member(jsii_name="tags")
|
|
337
338
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
338
|
-
'''The tags associated with the channel.'''
|
|
339
339
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
340
340
|
|
|
341
341
|
@tags.setter
|
|
@@ -1059,7 +1059,7 @@ class CfnChannelProps:
|
|
|
1059
1059
|
:param input_switch_configuration: The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
|
|
1060
1060
|
:param input_type: The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: - ``HLS`` - The HLS streaming specification (which defines M3U8 manifests and TS segments). - ``CMAF`` - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
|
|
1061
1061
|
:param output_header_configuration: The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
|
|
1062
|
-
:param tags:
|
|
1062
|
+
:param tags:
|
|
1063
1063
|
|
|
1064
1064
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html
|
|
1065
1065
|
:exampleMetadata: fixture=_generated
|
|
@@ -1182,8 +1182,7 @@ class CfnChannelProps:
|
|
|
1182
1182
|
|
|
1183
1183
|
@builtins.property
|
|
1184
1184
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1185
|
-
'''
|
|
1186
|
-
|
|
1185
|
+
'''
|
|
1187
1186
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-tags
|
|
1188
1187
|
'''
|
|
1189
1188
|
result = self._values.get("tags")
|
|
@@ -1230,7 +1229,29 @@ class CfnOriginEndpoint(
|
|
|
1230
1229
|
manifest_name="manifestName",
|
|
1231
1230
|
|
|
1232
1231
|
# the properties below are optional
|
|
1232
|
+
base_urls=[mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty(
|
|
1233
|
+
url="url",
|
|
1234
|
+
|
|
1235
|
+
# the properties below are optional
|
|
1236
|
+
dvb_priority=123,
|
|
1237
|
+
dvb_weight=123,
|
|
1238
|
+
service_location="serviceLocation"
|
|
1239
|
+
)],
|
|
1240
|
+
compactness="compactness",
|
|
1233
1241
|
drm_signaling="drmSignaling",
|
|
1242
|
+
dvb_settings=mediapackagev2.CfnOriginEndpoint.DashDvbSettingsProperty(
|
|
1243
|
+
error_metrics=[mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty(
|
|
1244
|
+
reporting_url="reportingUrl",
|
|
1245
|
+
|
|
1246
|
+
# the properties below are optional
|
|
1247
|
+
probability=123
|
|
1248
|
+
)],
|
|
1249
|
+
font_download=mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty(
|
|
1250
|
+
font_family="fontFamily",
|
|
1251
|
+
mime_type="mimeType",
|
|
1252
|
+
url="url"
|
|
1253
|
+
)
|
|
1254
|
+
),
|
|
1234
1255
|
filter_configuration=mediapackagev2.CfnOriginEndpoint.FilterConfigurationProperty(
|
|
1235
1256
|
clip_start_time="clipStartTime",
|
|
1236
1257
|
end="end",
|
|
@@ -1242,10 +1263,23 @@ class CfnOriginEndpoint(
|
|
|
1242
1263
|
min_buffer_time_seconds=123,
|
|
1243
1264
|
min_update_period_seconds=123,
|
|
1244
1265
|
period_triggers=["periodTriggers"],
|
|
1266
|
+
profiles=["profiles"],
|
|
1267
|
+
program_information=mediapackagev2.CfnOriginEndpoint.DashProgramInformationProperty(
|
|
1268
|
+
copyright="copyright",
|
|
1269
|
+
language_code="languageCode",
|
|
1270
|
+
more_information_url="moreInformationUrl",
|
|
1271
|
+
source="source",
|
|
1272
|
+
title="title"
|
|
1273
|
+
),
|
|
1245
1274
|
scte_dash=mediapackagev2.CfnOriginEndpoint.ScteDashProperty(
|
|
1246
1275
|
ad_marker_dash="adMarkerDash"
|
|
1247
1276
|
),
|
|
1248
1277
|
segment_template_format="segmentTemplateFormat",
|
|
1278
|
+
subtitle_configuration=mediapackagev2.CfnOriginEndpoint.DashSubtitleConfigurationProperty(
|
|
1279
|
+
ttml_configuration=mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
|
|
1280
|
+
ttml_profile="ttmlProfile"
|
|
1281
|
+
)
|
|
1282
|
+
),
|
|
1249
1283
|
suggested_presentation_delay_seconds=123,
|
|
1250
1284
|
utc_timing=mediapackagev2.CfnOriginEndpoint.DashUtcTimingProperty(
|
|
1251
1285
|
timing_mode="timingMode",
|
|
@@ -1452,7 +1486,8 @@ class CfnOriginEndpoint(
|
|
|
1452
1486
|
@builtins.property
|
|
1453
1487
|
@jsii.member(jsii_name="attrDashManifestUrls")
|
|
1454
1488
|
def attr_dash_manifest_urls(self) -> typing.List[builtins.str]:
|
|
1455
|
-
'''
|
|
1489
|
+
'''The egress domain URL for stream delivery from MediaPackage.
|
|
1490
|
+
|
|
1456
1491
|
:cloudformationAttribute: DashManifestUrls
|
|
1457
1492
|
'''
|
|
1458
1493
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrDashManifestUrls"))
|
|
@@ -1460,7 +1495,8 @@ class CfnOriginEndpoint(
|
|
|
1460
1495
|
@builtins.property
|
|
1461
1496
|
@jsii.member(jsii_name="attrHlsManifestUrls")
|
|
1462
1497
|
def attr_hls_manifest_urls(self) -> typing.List[builtins.str]:
|
|
1463
|
-
'''
|
|
1498
|
+
'''The egress domain URL for stream delivery from MediaPackage.
|
|
1499
|
+
|
|
1464
1500
|
:cloudformationAttribute: HlsManifestUrls
|
|
1465
1501
|
'''
|
|
1466
1502
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrHlsManifestUrls"))
|
|
@@ -1468,7 +1504,8 @@ class CfnOriginEndpoint(
|
|
|
1468
1504
|
@builtins.property
|
|
1469
1505
|
@jsii.member(jsii_name="attrLowLatencyHlsManifestUrls")
|
|
1470
1506
|
def attr_low_latency_hls_manifest_urls(self) -> typing.List[builtins.str]:
|
|
1471
|
-
'''
|
|
1507
|
+
'''The egress domain URL for stream delivery from MediaPackage.
|
|
1508
|
+
|
|
1472
1509
|
:cloudformationAttribute: LowLatencyHlsManifestUrls
|
|
1473
1510
|
'''
|
|
1474
1511
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "attrLowLatencyHlsManifestUrls"))
|
|
@@ -1674,19 +1711,397 @@ class CfnOriginEndpoint(
|
|
|
1674
1711
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1675
1712
|
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
1676
1713
|
|
|
1714
|
+
@jsii.data_type(
|
|
1715
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty",
|
|
1716
|
+
jsii_struct_bases=[],
|
|
1717
|
+
name_mapping={
|
|
1718
|
+
"url": "url",
|
|
1719
|
+
"dvb_priority": "dvbPriority",
|
|
1720
|
+
"dvb_weight": "dvbWeight",
|
|
1721
|
+
"service_location": "serviceLocation",
|
|
1722
|
+
},
|
|
1723
|
+
)
|
|
1724
|
+
class DashBaseUrlProperty:
|
|
1725
|
+
def __init__(
|
|
1726
|
+
self,
|
|
1727
|
+
*,
|
|
1728
|
+
url: builtins.str,
|
|
1729
|
+
dvb_priority: typing.Optional[jsii.Number] = None,
|
|
1730
|
+
dvb_weight: typing.Optional[jsii.Number] = None,
|
|
1731
|
+
service_location: typing.Optional[builtins.str] = None,
|
|
1732
|
+
) -> None:
|
|
1733
|
+
'''The base URLs to use for retrieving segments.
|
|
1734
|
+
|
|
1735
|
+
You can specify multiple locations and indicate the priority and weight for when each should be used, for use in mutli-CDN workflows.
|
|
1736
|
+
|
|
1737
|
+
:param url: A source location for segments.
|
|
1738
|
+
:param dvb_priority: For use with DVB-DASH profiles only. The priority of this location for servings segments. The lower the number, the higher the priority.
|
|
1739
|
+
:param dvb_weight: For use with DVB-DASH profiles only. The weighting for source locations that have the same priority.
|
|
1740
|
+
:param service_location: The name of the source location.
|
|
1741
|
+
|
|
1742
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html
|
|
1743
|
+
:exampleMetadata: fixture=_generated
|
|
1744
|
+
|
|
1745
|
+
Example::
|
|
1746
|
+
|
|
1747
|
+
# The code below shows an example of how to instantiate this type.
|
|
1748
|
+
# The values are placeholders you should change.
|
|
1749
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1750
|
+
|
|
1751
|
+
dash_base_url_property = mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty(
|
|
1752
|
+
url="url",
|
|
1753
|
+
|
|
1754
|
+
# the properties below are optional
|
|
1755
|
+
dvb_priority=123,
|
|
1756
|
+
dvb_weight=123,
|
|
1757
|
+
service_location="serviceLocation"
|
|
1758
|
+
)
|
|
1759
|
+
'''
|
|
1760
|
+
if __debug__:
|
|
1761
|
+
type_hints = typing.get_type_hints(_typecheckingstub__be1d880fe401caed5e0186c4f4a6b76f8d63f2e78cf2fcbb490b66d185d4af29)
|
|
1762
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
1763
|
+
check_type(argname="argument dvb_priority", value=dvb_priority, expected_type=type_hints["dvb_priority"])
|
|
1764
|
+
check_type(argname="argument dvb_weight", value=dvb_weight, expected_type=type_hints["dvb_weight"])
|
|
1765
|
+
check_type(argname="argument service_location", value=service_location, expected_type=type_hints["service_location"])
|
|
1766
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1767
|
+
"url": url,
|
|
1768
|
+
}
|
|
1769
|
+
if dvb_priority is not None:
|
|
1770
|
+
self._values["dvb_priority"] = dvb_priority
|
|
1771
|
+
if dvb_weight is not None:
|
|
1772
|
+
self._values["dvb_weight"] = dvb_weight
|
|
1773
|
+
if service_location is not None:
|
|
1774
|
+
self._values["service_location"] = service_location
|
|
1775
|
+
|
|
1776
|
+
@builtins.property
|
|
1777
|
+
def url(self) -> builtins.str:
|
|
1778
|
+
'''A source location for segments.
|
|
1779
|
+
|
|
1780
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html#cfn-mediapackagev2-originendpoint-dashbaseurl-url
|
|
1781
|
+
'''
|
|
1782
|
+
result = self._values.get("url")
|
|
1783
|
+
assert result is not None, "Required property 'url' is missing"
|
|
1784
|
+
return typing.cast(builtins.str, result)
|
|
1785
|
+
|
|
1786
|
+
@builtins.property
|
|
1787
|
+
def dvb_priority(self) -> typing.Optional[jsii.Number]:
|
|
1788
|
+
'''For use with DVB-DASH profiles only.
|
|
1789
|
+
|
|
1790
|
+
The priority of this location for servings segments. The lower the number, the higher the priority.
|
|
1791
|
+
|
|
1792
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html#cfn-mediapackagev2-originendpoint-dashbaseurl-dvbpriority
|
|
1793
|
+
'''
|
|
1794
|
+
result = self._values.get("dvb_priority")
|
|
1795
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1796
|
+
|
|
1797
|
+
@builtins.property
|
|
1798
|
+
def dvb_weight(self) -> typing.Optional[jsii.Number]:
|
|
1799
|
+
'''For use with DVB-DASH profiles only.
|
|
1800
|
+
|
|
1801
|
+
The weighting for source locations that have the same priority.
|
|
1802
|
+
|
|
1803
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html#cfn-mediapackagev2-originendpoint-dashbaseurl-dvbweight
|
|
1804
|
+
'''
|
|
1805
|
+
result = self._values.get("dvb_weight")
|
|
1806
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1807
|
+
|
|
1808
|
+
@builtins.property
|
|
1809
|
+
def service_location(self) -> typing.Optional[builtins.str]:
|
|
1810
|
+
'''The name of the source location.
|
|
1811
|
+
|
|
1812
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html#cfn-mediapackagev2-originendpoint-dashbaseurl-servicelocation
|
|
1813
|
+
'''
|
|
1814
|
+
result = self._values.get("service_location")
|
|
1815
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1816
|
+
|
|
1817
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1818
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1819
|
+
|
|
1820
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1821
|
+
return not (rhs == self)
|
|
1822
|
+
|
|
1823
|
+
def __repr__(self) -> str:
|
|
1824
|
+
return "DashBaseUrlProperty(%s)" % ", ".join(
|
|
1825
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
@jsii.data_type(
|
|
1829
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty",
|
|
1830
|
+
jsii_struct_bases=[],
|
|
1831
|
+
name_mapping={
|
|
1832
|
+
"font_family": "fontFamily",
|
|
1833
|
+
"mime_type": "mimeType",
|
|
1834
|
+
"url": "url",
|
|
1835
|
+
},
|
|
1836
|
+
)
|
|
1837
|
+
class DashDvbFontDownloadProperty:
|
|
1838
|
+
def __init__(
|
|
1839
|
+
self,
|
|
1840
|
+
*,
|
|
1841
|
+
font_family: typing.Optional[builtins.str] = None,
|
|
1842
|
+
mime_type: typing.Optional[builtins.str] = None,
|
|
1843
|
+
url: typing.Optional[builtins.str] = None,
|
|
1844
|
+
) -> None:
|
|
1845
|
+
'''For use with DVB-DASH profiles only.
|
|
1846
|
+
|
|
1847
|
+
The settings for font downloads that you want AWS Elemental MediaPackage to pass through to the manifest.
|
|
1848
|
+
|
|
1849
|
+
:param font_family: The ``fontFamily`` name for subtitles, as described in `EBU-TT-D Subtitling Distribution Format <https://docs.aws.amazon.com/https://tech.ebu.ch/publications/tech3380>`_ .
|
|
1850
|
+
:param mime_type: The ``mimeType`` of the resource that's at the font download URL. For information about font MIME types, see the `MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks <https://docs.aws.amazon.com/https://dvb.org/wp-content/uploads/2021/06/A168r4_MPEG-DASH-Profile-for-Transport-of-ISO-BMFF-Based-DVB-Services_Draft-ts_103-285-v140_November_2021.pdf>`_ document.
|
|
1851
|
+
:param url: The URL for downloading fonts for subtitles.
|
|
1852
|
+
|
|
1853
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbfontdownload.html
|
|
1854
|
+
:exampleMetadata: fixture=_generated
|
|
1855
|
+
|
|
1856
|
+
Example::
|
|
1857
|
+
|
|
1858
|
+
# The code below shows an example of how to instantiate this type.
|
|
1859
|
+
# The values are placeholders you should change.
|
|
1860
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1861
|
+
|
|
1862
|
+
dash_dvb_font_download_property = mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty(
|
|
1863
|
+
font_family="fontFamily",
|
|
1864
|
+
mime_type="mimeType",
|
|
1865
|
+
url="url"
|
|
1866
|
+
)
|
|
1867
|
+
'''
|
|
1868
|
+
if __debug__:
|
|
1869
|
+
type_hints = typing.get_type_hints(_typecheckingstub__81c2694b55243cfd80ec8b5b8d807b1d991f3ae38973b41f6fb77d9d5ea24965)
|
|
1870
|
+
check_type(argname="argument font_family", value=font_family, expected_type=type_hints["font_family"])
|
|
1871
|
+
check_type(argname="argument mime_type", value=mime_type, expected_type=type_hints["mime_type"])
|
|
1872
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
1873
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1874
|
+
if font_family is not None:
|
|
1875
|
+
self._values["font_family"] = font_family
|
|
1876
|
+
if mime_type is not None:
|
|
1877
|
+
self._values["mime_type"] = mime_type
|
|
1878
|
+
if url is not None:
|
|
1879
|
+
self._values["url"] = url
|
|
1880
|
+
|
|
1881
|
+
@builtins.property
|
|
1882
|
+
def font_family(self) -> typing.Optional[builtins.str]:
|
|
1883
|
+
'''The ``fontFamily`` name for subtitles, as described in `EBU-TT-D Subtitling Distribution Format <https://docs.aws.amazon.com/https://tech.ebu.ch/publications/tech3380>`_ .
|
|
1884
|
+
|
|
1885
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbfontdownload.html#cfn-mediapackagev2-originendpoint-dashdvbfontdownload-fontfamily
|
|
1886
|
+
'''
|
|
1887
|
+
result = self._values.get("font_family")
|
|
1888
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1889
|
+
|
|
1890
|
+
@builtins.property
|
|
1891
|
+
def mime_type(self) -> typing.Optional[builtins.str]:
|
|
1892
|
+
'''The ``mimeType`` of the resource that's at the font download URL.
|
|
1893
|
+
|
|
1894
|
+
For information about font MIME types, see the `MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks <https://docs.aws.amazon.com/https://dvb.org/wp-content/uploads/2021/06/A168r4_MPEG-DASH-Profile-for-Transport-of-ISO-BMFF-Based-DVB-Services_Draft-ts_103-285-v140_November_2021.pdf>`_ document.
|
|
1895
|
+
|
|
1896
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbfontdownload.html#cfn-mediapackagev2-originendpoint-dashdvbfontdownload-mimetype
|
|
1897
|
+
'''
|
|
1898
|
+
result = self._values.get("mime_type")
|
|
1899
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1900
|
+
|
|
1901
|
+
@builtins.property
|
|
1902
|
+
def url(self) -> typing.Optional[builtins.str]:
|
|
1903
|
+
'''The URL for downloading fonts for subtitles.
|
|
1904
|
+
|
|
1905
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbfontdownload.html#cfn-mediapackagev2-originendpoint-dashdvbfontdownload-url
|
|
1906
|
+
'''
|
|
1907
|
+
result = self._values.get("url")
|
|
1908
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1909
|
+
|
|
1910
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1911
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1912
|
+
|
|
1913
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1914
|
+
return not (rhs == self)
|
|
1915
|
+
|
|
1916
|
+
def __repr__(self) -> str:
|
|
1917
|
+
return "DashDvbFontDownloadProperty(%s)" % ", ".join(
|
|
1918
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1919
|
+
)
|
|
1920
|
+
|
|
1921
|
+
@jsii.data_type(
|
|
1922
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty",
|
|
1923
|
+
jsii_struct_bases=[],
|
|
1924
|
+
name_mapping={"reporting_url": "reportingUrl", "probability": "probability"},
|
|
1925
|
+
)
|
|
1926
|
+
class DashDvbMetricsReportingProperty:
|
|
1927
|
+
def __init__(
|
|
1928
|
+
self,
|
|
1929
|
+
*,
|
|
1930
|
+
reporting_url: builtins.str,
|
|
1931
|
+
probability: typing.Optional[jsii.Number] = None,
|
|
1932
|
+
) -> None:
|
|
1933
|
+
'''For use with DVB-DASH profiles only.
|
|
1934
|
+
|
|
1935
|
+
The settings for error reporting from the playback device that you want AWS Elemental MediaPackage to pass through to the manifest.
|
|
1936
|
+
|
|
1937
|
+
:param reporting_url: The URL where playback devices send error reports.
|
|
1938
|
+
:param probability: The number of playback devices per 1000 that will send error reports to the reporting URL. This represents the probability that a playback device will be a reporting player for this session.
|
|
1939
|
+
|
|
1940
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbmetricsreporting.html
|
|
1941
|
+
:exampleMetadata: fixture=_generated
|
|
1942
|
+
|
|
1943
|
+
Example::
|
|
1944
|
+
|
|
1945
|
+
# The code below shows an example of how to instantiate this type.
|
|
1946
|
+
# The values are placeholders you should change.
|
|
1947
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1948
|
+
|
|
1949
|
+
dash_dvb_metrics_reporting_property = mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty(
|
|
1950
|
+
reporting_url="reportingUrl",
|
|
1951
|
+
|
|
1952
|
+
# the properties below are optional
|
|
1953
|
+
probability=123
|
|
1954
|
+
)
|
|
1955
|
+
'''
|
|
1956
|
+
if __debug__:
|
|
1957
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fadf127f9f82d1f5f09e73b8a4d72d5685c1236b84cdaa5c6132a7ab4774e495)
|
|
1958
|
+
check_type(argname="argument reporting_url", value=reporting_url, expected_type=type_hints["reporting_url"])
|
|
1959
|
+
check_type(argname="argument probability", value=probability, expected_type=type_hints["probability"])
|
|
1960
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1961
|
+
"reporting_url": reporting_url,
|
|
1962
|
+
}
|
|
1963
|
+
if probability is not None:
|
|
1964
|
+
self._values["probability"] = probability
|
|
1965
|
+
|
|
1966
|
+
@builtins.property
|
|
1967
|
+
def reporting_url(self) -> builtins.str:
|
|
1968
|
+
'''The URL where playback devices send error reports.
|
|
1969
|
+
|
|
1970
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbmetricsreporting.html#cfn-mediapackagev2-originendpoint-dashdvbmetricsreporting-reportingurl
|
|
1971
|
+
'''
|
|
1972
|
+
result = self._values.get("reporting_url")
|
|
1973
|
+
assert result is not None, "Required property 'reporting_url' is missing"
|
|
1974
|
+
return typing.cast(builtins.str, result)
|
|
1975
|
+
|
|
1976
|
+
@builtins.property
|
|
1977
|
+
def probability(self) -> typing.Optional[jsii.Number]:
|
|
1978
|
+
'''The number of playback devices per 1000 that will send error reports to the reporting URL.
|
|
1979
|
+
|
|
1980
|
+
This represents the probability that a playback device will be a reporting player for this session.
|
|
1981
|
+
|
|
1982
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbmetricsreporting.html#cfn-mediapackagev2-originendpoint-dashdvbmetricsreporting-probability
|
|
1983
|
+
'''
|
|
1984
|
+
result = self._values.get("probability")
|
|
1985
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1986
|
+
|
|
1987
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1988
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1989
|
+
|
|
1990
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1991
|
+
return not (rhs == self)
|
|
1992
|
+
|
|
1993
|
+
def __repr__(self) -> str:
|
|
1994
|
+
return "DashDvbMetricsReportingProperty(%s)" % ", ".join(
|
|
1995
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1996
|
+
)
|
|
1997
|
+
|
|
1998
|
+
@jsii.data_type(
|
|
1999
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashDvbSettingsProperty",
|
|
2000
|
+
jsii_struct_bases=[],
|
|
2001
|
+
name_mapping={
|
|
2002
|
+
"error_metrics": "errorMetrics",
|
|
2003
|
+
"font_download": "fontDownload",
|
|
2004
|
+
},
|
|
2005
|
+
)
|
|
2006
|
+
class DashDvbSettingsProperty:
|
|
2007
|
+
def __init__(
|
|
2008
|
+
self,
|
|
2009
|
+
*,
|
|
2010
|
+
error_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashDvbMetricsReportingProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2011
|
+
font_download: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashDvbFontDownloadProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2012
|
+
) -> None:
|
|
2013
|
+
'''For endpoints that use the DVB-DASH profile only.
|
|
2014
|
+
|
|
2015
|
+
The font download and error reporting information that you want MediaPackage to pass through to the manifest.
|
|
2016
|
+
|
|
2017
|
+
:param error_metrics: Playback device error reporting settings.
|
|
2018
|
+
:param font_download: Subtitle font settings.
|
|
2019
|
+
|
|
2020
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbsettings.html
|
|
2021
|
+
:exampleMetadata: fixture=_generated
|
|
2022
|
+
|
|
2023
|
+
Example::
|
|
2024
|
+
|
|
2025
|
+
# The code below shows an example of how to instantiate this type.
|
|
2026
|
+
# The values are placeholders you should change.
|
|
2027
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2028
|
+
|
|
2029
|
+
dash_dvb_settings_property = mediapackagev2.CfnOriginEndpoint.DashDvbSettingsProperty(
|
|
2030
|
+
error_metrics=[mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty(
|
|
2031
|
+
reporting_url="reportingUrl",
|
|
2032
|
+
|
|
2033
|
+
# the properties below are optional
|
|
2034
|
+
probability=123
|
|
2035
|
+
)],
|
|
2036
|
+
font_download=mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty(
|
|
2037
|
+
font_family="fontFamily",
|
|
2038
|
+
mime_type="mimeType",
|
|
2039
|
+
url="url"
|
|
2040
|
+
)
|
|
2041
|
+
)
|
|
2042
|
+
'''
|
|
2043
|
+
if __debug__:
|
|
2044
|
+
type_hints = typing.get_type_hints(_typecheckingstub__280a149dc1f481cd4b69b2b250e75d424c71bee34e699369b2294841b0aed7d8)
|
|
2045
|
+
check_type(argname="argument error_metrics", value=error_metrics, expected_type=type_hints["error_metrics"])
|
|
2046
|
+
check_type(argname="argument font_download", value=font_download, expected_type=type_hints["font_download"])
|
|
2047
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2048
|
+
if error_metrics is not None:
|
|
2049
|
+
self._values["error_metrics"] = error_metrics
|
|
2050
|
+
if font_download is not None:
|
|
2051
|
+
self._values["font_download"] = font_download
|
|
2052
|
+
|
|
2053
|
+
@builtins.property
|
|
2054
|
+
def error_metrics(
|
|
2055
|
+
self,
|
|
2056
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbMetricsReportingProperty"]]]]:
|
|
2057
|
+
'''Playback device error reporting settings.
|
|
2058
|
+
|
|
2059
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbsettings.html#cfn-mediapackagev2-originendpoint-dashdvbsettings-errormetrics
|
|
2060
|
+
'''
|
|
2061
|
+
result = self._values.get("error_metrics")
|
|
2062
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbMetricsReportingProperty"]]]], result)
|
|
2063
|
+
|
|
2064
|
+
@builtins.property
|
|
2065
|
+
def font_download(
|
|
2066
|
+
self,
|
|
2067
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbFontDownloadProperty"]]:
|
|
2068
|
+
'''Subtitle font settings.
|
|
2069
|
+
|
|
2070
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbsettings.html#cfn-mediapackagev2-originendpoint-dashdvbsettings-fontdownload
|
|
2071
|
+
'''
|
|
2072
|
+
result = self._values.get("font_download")
|
|
2073
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbFontDownloadProperty"]], result)
|
|
2074
|
+
|
|
2075
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2076
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2077
|
+
|
|
2078
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2079
|
+
return not (rhs == self)
|
|
2080
|
+
|
|
2081
|
+
def __repr__(self) -> str:
|
|
2082
|
+
return "DashDvbSettingsProperty(%s)" % ", ".join(
|
|
2083
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2084
|
+
)
|
|
2085
|
+
|
|
1677
2086
|
@jsii.data_type(
|
|
1678
2087
|
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashManifestConfigurationProperty",
|
|
1679
2088
|
jsii_struct_bases=[],
|
|
1680
2089
|
name_mapping={
|
|
1681
2090
|
"manifest_name": "manifestName",
|
|
2091
|
+
"base_urls": "baseUrls",
|
|
2092
|
+
"compactness": "compactness",
|
|
1682
2093
|
"drm_signaling": "drmSignaling",
|
|
2094
|
+
"dvb_settings": "dvbSettings",
|
|
1683
2095
|
"filter_configuration": "filterConfiguration",
|
|
1684
2096
|
"manifest_window_seconds": "manifestWindowSeconds",
|
|
1685
2097
|
"min_buffer_time_seconds": "minBufferTimeSeconds",
|
|
1686
2098
|
"min_update_period_seconds": "minUpdatePeriodSeconds",
|
|
1687
2099
|
"period_triggers": "periodTriggers",
|
|
2100
|
+
"profiles": "profiles",
|
|
2101
|
+
"program_information": "programInformation",
|
|
1688
2102
|
"scte_dash": "scteDash",
|
|
1689
2103
|
"segment_template_format": "segmentTemplateFormat",
|
|
2104
|
+
"subtitle_configuration": "subtitleConfiguration",
|
|
1690
2105
|
"suggested_presentation_delay_seconds": "suggestedPresentationDelaySeconds",
|
|
1691
2106
|
"utc_timing": "utcTiming",
|
|
1692
2107
|
},
|
|
@@ -1696,30 +2111,42 @@ class CfnOriginEndpoint(
|
|
|
1696
2111
|
self,
|
|
1697
2112
|
*,
|
|
1698
2113
|
manifest_name: builtins.str,
|
|
2114
|
+
base_urls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashBaseUrlProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2115
|
+
compactness: typing.Optional[builtins.str] = None,
|
|
1699
2116
|
drm_signaling: typing.Optional[builtins.str] = None,
|
|
2117
|
+
dvb_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashDvbSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1700
2118
|
filter_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.FilterConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1701
2119
|
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
1702
2120
|
min_buffer_time_seconds: typing.Optional[jsii.Number] = None,
|
|
1703
2121
|
min_update_period_seconds: typing.Optional[jsii.Number] = None,
|
|
1704
2122
|
period_triggers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2123
|
+
profiles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2124
|
+
program_information: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashProgramInformationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1705
2125
|
scte_dash: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.ScteDashProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1706
2126
|
segment_template_format: typing.Optional[builtins.str] = None,
|
|
2127
|
+
subtitle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashSubtitleConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1707
2128
|
suggested_presentation_delay_seconds: typing.Optional[jsii.Number] = None,
|
|
1708
2129
|
utc_timing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashUtcTimingProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1709
2130
|
) -> None:
|
|
1710
2131
|
'''The DASH manifest configuration associated with the origin endpoint.
|
|
1711
2132
|
|
|
1712
|
-
:param manifest_name:
|
|
1713
|
-
:param
|
|
1714
|
-
:param
|
|
1715
|
-
:param
|
|
1716
|
-
:param
|
|
1717
|
-
:param
|
|
1718
|
-
:param
|
|
1719
|
-
:param
|
|
1720
|
-
:param
|
|
1721
|
-
:param
|
|
1722
|
-
:param
|
|
2133
|
+
:param manifest_name: A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint.
|
|
2134
|
+
:param base_urls: The base URLs to use for retrieving segments.
|
|
2135
|
+
:param compactness: The layout of the DASH manifest that MediaPackage produces. ``STANDARD`` indicates a default manifest, which is compacted. ``NONE`` indicates a full manifest. For information about compactness, see `DASH manifest compactness <https://docs.aws.amazon.com/mediapackage/latest/userguide/compacted.html>`_ in the *AWS Elemental MediaPackage v2 User Guide* .
|
|
2136
|
+
:param drm_signaling: Determines how the DASH manifest signals the DRM content.
|
|
2137
|
+
:param dvb_settings: For endpoints that use the DVB-DASH profile only. The font download and error reporting information that you want MediaPackage to pass through to the manifest.
|
|
2138
|
+
:param filter_configuration: Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
2139
|
+
:param manifest_window_seconds: The total duration (in seconds) of the manifest's content.
|
|
2140
|
+
:param min_buffer_time_seconds: Minimum amount of content (in seconds) that a player must keep available in the buffer.
|
|
2141
|
+
:param min_update_period_seconds: Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
|
|
2142
|
+
:param period_triggers: A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ``ADS`` to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see `Multi-period DASH in AWS Elemental MediaPackage <https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html>`_ .
|
|
2143
|
+
:param profiles: The profile that the output is compliant with.
|
|
2144
|
+
:param program_information: Details about the content that you want MediaPackage to pass through in the manifest to the playback device.
|
|
2145
|
+
:param scte_dash: The SCTE configuration.
|
|
2146
|
+
:param segment_template_format: Determines the type of variable used in the ``media`` URL of the ``SegmentTemplate`` tag in the manifest. Also specifies if segment timeline information is included in ``SegmentTimeline`` or ``SegmentTemplate`` . Value description: - ``NUMBER_WITH_TIMELINE`` - The ``$Number$`` variable is used in the ``media`` URL. The value of this variable is the sequential number of the segment. A full ``SegmentTimeline`` object is presented in each ``SegmentTemplate`` .
|
|
2147
|
+
:param subtitle_configuration: The configuration for DASH subtitles.
|
|
2148
|
+
:param suggested_presentation_delay_seconds: The amount of time (in seconds) that the player should be from the end of the manifest.
|
|
2149
|
+
:param utc_timing: Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
|
|
1723
2150
|
|
|
1724
2151
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html
|
|
1725
2152
|
:exampleMetadata: fixture=_generated
|
|
@@ -1734,7 +2161,29 @@ class CfnOriginEndpoint(
|
|
|
1734
2161
|
manifest_name="manifestName",
|
|
1735
2162
|
|
|
1736
2163
|
# the properties below are optional
|
|
2164
|
+
base_urls=[mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty(
|
|
2165
|
+
url="url",
|
|
2166
|
+
|
|
2167
|
+
# the properties below are optional
|
|
2168
|
+
dvb_priority=123,
|
|
2169
|
+
dvb_weight=123,
|
|
2170
|
+
service_location="serviceLocation"
|
|
2171
|
+
)],
|
|
2172
|
+
compactness="compactness",
|
|
1737
2173
|
drm_signaling="drmSignaling",
|
|
2174
|
+
dvb_settings=mediapackagev2.CfnOriginEndpoint.DashDvbSettingsProperty(
|
|
2175
|
+
error_metrics=[mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty(
|
|
2176
|
+
reporting_url="reportingUrl",
|
|
2177
|
+
|
|
2178
|
+
# the properties below are optional
|
|
2179
|
+
probability=123
|
|
2180
|
+
)],
|
|
2181
|
+
font_download=mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty(
|
|
2182
|
+
font_family="fontFamily",
|
|
2183
|
+
mime_type="mimeType",
|
|
2184
|
+
url="url"
|
|
2185
|
+
)
|
|
2186
|
+
),
|
|
1738
2187
|
filter_configuration=mediapackagev2.CfnOriginEndpoint.FilterConfigurationProperty(
|
|
1739
2188
|
clip_start_time="clipStartTime",
|
|
1740
2189
|
end="end",
|
|
@@ -1746,10 +2195,23 @@ class CfnOriginEndpoint(
|
|
|
1746
2195
|
min_buffer_time_seconds=123,
|
|
1747
2196
|
min_update_period_seconds=123,
|
|
1748
2197
|
period_triggers=["periodTriggers"],
|
|
2198
|
+
profiles=["profiles"],
|
|
2199
|
+
program_information=mediapackagev2.CfnOriginEndpoint.DashProgramInformationProperty(
|
|
2200
|
+
copyright="copyright",
|
|
2201
|
+
language_code="languageCode",
|
|
2202
|
+
more_information_url="moreInformationUrl",
|
|
2203
|
+
source="source",
|
|
2204
|
+
title="title"
|
|
2205
|
+
),
|
|
1749
2206
|
scte_dash=mediapackagev2.CfnOriginEndpoint.ScteDashProperty(
|
|
1750
2207
|
ad_marker_dash="adMarkerDash"
|
|
1751
2208
|
),
|
|
1752
2209
|
segment_template_format="segmentTemplateFormat",
|
|
2210
|
+
subtitle_configuration=mediapackagev2.CfnOriginEndpoint.DashSubtitleConfigurationProperty(
|
|
2211
|
+
ttml_configuration=mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
|
|
2212
|
+
ttml_profile="ttmlProfile"
|
|
2213
|
+
)
|
|
2214
|
+
),
|
|
1753
2215
|
suggested_presentation_delay_seconds=123,
|
|
1754
2216
|
utc_timing=mediapackagev2.CfnOriginEndpoint.DashUtcTimingProperty(
|
|
1755
2217
|
timing_mode="timingMode",
|
|
@@ -1760,21 +2222,33 @@ class CfnOriginEndpoint(
|
|
|
1760
2222
|
if __debug__:
|
|
1761
2223
|
type_hints = typing.get_type_hints(_typecheckingstub__20e3bfad4ae40517c778173bab356d7bd208497ee33a09fdc9e380135384dfc6)
|
|
1762
2224
|
check_type(argname="argument manifest_name", value=manifest_name, expected_type=type_hints["manifest_name"])
|
|
2225
|
+
check_type(argname="argument base_urls", value=base_urls, expected_type=type_hints["base_urls"])
|
|
2226
|
+
check_type(argname="argument compactness", value=compactness, expected_type=type_hints["compactness"])
|
|
1763
2227
|
check_type(argname="argument drm_signaling", value=drm_signaling, expected_type=type_hints["drm_signaling"])
|
|
2228
|
+
check_type(argname="argument dvb_settings", value=dvb_settings, expected_type=type_hints["dvb_settings"])
|
|
1764
2229
|
check_type(argname="argument filter_configuration", value=filter_configuration, expected_type=type_hints["filter_configuration"])
|
|
1765
2230
|
check_type(argname="argument manifest_window_seconds", value=manifest_window_seconds, expected_type=type_hints["manifest_window_seconds"])
|
|
1766
2231
|
check_type(argname="argument min_buffer_time_seconds", value=min_buffer_time_seconds, expected_type=type_hints["min_buffer_time_seconds"])
|
|
1767
2232
|
check_type(argname="argument min_update_period_seconds", value=min_update_period_seconds, expected_type=type_hints["min_update_period_seconds"])
|
|
1768
2233
|
check_type(argname="argument period_triggers", value=period_triggers, expected_type=type_hints["period_triggers"])
|
|
2234
|
+
check_type(argname="argument profiles", value=profiles, expected_type=type_hints["profiles"])
|
|
2235
|
+
check_type(argname="argument program_information", value=program_information, expected_type=type_hints["program_information"])
|
|
1769
2236
|
check_type(argname="argument scte_dash", value=scte_dash, expected_type=type_hints["scte_dash"])
|
|
1770
2237
|
check_type(argname="argument segment_template_format", value=segment_template_format, expected_type=type_hints["segment_template_format"])
|
|
2238
|
+
check_type(argname="argument subtitle_configuration", value=subtitle_configuration, expected_type=type_hints["subtitle_configuration"])
|
|
1771
2239
|
check_type(argname="argument suggested_presentation_delay_seconds", value=suggested_presentation_delay_seconds, expected_type=type_hints["suggested_presentation_delay_seconds"])
|
|
1772
2240
|
check_type(argname="argument utc_timing", value=utc_timing, expected_type=type_hints["utc_timing"])
|
|
1773
2241
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1774
2242
|
"manifest_name": manifest_name,
|
|
1775
2243
|
}
|
|
2244
|
+
if base_urls is not None:
|
|
2245
|
+
self._values["base_urls"] = base_urls
|
|
2246
|
+
if compactness is not None:
|
|
2247
|
+
self._values["compactness"] = compactness
|
|
1776
2248
|
if drm_signaling is not None:
|
|
1777
2249
|
self._values["drm_signaling"] = drm_signaling
|
|
2250
|
+
if dvb_settings is not None:
|
|
2251
|
+
self._values["dvb_settings"] = dvb_settings
|
|
1778
2252
|
if filter_configuration is not None:
|
|
1779
2253
|
self._values["filter_configuration"] = filter_configuration
|
|
1780
2254
|
if manifest_window_seconds is not None:
|
|
@@ -1785,10 +2259,16 @@ class CfnOriginEndpoint(
|
|
|
1785
2259
|
self._values["min_update_period_seconds"] = min_update_period_seconds
|
|
1786
2260
|
if period_triggers is not None:
|
|
1787
2261
|
self._values["period_triggers"] = period_triggers
|
|
2262
|
+
if profiles is not None:
|
|
2263
|
+
self._values["profiles"] = profiles
|
|
2264
|
+
if program_information is not None:
|
|
2265
|
+
self._values["program_information"] = program_information
|
|
1788
2266
|
if scte_dash is not None:
|
|
1789
2267
|
self._values["scte_dash"] = scte_dash
|
|
1790
2268
|
if segment_template_format is not None:
|
|
1791
2269
|
self._values["segment_template_format"] = segment_template_format
|
|
2270
|
+
if subtitle_configuration is not None:
|
|
2271
|
+
self._values["subtitle_configuration"] = subtitle_configuration
|
|
1792
2272
|
if suggested_presentation_delay_seconds is not None:
|
|
1793
2273
|
self._values["suggested_presentation_delay_seconds"] = suggested_presentation_delay_seconds
|
|
1794
2274
|
if utc_timing is not None:
|
|
@@ -1796,8 +2276,9 @@ class CfnOriginEndpoint(
|
|
|
1796
2276
|
|
|
1797
2277
|
@builtins.property
|
|
1798
2278
|
def manifest_name(self) -> builtins.str:
|
|
1799
|
-
'''
|
|
1800
|
-
|
|
2279
|
+
'''A short string that's appended to the endpoint URL.
|
|
2280
|
+
|
|
2281
|
+
The child manifest name creates a unique path to this endpoint.
|
|
1801
2282
|
|
|
1802
2283
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-manifestname
|
|
1803
2284
|
'''
|
|
@@ -1806,18 +2287,56 @@ class CfnOriginEndpoint(
|
|
|
1806
2287
|
return typing.cast(builtins.str, result)
|
|
1807
2288
|
|
|
1808
2289
|
@builtins.property
|
|
1809
|
-
def
|
|
2290
|
+
def base_urls(
|
|
2291
|
+
self,
|
|
2292
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashBaseUrlProperty"]]]]:
|
|
2293
|
+
'''The base URLs to use for retrieving segments.
|
|
2294
|
+
|
|
2295
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-baseurls
|
|
2296
|
+
'''
|
|
2297
|
+
result = self._values.get("base_urls")
|
|
2298
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashBaseUrlProperty"]]]], result)
|
|
2299
|
+
|
|
2300
|
+
@builtins.property
|
|
2301
|
+
def compactness(self) -> typing.Optional[builtins.str]:
|
|
2302
|
+
'''The layout of the DASH manifest that MediaPackage produces.
|
|
2303
|
+
|
|
2304
|
+
``STANDARD`` indicates a default manifest, which is compacted. ``NONE`` indicates a full manifest.
|
|
2305
|
+
|
|
2306
|
+
For information about compactness, see `DASH manifest compactness <https://docs.aws.amazon.com/mediapackage/latest/userguide/compacted.html>`_ in the *AWS Elemental MediaPackage v2 User Guide* .
|
|
2307
|
+
|
|
2308
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-compactness
|
|
1810
2309
|
'''
|
|
2310
|
+
result = self._values.get("compactness")
|
|
2311
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2312
|
+
|
|
2313
|
+
@builtins.property
|
|
2314
|
+
def drm_signaling(self) -> typing.Optional[builtins.str]:
|
|
2315
|
+
'''Determines how the DASH manifest signals the DRM content.
|
|
2316
|
+
|
|
1811
2317
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-drmsignaling
|
|
1812
2318
|
'''
|
|
1813
2319
|
result = self._values.get("drm_signaling")
|
|
1814
2320
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1815
2321
|
|
|
2322
|
+
@builtins.property
|
|
2323
|
+
def dvb_settings(
|
|
2324
|
+
self,
|
|
2325
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbSettingsProperty"]]:
|
|
2326
|
+
'''For endpoints that use the DVB-DASH profile only.
|
|
2327
|
+
|
|
2328
|
+
The font download and error reporting information that you want MediaPackage to pass through to the manifest.
|
|
2329
|
+
|
|
2330
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-dvbsettings
|
|
2331
|
+
'''
|
|
2332
|
+
result = self._values.get("dvb_settings")
|
|
2333
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashDvbSettingsProperty"]], result)
|
|
2334
|
+
|
|
1816
2335
|
@builtins.property
|
|
1817
2336
|
def filter_configuration(
|
|
1818
2337
|
self,
|
|
1819
2338
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.FilterConfigurationProperty"]]:
|
|
1820
|
-
'''
|
|
2339
|
+
'''Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
1821
2340
|
|
|
1822
2341
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-filterconfiguration
|
|
1823
2342
|
'''
|
|
@@ -1826,7 +2345,8 @@ class CfnOriginEndpoint(
|
|
|
1826
2345
|
|
|
1827
2346
|
@builtins.property
|
|
1828
2347
|
def manifest_window_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1829
|
-
'''
|
|
2348
|
+
'''The total duration (in seconds) of the manifest's content.
|
|
2349
|
+
|
|
1830
2350
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-manifestwindowseconds
|
|
1831
2351
|
'''
|
|
1832
2352
|
result = self._values.get("manifest_window_seconds")
|
|
@@ -1834,7 +2354,8 @@ class CfnOriginEndpoint(
|
|
|
1834
2354
|
|
|
1835
2355
|
@builtins.property
|
|
1836
2356
|
def min_buffer_time_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1837
|
-
'''
|
|
2357
|
+
'''Minimum amount of content (in seconds) that a player must keep available in the buffer.
|
|
2358
|
+
|
|
1838
2359
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-minbuffertimeseconds
|
|
1839
2360
|
'''
|
|
1840
2361
|
result = self._values.get("min_buffer_time_seconds")
|
|
@@ -1842,7 +2363,8 @@ class CfnOriginEndpoint(
|
|
|
1842
2363
|
|
|
1843
2364
|
@builtins.property
|
|
1844
2365
|
def min_update_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1845
|
-
'''
|
|
2366
|
+
'''Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
|
|
2367
|
+
|
|
1846
2368
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-minupdateperiodseconds
|
|
1847
2369
|
'''
|
|
1848
2370
|
result = self._values.get("min_update_period_seconds")
|
|
@@ -1850,20 +2372,41 @@ class CfnOriginEndpoint(
|
|
|
1850
2372
|
|
|
1851
2373
|
@builtins.property
|
|
1852
2374
|
def period_triggers(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1853
|
-
'''
|
|
1854
|
-
|
|
1855
|
-
For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage.
|
|
2375
|
+
'''A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods.
|
|
2376
|
+
|
|
2377
|
+
Type ``ADS`` to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see `Multi-period DASH in AWS Elemental MediaPackage <https://docs.aws.amazon.com/mediapackage/latest/userguide/multi-period.html>`_ .
|
|
1856
2378
|
|
|
1857
2379
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-periodtriggers
|
|
1858
2380
|
'''
|
|
1859
2381
|
result = self._values.get("period_triggers")
|
|
1860
2382
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1861
2383
|
|
|
2384
|
+
@builtins.property
|
|
2385
|
+
def profiles(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
2386
|
+
'''The profile that the output is compliant with.
|
|
2387
|
+
|
|
2388
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-profiles
|
|
2389
|
+
'''
|
|
2390
|
+
result = self._values.get("profiles")
|
|
2391
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2392
|
+
|
|
2393
|
+
@builtins.property
|
|
2394
|
+
def program_information(
|
|
2395
|
+
self,
|
|
2396
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashProgramInformationProperty"]]:
|
|
2397
|
+
'''Details about the content that you want MediaPackage to pass through in the manifest to the playback device.
|
|
2398
|
+
|
|
2399
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-programinformation
|
|
2400
|
+
'''
|
|
2401
|
+
result = self._values.get("program_information")
|
|
2402
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashProgramInformationProperty"]], result)
|
|
2403
|
+
|
|
1862
2404
|
@builtins.property
|
|
1863
2405
|
def scte_dash(
|
|
1864
2406
|
self,
|
|
1865
2407
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteDashProperty"]]:
|
|
1866
|
-
'''
|
|
2408
|
+
'''The SCTE configuration.
|
|
2409
|
+
|
|
1867
2410
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-sctedash
|
|
1868
2411
|
'''
|
|
1869
2412
|
result = self._values.get("scte_dash")
|
|
@@ -1871,15 +2414,34 @@ class CfnOriginEndpoint(
|
|
|
1871
2414
|
|
|
1872
2415
|
@builtins.property
|
|
1873
2416
|
def segment_template_format(self) -> typing.Optional[builtins.str]:
|
|
1874
|
-
'''
|
|
2417
|
+
'''Determines the type of variable used in the ``media`` URL of the ``SegmentTemplate`` tag in the manifest.
|
|
2418
|
+
|
|
2419
|
+
Also specifies if segment timeline information is included in ``SegmentTimeline`` or ``SegmentTemplate`` .
|
|
2420
|
+
|
|
2421
|
+
Value description:
|
|
2422
|
+
|
|
2423
|
+
- ``NUMBER_WITH_TIMELINE`` - The ``$Number$`` variable is used in the ``media`` URL. The value of this variable is the sequential number of the segment. A full ``SegmentTimeline`` object is presented in each ``SegmentTemplate`` .
|
|
2424
|
+
|
|
1875
2425
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-segmenttemplateformat
|
|
1876
2426
|
'''
|
|
1877
2427
|
result = self._values.get("segment_template_format")
|
|
1878
2428
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1879
2429
|
|
|
1880
2430
|
@builtins.property
|
|
1881
|
-
def
|
|
2431
|
+
def subtitle_configuration(
|
|
2432
|
+
self,
|
|
2433
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashSubtitleConfigurationProperty"]]:
|
|
2434
|
+
'''The configuration for DASH subtitles.
|
|
2435
|
+
|
|
2436
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-subtitleconfiguration
|
|
1882
2437
|
'''
|
|
2438
|
+
result = self._values.get("subtitle_configuration")
|
|
2439
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashSubtitleConfigurationProperty"]], result)
|
|
2440
|
+
|
|
2441
|
+
@builtins.property
|
|
2442
|
+
def suggested_presentation_delay_seconds(self) -> typing.Optional[jsii.Number]:
|
|
2443
|
+
'''The amount of time (in seconds) that the player should be from the end of the manifest.
|
|
2444
|
+
|
|
1883
2445
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-suggestedpresentationdelayseconds
|
|
1884
2446
|
'''
|
|
1885
2447
|
result = self._values.get("suggested_presentation_delay_seconds")
|
|
@@ -1889,7 +2451,8 @@ class CfnOriginEndpoint(
|
|
|
1889
2451
|
def utc_timing(
|
|
1890
2452
|
self,
|
|
1891
2453
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashUtcTimingProperty"]]:
|
|
1892
|
-
'''
|
|
2454
|
+
'''Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
|
|
2455
|
+
|
|
1893
2456
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-dashmanifestconfiguration-utctiming
|
|
1894
2457
|
'''
|
|
1895
2458
|
result = self._values.get("utc_timing")
|
|
@@ -1906,6 +2469,240 @@ class CfnOriginEndpoint(
|
|
|
1906
2469
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
1907
2470
|
)
|
|
1908
2471
|
|
|
2472
|
+
@jsii.data_type(
|
|
2473
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashProgramInformationProperty",
|
|
2474
|
+
jsii_struct_bases=[],
|
|
2475
|
+
name_mapping={
|
|
2476
|
+
"copyright": "copyright",
|
|
2477
|
+
"language_code": "languageCode",
|
|
2478
|
+
"more_information_url": "moreInformationUrl",
|
|
2479
|
+
"source": "source",
|
|
2480
|
+
"title": "title",
|
|
2481
|
+
},
|
|
2482
|
+
)
|
|
2483
|
+
class DashProgramInformationProperty:
|
|
2484
|
+
def __init__(
|
|
2485
|
+
self,
|
|
2486
|
+
*,
|
|
2487
|
+
copyright: typing.Optional[builtins.str] = None,
|
|
2488
|
+
language_code: typing.Optional[builtins.str] = None,
|
|
2489
|
+
more_information_url: typing.Optional[builtins.str] = None,
|
|
2490
|
+
source: typing.Optional[builtins.str] = None,
|
|
2491
|
+
title: typing.Optional[builtins.str] = None,
|
|
2492
|
+
) -> None:
|
|
2493
|
+
'''Details about the content that you want MediaPackage to pass through in the manifest to the playback device.
|
|
2494
|
+
|
|
2495
|
+
:param copyright: A copyright statement about the content.
|
|
2496
|
+
:param language_code: The language code for this manifest.
|
|
2497
|
+
:param more_information_url: An absolute URL that contains more information about this content.
|
|
2498
|
+
:param source: Information about the content provider.
|
|
2499
|
+
:param title: The title for the manifest.
|
|
2500
|
+
|
|
2501
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html
|
|
2502
|
+
:exampleMetadata: fixture=_generated
|
|
2503
|
+
|
|
2504
|
+
Example::
|
|
2505
|
+
|
|
2506
|
+
# The code below shows an example of how to instantiate this type.
|
|
2507
|
+
# The values are placeholders you should change.
|
|
2508
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2509
|
+
|
|
2510
|
+
dash_program_information_property = mediapackagev2.CfnOriginEndpoint.DashProgramInformationProperty(
|
|
2511
|
+
copyright="copyright",
|
|
2512
|
+
language_code="languageCode",
|
|
2513
|
+
more_information_url="moreInformationUrl",
|
|
2514
|
+
source="source",
|
|
2515
|
+
title="title"
|
|
2516
|
+
)
|
|
2517
|
+
'''
|
|
2518
|
+
if __debug__:
|
|
2519
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5b0c2b5b70e24041767a172f1ebbd9317cd4ce50194b747d40b0c075a554bb92)
|
|
2520
|
+
check_type(argname="argument copyright", value=copyright, expected_type=type_hints["copyright"])
|
|
2521
|
+
check_type(argname="argument language_code", value=language_code, expected_type=type_hints["language_code"])
|
|
2522
|
+
check_type(argname="argument more_information_url", value=more_information_url, expected_type=type_hints["more_information_url"])
|
|
2523
|
+
check_type(argname="argument source", value=source, expected_type=type_hints["source"])
|
|
2524
|
+
check_type(argname="argument title", value=title, expected_type=type_hints["title"])
|
|
2525
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2526
|
+
if copyright is not None:
|
|
2527
|
+
self._values["copyright"] = copyright
|
|
2528
|
+
if language_code is not None:
|
|
2529
|
+
self._values["language_code"] = language_code
|
|
2530
|
+
if more_information_url is not None:
|
|
2531
|
+
self._values["more_information_url"] = more_information_url
|
|
2532
|
+
if source is not None:
|
|
2533
|
+
self._values["source"] = source
|
|
2534
|
+
if title is not None:
|
|
2535
|
+
self._values["title"] = title
|
|
2536
|
+
|
|
2537
|
+
@builtins.property
|
|
2538
|
+
def copyright(self) -> typing.Optional[builtins.str]:
|
|
2539
|
+
'''A copyright statement about the content.
|
|
2540
|
+
|
|
2541
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html#cfn-mediapackagev2-originendpoint-dashprograminformation-copyright
|
|
2542
|
+
'''
|
|
2543
|
+
result = self._values.get("copyright")
|
|
2544
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2545
|
+
|
|
2546
|
+
@builtins.property
|
|
2547
|
+
def language_code(self) -> typing.Optional[builtins.str]:
|
|
2548
|
+
'''The language code for this manifest.
|
|
2549
|
+
|
|
2550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html#cfn-mediapackagev2-originendpoint-dashprograminformation-languagecode
|
|
2551
|
+
'''
|
|
2552
|
+
result = self._values.get("language_code")
|
|
2553
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2554
|
+
|
|
2555
|
+
@builtins.property
|
|
2556
|
+
def more_information_url(self) -> typing.Optional[builtins.str]:
|
|
2557
|
+
'''An absolute URL that contains more information about this content.
|
|
2558
|
+
|
|
2559
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html#cfn-mediapackagev2-originendpoint-dashprograminformation-moreinformationurl
|
|
2560
|
+
'''
|
|
2561
|
+
result = self._values.get("more_information_url")
|
|
2562
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2563
|
+
|
|
2564
|
+
@builtins.property
|
|
2565
|
+
def source(self) -> typing.Optional[builtins.str]:
|
|
2566
|
+
'''Information about the content provider.
|
|
2567
|
+
|
|
2568
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html#cfn-mediapackagev2-originendpoint-dashprograminformation-source
|
|
2569
|
+
'''
|
|
2570
|
+
result = self._values.get("source")
|
|
2571
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2572
|
+
|
|
2573
|
+
@builtins.property
|
|
2574
|
+
def title(self) -> typing.Optional[builtins.str]:
|
|
2575
|
+
'''The title for the manifest.
|
|
2576
|
+
|
|
2577
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html#cfn-mediapackagev2-originendpoint-dashprograminformation-title
|
|
2578
|
+
'''
|
|
2579
|
+
result = self._values.get("title")
|
|
2580
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2581
|
+
|
|
2582
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2583
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2584
|
+
|
|
2585
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2586
|
+
return not (rhs == self)
|
|
2587
|
+
|
|
2588
|
+
def __repr__(self) -> str:
|
|
2589
|
+
return "DashProgramInformationProperty(%s)" % ", ".join(
|
|
2590
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2591
|
+
)
|
|
2592
|
+
|
|
2593
|
+
@jsii.data_type(
|
|
2594
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashSubtitleConfigurationProperty",
|
|
2595
|
+
jsii_struct_bases=[],
|
|
2596
|
+
name_mapping={"ttml_configuration": "ttmlConfiguration"},
|
|
2597
|
+
)
|
|
2598
|
+
class DashSubtitleConfigurationProperty:
|
|
2599
|
+
def __init__(
|
|
2600
|
+
self,
|
|
2601
|
+
*,
|
|
2602
|
+
ttml_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.DashTtmlConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2603
|
+
) -> None:
|
|
2604
|
+
'''The configuration for DASH subtitles.
|
|
2605
|
+
|
|
2606
|
+
:param ttml_configuration: Settings for TTML subtitles.
|
|
2607
|
+
|
|
2608
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashsubtitleconfiguration.html
|
|
2609
|
+
:exampleMetadata: fixture=_generated
|
|
2610
|
+
|
|
2611
|
+
Example::
|
|
2612
|
+
|
|
2613
|
+
# The code below shows an example of how to instantiate this type.
|
|
2614
|
+
# The values are placeholders you should change.
|
|
2615
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2616
|
+
|
|
2617
|
+
dash_subtitle_configuration_property = mediapackagev2.CfnOriginEndpoint.DashSubtitleConfigurationProperty(
|
|
2618
|
+
ttml_configuration=mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
|
|
2619
|
+
ttml_profile="ttmlProfile"
|
|
2620
|
+
)
|
|
2621
|
+
)
|
|
2622
|
+
'''
|
|
2623
|
+
if __debug__:
|
|
2624
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa51912df0060cf290274ace134d0cb16e34e1de7ea689b411eeae296d9a8155)
|
|
2625
|
+
check_type(argname="argument ttml_configuration", value=ttml_configuration, expected_type=type_hints["ttml_configuration"])
|
|
2626
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2627
|
+
if ttml_configuration is not None:
|
|
2628
|
+
self._values["ttml_configuration"] = ttml_configuration
|
|
2629
|
+
|
|
2630
|
+
@builtins.property
|
|
2631
|
+
def ttml_configuration(
|
|
2632
|
+
self,
|
|
2633
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashTtmlConfigurationProperty"]]:
|
|
2634
|
+
'''Settings for TTML subtitles.
|
|
2635
|
+
|
|
2636
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashsubtitleconfiguration.html#cfn-mediapackagev2-originendpoint-dashsubtitleconfiguration-ttmlconfiguration
|
|
2637
|
+
'''
|
|
2638
|
+
result = self._values.get("ttml_configuration")
|
|
2639
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.DashTtmlConfigurationProperty"]], result)
|
|
2640
|
+
|
|
2641
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2642
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2643
|
+
|
|
2644
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2645
|
+
return not (rhs == self)
|
|
2646
|
+
|
|
2647
|
+
def __repr__(self) -> str:
|
|
2648
|
+
return "DashSubtitleConfigurationProperty(%s)" % ", ".join(
|
|
2649
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2650
|
+
)
|
|
2651
|
+
|
|
2652
|
+
@jsii.data_type(
|
|
2653
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty",
|
|
2654
|
+
jsii_struct_bases=[],
|
|
2655
|
+
name_mapping={"ttml_profile": "ttmlProfile"},
|
|
2656
|
+
)
|
|
2657
|
+
class DashTtmlConfigurationProperty:
|
|
2658
|
+
def __init__(self, *, ttml_profile: builtins.str) -> None:
|
|
2659
|
+
'''The settings for TTML subtitles.
|
|
2660
|
+
|
|
2661
|
+
:param ttml_profile: The profile that MediaPackage uses when signaling subtitles in the manifest. ``IMSC`` is the default profile. ``EBU-TT-D`` produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see `EBU-TT-D Subtitling Distribution Format <https://docs.aws.amazon.com/https://tech.ebu.ch/publications/tech3380>`_ .
|
|
2662
|
+
|
|
2663
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashttmlconfiguration.html
|
|
2664
|
+
:exampleMetadata: fixture=_generated
|
|
2665
|
+
|
|
2666
|
+
Example::
|
|
2667
|
+
|
|
2668
|
+
# The code below shows an example of how to instantiate this type.
|
|
2669
|
+
# The values are placeholders you should change.
|
|
2670
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2671
|
+
|
|
2672
|
+
dash_ttml_configuration_property = mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
|
|
2673
|
+
ttml_profile="ttmlProfile"
|
|
2674
|
+
)
|
|
2675
|
+
'''
|
|
2676
|
+
if __debug__:
|
|
2677
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bba187ab72699f6dc21195cb98838c8f292af76576ca0254079260c1346c116d)
|
|
2678
|
+
check_type(argname="argument ttml_profile", value=ttml_profile, expected_type=type_hints["ttml_profile"])
|
|
2679
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2680
|
+
"ttml_profile": ttml_profile,
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
@builtins.property
|
|
2684
|
+
def ttml_profile(self) -> builtins.str:
|
|
2685
|
+
'''The profile that MediaPackage uses when signaling subtitles in the manifest.
|
|
2686
|
+
|
|
2687
|
+
``IMSC`` is the default profile. ``EBU-TT-D`` produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see `EBU-TT-D Subtitling Distribution Format <https://docs.aws.amazon.com/https://tech.ebu.ch/publications/tech3380>`_ .
|
|
2688
|
+
|
|
2689
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashttmlconfiguration.html#cfn-mediapackagev2-originendpoint-dashttmlconfiguration-ttmlprofile
|
|
2690
|
+
'''
|
|
2691
|
+
result = self._values.get("ttml_profile")
|
|
2692
|
+
assert result is not None, "Required property 'ttml_profile' is missing"
|
|
2693
|
+
return typing.cast(builtins.str, result)
|
|
2694
|
+
|
|
2695
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2696
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2697
|
+
|
|
2698
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2699
|
+
return not (rhs == self)
|
|
2700
|
+
|
|
2701
|
+
def __repr__(self) -> str:
|
|
2702
|
+
return "DashTtmlConfigurationProperty(%s)" % ", ".join(
|
|
2703
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2704
|
+
)
|
|
2705
|
+
|
|
1909
2706
|
@jsii.data_type(
|
|
1910
2707
|
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.DashUtcTimingProperty",
|
|
1911
2708
|
jsii_struct_bases=[],
|
|
@@ -2498,13 +3295,13 @@ class CfnOriginEndpoint(
|
|
|
2498
3295
|
|
|
2499
3296
|
:param manifest_name: The name of the manifest associated with the HLS manifest configuration.
|
|
2500
3297
|
:param child_manifest_name: The name of the child manifest associated with the HLS manifest configuration.
|
|
2501
|
-
:param filter_configuration:
|
|
3298
|
+
:param filter_configuration: Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
2502
3299
|
:param manifest_window_seconds: The duration of the manifest window, in seconds, for the HLS manifest configuration.
|
|
2503
3300
|
:param program_date_time_interval_seconds: The ``EXT-X-PROGRAM-DATE-TIME`` interval, in seconds, associated with the HLS manifest configuration.
|
|
2504
3301
|
:param scte_hls: THE SCTE-35 HLS configuration associated with the HLS manifest configuration.
|
|
2505
|
-
:param start_tag:
|
|
3302
|
+
:param start_tag: To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
|
|
2506
3303
|
:param url: The URL of the HLS manifest configuration.
|
|
2507
|
-
:param url_encode_child_manifest:
|
|
3304
|
+
:param url_encode_child_manifest: When enabled, MediaPackage URL-encodes the query string for API requests for HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol. For more information, see `AWS Signature Version 4 for API requests <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html>`_ in *AWS Identity and Access Management User Guide* .
|
|
2508
3305
|
|
|
2509
3306
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html
|
|
2510
3307
|
:exampleMetadata: fixture=_generated
|
|
@@ -2596,7 +3393,7 @@ class CfnOriginEndpoint(
|
|
|
2596
3393
|
def filter_configuration(
|
|
2597
3394
|
self,
|
|
2598
3395
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.FilterConfigurationProperty"]]:
|
|
2599
|
-
'''
|
|
3396
|
+
'''Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
2600
3397
|
|
|
2601
3398
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-filterconfiguration
|
|
2602
3399
|
'''
|
|
@@ -2636,7 +3433,8 @@ class CfnOriginEndpoint(
|
|
|
2636
3433
|
def start_tag(
|
|
2637
3434
|
self,
|
|
2638
3435
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.StartTagProperty"]]:
|
|
2639
|
-
'''
|
|
3436
|
+
'''To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset.
|
|
3437
|
+
|
|
2640
3438
|
When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
|
|
2641
3439
|
|
|
2642
3440
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-starttag
|
|
@@ -2657,8 +3455,9 @@ class CfnOriginEndpoint(
|
|
|
2657
3455
|
def url_encode_child_manifest(
|
|
2658
3456
|
self,
|
|
2659
3457
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2660
|
-
'''
|
|
2661
|
-
|
|
3458
|
+
'''When enabled, MediaPackage URL-encodes the query string for API requests for HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol.
|
|
3459
|
+
|
|
3460
|
+
For more information, see `AWS Signature Version 4 for API requests <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html>`_ in *AWS Identity and Access Management User Guide* .
|
|
2662
3461
|
|
|
2663
3462
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-urlencodechildmanifest
|
|
2664
3463
|
'''
|
|
@@ -2709,13 +3508,13 @@ class CfnOriginEndpoint(
|
|
|
2709
3508
|
|
|
2710
3509
|
:param manifest_name: A short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, ``index`` . MediaPackage automatically inserts the format extension, such as ``.m3u8`` . You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The ``manifestName`` on the ``HLSManifest`` object overrides the ``manifestName`` you provided on the ``originEndpoint`` object.
|
|
2711
3510
|
:param child_manifest_name: The name of the child manifest associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
2712
|
-
:param filter_configuration:
|
|
3511
|
+
:param filter_configuration: Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
2713
3512
|
:param manifest_window_seconds: The total duration (in seconds) of the manifest's content.
|
|
2714
3513
|
:param program_date_time_interval_seconds: Inserts ``EXT-X-PROGRAM-DATE-TIME`` tags in the output manifest at the interval that you specify. If you don't enter an interval, ``EXT-X-PROGRAM-DATE-TIME`` tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Irrespective of this parameter, if any ``ID3Timed`` metadata is in the HLS input, MediaPackage passes through that metadata to the HLS output.
|
|
2715
3514
|
:param scte_hls: The SCTE-35 HLS configuration associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
2716
|
-
:param start_tag:
|
|
3515
|
+
:param start_tag: To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
|
|
2717
3516
|
:param url: The URL of the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
2718
|
-
:param url_encode_child_manifest:
|
|
3517
|
+
:param url_encode_child_manifest: When enabled, MediaPackage URL-encodes the query string for API requests for LL-HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol. For more information, see `AWS Signature Version 4 for API requests <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html>`_ in *AWS Identity and Access Management User Guide* .
|
|
2719
3518
|
|
|
2720
3519
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html
|
|
2721
3520
|
:exampleMetadata: fixture=_generated
|
|
@@ -2809,7 +3608,7 @@ class CfnOriginEndpoint(
|
|
|
2809
3608
|
def filter_configuration(
|
|
2810
3609
|
self,
|
|
2811
3610
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.FilterConfigurationProperty"]]:
|
|
2812
|
-
'''
|
|
3611
|
+
'''Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
|
|
2813
3612
|
|
|
2814
3613
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-filterconfiguration
|
|
2815
3614
|
'''
|
|
@@ -2853,7 +3652,8 @@ class CfnOriginEndpoint(
|
|
|
2853
3652
|
def start_tag(
|
|
2854
3653
|
self,
|
|
2855
3654
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.StartTagProperty"]]:
|
|
2856
|
-
'''
|
|
3655
|
+
'''To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset.
|
|
3656
|
+
|
|
2857
3657
|
When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
|
|
2858
3658
|
|
|
2859
3659
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-starttag
|
|
@@ -2874,8 +3674,9 @@ class CfnOriginEndpoint(
|
|
|
2874
3674
|
def url_encode_child_manifest(
|
|
2875
3675
|
self,
|
|
2876
3676
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2877
|
-
'''
|
|
2878
|
-
|
|
3677
|
+
'''When enabled, MediaPackage URL-encodes the query string for API requests for LL-HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol.
|
|
3678
|
+
|
|
3679
|
+
For more information, see `AWS Signature Version 4 for API requests <https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html>`_ in *AWS Identity and Access Management User Guide* .
|
|
2879
3680
|
|
|
2880
3681
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-urlencodechildmanifest
|
|
2881
3682
|
'''
|
|
@@ -3792,7 +4593,29 @@ class CfnOriginEndpointProps:
|
|
|
3792
4593
|
manifest_name="manifestName",
|
|
3793
4594
|
|
|
3794
4595
|
# the properties below are optional
|
|
4596
|
+
base_urls=[mediapackagev2.CfnOriginEndpoint.DashBaseUrlProperty(
|
|
4597
|
+
url="url",
|
|
4598
|
+
|
|
4599
|
+
# the properties below are optional
|
|
4600
|
+
dvb_priority=123,
|
|
4601
|
+
dvb_weight=123,
|
|
4602
|
+
service_location="serviceLocation"
|
|
4603
|
+
)],
|
|
4604
|
+
compactness="compactness",
|
|
3795
4605
|
drm_signaling="drmSignaling",
|
|
4606
|
+
dvb_settings=mediapackagev2.CfnOriginEndpoint.DashDvbSettingsProperty(
|
|
4607
|
+
error_metrics=[mediapackagev2.CfnOriginEndpoint.DashDvbMetricsReportingProperty(
|
|
4608
|
+
reporting_url="reportingUrl",
|
|
4609
|
+
|
|
4610
|
+
# the properties below are optional
|
|
4611
|
+
probability=123
|
|
4612
|
+
)],
|
|
4613
|
+
font_download=mediapackagev2.CfnOriginEndpoint.DashDvbFontDownloadProperty(
|
|
4614
|
+
font_family="fontFamily",
|
|
4615
|
+
mime_type="mimeType",
|
|
4616
|
+
url="url"
|
|
4617
|
+
)
|
|
4618
|
+
),
|
|
3796
4619
|
filter_configuration=mediapackagev2.CfnOriginEndpoint.FilterConfigurationProperty(
|
|
3797
4620
|
clip_start_time="clipStartTime",
|
|
3798
4621
|
end="end",
|
|
@@ -3804,10 +4627,23 @@ class CfnOriginEndpointProps:
|
|
|
3804
4627
|
min_buffer_time_seconds=123,
|
|
3805
4628
|
min_update_period_seconds=123,
|
|
3806
4629
|
period_triggers=["periodTriggers"],
|
|
4630
|
+
profiles=["profiles"],
|
|
4631
|
+
program_information=mediapackagev2.CfnOriginEndpoint.DashProgramInformationProperty(
|
|
4632
|
+
copyright="copyright",
|
|
4633
|
+
language_code="languageCode",
|
|
4634
|
+
more_information_url="moreInformationUrl",
|
|
4635
|
+
source="source",
|
|
4636
|
+
title="title"
|
|
4637
|
+
),
|
|
3807
4638
|
scte_dash=mediapackagev2.CfnOriginEndpoint.ScteDashProperty(
|
|
3808
4639
|
ad_marker_dash="adMarkerDash"
|
|
3809
4640
|
),
|
|
3810
4641
|
segment_template_format="segmentTemplateFormat",
|
|
4642
|
+
subtitle_configuration=mediapackagev2.CfnOriginEndpoint.DashSubtitleConfigurationProperty(
|
|
4643
|
+
ttml_configuration=mediapackagev2.CfnOriginEndpoint.DashTtmlConfigurationProperty(
|
|
4644
|
+
ttml_profile="ttmlProfile"
|
|
4645
|
+
)
|
|
4646
|
+
),
|
|
3811
4647
|
suggested_presentation_delay_seconds=123,
|
|
3812
4648
|
utc_timing=mediapackagev2.CfnOriginEndpoint.DashUtcTimingProperty(
|
|
3813
4649
|
timing_mode="timingMode",
|
|
@@ -4403,23 +5239,89 @@ def _typecheckingstub__65cc25545f38d01b8ccc61c9494f0994747ef22d12fc3c94c71cb091a
|
|
|
4403
5239
|
"""Type checking stubs"""
|
|
4404
5240
|
pass
|
|
4405
5241
|
|
|
5242
|
+
def _typecheckingstub__be1d880fe401caed5e0186c4f4a6b76f8d63f2e78cf2fcbb490b66d185d4af29(
|
|
5243
|
+
*,
|
|
5244
|
+
url: builtins.str,
|
|
5245
|
+
dvb_priority: typing.Optional[jsii.Number] = None,
|
|
5246
|
+
dvb_weight: typing.Optional[jsii.Number] = None,
|
|
5247
|
+
service_location: typing.Optional[builtins.str] = None,
|
|
5248
|
+
) -> None:
|
|
5249
|
+
"""Type checking stubs"""
|
|
5250
|
+
pass
|
|
5251
|
+
|
|
5252
|
+
def _typecheckingstub__81c2694b55243cfd80ec8b5b8d807b1d991f3ae38973b41f6fb77d9d5ea24965(
|
|
5253
|
+
*,
|
|
5254
|
+
font_family: typing.Optional[builtins.str] = None,
|
|
5255
|
+
mime_type: typing.Optional[builtins.str] = None,
|
|
5256
|
+
url: typing.Optional[builtins.str] = None,
|
|
5257
|
+
) -> None:
|
|
5258
|
+
"""Type checking stubs"""
|
|
5259
|
+
pass
|
|
5260
|
+
|
|
5261
|
+
def _typecheckingstub__fadf127f9f82d1f5f09e73b8a4d72d5685c1236b84cdaa5c6132a7ab4774e495(
|
|
5262
|
+
*,
|
|
5263
|
+
reporting_url: builtins.str,
|
|
5264
|
+
probability: typing.Optional[jsii.Number] = None,
|
|
5265
|
+
) -> None:
|
|
5266
|
+
"""Type checking stubs"""
|
|
5267
|
+
pass
|
|
5268
|
+
|
|
5269
|
+
def _typecheckingstub__280a149dc1f481cd4b69b2b250e75d424c71bee34e699369b2294841b0aed7d8(
|
|
5270
|
+
*,
|
|
5271
|
+
error_metrics: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashDvbMetricsReportingProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5272
|
+
font_download: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashDvbFontDownloadProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5273
|
+
) -> None:
|
|
5274
|
+
"""Type checking stubs"""
|
|
5275
|
+
pass
|
|
5276
|
+
|
|
4406
5277
|
def _typecheckingstub__20e3bfad4ae40517c778173bab356d7bd208497ee33a09fdc9e380135384dfc6(
|
|
4407
5278
|
*,
|
|
4408
5279
|
manifest_name: builtins.str,
|
|
5280
|
+
base_urls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashBaseUrlProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
5281
|
+
compactness: typing.Optional[builtins.str] = None,
|
|
4409
5282
|
drm_signaling: typing.Optional[builtins.str] = None,
|
|
5283
|
+
dvb_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashDvbSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4410
5284
|
filter_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.FilterConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4411
5285
|
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
4412
5286
|
min_buffer_time_seconds: typing.Optional[jsii.Number] = None,
|
|
4413
5287
|
min_update_period_seconds: typing.Optional[jsii.Number] = None,
|
|
4414
5288
|
period_triggers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5289
|
+
profiles: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5290
|
+
program_information: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashProgramInformationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4415
5291
|
scte_dash: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ScteDashProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4416
5292
|
segment_template_format: typing.Optional[builtins.str] = None,
|
|
5293
|
+
subtitle_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashSubtitleConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4417
5294
|
suggested_presentation_delay_seconds: typing.Optional[jsii.Number] = None,
|
|
4418
5295
|
utc_timing: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashUtcTimingProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4419
5296
|
) -> None:
|
|
4420
5297
|
"""Type checking stubs"""
|
|
4421
5298
|
pass
|
|
4422
5299
|
|
|
5300
|
+
def _typecheckingstub__5b0c2b5b70e24041767a172f1ebbd9317cd4ce50194b747d40b0c075a554bb92(
|
|
5301
|
+
*,
|
|
5302
|
+
copyright: typing.Optional[builtins.str] = None,
|
|
5303
|
+
language_code: typing.Optional[builtins.str] = None,
|
|
5304
|
+
more_information_url: typing.Optional[builtins.str] = None,
|
|
5305
|
+
source: typing.Optional[builtins.str] = None,
|
|
5306
|
+
title: typing.Optional[builtins.str] = None,
|
|
5307
|
+
) -> None:
|
|
5308
|
+
"""Type checking stubs"""
|
|
5309
|
+
pass
|
|
5310
|
+
|
|
5311
|
+
def _typecheckingstub__aa51912df0060cf290274ace134d0cb16e34e1de7ea689b411eeae296d9a8155(
|
|
5312
|
+
*,
|
|
5313
|
+
ttml_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.DashTtmlConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5314
|
+
) -> None:
|
|
5315
|
+
"""Type checking stubs"""
|
|
5316
|
+
pass
|
|
5317
|
+
|
|
5318
|
+
def _typecheckingstub__bba187ab72699f6dc21195cb98838c8f292af76576ca0254079260c1346c116d(
|
|
5319
|
+
*,
|
|
5320
|
+
ttml_profile: builtins.str,
|
|
5321
|
+
) -> None:
|
|
5322
|
+
"""Type checking stubs"""
|
|
5323
|
+
pass
|
|
5324
|
+
|
|
4423
5325
|
def _typecheckingstub__09bad37e3e4d3382385a9f8aab252d146616b680c49d6ef16671c82ef1248794(
|
|
4424
5326
|
*,
|
|
4425
5327
|
timing_mode: typing.Optional[builtins.str] = None,
|