aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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 +246 -62
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +1 -1
- aws_cdk/aws_appflow/__init__.py +205 -7
- aws_cdk/aws_appstream/__init__.py +33 -28
- aws_cdk/aws_appsync/__init__.py +555 -71
- aws_cdk/aws_autoscaling/__init__.py +5 -11
- aws_cdk/aws_billingconductor/__init__.py +145 -1
- aws_cdk/aws_cleanrooms/__init__.py +1198 -86
- aws_cdk/aws_cloudformation/__init__.py +221 -55
- aws_cdk/aws_cloudwatch/__init__.py +325 -2
- aws_cdk/aws_cognito/__init__.py +9 -13
- aws_cdk/aws_config/__init__.py +68 -73
- aws_cdk/aws_connect/__init__.py +909 -164
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_dms/__init__.py +198 -0
- aws_cdk/aws_ec2/__init__.py +593 -73
- aws_cdk/aws_ecr/__init__.py +7 -2
- aws_cdk/aws_ecs/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +237 -0
- aws_cdk/aws_emr/__init__.py +232 -0
- aws_cdk/aws_entityresolution/__init__.py +1702 -0
- aws_cdk/aws_events/__init__.py +13 -18
- aws_cdk/aws_fms/__init__.py +3 -3
- aws_cdk/aws_gamelift/__init__.py +10 -15
- aws_cdk/aws_grafana/__init__.py +9 -5
- aws_cdk/aws_guardduty/__init__.py +272 -205
- aws_cdk/aws_iam/__init__.py +20 -18
- aws_cdk/aws_iotwireless/__init__.py +38 -54
- aws_cdk/aws_lakeformation/__init__.py +18 -6
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_lightsail/__init__.py +225 -0
- aws_cdk/aws_lookoutequipment/__init__.py +4 -4
- aws_cdk/aws_macie/__init__.py +5 -3
- aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
- aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
- aws_cdk/aws_quicksight/__init__.py +189 -116
- aws_cdk/aws_rds/__init__.py +316 -9
- aws_cdk/aws_resiliencehub/__init__.py +38 -21
- aws_cdk/aws_route53resolver/__init__.py +429 -0
- aws_cdk/aws_sagemaker/__init__.py +34 -34
- aws_cdk/aws_stepfunctions/__init__.py +111 -14
- aws_cdk/aws_transfer/__init__.py +2 -2
- aws_cdk/aws_vpclattice/__init__.py +128 -120
- aws_cdk/aws_workspacesweb/__init__.py +3790 -0
- aws_cdk/region_info/__init__.py +49 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,3227 @@
|
|
|
1
|
+
'''
|
|
2
|
+
# AWS::MediaPackageV2 Construct Library
|
|
3
|
+
|
|
4
|
+
<!--BEGIN STABILITY BANNER-->---
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
<!--END STABILITY BANNER-->
|
|
13
|
+
|
|
14
|
+
This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
|
|
15
|
+
|
|
16
|
+
```python
|
|
17
|
+
import aws_cdk.aws_mediapackagev2 as mediapackage
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
21
|
+
|
|
22
|
+
There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
|
|
23
|
+
|
|
24
|
+
* Search [Construct Hub for MediaPackageV2 construct libraries](https://constructs.dev/search?q=mediapackagev2)
|
|
25
|
+
* Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::MediaPackageV2 resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MediaPackageV2.html) directly.
|
|
26
|
+
|
|
27
|
+
<!--BEGIN CFNONLY DISCLAIMER-->
|
|
28
|
+
|
|
29
|
+
There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
|
|
30
|
+
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
|
|
31
|
+
|
|
32
|
+
For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::MediaPackageV2](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_MediaPackageV2.html).
|
|
33
|
+
|
|
34
|
+
(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
|
|
35
|
+
|
|
36
|
+
<!--END CFNONLY DISCLAIMER-->
|
|
37
|
+
'''
|
|
38
|
+
import abc
|
|
39
|
+
import builtins
|
|
40
|
+
import datetime
|
|
41
|
+
import enum
|
|
42
|
+
import typing
|
|
43
|
+
|
|
44
|
+
import jsii
|
|
45
|
+
import publication
|
|
46
|
+
import typing_extensions
|
|
47
|
+
|
|
48
|
+
from typeguard import check_type
|
|
49
|
+
|
|
50
|
+
from .._jsii import *
|
|
51
|
+
|
|
52
|
+
import constructs as _constructs_77d1e7e8
|
|
53
|
+
from .. import (
|
|
54
|
+
CfnResource as _CfnResource_9df397a6,
|
|
55
|
+
CfnTag as _CfnTag_f6864754,
|
|
56
|
+
IInspectable as _IInspectable_c2943556,
|
|
57
|
+
IResolvable as _IResolvable_da3f097b,
|
|
58
|
+
TreeInspector as _TreeInspector_488e0dd5,
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
63
|
+
class CfnChannel(
|
|
64
|
+
_CfnResource_9df397a6,
|
|
65
|
+
metaclass=jsii.JSIIMeta,
|
|
66
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannel",
|
|
67
|
+
):
|
|
68
|
+
'''Creates a channel to receive content.
|
|
69
|
+
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html
|
|
73
|
+
:exampleMetadata: fixture=_generated
|
|
74
|
+
|
|
75
|
+
Example::
|
|
76
|
+
|
|
77
|
+
# The code below shows an example of how to instantiate this type.
|
|
78
|
+
# The values are placeholders you should change.
|
|
79
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
80
|
+
|
|
81
|
+
cfn_channel = mediapackagev2.CfnChannel(self, "MyCfnChannel",
|
|
82
|
+
channel_group_name="channelGroupName",
|
|
83
|
+
channel_name="channelName",
|
|
84
|
+
description="description",
|
|
85
|
+
tags=[CfnTag(
|
|
86
|
+
key="key",
|
|
87
|
+
value="value"
|
|
88
|
+
)]
|
|
89
|
+
)
|
|
90
|
+
'''
|
|
91
|
+
|
|
92
|
+
def __init__(
|
|
93
|
+
self,
|
|
94
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
95
|
+
id: builtins.str,
|
|
96
|
+
*,
|
|
97
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
98
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
99
|
+
description: typing.Optional[builtins.str] = None,
|
|
100
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
101
|
+
) -> None:
|
|
102
|
+
'''
|
|
103
|
+
:param scope: Scope in which this resource is defined.
|
|
104
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
105
|
+
:param channel_group_name: The name of the channel group associated with the channel configuration.
|
|
106
|
+
:param channel_name: The name of the channel.
|
|
107
|
+
:param description: The description of the channel.
|
|
108
|
+
:param tags: The tags associated with the channel.
|
|
109
|
+
'''
|
|
110
|
+
if __debug__:
|
|
111
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f5f12d43fb05232f03795c27e5dde1f408f5762e93edacb27e01efb9e0e3c7c1)
|
|
112
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
113
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
114
|
+
props = CfnChannelProps(
|
|
115
|
+
channel_group_name=channel_group_name,
|
|
116
|
+
channel_name=channel_name,
|
|
117
|
+
description=description,
|
|
118
|
+
tags=tags,
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
122
|
+
|
|
123
|
+
@jsii.member(jsii_name="inspect")
|
|
124
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
125
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
126
|
+
|
|
127
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
128
|
+
'''
|
|
129
|
+
if __debug__:
|
|
130
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e420705ca6e035f67df6dc549d10387c546517b6ba6c086e3e8a2aa9d31185d9)
|
|
131
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
132
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
133
|
+
|
|
134
|
+
@jsii.member(jsii_name="renderProperties")
|
|
135
|
+
def _render_properties(
|
|
136
|
+
self,
|
|
137
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
138
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
139
|
+
'''
|
|
140
|
+
:param props: -
|
|
141
|
+
'''
|
|
142
|
+
if __debug__:
|
|
143
|
+
type_hints = typing.get_type_hints(_typecheckingstub__151c82108a0a47810b493e5e882a8c1cee0d53d834da01c686f370947109f4b2)
|
|
144
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
145
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
146
|
+
|
|
147
|
+
@jsii.python.classproperty
|
|
148
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
149
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
150
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
151
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
152
|
+
|
|
153
|
+
@builtins.property
|
|
154
|
+
@jsii.member(jsii_name="attrArn")
|
|
155
|
+
def attr_arn(self) -> builtins.str:
|
|
156
|
+
'''The Amazon Resource Name (ARN) of the channel.
|
|
157
|
+
|
|
158
|
+
:cloudformationAttribute: Arn
|
|
159
|
+
'''
|
|
160
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
161
|
+
|
|
162
|
+
@builtins.property
|
|
163
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
164
|
+
def attr_created_at(self) -> builtins.str:
|
|
165
|
+
'''The timestamp of the ccreation of the channel.
|
|
166
|
+
|
|
167
|
+
:cloudformationAttribute: CreatedAt
|
|
168
|
+
'''
|
|
169
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
170
|
+
|
|
171
|
+
@builtins.property
|
|
172
|
+
@jsii.member(jsii_name="attrIngestEndpoints")
|
|
173
|
+
def attr_ingest_endpoints(self) -> _IResolvable_da3f097b:
|
|
174
|
+
'''The ingest endpoints associated with the channel.
|
|
175
|
+
|
|
176
|
+
:cloudformationAttribute: IngestEndpoints
|
|
177
|
+
'''
|
|
178
|
+
return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrIngestEndpoints"))
|
|
179
|
+
|
|
180
|
+
@builtins.property
|
|
181
|
+
@jsii.member(jsii_name="attrModifiedAt")
|
|
182
|
+
def attr_modified_at(self) -> builtins.str:
|
|
183
|
+
'''The timestamp of the modification of the channel.
|
|
184
|
+
|
|
185
|
+
:cloudformationAttribute: ModifiedAt
|
|
186
|
+
'''
|
|
187
|
+
return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
|
|
188
|
+
|
|
189
|
+
@builtins.property
|
|
190
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
191
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
192
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
193
|
+
|
|
194
|
+
@builtins.property
|
|
195
|
+
@jsii.member(jsii_name="channelGroupName")
|
|
196
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
197
|
+
'''The name of the channel group associated with the channel configuration.'''
|
|
198
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelGroupName"))
|
|
199
|
+
|
|
200
|
+
@channel_group_name.setter
|
|
201
|
+
def channel_group_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
202
|
+
if __debug__:
|
|
203
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9226145b09f87b401f2f5e357dafd5cd14b0b6a288f53bb6f985030a67a2ac8c)
|
|
204
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
205
|
+
jsii.set(self, "channelGroupName", value)
|
|
206
|
+
|
|
207
|
+
@builtins.property
|
|
208
|
+
@jsii.member(jsii_name="channelName")
|
|
209
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
210
|
+
'''The name of the channel.'''
|
|
211
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelName"))
|
|
212
|
+
|
|
213
|
+
@channel_name.setter
|
|
214
|
+
def channel_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
215
|
+
if __debug__:
|
|
216
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f1e91bde8ef4635665f6fef9c2cf22478a1d6e8a29ee675d883277fd4eb950f8)
|
|
217
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
218
|
+
jsii.set(self, "channelName", value)
|
|
219
|
+
|
|
220
|
+
@builtins.property
|
|
221
|
+
@jsii.member(jsii_name="description")
|
|
222
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
223
|
+
'''The description of the channel.'''
|
|
224
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
225
|
+
|
|
226
|
+
@description.setter
|
|
227
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
228
|
+
if __debug__:
|
|
229
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ee07183524d44b124938ad354f47b29384e1ea3a14ba4e7fa739d6847d2cdf12)
|
|
230
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
231
|
+
jsii.set(self, "description", value)
|
|
232
|
+
|
|
233
|
+
@builtins.property
|
|
234
|
+
@jsii.member(jsii_name="tags")
|
|
235
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
236
|
+
'''The tags associated with the channel.'''
|
|
237
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
238
|
+
|
|
239
|
+
@tags.setter
|
|
240
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
241
|
+
if __debug__:
|
|
242
|
+
type_hints = typing.get_type_hints(_typecheckingstub__61a8d14ccc4954881d5a995d8d9c088f4870a4a3a28d0b44314514a2fbb02a01)
|
|
243
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
244
|
+
jsii.set(self, "tags", value)
|
|
245
|
+
|
|
246
|
+
@jsii.data_type(
|
|
247
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannel.IngestEndpointProperty",
|
|
248
|
+
jsii_struct_bases=[],
|
|
249
|
+
name_mapping={"id": "id", "url": "url"},
|
|
250
|
+
)
|
|
251
|
+
class IngestEndpointProperty:
|
|
252
|
+
def __init__(
|
|
253
|
+
self,
|
|
254
|
+
*,
|
|
255
|
+
id: typing.Optional[builtins.str] = None,
|
|
256
|
+
url: typing.Optional[builtins.str] = None,
|
|
257
|
+
) -> None:
|
|
258
|
+
'''The input URL where the source stream should be sent.
|
|
259
|
+
|
|
260
|
+
:param id: The identifier associated with the ingest endpoint of the channel.
|
|
261
|
+
:param url: The URL associated with the ingest endpoint of the channel.
|
|
262
|
+
|
|
263
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-ingestendpoint.html
|
|
264
|
+
:exampleMetadata: fixture=_generated
|
|
265
|
+
|
|
266
|
+
Example::
|
|
267
|
+
|
|
268
|
+
# The code below shows an example of how to instantiate this type.
|
|
269
|
+
# The values are placeholders you should change.
|
|
270
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
271
|
+
|
|
272
|
+
ingest_endpoint_property = mediapackagev2.CfnChannel.IngestEndpointProperty(
|
|
273
|
+
id="id",
|
|
274
|
+
url="url"
|
|
275
|
+
)
|
|
276
|
+
'''
|
|
277
|
+
if __debug__:
|
|
278
|
+
type_hints = typing.get_type_hints(_typecheckingstub__52a72049adc4af63f65ccfb6f3c098cecb2b442bbe00bad4a877f2099a4bea86)
|
|
279
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
280
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
281
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
282
|
+
if id is not None:
|
|
283
|
+
self._values["id"] = id
|
|
284
|
+
if url is not None:
|
|
285
|
+
self._values["url"] = url
|
|
286
|
+
|
|
287
|
+
@builtins.property
|
|
288
|
+
def id(self) -> typing.Optional[builtins.str]:
|
|
289
|
+
'''The identifier associated with the ingest endpoint of the channel.
|
|
290
|
+
|
|
291
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-ingestendpoint.html#cfn-mediapackagev2-channel-ingestendpoint-id
|
|
292
|
+
'''
|
|
293
|
+
result = self._values.get("id")
|
|
294
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
295
|
+
|
|
296
|
+
@builtins.property
|
|
297
|
+
def url(self) -> typing.Optional[builtins.str]:
|
|
298
|
+
'''The URL associated with the ingest endpoint of the channel.
|
|
299
|
+
|
|
300
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-ingestendpoint.html#cfn-mediapackagev2-channel-ingestendpoint-url
|
|
301
|
+
'''
|
|
302
|
+
result = self._values.get("url")
|
|
303
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
304
|
+
|
|
305
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
306
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
307
|
+
|
|
308
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
309
|
+
return not (rhs == self)
|
|
310
|
+
|
|
311
|
+
def __repr__(self) -> str:
|
|
312
|
+
return "IngestEndpointProperty(%s)" % ", ".join(
|
|
313
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
318
|
+
class CfnChannelGroup(
|
|
319
|
+
_CfnResource_9df397a6,
|
|
320
|
+
metaclass=jsii.JSIIMeta,
|
|
321
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelGroup",
|
|
322
|
+
):
|
|
323
|
+
'''Specifies the configuraiton for a MediaPackage V2 channel group.
|
|
324
|
+
|
|
325
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html
|
|
326
|
+
:exampleMetadata: fixture=_generated
|
|
327
|
+
|
|
328
|
+
Example::
|
|
329
|
+
|
|
330
|
+
# The code below shows an example of how to instantiate this type.
|
|
331
|
+
# The values are placeholders you should change.
|
|
332
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
333
|
+
|
|
334
|
+
cfn_channel_group = mediapackagev2.CfnChannelGroup(self, "MyCfnChannelGroup",
|
|
335
|
+
channel_group_name="channelGroupName",
|
|
336
|
+
description="description",
|
|
337
|
+
tags=[CfnTag(
|
|
338
|
+
key="key",
|
|
339
|
+
value="value"
|
|
340
|
+
)]
|
|
341
|
+
)
|
|
342
|
+
'''
|
|
343
|
+
|
|
344
|
+
def __init__(
|
|
345
|
+
self,
|
|
346
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
347
|
+
id: builtins.str,
|
|
348
|
+
*,
|
|
349
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
350
|
+
description: typing.Optional[builtins.str] = None,
|
|
351
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
352
|
+
) -> None:
|
|
353
|
+
'''
|
|
354
|
+
:param scope: Scope in which this resource is defined.
|
|
355
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
356
|
+
:param channel_group_name: The name of the channel group.
|
|
357
|
+
:param description: The configuration for a MediaPackage V2 channel group.
|
|
358
|
+
:param tags: The tags associated with the channel group.
|
|
359
|
+
'''
|
|
360
|
+
if __debug__:
|
|
361
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0d830ced0539d40633bba571496a990f327b96c8fb475a589dba800d21ebab93)
|
|
362
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
363
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
364
|
+
props = CfnChannelGroupProps(
|
|
365
|
+
channel_group_name=channel_group_name, description=description, tags=tags
|
|
366
|
+
)
|
|
367
|
+
|
|
368
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
369
|
+
|
|
370
|
+
@jsii.member(jsii_name="inspect")
|
|
371
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
372
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
373
|
+
|
|
374
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
375
|
+
'''
|
|
376
|
+
if __debug__:
|
|
377
|
+
type_hints = typing.get_type_hints(_typecheckingstub__85339d527078ada2373603756ae52ddf1f0419ece647a7ea7d90b5a88cd80494)
|
|
378
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
379
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
380
|
+
|
|
381
|
+
@jsii.member(jsii_name="renderProperties")
|
|
382
|
+
def _render_properties(
|
|
383
|
+
self,
|
|
384
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
385
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
386
|
+
'''
|
|
387
|
+
:param props: -
|
|
388
|
+
'''
|
|
389
|
+
if __debug__:
|
|
390
|
+
type_hints = typing.get_type_hints(_typecheckingstub__15b97c97551c59b98a88e9243bce42e0880ba6021ce928c5162f4d188e32c3d0)
|
|
391
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
392
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
393
|
+
|
|
394
|
+
@jsii.python.classproperty
|
|
395
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
396
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
397
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
398
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
399
|
+
|
|
400
|
+
@builtins.property
|
|
401
|
+
@jsii.member(jsii_name="attrArn")
|
|
402
|
+
def attr_arn(self) -> builtins.str:
|
|
403
|
+
'''The Amazon Resource Name (ARN) of the channel group.
|
|
404
|
+
|
|
405
|
+
:cloudformationAttribute: Arn
|
|
406
|
+
'''
|
|
407
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
408
|
+
|
|
409
|
+
@builtins.property
|
|
410
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
411
|
+
def attr_created_at(self) -> builtins.str:
|
|
412
|
+
'''The timestamp of the creation of the channel group.
|
|
413
|
+
|
|
414
|
+
:cloudformationAttribute: CreatedAt
|
|
415
|
+
'''
|
|
416
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
417
|
+
|
|
418
|
+
@builtins.property
|
|
419
|
+
@jsii.member(jsii_name="attrEgressDomain")
|
|
420
|
+
def attr_egress_domain(self) -> builtins.str:
|
|
421
|
+
'''The egress domain of the channel group.
|
|
422
|
+
|
|
423
|
+
:cloudformationAttribute: EgressDomain
|
|
424
|
+
'''
|
|
425
|
+
return typing.cast(builtins.str, jsii.get(self, "attrEgressDomain"))
|
|
426
|
+
|
|
427
|
+
@builtins.property
|
|
428
|
+
@jsii.member(jsii_name="attrModifiedAt")
|
|
429
|
+
def attr_modified_at(self) -> builtins.str:
|
|
430
|
+
'''The timestamp of the modification of the channel group.
|
|
431
|
+
|
|
432
|
+
:cloudformationAttribute: ModifiedAt
|
|
433
|
+
'''
|
|
434
|
+
return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
|
|
435
|
+
|
|
436
|
+
@builtins.property
|
|
437
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
438
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
439
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
440
|
+
|
|
441
|
+
@builtins.property
|
|
442
|
+
@jsii.member(jsii_name="channelGroupName")
|
|
443
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
444
|
+
'''The name of the channel group.'''
|
|
445
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelGroupName"))
|
|
446
|
+
|
|
447
|
+
@channel_group_name.setter
|
|
448
|
+
def channel_group_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
449
|
+
if __debug__:
|
|
450
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ab608f9f2545c6bf246db306be81d4790f5052ef181c364ada9dfba9527799b0)
|
|
451
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
452
|
+
jsii.set(self, "channelGroupName", value)
|
|
453
|
+
|
|
454
|
+
@builtins.property
|
|
455
|
+
@jsii.member(jsii_name="description")
|
|
456
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
457
|
+
'''The configuration for a MediaPackage V2 channel group.'''
|
|
458
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
459
|
+
|
|
460
|
+
@description.setter
|
|
461
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
462
|
+
if __debug__:
|
|
463
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7398d92754f71ac10dc5aea2094dad8322025c79ae1302b6a69e6216e4e16144)
|
|
464
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
465
|
+
jsii.set(self, "description", value)
|
|
466
|
+
|
|
467
|
+
@builtins.property
|
|
468
|
+
@jsii.member(jsii_name="tags")
|
|
469
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
470
|
+
'''The tags associated with the channel group.'''
|
|
471
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
472
|
+
|
|
473
|
+
@tags.setter
|
|
474
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
475
|
+
if __debug__:
|
|
476
|
+
type_hints = typing.get_type_hints(_typecheckingstub__07fbb1a31d1fae7c89e591bbcc359f5dc55386649647301df2f2e0b4e9727f81)
|
|
477
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
478
|
+
jsii.set(self, "tags", value)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
@jsii.data_type(
|
|
482
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelGroupProps",
|
|
483
|
+
jsii_struct_bases=[],
|
|
484
|
+
name_mapping={
|
|
485
|
+
"channel_group_name": "channelGroupName",
|
|
486
|
+
"description": "description",
|
|
487
|
+
"tags": "tags",
|
|
488
|
+
},
|
|
489
|
+
)
|
|
490
|
+
class CfnChannelGroupProps:
|
|
491
|
+
def __init__(
|
|
492
|
+
self,
|
|
493
|
+
*,
|
|
494
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
495
|
+
description: typing.Optional[builtins.str] = None,
|
|
496
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
497
|
+
) -> None:
|
|
498
|
+
'''Properties for defining a ``CfnChannelGroup``.
|
|
499
|
+
|
|
500
|
+
:param channel_group_name: The name of the channel group.
|
|
501
|
+
:param description: The configuration for a MediaPackage V2 channel group.
|
|
502
|
+
:param tags: The tags associated with the channel group.
|
|
503
|
+
|
|
504
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html
|
|
505
|
+
:exampleMetadata: fixture=_generated
|
|
506
|
+
|
|
507
|
+
Example::
|
|
508
|
+
|
|
509
|
+
# The code below shows an example of how to instantiate this type.
|
|
510
|
+
# The values are placeholders you should change.
|
|
511
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
512
|
+
|
|
513
|
+
cfn_channel_group_props = mediapackagev2.CfnChannelGroupProps(
|
|
514
|
+
channel_group_name="channelGroupName",
|
|
515
|
+
description="description",
|
|
516
|
+
tags=[CfnTag(
|
|
517
|
+
key="key",
|
|
518
|
+
value="value"
|
|
519
|
+
)]
|
|
520
|
+
)
|
|
521
|
+
'''
|
|
522
|
+
if __debug__:
|
|
523
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c53e8c32bcc3339086fcebea2b9a32198690f58e488775d546eac1d98ce6635e)
|
|
524
|
+
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
525
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
526
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
527
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
528
|
+
if channel_group_name is not None:
|
|
529
|
+
self._values["channel_group_name"] = channel_group_name
|
|
530
|
+
if description is not None:
|
|
531
|
+
self._values["description"] = description
|
|
532
|
+
if tags is not None:
|
|
533
|
+
self._values["tags"] = tags
|
|
534
|
+
|
|
535
|
+
@builtins.property
|
|
536
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
537
|
+
'''The name of the channel group.
|
|
538
|
+
|
|
539
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html#cfn-mediapackagev2-channelgroup-channelgroupname
|
|
540
|
+
'''
|
|
541
|
+
result = self._values.get("channel_group_name")
|
|
542
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
543
|
+
|
|
544
|
+
@builtins.property
|
|
545
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
546
|
+
'''The configuration for a MediaPackage V2 channel group.
|
|
547
|
+
|
|
548
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html#cfn-mediapackagev2-channelgroup-description
|
|
549
|
+
'''
|
|
550
|
+
result = self._values.get("description")
|
|
551
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
552
|
+
|
|
553
|
+
@builtins.property
|
|
554
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
555
|
+
'''The tags associated with the channel group.
|
|
556
|
+
|
|
557
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelgroup.html#cfn-mediapackagev2-channelgroup-tags
|
|
558
|
+
'''
|
|
559
|
+
result = self._values.get("tags")
|
|
560
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
561
|
+
|
|
562
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
563
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
564
|
+
|
|
565
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
566
|
+
return not (rhs == self)
|
|
567
|
+
|
|
568
|
+
def __repr__(self) -> str:
|
|
569
|
+
return "CfnChannelGroupProps(%s)" % ", ".join(
|
|
570
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
571
|
+
)
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
575
|
+
class CfnChannelPolicy(
|
|
576
|
+
_CfnResource_9df397a6,
|
|
577
|
+
metaclass=jsii.JSIIMeta,
|
|
578
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelPolicy",
|
|
579
|
+
):
|
|
580
|
+
'''Specifies the configuration parameters of a MediaPackage V2 channel policy.
|
|
581
|
+
|
|
582
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html
|
|
583
|
+
:exampleMetadata: fixture=_generated
|
|
584
|
+
|
|
585
|
+
Example::
|
|
586
|
+
|
|
587
|
+
# The code below shows an example of how to instantiate this type.
|
|
588
|
+
# The values are placeholders you should change.
|
|
589
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
590
|
+
|
|
591
|
+
# policy: Any
|
|
592
|
+
|
|
593
|
+
cfn_channel_policy = mediapackagev2.CfnChannelPolicy(self, "MyCfnChannelPolicy",
|
|
594
|
+
policy=policy,
|
|
595
|
+
|
|
596
|
+
# the properties below are optional
|
|
597
|
+
channel_group_name="channelGroupName",
|
|
598
|
+
channel_name="channelName"
|
|
599
|
+
)
|
|
600
|
+
'''
|
|
601
|
+
|
|
602
|
+
def __init__(
|
|
603
|
+
self,
|
|
604
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
605
|
+
id: builtins.str,
|
|
606
|
+
*,
|
|
607
|
+
policy: typing.Any,
|
|
608
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
609
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
610
|
+
) -> None:
|
|
611
|
+
'''
|
|
612
|
+
:param scope: Scope in which this resource is defined.
|
|
613
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
614
|
+
:param policy: The policy associated with the channel.
|
|
615
|
+
:param channel_group_name: The name of the channel group associated with the channel policy.
|
|
616
|
+
:param channel_name: The name of the channel associated with the channel policy.
|
|
617
|
+
'''
|
|
618
|
+
if __debug__:
|
|
619
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b3bd3df241e2da49b066856cd5205c086667bdeae2c7accc2fb87dc6c27afcca)
|
|
620
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
621
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
622
|
+
props = CfnChannelPolicyProps(
|
|
623
|
+
policy=policy,
|
|
624
|
+
channel_group_name=channel_group_name,
|
|
625
|
+
channel_name=channel_name,
|
|
626
|
+
)
|
|
627
|
+
|
|
628
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
629
|
+
|
|
630
|
+
@jsii.member(jsii_name="inspect")
|
|
631
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
632
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
633
|
+
|
|
634
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
635
|
+
'''
|
|
636
|
+
if __debug__:
|
|
637
|
+
type_hints = typing.get_type_hints(_typecheckingstub__876e67bc0ac491acabfef846d2cb0a4a12c7db69dc9b8510736610ce77094825)
|
|
638
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
639
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
640
|
+
|
|
641
|
+
@jsii.member(jsii_name="renderProperties")
|
|
642
|
+
def _render_properties(
|
|
643
|
+
self,
|
|
644
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
645
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
646
|
+
'''
|
|
647
|
+
:param props: -
|
|
648
|
+
'''
|
|
649
|
+
if __debug__:
|
|
650
|
+
type_hints = typing.get_type_hints(_typecheckingstub__428a901c1d832a1ec31a5a15117cbe43d42edeb32192ef35e21682ad7114f777)
|
|
651
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
652
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
653
|
+
|
|
654
|
+
@jsii.python.classproperty
|
|
655
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
656
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
657
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
658
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
659
|
+
|
|
660
|
+
@builtins.property
|
|
661
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
662
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
663
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
664
|
+
|
|
665
|
+
@builtins.property
|
|
666
|
+
@jsii.member(jsii_name="policy")
|
|
667
|
+
def policy(self) -> typing.Any:
|
|
668
|
+
'''The policy associated with the channel.'''
|
|
669
|
+
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
670
|
+
|
|
671
|
+
@policy.setter
|
|
672
|
+
def policy(self, value: typing.Any) -> None:
|
|
673
|
+
if __debug__:
|
|
674
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9f9e54d124a239f2e45623971b96e9da027d679f90368ed2a8e63d67a707784f)
|
|
675
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
676
|
+
jsii.set(self, "policy", value)
|
|
677
|
+
|
|
678
|
+
@builtins.property
|
|
679
|
+
@jsii.member(jsii_name="channelGroupName")
|
|
680
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
681
|
+
'''The name of the channel group associated with the channel policy.'''
|
|
682
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelGroupName"))
|
|
683
|
+
|
|
684
|
+
@channel_group_name.setter
|
|
685
|
+
def channel_group_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
686
|
+
if __debug__:
|
|
687
|
+
type_hints = typing.get_type_hints(_typecheckingstub__fb6da332e5cbe78bc72a7af1de80f930372aa6490fa2d573b540c4b4050a16b7)
|
|
688
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
689
|
+
jsii.set(self, "channelGroupName", value)
|
|
690
|
+
|
|
691
|
+
@builtins.property
|
|
692
|
+
@jsii.member(jsii_name="channelName")
|
|
693
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
694
|
+
'''The name of the channel associated with the channel policy.'''
|
|
695
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelName"))
|
|
696
|
+
|
|
697
|
+
@channel_name.setter
|
|
698
|
+
def channel_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
699
|
+
if __debug__:
|
|
700
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ffc77e98d707d0206432d1f5669baff83936b87558c5f6b3966d25c6d2682bcb)
|
|
701
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
702
|
+
jsii.set(self, "channelName", value)
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
@jsii.data_type(
|
|
706
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelPolicyProps",
|
|
707
|
+
jsii_struct_bases=[],
|
|
708
|
+
name_mapping={
|
|
709
|
+
"policy": "policy",
|
|
710
|
+
"channel_group_name": "channelGroupName",
|
|
711
|
+
"channel_name": "channelName",
|
|
712
|
+
},
|
|
713
|
+
)
|
|
714
|
+
class CfnChannelPolicyProps:
|
|
715
|
+
def __init__(
|
|
716
|
+
self,
|
|
717
|
+
*,
|
|
718
|
+
policy: typing.Any,
|
|
719
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
720
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
721
|
+
) -> None:
|
|
722
|
+
'''Properties for defining a ``CfnChannelPolicy``.
|
|
723
|
+
|
|
724
|
+
:param policy: The policy associated with the channel.
|
|
725
|
+
:param channel_group_name: The name of the channel group associated with the channel policy.
|
|
726
|
+
:param channel_name: The name of the channel associated with the channel policy.
|
|
727
|
+
|
|
728
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html
|
|
729
|
+
:exampleMetadata: fixture=_generated
|
|
730
|
+
|
|
731
|
+
Example::
|
|
732
|
+
|
|
733
|
+
# The code below shows an example of how to instantiate this type.
|
|
734
|
+
# The values are placeholders you should change.
|
|
735
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
736
|
+
|
|
737
|
+
# policy: Any
|
|
738
|
+
|
|
739
|
+
cfn_channel_policy_props = mediapackagev2.CfnChannelPolicyProps(
|
|
740
|
+
policy=policy,
|
|
741
|
+
|
|
742
|
+
# the properties below are optional
|
|
743
|
+
channel_group_name="channelGroupName",
|
|
744
|
+
channel_name="channelName"
|
|
745
|
+
)
|
|
746
|
+
'''
|
|
747
|
+
if __debug__:
|
|
748
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3b390a62609d42c685f94c0572af995fa58a878e57dc79822886178cfbe0a33f)
|
|
749
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
750
|
+
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
751
|
+
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
752
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
753
|
+
"policy": policy,
|
|
754
|
+
}
|
|
755
|
+
if channel_group_name is not None:
|
|
756
|
+
self._values["channel_group_name"] = channel_group_name
|
|
757
|
+
if channel_name is not None:
|
|
758
|
+
self._values["channel_name"] = channel_name
|
|
759
|
+
|
|
760
|
+
@builtins.property
|
|
761
|
+
def policy(self) -> typing.Any:
|
|
762
|
+
'''The policy associated with the channel.
|
|
763
|
+
|
|
764
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-policy
|
|
765
|
+
'''
|
|
766
|
+
result = self._values.get("policy")
|
|
767
|
+
assert result is not None, "Required property 'policy' is missing"
|
|
768
|
+
return typing.cast(typing.Any, result)
|
|
769
|
+
|
|
770
|
+
@builtins.property
|
|
771
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
772
|
+
'''The name of the channel group associated with the channel policy.
|
|
773
|
+
|
|
774
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-channelgroupname
|
|
775
|
+
'''
|
|
776
|
+
result = self._values.get("channel_group_name")
|
|
777
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
778
|
+
|
|
779
|
+
@builtins.property
|
|
780
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
781
|
+
'''The name of the channel associated with the channel policy.
|
|
782
|
+
|
|
783
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-channelname
|
|
784
|
+
'''
|
|
785
|
+
result = self._values.get("channel_name")
|
|
786
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
787
|
+
|
|
788
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
789
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
790
|
+
|
|
791
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
792
|
+
return not (rhs == self)
|
|
793
|
+
|
|
794
|
+
def __repr__(self) -> str:
|
|
795
|
+
return "CfnChannelPolicyProps(%s)" % ", ".join(
|
|
796
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
797
|
+
)
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
@jsii.data_type(
|
|
801
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnChannelProps",
|
|
802
|
+
jsii_struct_bases=[],
|
|
803
|
+
name_mapping={
|
|
804
|
+
"channel_group_name": "channelGroupName",
|
|
805
|
+
"channel_name": "channelName",
|
|
806
|
+
"description": "description",
|
|
807
|
+
"tags": "tags",
|
|
808
|
+
},
|
|
809
|
+
)
|
|
810
|
+
class CfnChannelProps:
|
|
811
|
+
def __init__(
|
|
812
|
+
self,
|
|
813
|
+
*,
|
|
814
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
815
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
816
|
+
description: typing.Optional[builtins.str] = None,
|
|
817
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
818
|
+
) -> None:
|
|
819
|
+
'''Properties for defining a ``CfnChannel``.
|
|
820
|
+
|
|
821
|
+
:param channel_group_name: The name of the channel group associated with the channel configuration.
|
|
822
|
+
:param channel_name: The name of the channel.
|
|
823
|
+
:param description: The description of the channel.
|
|
824
|
+
:param tags: The tags associated with the channel.
|
|
825
|
+
|
|
826
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html
|
|
827
|
+
:exampleMetadata: fixture=_generated
|
|
828
|
+
|
|
829
|
+
Example::
|
|
830
|
+
|
|
831
|
+
# The code below shows an example of how to instantiate this type.
|
|
832
|
+
# The values are placeholders you should change.
|
|
833
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
834
|
+
|
|
835
|
+
cfn_channel_props = mediapackagev2.CfnChannelProps(
|
|
836
|
+
channel_group_name="channelGroupName",
|
|
837
|
+
channel_name="channelName",
|
|
838
|
+
description="description",
|
|
839
|
+
tags=[CfnTag(
|
|
840
|
+
key="key",
|
|
841
|
+
value="value"
|
|
842
|
+
)]
|
|
843
|
+
)
|
|
844
|
+
'''
|
|
845
|
+
if __debug__:
|
|
846
|
+
type_hints = typing.get_type_hints(_typecheckingstub__cb84231dfbf08cdefe6ca207d49155a084aa492947c635c5e9ba404f1b3b987f)
|
|
847
|
+
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
848
|
+
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
849
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
850
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
851
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
852
|
+
if channel_group_name is not None:
|
|
853
|
+
self._values["channel_group_name"] = channel_group_name
|
|
854
|
+
if channel_name is not None:
|
|
855
|
+
self._values["channel_name"] = channel_name
|
|
856
|
+
if description is not None:
|
|
857
|
+
self._values["description"] = description
|
|
858
|
+
if tags is not None:
|
|
859
|
+
self._values["tags"] = tags
|
|
860
|
+
|
|
861
|
+
@builtins.property
|
|
862
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
863
|
+
'''The name of the channel group associated with the channel configuration.
|
|
864
|
+
|
|
865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelgroupname
|
|
866
|
+
'''
|
|
867
|
+
result = self._values.get("channel_group_name")
|
|
868
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
869
|
+
|
|
870
|
+
@builtins.property
|
|
871
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
872
|
+
'''The name of the channel.
|
|
873
|
+
|
|
874
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelname
|
|
875
|
+
'''
|
|
876
|
+
result = self._values.get("channel_name")
|
|
877
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
878
|
+
|
|
879
|
+
@builtins.property
|
|
880
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
881
|
+
'''The description of the channel.
|
|
882
|
+
|
|
883
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-description
|
|
884
|
+
'''
|
|
885
|
+
result = self._values.get("description")
|
|
886
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
887
|
+
|
|
888
|
+
@builtins.property
|
|
889
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
890
|
+
'''The tags associated with the channel.
|
|
891
|
+
|
|
892
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-tags
|
|
893
|
+
'''
|
|
894
|
+
result = self._values.get("tags")
|
|
895
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
896
|
+
|
|
897
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
898
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
899
|
+
|
|
900
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
901
|
+
return not (rhs == self)
|
|
902
|
+
|
|
903
|
+
def __repr__(self) -> str:
|
|
904
|
+
return "CfnChannelProps(%s)" % ", ".join(
|
|
905
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
906
|
+
)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
910
|
+
class CfnOriginEndpoint(
|
|
911
|
+
_CfnResource_9df397a6,
|
|
912
|
+
metaclass=jsii.JSIIMeta,
|
|
913
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint",
|
|
914
|
+
):
|
|
915
|
+
'''Specifies the configuration parameters for a MediaPackage V2 origin endpoint.
|
|
916
|
+
|
|
917
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html
|
|
918
|
+
:exampleMetadata: fixture=_generated
|
|
919
|
+
|
|
920
|
+
Example::
|
|
921
|
+
|
|
922
|
+
# The code below shows an example of how to instantiate this type.
|
|
923
|
+
# The values are placeholders you should change.
|
|
924
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
925
|
+
|
|
926
|
+
cfn_origin_endpoint = mediapackagev2.CfnOriginEndpoint(self, "MyCfnOriginEndpoint",
|
|
927
|
+
container_type="containerType",
|
|
928
|
+
|
|
929
|
+
# the properties below are optional
|
|
930
|
+
channel_group_name="channelGroupName",
|
|
931
|
+
channel_name="channelName",
|
|
932
|
+
description="description",
|
|
933
|
+
hls_manifests=[mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
|
|
934
|
+
manifest_name="manifestName",
|
|
935
|
+
|
|
936
|
+
# the properties below are optional
|
|
937
|
+
child_manifest_name="childManifestName",
|
|
938
|
+
manifest_window_seconds=123,
|
|
939
|
+
program_date_time_interval_seconds=123,
|
|
940
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
941
|
+
ad_marker_hls="adMarkerHls"
|
|
942
|
+
),
|
|
943
|
+
url="url"
|
|
944
|
+
)],
|
|
945
|
+
low_latency_hls_manifests=[mediapackagev2.CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty(
|
|
946
|
+
manifest_name="manifestName",
|
|
947
|
+
|
|
948
|
+
# the properties below are optional
|
|
949
|
+
child_manifest_name="childManifestName",
|
|
950
|
+
manifest_window_seconds=123,
|
|
951
|
+
program_date_time_interval_seconds=123,
|
|
952
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
953
|
+
ad_marker_hls="adMarkerHls"
|
|
954
|
+
),
|
|
955
|
+
url="url"
|
|
956
|
+
)],
|
|
957
|
+
origin_endpoint_name="originEndpointName",
|
|
958
|
+
segment=mediapackagev2.CfnOriginEndpoint.SegmentProperty(
|
|
959
|
+
encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
960
|
+
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
961
|
+
cmaf_encryption_method="cmafEncryptionMethod",
|
|
962
|
+
ts_encryption_method="tsEncryptionMethod"
|
|
963
|
+
),
|
|
964
|
+
speke_key_provider=mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
|
|
965
|
+
drm_systems=["drmSystems"],
|
|
966
|
+
encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
967
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
968
|
+
preset_speke20_video="presetSpeke20Video"
|
|
969
|
+
),
|
|
970
|
+
resource_id="resourceId",
|
|
971
|
+
role_arn="roleArn",
|
|
972
|
+
url="url"
|
|
973
|
+
),
|
|
974
|
+
|
|
975
|
+
# the properties below are optional
|
|
976
|
+
constant_initialization_vector="constantInitializationVector",
|
|
977
|
+
key_rotation_interval_seconds=123
|
|
978
|
+
),
|
|
979
|
+
include_iframe_only_streams=False,
|
|
980
|
+
scte=mediapackagev2.CfnOriginEndpoint.ScteProperty(
|
|
981
|
+
scte_filter=["scteFilter"]
|
|
982
|
+
),
|
|
983
|
+
segment_duration_seconds=123,
|
|
984
|
+
segment_name="segmentName",
|
|
985
|
+
ts_include_dvb_subtitles=False,
|
|
986
|
+
ts_use_audio_rendition_group=False
|
|
987
|
+
),
|
|
988
|
+
startover_window_seconds=123,
|
|
989
|
+
tags=[CfnTag(
|
|
990
|
+
key="key",
|
|
991
|
+
value="value"
|
|
992
|
+
)]
|
|
993
|
+
)
|
|
994
|
+
'''
|
|
995
|
+
|
|
996
|
+
def __init__(
|
|
997
|
+
self,
|
|
998
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
999
|
+
id: builtins.str,
|
|
1000
|
+
*,
|
|
1001
|
+
container_type: builtins.str,
|
|
1002
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
1003
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
1004
|
+
description: typing.Optional[builtins.str] = None,
|
|
1005
|
+
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.HlsManifestConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1006
|
+
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1007
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
1008
|
+
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.SegmentProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1009
|
+
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
1010
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1011
|
+
) -> None:
|
|
1012
|
+
'''
|
|
1013
|
+
:param scope: Scope in which this resource is defined.
|
|
1014
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1015
|
+
:param container_type: The container type associated with the origin endpoint configuration.
|
|
1016
|
+
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
1017
|
+
:param channel_name: The channel name associated with the origin endpoint.
|
|
1018
|
+
:param description: The description associated with the origin endpoint.
|
|
1019
|
+
:param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
|
|
1020
|
+
:param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
|
|
1021
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
1022
|
+
:param segment: The segment associated with the origin endpoint.
|
|
1023
|
+
:param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
|
|
1024
|
+
:param tags: The tags associated with the origin endpoint.
|
|
1025
|
+
'''
|
|
1026
|
+
if __debug__:
|
|
1027
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7dba3dfc2892c78e53aee7675a7a24aa25c0b29481aca92446e31a0d8e885454)
|
|
1028
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1029
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1030
|
+
props = CfnOriginEndpointProps(
|
|
1031
|
+
container_type=container_type,
|
|
1032
|
+
channel_group_name=channel_group_name,
|
|
1033
|
+
channel_name=channel_name,
|
|
1034
|
+
description=description,
|
|
1035
|
+
hls_manifests=hls_manifests,
|
|
1036
|
+
low_latency_hls_manifests=low_latency_hls_manifests,
|
|
1037
|
+
origin_endpoint_name=origin_endpoint_name,
|
|
1038
|
+
segment=segment,
|
|
1039
|
+
startover_window_seconds=startover_window_seconds,
|
|
1040
|
+
tags=tags,
|
|
1041
|
+
)
|
|
1042
|
+
|
|
1043
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1044
|
+
|
|
1045
|
+
@jsii.member(jsii_name="inspect")
|
|
1046
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1047
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1048
|
+
|
|
1049
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1050
|
+
'''
|
|
1051
|
+
if __debug__:
|
|
1052
|
+
type_hints = typing.get_type_hints(_typecheckingstub__3e7f9bba2cb8ce16d2850e4d29968cd8a850c920cb1e5d66b966cd309dd0e90f)
|
|
1053
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1054
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1055
|
+
|
|
1056
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1057
|
+
def _render_properties(
|
|
1058
|
+
self,
|
|
1059
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1060
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1061
|
+
'''
|
|
1062
|
+
:param props: -
|
|
1063
|
+
'''
|
|
1064
|
+
if __debug__:
|
|
1065
|
+
type_hints = typing.get_type_hints(_typecheckingstub__bffcdef090bba09d673a36358d5eb3ba86b040c5c727f2f4cc117a5fab72df6f)
|
|
1066
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1067
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1068
|
+
|
|
1069
|
+
@jsii.python.classproperty
|
|
1070
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1071
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1072
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1073
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1074
|
+
|
|
1075
|
+
@builtins.property
|
|
1076
|
+
@jsii.member(jsii_name="attrArn")
|
|
1077
|
+
def attr_arn(self) -> builtins.str:
|
|
1078
|
+
'''The Amazon Resource Name (ARN) of the origin endpoint.
|
|
1079
|
+
|
|
1080
|
+
:cloudformationAttribute: Arn
|
|
1081
|
+
'''
|
|
1082
|
+
return typing.cast(builtins.str, jsii.get(self, "attrArn"))
|
|
1083
|
+
|
|
1084
|
+
@builtins.property
|
|
1085
|
+
@jsii.member(jsii_name="attrCreatedAt")
|
|
1086
|
+
def attr_created_at(self) -> builtins.str:
|
|
1087
|
+
'''The timestamp of the creation of the origin endpoint.
|
|
1088
|
+
|
|
1089
|
+
:cloudformationAttribute: CreatedAt
|
|
1090
|
+
'''
|
|
1091
|
+
return typing.cast(builtins.str, jsii.get(self, "attrCreatedAt"))
|
|
1092
|
+
|
|
1093
|
+
@builtins.property
|
|
1094
|
+
@jsii.member(jsii_name="attrModifiedAt")
|
|
1095
|
+
def attr_modified_at(self) -> builtins.str:
|
|
1096
|
+
'''The timestamp of the modification of the origin endpoint.
|
|
1097
|
+
|
|
1098
|
+
:cloudformationAttribute: ModifiedAt
|
|
1099
|
+
'''
|
|
1100
|
+
return typing.cast(builtins.str, jsii.get(self, "attrModifiedAt"))
|
|
1101
|
+
|
|
1102
|
+
@builtins.property
|
|
1103
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1104
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1105
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1106
|
+
|
|
1107
|
+
@builtins.property
|
|
1108
|
+
@jsii.member(jsii_name="containerType")
|
|
1109
|
+
def container_type(self) -> builtins.str:
|
|
1110
|
+
'''The container type associated with the origin endpoint configuration.'''
|
|
1111
|
+
return typing.cast(builtins.str, jsii.get(self, "containerType"))
|
|
1112
|
+
|
|
1113
|
+
@container_type.setter
|
|
1114
|
+
def container_type(self, value: builtins.str) -> None:
|
|
1115
|
+
if __debug__:
|
|
1116
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6)
|
|
1117
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1118
|
+
jsii.set(self, "containerType", value)
|
|
1119
|
+
|
|
1120
|
+
@builtins.property
|
|
1121
|
+
@jsii.member(jsii_name="channelGroupName")
|
|
1122
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
1123
|
+
'''The name of the channel group associated with the origin endpoint configuration.'''
|
|
1124
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelGroupName"))
|
|
1125
|
+
|
|
1126
|
+
@channel_group_name.setter
|
|
1127
|
+
def channel_group_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1128
|
+
if __debug__:
|
|
1129
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7078125edd1beb221f7e3a35a200ce058d31cb41756eb7b1dca1af5dfe90c96f)
|
|
1130
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1131
|
+
jsii.set(self, "channelGroupName", value)
|
|
1132
|
+
|
|
1133
|
+
@builtins.property
|
|
1134
|
+
@jsii.member(jsii_name="channelName")
|
|
1135
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
1136
|
+
'''The channel name associated with the origin endpoint.'''
|
|
1137
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelName"))
|
|
1138
|
+
|
|
1139
|
+
@channel_name.setter
|
|
1140
|
+
def channel_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1141
|
+
if __debug__:
|
|
1142
|
+
type_hints = typing.get_type_hints(_typecheckingstub__300d202906247d29b698e05c2891ad6a3e8f72748a5cb046f44ee1cde390954a)
|
|
1143
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1144
|
+
jsii.set(self, "channelName", value)
|
|
1145
|
+
|
|
1146
|
+
@builtins.property
|
|
1147
|
+
@jsii.member(jsii_name="description")
|
|
1148
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1149
|
+
'''The description associated with the origin endpoint.'''
|
|
1150
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
1151
|
+
|
|
1152
|
+
@description.setter
|
|
1153
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1154
|
+
if __debug__:
|
|
1155
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5d2dcbe74f178ed4fd2315de3210f8a81e6084e3e73f7337556d68a41cc54333)
|
|
1156
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1157
|
+
jsii.set(self, "description", value)
|
|
1158
|
+
|
|
1159
|
+
@builtins.property
|
|
1160
|
+
@jsii.member(jsii_name="hlsManifests")
|
|
1161
|
+
def hls_manifests(
|
|
1162
|
+
self,
|
|
1163
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.HlsManifestConfigurationProperty"]]]]:
|
|
1164
|
+
'''The HLS manfiests associated with the origin endpoint configuration.'''
|
|
1165
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.HlsManifestConfigurationProperty"]]]], jsii.get(self, "hlsManifests"))
|
|
1166
|
+
|
|
1167
|
+
@hls_manifests.setter
|
|
1168
|
+
def hls_manifests(
|
|
1169
|
+
self,
|
|
1170
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.HlsManifestConfigurationProperty"]]]],
|
|
1171
|
+
) -> None:
|
|
1172
|
+
if __debug__:
|
|
1173
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de310c90fc64be46bd788fedd55681eba63f450cc4f6537fe91890137af54019)
|
|
1174
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1175
|
+
jsii.set(self, "hlsManifests", value)
|
|
1176
|
+
|
|
1177
|
+
@builtins.property
|
|
1178
|
+
@jsii.member(jsii_name="lowLatencyHlsManifests")
|
|
1179
|
+
def low_latency_hls_manifests(
|
|
1180
|
+
self,
|
|
1181
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty"]]]]:
|
|
1182
|
+
'''The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.'''
|
|
1183
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty"]]]], jsii.get(self, "lowLatencyHlsManifests"))
|
|
1184
|
+
|
|
1185
|
+
@low_latency_hls_manifests.setter
|
|
1186
|
+
def low_latency_hls_manifests(
|
|
1187
|
+
self,
|
|
1188
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty"]]]],
|
|
1189
|
+
) -> None:
|
|
1190
|
+
if __debug__:
|
|
1191
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0ab0da83ecaf5e8b2eb477e1a7bb2f955c99813829faeb44ce46e408a3739304)
|
|
1192
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1193
|
+
jsii.set(self, "lowLatencyHlsManifests", value)
|
|
1194
|
+
|
|
1195
|
+
@builtins.property
|
|
1196
|
+
@jsii.member(jsii_name="originEndpointName")
|
|
1197
|
+
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
1198
|
+
'''The name of the origin endpoint associated with the origin endpoint configuration.'''
|
|
1199
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "originEndpointName"))
|
|
1200
|
+
|
|
1201
|
+
@origin_endpoint_name.setter
|
|
1202
|
+
def origin_endpoint_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
1203
|
+
if __debug__:
|
|
1204
|
+
type_hints = typing.get_type_hints(_typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb)
|
|
1205
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1206
|
+
jsii.set(self, "originEndpointName", value)
|
|
1207
|
+
|
|
1208
|
+
@builtins.property
|
|
1209
|
+
@jsii.member(jsii_name="segment")
|
|
1210
|
+
def segment(
|
|
1211
|
+
self,
|
|
1212
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SegmentProperty"]]:
|
|
1213
|
+
'''The segment associated with the origin endpoint.'''
|
|
1214
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SegmentProperty"]], jsii.get(self, "segment"))
|
|
1215
|
+
|
|
1216
|
+
@segment.setter
|
|
1217
|
+
def segment(
|
|
1218
|
+
self,
|
|
1219
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SegmentProperty"]],
|
|
1220
|
+
) -> None:
|
|
1221
|
+
if __debug__:
|
|
1222
|
+
type_hints = typing.get_type_hints(_typecheckingstub__761931cab894d0c1a04fe9fe8aad0785de043e26b7f476c427bb231ae9fc1eeb)
|
|
1223
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1224
|
+
jsii.set(self, "segment", value)
|
|
1225
|
+
|
|
1226
|
+
@builtins.property
|
|
1227
|
+
@jsii.member(jsii_name="startoverWindowSeconds")
|
|
1228
|
+
def startover_window_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1229
|
+
'''The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing.'''
|
|
1230
|
+
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "startoverWindowSeconds"))
|
|
1231
|
+
|
|
1232
|
+
@startover_window_seconds.setter
|
|
1233
|
+
def startover_window_seconds(self, value: typing.Optional[jsii.Number]) -> None:
|
|
1234
|
+
if __debug__:
|
|
1235
|
+
type_hints = typing.get_type_hints(_typecheckingstub__285ecfef5a8ec9ebb3f1c4d2193922e98318f11cce543c9b9c4221cfee42fc11)
|
|
1236
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1237
|
+
jsii.set(self, "startoverWindowSeconds", value)
|
|
1238
|
+
|
|
1239
|
+
@builtins.property
|
|
1240
|
+
@jsii.member(jsii_name="tags")
|
|
1241
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
1242
|
+
'''The tags associated with the origin endpoint.'''
|
|
1243
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
1244
|
+
|
|
1245
|
+
@tags.setter
|
|
1246
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
1247
|
+
if __debug__:
|
|
1248
|
+
type_hints = typing.get_type_hints(_typecheckingstub__65cc25545f38d01b8ccc61c9494f0994747ef22d12fc3c94c71cb091aff2f324)
|
|
1249
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1250
|
+
jsii.set(self, "tags", value)
|
|
1251
|
+
|
|
1252
|
+
@jsii.data_type(
|
|
1253
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty",
|
|
1254
|
+
jsii_struct_bases=[],
|
|
1255
|
+
name_mapping={
|
|
1256
|
+
"preset_speke20_audio": "presetSpeke20Audio",
|
|
1257
|
+
"preset_speke20_video": "presetSpeke20Video",
|
|
1258
|
+
},
|
|
1259
|
+
)
|
|
1260
|
+
class EncryptionContractConfigurationProperty:
|
|
1261
|
+
def __init__(
|
|
1262
|
+
self,
|
|
1263
|
+
*,
|
|
1264
|
+
preset_speke20_audio: builtins.str,
|
|
1265
|
+
preset_speke20_video: builtins.str,
|
|
1266
|
+
) -> None:
|
|
1267
|
+
'''Use ``encryptionContractConfiguration`` to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
|
|
1268
|
+
|
|
1269
|
+
:param preset_speke20_audio: A collection of audio encryption presets. Value description: - ``PRESET-AUDIO-1`` - Use one content key to encrypt all of the audio tracks in your stream. - ``PRESET-AUDIO-2`` - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks. - ``PRESET-AUDIO-3`` - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels. - ``SHARED`` - Use the same content key for all of the audio and video tracks in your stream. - ``UNENCRYPTED`` - Don't encrypt any of the audio tracks in your stream.
|
|
1270
|
+
:param preset_speke20_video: The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.
|
|
1271
|
+
|
|
1272
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptioncontractconfiguration.html
|
|
1273
|
+
:exampleMetadata: fixture=_generated
|
|
1274
|
+
|
|
1275
|
+
Example::
|
|
1276
|
+
|
|
1277
|
+
# The code below shows an example of how to instantiate this type.
|
|
1278
|
+
# The values are placeholders you should change.
|
|
1279
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1280
|
+
|
|
1281
|
+
encryption_contract_configuration_property = mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
1282
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
1283
|
+
preset_speke20_video="presetSpeke20Video"
|
|
1284
|
+
)
|
|
1285
|
+
'''
|
|
1286
|
+
if __debug__:
|
|
1287
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5bec1eea406d4bb796486d5773d483a771df06a4cb391f44e1755e98877b7f22)
|
|
1288
|
+
check_type(argname="argument preset_speke20_audio", value=preset_speke20_audio, expected_type=type_hints["preset_speke20_audio"])
|
|
1289
|
+
check_type(argname="argument preset_speke20_video", value=preset_speke20_video, expected_type=type_hints["preset_speke20_video"])
|
|
1290
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1291
|
+
"preset_speke20_audio": preset_speke20_audio,
|
|
1292
|
+
"preset_speke20_video": preset_speke20_video,
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
@builtins.property
|
|
1296
|
+
def preset_speke20_audio(self) -> builtins.str:
|
|
1297
|
+
'''A collection of audio encryption presets.
|
|
1298
|
+
|
|
1299
|
+
Value description:
|
|
1300
|
+
|
|
1301
|
+
- ``PRESET-AUDIO-1`` - Use one content key to encrypt all of the audio tracks in your stream.
|
|
1302
|
+
- ``PRESET-AUDIO-2`` - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.
|
|
1303
|
+
- ``PRESET-AUDIO-3`` - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.
|
|
1304
|
+
- ``SHARED`` - Use the same content key for all of the audio and video tracks in your stream.
|
|
1305
|
+
- ``UNENCRYPTED`` - Don't encrypt any of the audio tracks in your stream.
|
|
1306
|
+
|
|
1307
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptioncontractconfiguration.html#cfn-mediapackagev2-originendpoint-encryptioncontractconfiguration-presetspeke20audio
|
|
1308
|
+
'''
|
|
1309
|
+
result = self._values.get("preset_speke20_audio")
|
|
1310
|
+
assert result is not None, "Required property 'preset_speke20_audio' is missing"
|
|
1311
|
+
return typing.cast(builtins.str, result)
|
|
1312
|
+
|
|
1313
|
+
@builtins.property
|
|
1314
|
+
def preset_speke20_video(self) -> builtins.str:
|
|
1315
|
+
'''The SPEKE Version 2.0 preset video associated with the encryption contract configuration of the origin endpoint.
|
|
1316
|
+
|
|
1317
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptioncontractconfiguration.html#cfn-mediapackagev2-originendpoint-encryptioncontractconfiguration-presetspeke20video
|
|
1318
|
+
'''
|
|
1319
|
+
result = self._values.get("preset_speke20_video")
|
|
1320
|
+
assert result is not None, "Required property 'preset_speke20_video' is missing"
|
|
1321
|
+
return typing.cast(builtins.str, result)
|
|
1322
|
+
|
|
1323
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1324
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1325
|
+
|
|
1326
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1327
|
+
return not (rhs == self)
|
|
1328
|
+
|
|
1329
|
+
def __repr__(self) -> str:
|
|
1330
|
+
return "EncryptionContractConfigurationProperty(%s)" % ", ".join(
|
|
1331
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1332
|
+
)
|
|
1333
|
+
|
|
1334
|
+
@jsii.data_type(
|
|
1335
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty",
|
|
1336
|
+
jsii_struct_bases=[],
|
|
1337
|
+
name_mapping={
|
|
1338
|
+
"cmaf_encryption_method": "cmafEncryptionMethod",
|
|
1339
|
+
"ts_encryption_method": "tsEncryptionMethod",
|
|
1340
|
+
},
|
|
1341
|
+
)
|
|
1342
|
+
class EncryptionMethodProperty:
|
|
1343
|
+
def __init__(
|
|
1344
|
+
self,
|
|
1345
|
+
*,
|
|
1346
|
+
cmaf_encryption_method: typing.Optional[builtins.str] = None,
|
|
1347
|
+
ts_encryption_method: typing.Optional[builtins.str] = None,
|
|
1348
|
+
) -> None:
|
|
1349
|
+
'''The encryption method associated with the origin endpoint.
|
|
1350
|
+
|
|
1351
|
+
:param cmaf_encryption_method: The encryption method to use.
|
|
1352
|
+
:param ts_encryption_method: The encryption method to use.
|
|
1353
|
+
|
|
1354
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptionmethod.html
|
|
1355
|
+
:exampleMetadata: fixture=_generated
|
|
1356
|
+
|
|
1357
|
+
Example::
|
|
1358
|
+
|
|
1359
|
+
# The code below shows an example of how to instantiate this type.
|
|
1360
|
+
# The values are placeholders you should change.
|
|
1361
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1362
|
+
|
|
1363
|
+
encryption_method_property = mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
1364
|
+
cmaf_encryption_method="cmafEncryptionMethod",
|
|
1365
|
+
ts_encryption_method="tsEncryptionMethod"
|
|
1366
|
+
)
|
|
1367
|
+
'''
|
|
1368
|
+
if __debug__:
|
|
1369
|
+
type_hints = typing.get_type_hints(_typecheckingstub__abdd735051ce598919313a259e3efc1aa635283b073d78fb9c4e876eef4ca8b8)
|
|
1370
|
+
check_type(argname="argument cmaf_encryption_method", value=cmaf_encryption_method, expected_type=type_hints["cmaf_encryption_method"])
|
|
1371
|
+
check_type(argname="argument ts_encryption_method", value=ts_encryption_method, expected_type=type_hints["ts_encryption_method"])
|
|
1372
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1373
|
+
if cmaf_encryption_method is not None:
|
|
1374
|
+
self._values["cmaf_encryption_method"] = cmaf_encryption_method
|
|
1375
|
+
if ts_encryption_method is not None:
|
|
1376
|
+
self._values["ts_encryption_method"] = ts_encryption_method
|
|
1377
|
+
|
|
1378
|
+
@builtins.property
|
|
1379
|
+
def cmaf_encryption_method(self) -> typing.Optional[builtins.str]:
|
|
1380
|
+
'''The encryption method to use.
|
|
1381
|
+
|
|
1382
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptionmethod.html#cfn-mediapackagev2-originendpoint-encryptionmethod-cmafencryptionmethod
|
|
1383
|
+
'''
|
|
1384
|
+
result = self._values.get("cmaf_encryption_method")
|
|
1385
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1386
|
+
|
|
1387
|
+
@builtins.property
|
|
1388
|
+
def ts_encryption_method(self) -> typing.Optional[builtins.str]:
|
|
1389
|
+
'''The encryption method to use.
|
|
1390
|
+
|
|
1391
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryptionmethod.html#cfn-mediapackagev2-originendpoint-encryptionmethod-tsencryptionmethod
|
|
1392
|
+
'''
|
|
1393
|
+
result = self._values.get("ts_encryption_method")
|
|
1394
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1395
|
+
|
|
1396
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1397
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1398
|
+
|
|
1399
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1400
|
+
return not (rhs == self)
|
|
1401
|
+
|
|
1402
|
+
def __repr__(self) -> str:
|
|
1403
|
+
return "EncryptionMethodProperty(%s)" % ", ".join(
|
|
1404
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1405
|
+
)
|
|
1406
|
+
|
|
1407
|
+
@jsii.data_type(
|
|
1408
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.EncryptionProperty",
|
|
1409
|
+
jsii_struct_bases=[],
|
|
1410
|
+
name_mapping={
|
|
1411
|
+
"encryption_method": "encryptionMethod",
|
|
1412
|
+
"speke_key_provider": "spekeKeyProvider",
|
|
1413
|
+
"constant_initialization_vector": "constantInitializationVector",
|
|
1414
|
+
"key_rotation_interval_seconds": "keyRotationIntervalSeconds",
|
|
1415
|
+
},
|
|
1416
|
+
)
|
|
1417
|
+
class EncryptionProperty:
|
|
1418
|
+
def __init__(
|
|
1419
|
+
self,
|
|
1420
|
+
*,
|
|
1421
|
+
encryption_method: typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.EncryptionMethodProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1422
|
+
speke_key_provider: typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.SpekeKeyProviderProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
1423
|
+
constant_initialization_vector: typing.Optional[builtins.str] = None,
|
|
1424
|
+
key_rotation_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
1425
|
+
) -> None:
|
|
1426
|
+
'''A collection of video encryption presets.
|
|
1427
|
+
|
|
1428
|
+
Value description:
|
|
1429
|
+
|
|
1430
|
+
- ``PRESET-VIDEO-1`` - Use one content key to encrypt all of the video tracks in your stream.
|
|
1431
|
+
- ``PRESET-VIDEO-2`` - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.
|
|
1432
|
+
- ``PRESET-VIDEO-3`` - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.
|
|
1433
|
+
- ``PRESET-VIDEO-4`` - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
|
|
1434
|
+
- ``PRESET-VIDEO-5`` - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
|
|
1435
|
+
- ``PRESET-VIDEO-6`` - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
|
|
1436
|
+
- ``PRESET-VIDEO-7`` - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
|
|
1437
|
+
- ``PRESET-VIDEO-8`` - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
|
|
1438
|
+
- ``SHARED`` - Use the same content key for all of the video and audio tracks in your stream.
|
|
1439
|
+
- ``UNENCRYPTED`` - Don't encrypt any of the video tracks in your stream.
|
|
1440
|
+
|
|
1441
|
+
:param encryption_method: The encryption method to use.
|
|
1442
|
+
:param speke_key_provider: The SPEKE key provider to use for encryption.
|
|
1443
|
+
:param constant_initialization_vector: A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
|
|
1444
|
+
:param key_rotation_interval_seconds: The interval, in seconds, to rotate encryption keys for the origin endpoint.
|
|
1445
|
+
|
|
1446
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html
|
|
1447
|
+
:exampleMetadata: fixture=_generated
|
|
1448
|
+
|
|
1449
|
+
Example::
|
|
1450
|
+
|
|
1451
|
+
# The code below shows an example of how to instantiate this type.
|
|
1452
|
+
# The values are placeholders you should change.
|
|
1453
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1454
|
+
|
|
1455
|
+
encryption_property = mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
1456
|
+
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
1457
|
+
cmaf_encryption_method="cmafEncryptionMethod",
|
|
1458
|
+
ts_encryption_method="tsEncryptionMethod"
|
|
1459
|
+
),
|
|
1460
|
+
speke_key_provider=mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
|
|
1461
|
+
drm_systems=["drmSystems"],
|
|
1462
|
+
encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
1463
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
1464
|
+
preset_speke20_video="presetSpeke20Video"
|
|
1465
|
+
),
|
|
1466
|
+
resource_id="resourceId",
|
|
1467
|
+
role_arn="roleArn",
|
|
1468
|
+
url="url"
|
|
1469
|
+
),
|
|
1470
|
+
|
|
1471
|
+
# the properties below are optional
|
|
1472
|
+
constant_initialization_vector="constantInitializationVector",
|
|
1473
|
+
key_rotation_interval_seconds=123
|
|
1474
|
+
)
|
|
1475
|
+
'''
|
|
1476
|
+
if __debug__:
|
|
1477
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ba68bba2e5edd62f12d66393f036d9e0dc8f60c4705d328714b3a2f959ba4a07)
|
|
1478
|
+
check_type(argname="argument encryption_method", value=encryption_method, expected_type=type_hints["encryption_method"])
|
|
1479
|
+
check_type(argname="argument speke_key_provider", value=speke_key_provider, expected_type=type_hints["speke_key_provider"])
|
|
1480
|
+
check_type(argname="argument constant_initialization_vector", value=constant_initialization_vector, expected_type=type_hints["constant_initialization_vector"])
|
|
1481
|
+
check_type(argname="argument key_rotation_interval_seconds", value=key_rotation_interval_seconds, expected_type=type_hints["key_rotation_interval_seconds"])
|
|
1482
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1483
|
+
"encryption_method": encryption_method,
|
|
1484
|
+
"speke_key_provider": speke_key_provider,
|
|
1485
|
+
}
|
|
1486
|
+
if constant_initialization_vector is not None:
|
|
1487
|
+
self._values["constant_initialization_vector"] = constant_initialization_vector
|
|
1488
|
+
if key_rotation_interval_seconds is not None:
|
|
1489
|
+
self._values["key_rotation_interval_seconds"] = key_rotation_interval_seconds
|
|
1490
|
+
|
|
1491
|
+
@builtins.property
|
|
1492
|
+
def encryption_method(
|
|
1493
|
+
self,
|
|
1494
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionMethodProperty"]:
|
|
1495
|
+
'''The encryption method to use.
|
|
1496
|
+
|
|
1497
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html#cfn-mediapackagev2-originendpoint-encryption-encryptionmethod
|
|
1498
|
+
'''
|
|
1499
|
+
result = self._values.get("encryption_method")
|
|
1500
|
+
assert result is not None, "Required property 'encryption_method' is missing"
|
|
1501
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionMethodProperty"], result)
|
|
1502
|
+
|
|
1503
|
+
@builtins.property
|
|
1504
|
+
def speke_key_provider(
|
|
1505
|
+
self,
|
|
1506
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SpekeKeyProviderProperty"]:
|
|
1507
|
+
'''The SPEKE key provider to use for encryption.
|
|
1508
|
+
|
|
1509
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html#cfn-mediapackagev2-originendpoint-encryption-spekekeyprovider
|
|
1510
|
+
'''
|
|
1511
|
+
result = self._values.get("speke_key_provider")
|
|
1512
|
+
assert result is not None, "Required property 'speke_key_provider' is missing"
|
|
1513
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.SpekeKeyProviderProperty"], result)
|
|
1514
|
+
|
|
1515
|
+
@builtins.property
|
|
1516
|
+
def constant_initialization_vector(self) -> typing.Optional[builtins.str]:
|
|
1517
|
+
'''A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content.
|
|
1518
|
+
|
|
1519
|
+
If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
|
|
1520
|
+
|
|
1521
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html#cfn-mediapackagev2-originendpoint-encryption-constantinitializationvector
|
|
1522
|
+
'''
|
|
1523
|
+
result = self._values.get("constant_initialization_vector")
|
|
1524
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1525
|
+
|
|
1526
|
+
@builtins.property
|
|
1527
|
+
def key_rotation_interval_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1528
|
+
'''The interval, in seconds, to rotate encryption keys for the origin endpoint.
|
|
1529
|
+
|
|
1530
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-encryption.html#cfn-mediapackagev2-originendpoint-encryption-keyrotationintervalseconds
|
|
1531
|
+
'''
|
|
1532
|
+
result = self._values.get("key_rotation_interval_seconds")
|
|
1533
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1534
|
+
|
|
1535
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1536
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1537
|
+
|
|
1538
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1539
|
+
return not (rhs == self)
|
|
1540
|
+
|
|
1541
|
+
def __repr__(self) -> str:
|
|
1542
|
+
return "EncryptionProperty(%s)" % ", ".join(
|
|
1543
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1544
|
+
)
|
|
1545
|
+
|
|
1546
|
+
@jsii.data_type(
|
|
1547
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty",
|
|
1548
|
+
jsii_struct_bases=[],
|
|
1549
|
+
name_mapping={
|
|
1550
|
+
"manifest_name": "manifestName",
|
|
1551
|
+
"child_manifest_name": "childManifestName",
|
|
1552
|
+
"manifest_window_seconds": "manifestWindowSeconds",
|
|
1553
|
+
"program_date_time_interval_seconds": "programDateTimeIntervalSeconds",
|
|
1554
|
+
"scte_hls": "scteHls",
|
|
1555
|
+
"url": "url",
|
|
1556
|
+
},
|
|
1557
|
+
)
|
|
1558
|
+
class HlsManifestConfigurationProperty:
|
|
1559
|
+
def __init__(
|
|
1560
|
+
self,
|
|
1561
|
+
*,
|
|
1562
|
+
manifest_name: builtins.str,
|
|
1563
|
+
child_manifest_name: typing.Optional[builtins.str] = None,
|
|
1564
|
+
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
1565
|
+
program_date_time_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
1566
|
+
scte_hls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.ScteHlsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1567
|
+
url: typing.Optional[builtins.str] = None,
|
|
1568
|
+
) -> None:
|
|
1569
|
+
'''The HLS manfiest configuration associated with the origin endpoint.
|
|
1570
|
+
|
|
1571
|
+
:param manifest_name: The name of the manifest associated with the HLS manifest configuration.
|
|
1572
|
+
:param child_manifest_name: The name of the child manifest associated with the HLS manifest configuration.
|
|
1573
|
+
:param manifest_window_seconds: The duration of the manifest window, in seconds, for the HLS manifest configuration.
|
|
1574
|
+
:param program_date_time_interval_seconds: The ``EXT-X-PROGRAM-DATE-TIME`` interval, in seconds, associated with the HLS manifest configuration.
|
|
1575
|
+
:param scte_hls: THE SCTE-35 HLS configuration associated with the HLS manifest configuration.
|
|
1576
|
+
:param url: The URL of the HLS manifest configuration.
|
|
1577
|
+
|
|
1578
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html
|
|
1579
|
+
:exampleMetadata: fixture=_generated
|
|
1580
|
+
|
|
1581
|
+
Example::
|
|
1582
|
+
|
|
1583
|
+
# The code below shows an example of how to instantiate this type.
|
|
1584
|
+
# The values are placeholders you should change.
|
|
1585
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1586
|
+
|
|
1587
|
+
hls_manifest_configuration_property = mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
|
|
1588
|
+
manifest_name="manifestName",
|
|
1589
|
+
|
|
1590
|
+
# the properties below are optional
|
|
1591
|
+
child_manifest_name="childManifestName",
|
|
1592
|
+
manifest_window_seconds=123,
|
|
1593
|
+
program_date_time_interval_seconds=123,
|
|
1594
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
1595
|
+
ad_marker_hls="adMarkerHls"
|
|
1596
|
+
),
|
|
1597
|
+
url="url"
|
|
1598
|
+
)
|
|
1599
|
+
'''
|
|
1600
|
+
if __debug__:
|
|
1601
|
+
type_hints = typing.get_type_hints(_typecheckingstub__b59520e6fbce62f410265deeb9cc043e1cf408c2c3cc498907eb73fcc18458d8)
|
|
1602
|
+
check_type(argname="argument manifest_name", value=manifest_name, expected_type=type_hints["manifest_name"])
|
|
1603
|
+
check_type(argname="argument child_manifest_name", value=child_manifest_name, expected_type=type_hints["child_manifest_name"])
|
|
1604
|
+
check_type(argname="argument manifest_window_seconds", value=manifest_window_seconds, expected_type=type_hints["manifest_window_seconds"])
|
|
1605
|
+
check_type(argname="argument program_date_time_interval_seconds", value=program_date_time_interval_seconds, expected_type=type_hints["program_date_time_interval_seconds"])
|
|
1606
|
+
check_type(argname="argument scte_hls", value=scte_hls, expected_type=type_hints["scte_hls"])
|
|
1607
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
1608
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1609
|
+
"manifest_name": manifest_name,
|
|
1610
|
+
}
|
|
1611
|
+
if child_manifest_name is not None:
|
|
1612
|
+
self._values["child_manifest_name"] = child_manifest_name
|
|
1613
|
+
if manifest_window_seconds is not None:
|
|
1614
|
+
self._values["manifest_window_seconds"] = manifest_window_seconds
|
|
1615
|
+
if program_date_time_interval_seconds is not None:
|
|
1616
|
+
self._values["program_date_time_interval_seconds"] = program_date_time_interval_seconds
|
|
1617
|
+
if scte_hls is not None:
|
|
1618
|
+
self._values["scte_hls"] = scte_hls
|
|
1619
|
+
if url is not None:
|
|
1620
|
+
self._values["url"] = url
|
|
1621
|
+
|
|
1622
|
+
@builtins.property
|
|
1623
|
+
def manifest_name(self) -> builtins.str:
|
|
1624
|
+
'''The name of the manifest associated with the HLS manifest configuration.
|
|
1625
|
+
|
|
1626
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-manifestname
|
|
1627
|
+
'''
|
|
1628
|
+
result = self._values.get("manifest_name")
|
|
1629
|
+
assert result is not None, "Required property 'manifest_name' is missing"
|
|
1630
|
+
return typing.cast(builtins.str, result)
|
|
1631
|
+
|
|
1632
|
+
@builtins.property
|
|
1633
|
+
def child_manifest_name(self) -> typing.Optional[builtins.str]:
|
|
1634
|
+
'''The name of the child manifest associated with the HLS manifest configuration.
|
|
1635
|
+
|
|
1636
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-childmanifestname
|
|
1637
|
+
'''
|
|
1638
|
+
result = self._values.get("child_manifest_name")
|
|
1639
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1640
|
+
|
|
1641
|
+
@builtins.property
|
|
1642
|
+
def manifest_window_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1643
|
+
'''The duration of the manifest window, in seconds, for the HLS manifest configuration.
|
|
1644
|
+
|
|
1645
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-manifestwindowseconds
|
|
1646
|
+
'''
|
|
1647
|
+
result = self._values.get("manifest_window_seconds")
|
|
1648
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1649
|
+
|
|
1650
|
+
@builtins.property
|
|
1651
|
+
def program_date_time_interval_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1652
|
+
'''The ``EXT-X-PROGRAM-DATE-TIME`` interval, in seconds, associated with the HLS manifest configuration.
|
|
1653
|
+
|
|
1654
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-programdatetimeintervalseconds
|
|
1655
|
+
'''
|
|
1656
|
+
result = self._values.get("program_date_time_interval_seconds")
|
|
1657
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1658
|
+
|
|
1659
|
+
@builtins.property
|
|
1660
|
+
def scte_hls(
|
|
1661
|
+
self,
|
|
1662
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteHlsProperty"]]:
|
|
1663
|
+
'''THE SCTE-35 HLS configuration associated with the HLS manifest configuration.
|
|
1664
|
+
|
|
1665
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-sctehls
|
|
1666
|
+
'''
|
|
1667
|
+
result = self._values.get("scte_hls")
|
|
1668
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteHlsProperty"]], result)
|
|
1669
|
+
|
|
1670
|
+
@builtins.property
|
|
1671
|
+
def url(self) -> typing.Optional[builtins.str]:
|
|
1672
|
+
'''The URL of the HLS manifest configuration.
|
|
1673
|
+
|
|
1674
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-hlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-hlsmanifestconfiguration-url
|
|
1675
|
+
'''
|
|
1676
|
+
result = self._values.get("url")
|
|
1677
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1678
|
+
|
|
1679
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1680
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1681
|
+
|
|
1682
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1683
|
+
return not (rhs == self)
|
|
1684
|
+
|
|
1685
|
+
def __repr__(self) -> str:
|
|
1686
|
+
return "HlsManifestConfigurationProperty(%s)" % ", ".join(
|
|
1687
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1688
|
+
)
|
|
1689
|
+
|
|
1690
|
+
@jsii.data_type(
|
|
1691
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty",
|
|
1692
|
+
jsii_struct_bases=[],
|
|
1693
|
+
name_mapping={
|
|
1694
|
+
"manifest_name": "manifestName",
|
|
1695
|
+
"child_manifest_name": "childManifestName",
|
|
1696
|
+
"manifest_window_seconds": "manifestWindowSeconds",
|
|
1697
|
+
"program_date_time_interval_seconds": "programDateTimeIntervalSeconds",
|
|
1698
|
+
"scte_hls": "scteHls",
|
|
1699
|
+
"url": "url",
|
|
1700
|
+
},
|
|
1701
|
+
)
|
|
1702
|
+
class LowLatencyHlsManifestConfigurationProperty:
|
|
1703
|
+
def __init__(
|
|
1704
|
+
self,
|
|
1705
|
+
*,
|
|
1706
|
+
manifest_name: builtins.str,
|
|
1707
|
+
child_manifest_name: typing.Optional[builtins.str] = None,
|
|
1708
|
+
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
1709
|
+
program_date_time_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
1710
|
+
scte_hls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.ScteHlsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1711
|
+
url: typing.Optional[builtins.str] = None,
|
|
1712
|
+
) -> None:
|
|
1713
|
+
'''Specify a low-latency HTTP live streaming (LL-HLS) manifest configuration.
|
|
1714
|
+
|
|
1715
|
+
:param manifest_name: A short 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.
|
|
1716
|
+
:param child_manifest_name: The name of the child manifest associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1717
|
+
:param manifest_window_seconds: The total duration (in seconds) of the manifest's content.
|
|
1718
|
+
: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. ``ID3Timed`` metadata messages generate every 5 seconds whenever MediaPackage ingests the content. Irrespective of this parameter, if any ``ID3Timed`` metadata is in the HLS input, MediaPackage passes through that metadata to the HLS output.
|
|
1719
|
+
:param scte_hls: The SCTE-35 HLS configuration associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1720
|
+
:param url: The URL of the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1721
|
+
|
|
1722
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html
|
|
1723
|
+
:exampleMetadata: fixture=_generated
|
|
1724
|
+
|
|
1725
|
+
Example::
|
|
1726
|
+
|
|
1727
|
+
# The code below shows an example of how to instantiate this type.
|
|
1728
|
+
# The values are placeholders you should change.
|
|
1729
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1730
|
+
|
|
1731
|
+
low_latency_hls_manifest_configuration_property = mediapackagev2.CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty(
|
|
1732
|
+
manifest_name="manifestName",
|
|
1733
|
+
|
|
1734
|
+
# the properties below are optional
|
|
1735
|
+
child_manifest_name="childManifestName",
|
|
1736
|
+
manifest_window_seconds=123,
|
|
1737
|
+
program_date_time_interval_seconds=123,
|
|
1738
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
1739
|
+
ad_marker_hls="adMarkerHls"
|
|
1740
|
+
),
|
|
1741
|
+
url="url"
|
|
1742
|
+
)
|
|
1743
|
+
'''
|
|
1744
|
+
if __debug__:
|
|
1745
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7ba3db62514b88b8da1b21ec0b9459116f857508c0670adb698a120b326fed5e)
|
|
1746
|
+
check_type(argname="argument manifest_name", value=manifest_name, expected_type=type_hints["manifest_name"])
|
|
1747
|
+
check_type(argname="argument child_manifest_name", value=child_manifest_name, expected_type=type_hints["child_manifest_name"])
|
|
1748
|
+
check_type(argname="argument manifest_window_seconds", value=manifest_window_seconds, expected_type=type_hints["manifest_window_seconds"])
|
|
1749
|
+
check_type(argname="argument program_date_time_interval_seconds", value=program_date_time_interval_seconds, expected_type=type_hints["program_date_time_interval_seconds"])
|
|
1750
|
+
check_type(argname="argument scte_hls", value=scte_hls, expected_type=type_hints["scte_hls"])
|
|
1751
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
1752
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1753
|
+
"manifest_name": manifest_name,
|
|
1754
|
+
}
|
|
1755
|
+
if child_manifest_name is not None:
|
|
1756
|
+
self._values["child_manifest_name"] = child_manifest_name
|
|
1757
|
+
if manifest_window_seconds is not None:
|
|
1758
|
+
self._values["manifest_window_seconds"] = manifest_window_seconds
|
|
1759
|
+
if program_date_time_interval_seconds is not None:
|
|
1760
|
+
self._values["program_date_time_interval_seconds"] = program_date_time_interval_seconds
|
|
1761
|
+
if scte_hls is not None:
|
|
1762
|
+
self._values["scte_hls"] = scte_hls
|
|
1763
|
+
if url is not None:
|
|
1764
|
+
self._values["url"] = url
|
|
1765
|
+
|
|
1766
|
+
@builtins.property
|
|
1767
|
+
def manifest_name(self) -> builtins.str:
|
|
1768
|
+
'''A short short string that's appended to the endpoint URL.
|
|
1769
|
+
|
|
1770
|
+
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.
|
|
1771
|
+
|
|
1772
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-manifestname
|
|
1773
|
+
'''
|
|
1774
|
+
result = self._values.get("manifest_name")
|
|
1775
|
+
assert result is not None, "Required property 'manifest_name' is missing"
|
|
1776
|
+
return typing.cast(builtins.str, result)
|
|
1777
|
+
|
|
1778
|
+
@builtins.property
|
|
1779
|
+
def child_manifest_name(self) -> typing.Optional[builtins.str]:
|
|
1780
|
+
'''The name of the child manifest associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1781
|
+
|
|
1782
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-childmanifestname
|
|
1783
|
+
'''
|
|
1784
|
+
result = self._values.get("child_manifest_name")
|
|
1785
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1786
|
+
|
|
1787
|
+
@builtins.property
|
|
1788
|
+
def manifest_window_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1789
|
+
'''The total duration (in seconds) of the manifest's content.
|
|
1790
|
+
|
|
1791
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-manifestwindowseconds
|
|
1792
|
+
'''
|
|
1793
|
+
result = self._values.get("manifest_window_seconds")
|
|
1794
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1795
|
+
|
|
1796
|
+
@builtins.property
|
|
1797
|
+
def program_date_time_interval_seconds(self) -> typing.Optional[jsii.Number]:
|
|
1798
|
+
'''Inserts ``EXT-X-PROGRAM-DATE-TIME`` tags in the output manifest at the interval that you specify.
|
|
1799
|
+
|
|
1800
|
+
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. ``ID3Timed`` metadata messages generate every 5 seconds whenever MediaPackage ingests the content.
|
|
1801
|
+
|
|
1802
|
+
Irrespective of this parameter, if any ``ID3Timed`` metadata is in the HLS input, MediaPackage passes through that metadata to the HLS output.
|
|
1803
|
+
|
|
1804
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-programdatetimeintervalseconds
|
|
1805
|
+
'''
|
|
1806
|
+
result = self._values.get("program_date_time_interval_seconds")
|
|
1807
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1808
|
+
|
|
1809
|
+
@builtins.property
|
|
1810
|
+
def scte_hls(
|
|
1811
|
+
self,
|
|
1812
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteHlsProperty"]]:
|
|
1813
|
+
'''The SCTE-35 HLS configuration associated with the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1814
|
+
|
|
1815
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-sctehls
|
|
1816
|
+
'''
|
|
1817
|
+
result = self._values.get("scte_hls")
|
|
1818
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteHlsProperty"]], result)
|
|
1819
|
+
|
|
1820
|
+
@builtins.property
|
|
1821
|
+
def url(self) -> typing.Optional[builtins.str]:
|
|
1822
|
+
'''The URL of the low-latency HLS (LL-HLS) manifest configuration of the origin endpoint.
|
|
1823
|
+
|
|
1824
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifestconfiguration-url
|
|
1825
|
+
'''
|
|
1826
|
+
result = self._values.get("url")
|
|
1827
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1828
|
+
|
|
1829
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1830
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1831
|
+
|
|
1832
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1833
|
+
return not (rhs == self)
|
|
1834
|
+
|
|
1835
|
+
def __repr__(self) -> str:
|
|
1836
|
+
return "LowLatencyHlsManifestConfigurationProperty(%s)" % ", ".join(
|
|
1837
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
@jsii.data_type(
|
|
1841
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.ScteHlsProperty",
|
|
1842
|
+
jsii_struct_bases=[],
|
|
1843
|
+
name_mapping={"ad_marker_hls": "adMarkerHls"},
|
|
1844
|
+
)
|
|
1845
|
+
class ScteHlsProperty:
|
|
1846
|
+
def __init__(
|
|
1847
|
+
self,
|
|
1848
|
+
*,
|
|
1849
|
+
ad_marker_hls: typing.Optional[builtins.str] = None,
|
|
1850
|
+
) -> None:
|
|
1851
|
+
'''The SCTE-35 HLS configuration associated with the origin endpoint.
|
|
1852
|
+
|
|
1853
|
+
:param ad_marker_hls: The SCTE-35 HLS ad-marker configuration.
|
|
1854
|
+
|
|
1855
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-sctehls.html
|
|
1856
|
+
:exampleMetadata: fixture=_generated
|
|
1857
|
+
|
|
1858
|
+
Example::
|
|
1859
|
+
|
|
1860
|
+
# The code below shows an example of how to instantiate this type.
|
|
1861
|
+
# The values are placeholders you should change.
|
|
1862
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1863
|
+
|
|
1864
|
+
scte_hls_property = mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
1865
|
+
ad_marker_hls="adMarkerHls"
|
|
1866
|
+
)
|
|
1867
|
+
'''
|
|
1868
|
+
if __debug__:
|
|
1869
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8d4f889b0a331f5c9a9819d549afcb4b4239d6f7040f9146668998df9485e7ea)
|
|
1870
|
+
check_type(argname="argument ad_marker_hls", value=ad_marker_hls, expected_type=type_hints["ad_marker_hls"])
|
|
1871
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1872
|
+
if ad_marker_hls is not None:
|
|
1873
|
+
self._values["ad_marker_hls"] = ad_marker_hls
|
|
1874
|
+
|
|
1875
|
+
@builtins.property
|
|
1876
|
+
def ad_marker_hls(self) -> typing.Optional[builtins.str]:
|
|
1877
|
+
'''The SCTE-35 HLS ad-marker configuration.
|
|
1878
|
+
|
|
1879
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-sctehls.html#cfn-mediapackagev2-originendpoint-sctehls-admarkerhls
|
|
1880
|
+
'''
|
|
1881
|
+
result = self._values.get("ad_marker_hls")
|
|
1882
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1883
|
+
|
|
1884
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1885
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1886
|
+
|
|
1887
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1888
|
+
return not (rhs == self)
|
|
1889
|
+
|
|
1890
|
+
def __repr__(self) -> str:
|
|
1891
|
+
return "ScteHlsProperty(%s)" % ", ".join(
|
|
1892
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1893
|
+
)
|
|
1894
|
+
|
|
1895
|
+
@jsii.data_type(
|
|
1896
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.ScteProperty",
|
|
1897
|
+
jsii_struct_bases=[],
|
|
1898
|
+
name_mapping={"scte_filter": "scteFilter"},
|
|
1899
|
+
)
|
|
1900
|
+
class ScteProperty:
|
|
1901
|
+
def __init__(
|
|
1902
|
+
self,
|
|
1903
|
+
*,
|
|
1904
|
+
scte_filter: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1905
|
+
) -> None:
|
|
1906
|
+
'''The SCTE-35 configuration associated with the origin endpoint.
|
|
1907
|
+
|
|
1908
|
+
:param scte_filter: The filter associated with the SCTE-35 configuration.
|
|
1909
|
+
|
|
1910
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-scte.html
|
|
1911
|
+
:exampleMetadata: fixture=_generated
|
|
1912
|
+
|
|
1913
|
+
Example::
|
|
1914
|
+
|
|
1915
|
+
# The code below shows an example of how to instantiate this type.
|
|
1916
|
+
# The values are placeholders you should change.
|
|
1917
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1918
|
+
|
|
1919
|
+
scte_property = mediapackagev2.CfnOriginEndpoint.ScteProperty(
|
|
1920
|
+
scte_filter=["scteFilter"]
|
|
1921
|
+
)
|
|
1922
|
+
'''
|
|
1923
|
+
if __debug__:
|
|
1924
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef2f402f6bd5f38be28bfd79b40a3e8bf701cd6b9384547f9b36a386a6075a98)
|
|
1925
|
+
check_type(argname="argument scte_filter", value=scte_filter, expected_type=type_hints["scte_filter"])
|
|
1926
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1927
|
+
if scte_filter is not None:
|
|
1928
|
+
self._values["scte_filter"] = scte_filter
|
|
1929
|
+
|
|
1930
|
+
@builtins.property
|
|
1931
|
+
def scte_filter(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1932
|
+
'''The filter associated with the SCTE-35 configuration.
|
|
1933
|
+
|
|
1934
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-scte.html#cfn-mediapackagev2-originendpoint-scte-sctefilter
|
|
1935
|
+
'''
|
|
1936
|
+
result = self._values.get("scte_filter")
|
|
1937
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
1938
|
+
|
|
1939
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1940
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1941
|
+
|
|
1942
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1943
|
+
return not (rhs == self)
|
|
1944
|
+
|
|
1945
|
+
def __repr__(self) -> str:
|
|
1946
|
+
return "ScteProperty(%s)" % ", ".join(
|
|
1947
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1948
|
+
)
|
|
1949
|
+
|
|
1950
|
+
@jsii.data_type(
|
|
1951
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.SegmentProperty",
|
|
1952
|
+
jsii_struct_bases=[],
|
|
1953
|
+
name_mapping={
|
|
1954
|
+
"encryption": "encryption",
|
|
1955
|
+
"include_iframe_only_streams": "includeIframeOnlyStreams",
|
|
1956
|
+
"scte": "scte",
|
|
1957
|
+
"segment_duration_seconds": "segmentDurationSeconds",
|
|
1958
|
+
"segment_name": "segmentName",
|
|
1959
|
+
"ts_include_dvb_subtitles": "tsIncludeDvbSubtitles",
|
|
1960
|
+
"ts_use_audio_rendition_group": "tsUseAudioRenditionGroup",
|
|
1961
|
+
},
|
|
1962
|
+
)
|
|
1963
|
+
class SegmentProperty:
|
|
1964
|
+
def __init__(
|
|
1965
|
+
self,
|
|
1966
|
+
*,
|
|
1967
|
+
encryption: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.EncryptionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1968
|
+
include_iframe_only_streams: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1969
|
+
scte: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.ScteProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1970
|
+
segment_duration_seconds: typing.Optional[jsii.Number] = None,
|
|
1971
|
+
segment_name: typing.Optional[builtins.str] = None,
|
|
1972
|
+
ts_include_dvb_subtitles: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1973
|
+
ts_use_audio_rendition_group: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
1974
|
+
) -> None:
|
|
1975
|
+
'''The segment configuration, including the segment name, duration, and other configuration values.
|
|
1976
|
+
|
|
1977
|
+
:param encryption: Whether to use encryption for the segment.
|
|
1978
|
+
:param include_iframe_only_streams: Whether the segment includes I-frame-only streams.
|
|
1979
|
+
:param scte: The SCTE-35 configuration associated with the segment.
|
|
1980
|
+
:param segment_duration_seconds: The duration of the segment, in seconds.
|
|
1981
|
+
:param segment_name: The name of the segment associated with the origin endpoint.
|
|
1982
|
+
:param ts_include_dvb_subtitles: Whether the segment includes DVB subtitles.
|
|
1983
|
+
:param ts_use_audio_rendition_group: Whether the segment is an audio rendition group.
|
|
1984
|
+
|
|
1985
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html
|
|
1986
|
+
:exampleMetadata: fixture=_generated
|
|
1987
|
+
|
|
1988
|
+
Example::
|
|
1989
|
+
|
|
1990
|
+
# The code below shows an example of how to instantiate this type.
|
|
1991
|
+
# The values are placeholders you should change.
|
|
1992
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
1993
|
+
|
|
1994
|
+
segment_property = mediapackagev2.CfnOriginEndpoint.SegmentProperty(
|
|
1995
|
+
encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
1996
|
+
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
1997
|
+
cmaf_encryption_method="cmafEncryptionMethod",
|
|
1998
|
+
ts_encryption_method="tsEncryptionMethod"
|
|
1999
|
+
),
|
|
2000
|
+
speke_key_provider=mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
|
|
2001
|
+
drm_systems=["drmSystems"],
|
|
2002
|
+
encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
2003
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
2004
|
+
preset_speke20_video="presetSpeke20Video"
|
|
2005
|
+
),
|
|
2006
|
+
resource_id="resourceId",
|
|
2007
|
+
role_arn="roleArn",
|
|
2008
|
+
url="url"
|
|
2009
|
+
),
|
|
2010
|
+
|
|
2011
|
+
# the properties below are optional
|
|
2012
|
+
constant_initialization_vector="constantInitializationVector",
|
|
2013
|
+
key_rotation_interval_seconds=123
|
|
2014
|
+
),
|
|
2015
|
+
include_iframe_only_streams=False,
|
|
2016
|
+
scte=mediapackagev2.CfnOriginEndpoint.ScteProperty(
|
|
2017
|
+
scte_filter=["scteFilter"]
|
|
2018
|
+
),
|
|
2019
|
+
segment_duration_seconds=123,
|
|
2020
|
+
segment_name="segmentName",
|
|
2021
|
+
ts_include_dvb_subtitles=False,
|
|
2022
|
+
ts_use_audio_rendition_group=False
|
|
2023
|
+
)
|
|
2024
|
+
'''
|
|
2025
|
+
if __debug__:
|
|
2026
|
+
type_hints = typing.get_type_hints(_typecheckingstub__99efb585c0a363a79f96102145e602f3f91887f61fac7a746b16b243ae503d48)
|
|
2027
|
+
check_type(argname="argument encryption", value=encryption, expected_type=type_hints["encryption"])
|
|
2028
|
+
check_type(argname="argument include_iframe_only_streams", value=include_iframe_only_streams, expected_type=type_hints["include_iframe_only_streams"])
|
|
2029
|
+
check_type(argname="argument scte", value=scte, expected_type=type_hints["scte"])
|
|
2030
|
+
check_type(argname="argument segment_duration_seconds", value=segment_duration_seconds, expected_type=type_hints["segment_duration_seconds"])
|
|
2031
|
+
check_type(argname="argument segment_name", value=segment_name, expected_type=type_hints["segment_name"])
|
|
2032
|
+
check_type(argname="argument ts_include_dvb_subtitles", value=ts_include_dvb_subtitles, expected_type=type_hints["ts_include_dvb_subtitles"])
|
|
2033
|
+
check_type(argname="argument ts_use_audio_rendition_group", value=ts_use_audio_rendition_group, expected_type=type_hints["ts_use_audio_rendition_group"])
|
|
2034
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
2035
|
+
if encryption is not None:
|
|
2036
|
+
self._values["encryption"] = encryption
|
|
2037
|
+
if include_iframe_only_streams is not None:
|
|
2038
|
+
self._values["include_iframe_only_streams"] = include_iframe_only_streams
|
|
2039
|
+
if scte is not None:
|
|
2040
|
+
self._values["scte"] = scte
|
|
2041
|
+
if segment_duration_seconds is not None:
|
|
2042
|
+
self._values["segment_duration_seconds"] = segment_duration_seconds
|
|
2043
|
+
if segment_name is not None:
|
|
2044
|
+
self._values["segment_name"] = segment_name
|
|
2045
|
+
if ts_include_dvb_subtitles is not None:
|
|
2046
|
+
self._values["ts_include_dvb_subtitles"] = ts_include_dvb_subtitles
|
|
2047
|
+
if ts_use_audio_rendition_group is not None:
|
|
2048
|
+
self._values["ts_use_audio_rendition_group"] = ts_use_audio_rendition_group
|
|
2049
|
+
|
|
2050
|
+
@builtins.property
|
|
2051
|
+
def encryption(
|
|
2052
|
+
self,
|
|
2053
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionProperty"]]:
|
|
2054
|
+
'''Whether to use encryption for the segment.
|
|
2055
|
+
|
|
2056
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-encryption
|
|
2057
|
+
'''
|
|
2058
|
+
result = self._values.get("encryption")
|
|
2059
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionProperty"]], result)
|
|
2060
|
+
|
|
2061
|
+
@builtins.property
|
|
2062
|
+
def include_iframe_only_streams(
|
|
2063
|
+
self,
|
|
2064
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2065
|
+
'''Whether the segment includes I-frame-only streams.
|
|
2066
|
+
|
|
2067
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-includeiframeonlystreams
|
|
2068
|
+
'''
|
|
2069
|
+
result = self._values.get("include_iframe_only_streams")
|
|
2070
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2071
|
+
|
|
2072
|
+
@builtins.property
|
|
2073
|
+
def scte(
|
|
2074
|
+
self,
|
|
2075
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteProperty"]]:
|
|
2076
|
+
'''The SCTE-35 configuration associated with the segment.
|
|
2077
|
+
|
|
2078
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-scte
|
|
2079
|
+
'''
|
|
2080
|
+
result = self._values.get("scte")
|
|
2081
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.ScteProperty"]], result)
|
|
2082
|
+
|
|
2083
|
+
@builtins.property
|
|
2084
|
+
def segment_duration_seconds(self) -> typing.Optional[jsii.Number]:
|
|
2085
|
+
'''The duration of the segment, in seconds.
|
|
2086
|
+
|
|
2087
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-segmentdurationseconds
|
|
2088
|
+
'''
|
|
2089
|
+
result = self._values.get("segment_duration_seconds")
|
|
2090
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2091
|
+
|
|
2092
|
+
@builtins.property
|
|
2093
|
+
def segment_name(self) -> typing.Optional[builtins.str]:
|
|
2094
|
+
'''The name of the segment associated with the origin endpoint.
|
|
2095
|
+
|
|
2096
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-segmentname
|
|
2097
|
+
'''
|
|
2098
|
+
result = self._values.get("segment_name")
|
|
2099
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2100
|
+
|
|
2101
|
+
@builtins.property
|
|
2102
|
+
def ts_include_dvb_subtitles(
|
|
2103
|
+
self,
|
|
2104
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2105
|
+
'''Whether the segment includes DVB subtitles.
|
|
2106
|
+
|
|
2107
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-tsincludedvbsubtitles
|
|
2108
|
+
'''
|
|
2109
|
+
result = self._values.get("ts_include_dvb_subtitles")
|
|
2110
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2111
|
+
|
|
2112
|
+
@builtins.property
|
|
2113
|
+
def ts_use_audio_rendition_group(
|
|
2114
|
+
self,
|
|
2115
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2116
|
+
'''Whether the segment is an audio rendition group.
|
|
2117
|
+
|
|
2118
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-segment.html#cfn-mediapackagev2-originendpoint-segment-tsuseaudiorenditiongroup
|
|
2119
|
+
'''
|
|
2120
|
+
result = self._values.get("ts_use_audio_rendition_group")
|
|
2121
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
2122
|
+
|
|
2123
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2124
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2125
|
+
|
|
2126
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2127
|
+
return not (rhs == self)
|
|
2128
|
+
|
|
2129
|
+
def __repr__(self) -> str:
|
|
2130
|
+
return "SegmentProperty(%s)" % ", ".join(
|
|
2131
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2132
|
+
)
|
|
2133
|
+
|
|
2134
|
+
@jsii.data_type(
|
|
2135
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty",
|
|
2136
|
+
jsii_struct_bases=[],
|
|
2137
|
+
name_mapping={
|
|
2138
|
+
"drm_systems": "drmSystems",
|
|
2139
|
+
"encryption_contract_configuration": "encryptionContractConfiguration",
|
|
2140
|
+
"resource_id": "resourceId",
|
|
2141
|
+
"role_arn": "roleArn",
|
|
2142
|
+
"url": "url",
|
|
2143
|
+
},
|
|
2144
|
+
)
|
|
2145
|
+
class SpekeKeyProviderProperty:
|
|
2146
|
+
def __init__(
|
|
2147
|
+
self,
|
|
2148
|
+
*,
|
|
2149
|
+
drm_systems: typing.Sequence[builtins.str],
|
|
2150
|
+
encryption_contract_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnOriginEndpoint.EncryptionContractConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
2151
|
+
resource_id: builtins.str,
|
|
2152
|
+
role_arn: builtins.str,
|
|
2153
|
+
url: builtins.str,
|
|
2154
|
+
) -> None:
|
|
2155
|
+
'''The parameters for the SPEKE key provider.
|
|
2156
|
+
|
|
2157
|
+
:param drm_systems: The DRM solution provider you're using to protect your content during distribution.
|
|
2158
|
+
:param encryption_contract_configuration: The encryption contract configuration associated with the SPEKE key provider.
|
|
2159
|
+
:param resource_id: The unique identifier for the content. The service sends this identifier to the key server to identify the current endpoint. How unique you make this identifier depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID. The following example shows a resource ID: ``MovieNight20171126093045``
|
|
2160
|
+
:param role_arn: The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider. Valid format: ``arn:aws:iam::{accountID}:role/{name}`` . The following example shows a role ARN: ``arn:aws:iam::444455556666:role/SpekeAccess``
|
|
2161
|
+
:param url: The URL of the SPEKE key provider.
|
|
2162
|
+
|
|
2163
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html
|
|
2164
|
+
:exampleMetadata: fixture=_generated
|
|
2165
|
+
|
|
2166
|
+
Example::
|
|
2167
|
+
|
|
2168
|
+
# The code below shows an example of how to instantiate this type.
|
|
2169
|
+
# The values are placeholders you should change.
|
|
2170
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2171
|
+
|
|
2172
|
+
speke_key_provider_property = mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
|
|
2173
|
+
drm_systems=["drmSystems"],
|
|
2174
|
+
encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
2175
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
2176
|
+
preset_speke20_video="presetSpeke20Video"
|
|
2177
|
+
),
|
|
2178
|
+
resource_id="resourceId",
|
|
2179
|
+
role_arn="roleArn",
|
|
2180
|
+
url="url"
|
|
2181
|
+
)
|
|
2182
|
+
'''
|
|
2183
|
+
if __debug__:
|
|
2184
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e4c003b5dabc0ccf6e42c45fb4504036521870f7799525c5b18f42c7c618d131)
|
|
2185
|
+
check_type(argname="argument drm_systems", value=drm_systems, expected_type=type_hints["drm_systems"])
|
|
2186
|
+
check_type(argname="argument encryption_contract_configuration", value=encryption_contract_configuration, expected_type=type_hints["encryption_contract_configuration"])
|
|
2187
|
+
check_type(argname="argument resource_id", value=resource_id, expected_type=type_hints["resource_id"])
|
|
2188
|
+
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
2189
|
+
check_type(argname="argument url", value=url, expected_type=type_hints["url"])
|
|
2190
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2191
|
+
"drm_systems": drm_systems,
|
|
2192
|
+
"encryption_contract_configuration": encryption_contract_configuration,
|
|
2193
|
+
"resource_id": resource_id,
|
|
2194
|
+
"role_arn": role_arn,
|
|
2195
|
+
"url": url,
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
@builtins.property
|
|
2199
|
+
def drm_systems(self) -> typing.List[builtins.str]:
|
|
2200
|
+
'''The DRM solution provider you're using to protect your content during distribution.
|
|
2201
|
+
|
|
2202
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html#cfn-mediapackagev2-originendpoint-spekekeyprovider-drmsystems
|
|
2203
|
+
'''
|
|
2204
|
+
result = self._values.get("drm_systems")
|
|
2205
|
+
assert result is not None, "Required property 'drm_systems' is missing"
|
|
2206
|
+
return typing.cast(typing.List[builtins.str], result)
|
|
2207
|
+
|
|
2208
|
+
@builtins.property
|
|
2209
|
+
def encryption_contract_configuration(
|
|
2210
|
+
self,
|
|
2211
|
+
) -> typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionContractConfigurationProperty"]:
|
|
2212
|
+
'''The encryption contract configuration associated with the SPEKE key provider.
|
|
2213
|
+
|
|
2214
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html#cfn-mediapackagev2-originendpoint-spekekeyprovider-encryptioncontractconfiguration
|
|
2215
|
+
'''
|
|
2216
|
+
result = self._values.get("encryption_contract_configuration")
|
|
2217
|
+
assert result is not None, "Required property 'encryption_contract_configuration' is missing"
|
|
2218
|
+
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnOriginEndpoint.EncryptionContractConfigurationProperty"], result)
|
|
2219
|
+
|
|
2220
|
+
@builtins.property
|
|
2221
|
+
def resource_id(self) -> builtins.str:
|
|
2222
|
+
'''The unique identifier for the content.
|
|
2223
|
+
|
|
2224
|
+
The service sends this identifier to the key server to identify the current endpoint. How unique you make this identifier depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
|
|
2225
|
+
|
|
2226
|
+
The following example shows a resource ID: ``MovieNight20171126093045``
|
|
2227
|
+
|
|
2228
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html#cfn-mediapackagev2-originendpoint-spekekeyprovider-resourceid
|
|
2229
|
+
'''
|
|
2230
|
+
result = self._values.get("resource_id")
|
|
2231
|
+
assert result is not None, "Required property 'resource_id' is missing"
|
|
2232
|
+
return typing.cast(builtins.str, result)
|
|
2233
|
+
|
|
2234
|
+
@builtins.property
|
|
2235
|
+
def role_arn(self) -> builtins.str:
|
|
2236
|
+
'''The ARN for the IAM role granted by the key provider that provides access to the key provider API.
|
|
2237
|
+
|
|
2238
|
+
This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
|
|
2239
|
+
|
|
2240
|
+
Valid format: ``arn:aws:iam::{accountID}:role/{name}`` . The following example shows a role ARN: ``arn:aws:iam::444455556666:role/SpekeAccess``
|
|
2241
|
+
|
|
2242
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html#cfn-mediapackagev2-originendpoint-spekekeyprovider-rolearn
|
|
2243
|
+
'''
|
|
2244
|
+
result = self._values.get("role_arn")
|
|
2245
|
+
assert result is not None, "Required property 'role_arn' is missing"
|
|
2246
|
+
return typing.cast(builtins.str, result)
|
|
2247
|
+
|
|
2248
|
+
@builtins.property
|
|
2249
|
+
def url(self) -> builtins.str:
|
|
2250
|
+
'''The URL of the SPEKE key provider.
|
|
2251
|
+
|
|
2252
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-spekekeyprovider.html#cfn-mediapackagev2-originendpoint-spekekeyprovider-url
|
|
2253
|
+
'''
|
|
2254
|
+
result = self._values.get("url")
|
|
2255
|
+
assert result is not None, "Required property 'url' is missing"
|
|
2256
|
+
return typing.cast(builtins.str, result)
|
|
2257
|
+
|
|
2258
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2259
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2260
|
+
|
|
2261
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2262
|
+
return not (rhs == self)
|
|
2263
|
+
|
|
2264
|
+
def __repr__(self) -> str:
|
|
2265
|
+
return "SpekeKeyProviderProperty(%s)" % ", ".join(
|
|
2266
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2267
|
+
)
|
|
2268
|
+
|
|
2269
|
+
|
|
2270
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
2271
|
+
class CfnOriginEndpointPolicy(
|
|
2272
|
+
_CfnResource_9df397a6,
|
|
2273
|
+
metaclass=jsii.JSIIMeta,
|
|
2274
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointPolicy",
|
|
2275
|
+
):
|
|
2276
|
+
'''Specifies the configuration parameters of a policy associated with a MediaPackage V2 origin endpoint.
|
|
2277
|
+
|
|
2278
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html
|
|
2279
|
+
:exampleMetadata: fixture=_generated
|
|
2280
|
+
|
|
2281
|
+
Example::
|
|
2282
|
+
|
|
2283
|
+
# The code below shows an example of how to instantiate this type.
|
|
2284
|
+
# The values are placeholders you should change.
|
|
2285
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2286
|
+
|
|
2287
|
+
# policy: Any
|
|
2288
|
+
|
|
2289
|
+
cfn_origin_endpoint_policy = mediapackagev2.CfnOriginEndpointPolicy(self, "MyCfnOriginEndpointPolicy",
|
|
2290
|
+
policy=policy,
|
|
2291
|
+
|
|
2292
|
+
# the properties below are optional
|
|
2293
|
+
channel_group_name="channelGroupName",
|
|
2294
|
+
channel_name="channelName",
|
|
2295
|
+
origin_endpoint_name="originEndpointName"
|
|
2296
|
+
)
|
|
2297
|
+
'''
|
|
2298
|
+
|
|
2299
|
+
def __init__(
|
|
2300
|
+
self,
|
|
2301
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2302
|
+
id: builtins.str,
|
|
2303
|
+
*,
|
|
2304
|
+
policy: typing.Any,
|
|
2305
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2306
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2307
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2308
|
+
) -> None:
|
|
2309
|
+
'''
|
|
2310
|
+
:param scope: Scope in which this resource is defined.
|
|
2311
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
2312
|
+
:param policy: The policy associated with the origin endpoint.
|
|
2313
|
+
:param channel_group_name: The name of the channel group associated with the origin endpoint policy.
|
|
2314
|
+
:param channel_name: The channel name associated with the origin endpoint policy.
|
|
2315
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
|
|
2316
|
+
'''
|
|
2317
|
+
if __debug__:
|
|
2318
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b6745377)
|
|
2319
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2320
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2321
|
+
props = CfnOriginEndpointPolicyProps(
|
|
2322
|
+
policy=policy,
|
|
2323
|
+
channel_group_name=channel_group_name,
|
|
2324
|
+
channel_name=channel_name,
|
|
2325
|
+
origin_endpoint_name=origin_endpoint_name,
|
|
2326
|
+
)
|
|
2327
|
+
|
|
2328
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
2329
|
+
|
|
2330
|
+
@jsii.member(jsii_name="inspect")
|
|
2331
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
2332
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
2333
|
+
|
|
2334
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
2335
|
+
'''
|
|
2336
|
+
if __debug__:
|
|
2337
|
+
type_hints = typing.get_type_hints(_typecheckingstub__74da85e5d1f694f56bc39f3c1d3745b511f779f8f4ad4d052b2b985b19780fcd)
|
|
2338
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
2339
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
2340
|
+
|
|
2341
|
+
@jsii.member(jsii_name="renderProperties")
|
|
2342
|
+
def _render_properties(
|
|
2343
|
+
self,
|
|
2344
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2345
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2346
|
+
'''
|
|
2347
|
+
:param props: -
|
|
2348
|
+
'''
|
|
2349
|
+
if __debug__:
|
|
2350
|
+
type_hints = typing.get_type_hints(_typecheckingstub__9132218ebec80b439a7e6308166a5da9778046634a6a905cd5b91648837863cc)
|
|
2351
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
2352
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
2353
|
+
|
|
2354
|
+
@jsii.python.classproperty
|
|
2355
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
2356
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
2357
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
2358
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
2359
|
+
|
|
2360
|
+
@builtins.property
|
|
2361
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
2362
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
2363
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
2364
|
+
|
|
2365
|
+
@builtins.property
|
|
2366
|
+
@jsii.member(jsii_name="policy")
|
|
2367
|
+
def policy(self) -> typing.Any:
|
|
2368
|
+
'''The policy associated with the origin endpoint.'''
|
|
2369
|
+
return typing.cast(typing.Any, jsii.get(self, "policy"))
|
|
2370
|
+
|
|
2371
|
+
@policy.setter
|
|
2372
|
+
def policy(self, value: typing.Any) -> None:
|
|
2373
|
+
if __debug__:
|
|
2374
|
+
type_hints = typing.get_type_hints(_typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b23af07b)
|
|
2375
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2376
|
+
jsii.set(self, "policy", value)
|
|
2377
|
+
|
|
2378
|
+
@builtins.property
|
|
2379
|
+
@jsii.member(jsii_name="channelGroupName")
|
|
2380
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
2381
|
+
'''The name of the channel group associated with the origin endpoint policy.'''
|
|
2382
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelGroupName"))
|
|
2383
|
+
|
|
2384
|
+
@channel_group_name.setter
|
|
2385
|
+
def channel_group_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
2386
|
+
if __debug__:
|
|
2387
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ece6fe1f3215cf8ea357ac0ae337fd3ee216bd554b13e1ed66f380a551871cf8)
|
|
2388
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2389
|
+
jsii.set(self, "channelGroupName", value)
|
|
2390
|
+
|
|
2391
|
+
@builtins.property
|
|
2392
|
+
@jsii.member(jsii_name="channelName")
|
|
2393
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
2394
|
+
'''The channel name associated with the origin endpoint policy.'''
|
|
2395
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "channelName"))
|
|
2396
|
+
|
|
2397
|
+
@channel_name.setter
|
|
2398
|
+
def channel_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
2399
|
+
if __debug__:
|
|
2400
|
+
type_hints = typing.get_type_hints(_typecheckingstub__061507a42f38505f6e3060097229ce610dd50d3f6f96ac0cdbd883d1e13cad8a)
|
|
2401
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2402
|
+
jsii.set(self, "channelName", value)
|
|
2403
|
+
|
|
2404
|
+
@builtins.property
|
|
2405
|
+
@jsii.member(jsii_name="originEndpointName")
|
|
2406
|
+
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
2407
|
+
'''The name of the origin endpoint associated with the origin endpoint policy.'''
|
|
2408
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "originEndpointName"))
|
|
2409
|
+
|
|
2410
|
+
@origin_endpoint_name.setter
|
|
2411
|
+
def origin_endpoint_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
2412
|
+
if __debug__:
|
|
2413
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1a22e35010e441892b8eae01173c80ff68e7e2c1da6f52737a724971f5555743)
|
|
2414
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
2415
|
+
jsii.set(self, "originEndpointName", value)
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
@jsii.data_type(
|
|
2419
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointPolicyProps",
|
|
2420
|
+
jsii_struct_bases=[],
|
|
2421
|
+
name_mapping={
|
|
2422
|
+
"policy": "policy",
|
|
2423
|
+
"channel_group_name": "channelGroupName",
|
|
2424
|
+
"channel_name": "channelName",
|
|
2425
|
+
"origin_endpoint_name": "originEndpointName",
|
|
2426
|
+
},
|
|
2427
|
+
)
|
|
2428
|
+
class CfnOriginEndpointPolicyProps:
|
|
2429
|
+
def __init__(
|
|
2430
|
+
self,
|
|
2431
|
+
*,
|
|
2432
|
+
policy: typing.Any,
|
|
2433
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2434
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2435
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2436
|
+
) -> None:
|
|
2437
|
+
'''Properties for defining a ``CfnOriginEndpointPolicy``.
|
|
2438
|
+
|
|
2439
|
+
:param policy: The policy associated with the origin endpoint.
|
|
2440
|
+
:param channel_group_name: The name of the channel group associated with the origin endpoint policy.
|
|
2441
|
+
:param channel_name: The channel name associated with the origin endpoint policy.
|
|
2442
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint policy.
|
|
2443
|
+
|
|
2444
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html
|
|
2445
|
+
:exampleMetadata: fixture=_generated
|
|
2446
|
+
|
|
2447
|
+
Example::
|
|
2448
|
+
|
|
2449
|
+
# The code below shows an example of how to instantiate this type.
|
|
2450
|
+
# The values are placeholders you should change.
|
|
2451
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2452
|
+
|
|
2453
|
+
# policy: Any
|
|
2454
|
+
|
|
2455
|
+
cfn_origin_endpoint_policy_props = mediapackagev2.CfnOriginEndpointPolicyProps(
|
|
2456
|
+
policy=policy,
|
|
2457
|
+
|
|
2458
|
+
# the properties below are optional
|
|
2459
|
+
channel_group_name="channelGroupName",
|
|
2460
|
+
channel_name="channelName",
|
|
2461
|
+
origin_endpoint_name="originEndpointName"
|
|
2462
|
+
)
|
|
2463
|
+
'''
|
|
2464
|
+
if __debug__:
|
|
2465
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f894be53e4aa1a8dbf54a25d139b2ffb41422bce69404dd7f536c4f418ceaa35)
|
|
2466
|
+
check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
|
|
2467
|
+
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
2468
|
+
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
2469
|
+
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
2470
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2471
|
+
"policy": policy,
|
|
2472
|
+
}
|
|
2473
|
+
if channel_group_name is not None:
|
|
2474
|
+
self._values["channel_group_name"] = channel_group_name
|
|
2475
|
+
if channel_name is not None:
|
|
2476
|
+
self._values["channel_name"] = channel_name
|
|
2477
|
+
if origin_endpoint_name is not None:
|
|
2478
|
+
self._values["origin_endpoint_name"] = origin_endpoint_name
|
|
2479
|
+
|
|
2480
|
+
@builtins.property
|
|
2481
|
+
def policy(self) -> typing.Any:
|
|
2482
|
+
'''The policy associated with the origin endpoint.
|
|
2483
|
+
|
|
2484
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-policy
|
|
2485
|
+
'''
|
|
2486
|
+
result = self._values.get("policy")
|
|
2487
|
+
assert result is not None, "Required property 'policy' is missing"
|
|
2488
|
+
return typing.cast(typing.Any, result)
|
|
2489
|
+
|
|
2490
|
+
@builtins.property
|
|
2491
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
2492
|
+
'''The name of the channel group associated with the origin endpoint policy.
|
|
2493
|
+
|
|
2494
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-channelgroupname
|
|
2495
|
+
'''
|
|
2496
|
+
result = self._values.get("channel_group_name")
|
|
2497
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2498
|
+
|
|
2499
|
+
@builtins.property
|
|
2500
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
2501
|
+
'''The channel name associated with the origin endpoint policy.
|
|
2502
|
+
|
|
2503
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-channelname
|
|
2504
|
+
'''
|
|
2505
|
+
result = self._values.get("channel_name")
|
|
2506
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2507
|
+
|
|
2508
|
+
@builtins.property
|
|
2509
|
+
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
2510
|
+
'''The name of the origin endpoint associated with the origin endpoint policy.
|
|
2511
|
+
|
|
2512
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-originendpointname
|
|
2513
|
+
'''
|
|
2514
|
+
result = self._values.get("origin_endpoint_name")
|
|
2515
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2516
|
+
|
|
2517
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2518
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2519
|
+
|
|
2520
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2521
|
+
return not (rhs == self)
|
|
2522
|
+
|
|
2523
|
+
def __repr__(self) -> str:
|
|
2524
|
+
return "CfnOriginEndpointPolicyProps(%s)" % ", ".join(
|
|
2525
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2526
|
+
)
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
@jsii.data_type(
|
|
2530
|
+
jsii_type="aws-cdk-lib.aws_mediapackagev2.CfnOriginEndpointProps",
|
|
2531
|
+
jsii_struct_bases=[],
|
|
2532
|
+
name_mapping={
|
|
2533
|
+
"container_type": "containerType",
|
|
2534
|
+
"channel_group_name": "channelGroupName",
|
|
2535
|
+
"channel_name": "channelName",
|
|
2536
|
+
"description": "description",
|
|
2537
|
+
"hls_manifests": "hlsManifests",
|
|
2538
|
+
"low_latency_hls_manifests": "lowLatencyHlsManifests",
|
|
2539
|
+
"origin_endpoint_name": "originEndpointName",
|
|
2540
|
+
"segment": "segment",
|
|
2541
|
+
"startover_window_seconds": "startoverWindowSeconds",
|
|
2542
|
+
"tags": "tags",
|
|
2543
|
+
},
|
|
2544
|
+
)
|
|
2545
|
+
class CfnOriginEndpointProps:
|
|
2546
|
+
def __init__(
|
|
2547
|
+
self,
|
|
2548
|
+
*,
|
|
2549
|
+
container_type: builtins.str,
|
|
2550
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2551
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2552
|
+
description: typing.Optional[builtins.str] = None,
|
|
2553
|
+
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2554
|
+
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2555
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2556
|
+
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2557
|
+
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
2558
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2559
|
+
) -> None:
|
|
2560
|
+
'''Properties for defining a ``CfnOriginEndpoint``.
|
|
2561
|
+
|
|
2562
|
+
:param container_type: The container type associated with the origin endpoint configuration.
|
|
2563
|
+
:param channel_group_name: The name of the channel group associated with the origin endpoint configuration.
|
|
2564
|
+
:param channel_name: The channel name associated with the origin endpoint.
|
|
2565
|
+
:param description: The description associated with the origin endpoint.
|
|
2566
|
+
:param hls_manifests: The HLS manfiests associated with the origin endpoint configuration.
|
|
2567
|
+
:param low_latency_hls_manifests: The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
|
|
2568
|
+
:param origin_endpoint_name: The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2569
|
+
:param segment: The segment associated with the origin endpoint.
|
|
2570
|
+
:param startover_window_seconds: The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window.
|
|
2571
|
+
:param tags: The tags associated with the origin endpoint.
|
|
2572
|
+
|
|
2573
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html
|
|
2574
|
+
:exampleMetadata: fixture=_generated
|
|
2575
|
+
|
|
2576
|
+
Example::
|
|
2577
|
+
|
|
2578
|
+
# The code below shows an example of how to instantiate this type.
|
|
2579
|
+
# The values are placeholders you should change.
|
|
2580
|
+
from aws_cdk import aws_mediapackagev2 as mediapackagev2
|
|
2581
|
+
|
|
2582
|
+
cfn_origin_endpoint_props = mediapackagev2.CfnOriginEndpointProps(
|
|
2583
|
+
container_type="containerType",
|
|
2584
|
+
|
|
2585
|
+
# the properties below are optional
|
|
2586
|
+
channel_group_name="channelGroupName",
|
|
2587
|
+
channel_name="channelName",
|
|
2588
|
+
description="description",
|
|
2589
|
+
hls_manifests=[mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
|
|
2590
|
+
manifest_name="manifestName",
|
|
2591
|
+
|
|
2592
|
+
# the properties below are optional
|
|
2593
|
+
child_manifest_name="childManifestName",
|
|
2594
|
+
manifest_window_seconds=123,
|
|
2595
|
+
program_date_time_interval_seconds=123,
|
|
2596
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
2597
|
+
ad_marker_hls="adMarkerHls"
|
|
2598
|
+
),
|
|
2599
|
+
url="url"
|
|
2600
|
+
)],
|
|
2601
|
+
low_latency_hls_manifests=[mediapackagev2.CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty(
|
|
2602
|
+
manifest_name="manifestName",
|
|
2603
|
+
|
|
2604
|
+
# the properties below are optional
|
|
2605
|
+
child_manifest_name="childManifestName",
|
|
2606
|
+
manifest_window_seconds=123,
|
|
2607
|
+
program_date_time_interval_seconds=123,
|
|
2608
|
+
scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
|
|
2609
|
+
ad_marker_hls="adMarkerHls"
|
|
2610
|
+
),
|
|
2611
|
+
url="url"
|
|
2612
|
+
)],
|
|
2613
|
+
origin_endpoint_name="originEndpointName",
|
|
2614
|
+
segment=mediapackagev2.CfnOriginEndpoint.SegmentProperty(
|
|
2615
|
+
encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
|
|
2616
|
+
encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
|
|
2617
|
+
cmaf_encryption_method="cmafEncryptionMethod",
|
|
2618
|
+
ts_encryption_method="tsEncryptionMethod"
|
|
2619
|
+
),
|
|
2620
|
+
speke_key_provider=mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
|
|
2621
|
+
drm_systems=["drmSystems"],
|
|
2622
|
+
encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
|
|
2623
|
+
preset_speke20_audio="presetSpeke20Audio",
|
|
2624
|
+
preset_speke20_video="presetSpeke20Video"
|
|
2625
|
+
),
|
|
2626
|
+
resource_id="resourceId",
|
|
2627
|
+
role_arn="roleArn",
|
|
2628
|
+
url="url"
|
|
2629
|
+
),
|
|
2630
|
+
|
|
2631
|
+
# the properties below are optional
|
|
2632
|
+
constant_initialization_vector="constantInitializationVector",
|
|
2633
|
+
key_rotation_interval_seconds=123
|
|
2634
|
+
),
|
|
2635
|
+
include_iframe_only_streams=False,
|
|
2636
|
+
scte=mediapackagev2.CfnOriginEndpoint.ScteProperty(
|
|
2637
|
+
scte_filter=["scteFilter"]
|
|
2638
|
+
),
|
|
2639
|
+
segment_duration_seconds=123,
|
|
2640
|
+
segment_name="segmentName",
|
|
2641
|
+
ts_include_dvb_subtitles=False,
|
|
2642
|
+
ts_use_audio_rendition_group=False
|
|
2643
|
+
),
|
|
2644
|
+
startover_window_seconds=123,
|
|
2645
|
+
tags=[CfnTag(
|
|
2646
|
+
key="key",
|
|
2647
|
+
value="value"
|
|
2648
|
+
)]
|
|
2649
|
+
)
|
|
2650
|
+
'''
|
|
2651
|
+
if __debug__:
|
|
2652
|
+
type_hints = typing.get_type_hints(_typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de765f62402)
|
|
2653
|
+
check_type(argname="argument container_type", value=container_type, expected_type=type_hints["container_type"])
|
|
2654
|
+
check_type(argname="argument channel_group_name", value=channel_group_name, expected_type=type_hints["channel_group_name"])
|
|
2655
|
+
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
2656
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2657
|
+
check_type(argname="argument hls_manifests", value=hls_manifests, expected_type=type_hints["hls_manifests"])
|
|
2658
|
+
check_type(argname="argument low_latency_hls_manifests", value=low_latency_hls_manifests, expected_type=type_hints["low_latency_hls_manifests"])
|
|
2659
|
+
check_type(argname="argument origin_endpoint_name", value=origin_endpoint_name, expected_type=type_hints["origin_endpoint_name"])
|
|
2660
|
+
check_type(argname="argument segment", value=segment, expected_type=type_hints["segment"])
|
|
2661
|
+
check_type(argname="argument startover_window_seconds", value=startover_window_seconds, expected_type=type_hints["startover_window_seconds"])
|
|
2662
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
2663
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2664
|
+
"container_type": container_type,
|
|
2665
|
+
}
|
|
2666
|
+
if channel_group_name is not None:
|
|
2667
|
+
self._values["channel_group_name"] = channel_group_name
|
|
2668
|
+
if channel_name is not None:
|
|
2669
|
+
self._values["channel_name"] = channel_name
|
|
2670
|
+
if description is not None:
|
|
2671
|
+
self._values["description"] = description
|
|
2672
|
+
if hls_manifests is not None:
|
|
2673
|
+
self._values["hls_manifests"] = hls_manifests
|
|
2674
|
+
if low_latency_hls_manifests is not None:
|
|
2675
|
+
self._values["low_latency_hls_manifests"] = low_latency_hls_manifests
|
|
2676
|
+
if origin_endpoint_name is not None:
|
|
2677
|
+
self._values["origin_endpoint_name"] = origin_endpoint_name
|
|
2678
|
+
if segment is not None:
|
|
2679
|
+
self._values["segment"] = segment
|
|
2680
|
+
if startover_window_seconds is not None:
|
|
2681
|
+
self._values["startover_window_seconds"] = startover_window_seconds
|
|
2682
|
+
if tags is not None:
|
|
2683
|
+
self._values["tags"] = tags
|
|
2684
|
+
|
|
2685
|
+
@builtins.property
|
|
2686
|
+
def container_type(self) -> builtins.str:
|
|
2687
|
+
'''The container type associated with the origin endpoint configuration.
|
|
2688
|
+
|
|
2689
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype
|
|
2690
|
+
'''
|
|
2691
|
+
result = self._values.get("container_type")
|
|
2692
|
+
assert result is not None, "Required property 'container_type' is missing"
|
|
2693
|
+
return typing.cast(builtins.str, result)
|
|
2694
|
+
|
|
2695
|
+
@builtins.property
|
|
2696
|
+
def channel_group_name(self) -> typing.Optional[builtins.str]:
|
|
2697
|
+
'''The name of the channel group associated with the origin endpoint configuration.
|
|
2698
|
+
|
|
2699
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelgroupname
|
|
2700
|
+
'''
|
|
2701
|
+
result = self._values.get("channel_group_name")
|
|
2702
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2703
|
+
|
|
2704
|
+
@builtins.property
|
|
2705
|
+
def channel_name(self) -> typing.Optional[builtins.str]:
|
|
2706
|
+
'''The channel name associated with the origin endpoint.
|
|
2707
|
+
|
|
2708
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelname
|
|
2709
|
+
'''
|
|
2710
|
+
result = self._values.get("channel_name")
|
|
2711
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2712
|
+
|
|
2713
|
+
@builtins.property
|
|
2714
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
2715
|
+
'''The description associated with the origin endpoint.
|
|
2716
|
+
|
|
2717
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-description
|
|
2718
|
+
'''
|
|
2719
|
+
result = self._values.get("description")
|
|
2720
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2721
|
+
|
|
2722
|
+
@builtins.property
|
|
2723
|
+
def hls_manifests(
|
|
2724
|
+
self,
|
|
2725
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.HlsManifestConfigurationProperty]]]]:
|
|
2726
|
+
'''The HLS manfiests associated with the origin endpoint configuration.
|
|
2727
|
+
|
|
2728
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-hlsmanifests
|
|
2729
|
+
'''
|
|
2730
|
+
result = self._values.get("hls_manifests")
|
|
2731
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.HlsManifestConfigurationProperty]]]], result)
|
|
2732
|
+
|
|
2733
|
+
@builtins.property
|
|
2734
|
+
def low_latency_hls_manifests(
|
|
2735
|
+
self,
|
|
2736
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty]]]]:
|
|
2737
|
+
'''The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
|
|
2738
|
+
|
|
2739
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifests
|
|
2740
|
+
'''
|
|
2741
|
+
result = self._values.get("low_latency_hls_manifests")
|
|
2742
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty]]]], result)
|
|
2743
|
+
|
|
2744
|
+
@builtins.property
|
|
2745
|
+
def origin_endpoint_name(self) -> typing.Optional[builtins.str]:
|
|
2746
|
+
'''The name of the origin endpoint associated with the origin endpoint configuration.
|
|
2747
|
+
|
|
2748
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-originendpointname
|
|
2749
|
+
'''
|
|
2750
|
+
result = self._values.get("origin_endpoint_name")
|
|
2751
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
2752
|
+
|
|
2753
|
+
@builtins.property
|
|
2754
|
+
def segment(
|
|
2755
|
+
self,
|
|
2756
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.SegmentProperty]]:
|
|
2757
|
+
'''The segment associated with the origin endpoint.
|
|
2758
|
+
|
|
2759
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-segment
|
|
2760
|
+
'''
|
|
2761
|
+
result = self._values.get("segment")
|
|
2762
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.SegmentProperty]], result)
|
|
2763
|
+
|
|
2764
|
+
@builtins.property
|
|
2765
|
+
def startover_window_seconds(self) -> typing.Optional[jsii.Number]:
|
|
2766
|
+
'''The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing.
|
|
2767
|
+
|
|
2768
|
+
Viewers can start-over or catch-up on content that falls within the window.
|
|
2769
|
+
|
|
2770
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-startoverwindowseconds
|
|
2771
|
+
'''
|
|
2772
|
+
result = self._values.get("startover_window_seconds")
|
|
2773
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2774
|
+
|
|
2775
|
+
@builtins.property
|
|
2776
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
2777
|
+
'''The tags associated with the origin endpoint.
|
|
2778
|
+
|
|
2779
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-tags
|
|
2780
|
+
'''
|
|
2781
|
+
result = self._values.get("tags")
|
|
2782
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
2783
|
+
|
|
2784
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2785
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2786
|
+
|
|
2787
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
2788
|
+
return not (rhs == self)
|
|
2789
|
+
|
|
2790
|
+
def __repr__(self) -> str:
|
|
2791
|
+
return "CfnOriginEndpointProps(%s)" % ", ".join(
|
|
2792
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
2793
|
+
)
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
__all__ = [
|
|
2797
|
+
"CfnChannel",
|
|
2798
|
+
"CfnChannelGroup",
|
|
2799
|
+
"CfnChannelGroupProps",
|
|
2800
|
+
"CfnChannelPolicy",
|
|
2801
|
+
"CfnChannelPolicyProps",
|
|
2802
|
+
"CfnChannelProps",
|
|
2803
|
+
"CfnOriginEndpoint",
|
|
2804
|
+
"CfnOriginEndpointPolicy",
|
|
2805
|
+
"CfnOriginEndpointPolicyProps",
|
|
2806
|
+
"CfnOriginEndpointProps",
|
|
2807
|
+
]
|
|
2808
|
+
|
|
2809
|
+
publication.publish()
|
|
2810
|
+
|
|
2811
|
+
def _typecheckingstub__f5f12d43fb05232f03795c27e5dde1f408f5762e93edacb27e01efb9e0e3c7c1(
|
|
2812
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2813
|
+
id: builtins.str,
|
|
2814
|
+
*,
|
|
2815
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2816
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2817
|
+
description: typing.Optional[builtins.str] = None,
|
|
2818
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2819
|
+
) -> None:
|
|
2820
|
+
"""Type checking stubs"""
|
|
2821
|
+
pass
|
|
2822
|
+
|
|
2823
|
+
def _typecheckingstub__e420705ca6e035f67df6dc549d10387c546517b6ba6c086e3e8a2aa9d31185d9(
|
|
2824
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2825
|
+
) -> None:
|
|
2826
|
+
"""Type checking stubs"""
|
|
2827
|
+
pass
|
|
2828
|
+
|
|
2829
|
+
def _typecheckingstub__151c82108a0a47810b493e5e882a8c1cee0d53d834da01c686f370947109f4b2(
|
|
2830
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2831
|
+
) -> None:
|
|
2832
|
+
"""Type checking stubs"""
|
|
2833
|
+
pass
|
|
2834
|
+
|
|
2835
|
+
def _typecheckingstub__9226145b09f87b401f2f5e357dafd5cd14b0b6a288f53bb6f985030a67a2ac8c(
|
|
2836
|
+
value: typing.Optional[builtins.str],
|
|
2837
|
+
) -> None:
|
|
2838
|
+
"""Type checking stubs"""
|
|
2839
|
+
pass
|
|
2840
|
+
|
|
2841
|
+
def _typecheckingstub__f1e91bde8ef4635665f6fef9c2cf22478a1d6e8a29ee675d883277fd4eb950f8(
|
|
2842
|
+
value: typing.Optional[builtins.str],
|
|
2843
|
+
) -> None:
|
|
2844
|
+
"""Type checking stubs"""
|
|
2845
|
+
pass
|
|
2846
|
+
|
|
2847
|
+
def _typecheckingstub__ee07183524d44b124938ad354f47b29384e1ea3a14ba4e7fa739d6847d2cdf12(
|
|
2848
|
+
value: typing.Optional[builtins.str],
|
|
2849
|
+
) -> None:
|
|
2850
|
+
"""Type checking stubs"""
|
|
2851
|
+
pass
|
|
2852
|
+
|
|
2853
|
+
def _typecheckingstub__61a8d14ccc4954881d5a995d8d9c088f4870a4a3a28d0b44314514a2fbb02a01(
|
|
2854
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2855
|
+
) -> None:
|
|
2856
|
+
"""Type checking stubs"""
|
|
2857
|
+
pass
|
|
2858
|
+
|
|
2859
|
+
def _typecheckingstub__52a72049adc4af63f65ccfb6f3c098cecb2b442bbe00bad4a877f2099a4bea86(
|
|
2860
|
+
*,
|
|
2861
|
+
id: typing.Optional[builtins.str] = None,
|
|
2862
|
+
url: typing.Optional[builtins.str] = None,
|
|
2863
|
+
) -> None:
|
|
2864
|
+
"""Type checking stubs"""
|
|
2865
|
+
pass
|
|
2866
|
+
|
|
2867
|
+
def _typecheckingstub__0d830ced0539d40633bba571496a990f327b96c8fb475a589dba800d21ebab93(
|
|
2868
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2869
|
+
id: builtins.str,
|
|
2870
|
+
*,
|
|
2871
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2872
|
+
description: typing.Optional[builtins.str] = None,
|
|
2873
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2874
|
+
) -> None:
|
|
2875
|
+
"""Type checking stubs"""
|
|
2876
|
+
pass
|
|
2877
|
+
|
|
2878
|
+
def _typecheckingstub__85339d527078ada2373603756ae52ddf1f0419ece647a7ea7d90b5a88cd80494(
|
|
2879
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2880
|
+
) -> None:
|
|
2881
|
+
"""Type checking stubs"""
|
|
2882
|
+
pass
|
|
2883
|
+
|
|
2884
|
+
def _typecheckingstub__15b97c97551c59b98a88e9243bce42e0880ba6021ce928c5162f4d188e32c3d0(
|
|
2885
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2886
|
+
) -> None:
|
|
2887
|
+
"""Type checking stubs"""
|
|
2888
|
+
pass
|
|
2889
|
+
|
|
2890
|
+
def _typecheckingstub__ab608f9f2545c6bf246db306be81d4790f5052ef181c364ada9dfba9527799b0(
|
|
2891
|
+
value: typing.Optional[builtins.str],
|
|
2892
|
+
) -> None:
|
|
2893
|
+
"""Type checking stubs"""
|
|
2894
|
+
pass
|
|
2895
|
+
|
|
2896
|
+
def _typecheckingstub__7398d92754f71ac10dc5aea2094dad8322025c79ae1302b6a69e6216e4e16144(
|
|
2897
|
+
value: typing.Optional[builtins.str],
|
|
2898
|
+
) -> None:
|
|
2899
|
+
"""Type checking stubs"""
|
|
2900
|
+
pass
|
|
2901
|
+
|
|
2902
|
+
def _typecheckingstub__07fbb1a31d1fae7c89e591bbcc359f5dc55386649647301df2f2e0b4e9727f81(
|
|
2903
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
2904
|
+
) -> None:
|
|
2905
|
+
"""Type checking stubs"""
|
|
2906
|
+
pass
|
|
2907
|
+
|
|
2908
|
+
def _typecheckingstub__c53e8c32bcc3339086fcebea2b9a32198690f58e488775d546eac1d98ce6635e(
|
|
2909
|
+
*,
|
|
2910
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2911
|
+
description: typing.Optional[builtins.str] = None,
|
|
2912
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2913
|
+
) -> None:
|
|
2914
|
+
"""Type checking stubs"""
|
|
2915
|
+
pass
|
|
2916
|
+
|
|
2917
|
+
def _typecheckingstub__b3bd3df241e2da49b066856cd5205c086667bdeae2c7accc2fb87dc6c27afcca(
|
|
2918
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2919
|
+
id: builtins.str,
|
|
2920
|
+
*,
|
|
2921
|
+
policy: typing.Any,
|
|
2922
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2923
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2924
|
+
) -> None:
|
|
2925
|
+
"""Type checking stubs"""
|
|
2926
|
+
pass
|
|
2927
|
+
|
|
2928
|
+
def _typecheckingstub__876e67bc0ac491acabfef846d2cb0a4a12c7db69dc9b8510736610ce77094825(
|
|
2929
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2930
|
+
) -> None:
|
|
2931
|
+
"""Type checking stubs"""
|
|
2932
|
+
pass
|
|
2933
|
+
|
|
2934
|
+
def _typecheckingstub__428a901c1d832a1ec31a5a15117cbe43d42edeb32192ef35e21682ad7114f777(
|
|
2935
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
2936
|
+
) -> None:
|
|
2937
|
+
"""Type checking stubs"""
|
|
2938
|
+
pass
|
|
2939
|
+
|
|
2940
|
+
def _typecheckingstub__9f9e54d124a239f2e45623971b96e9da027d679f90368ed2a8e63d67a707784f(
|
|
2941
|
+
value: typing.Any,
|
|
2942
|
+
) -> None:
|
|
2943
|
+
"""Type checking stubs"""
|
|
2944
|
+
pass
|
|
2945
|
+
|
|
2946
|
+
def _typecheckingstub__fb6da332e5cbe78bc72a7af1de80f930372aa6490fa2d573b540c4b4050a16b7(
|
|
2947
|
+
value: typing.Optional[builtins.str],
|
|
2948
|
+
) -> None:
|
|
2949
|
+
"""Type checking stubs"""
|
|
2950
|
+
pass
|
|
2951
|
+
|
|
2952
|
+
def _typecheckingstub__ffc77e98d707d0206432d1f5669baff83936b87558c5f6b3966d25c6d2682bcb(
|
|
2953
|
+
value: typing.Optional[builtins.str],
|
|
2954
|
+
) -> None:
|
|
2955
|
+
"""Type checking stubs"""
|
|
2956
|
+
pass
|
|
2957
|
+
|
|
2958
|
+
def _typecheckingstub__3b390a62609d42c685f94c0572af995fa58a878e57dc79822886178cfbe0a33f(
|
|
2959
|
+
*,
|
|
2960
|
+
policy: typing.Any,
|
|
2961
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2962
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2963
|
+
) -> None:
|
|
2964
|
+
"""Type checking stubs"""
|
|
2965
|
+
pass
|
|
2966
|
+
|
|
2967
|
+
def _typecheckingstub__cb84231dfbf08cdefe6ca207d49155a084aa492947c635c5e9ba404f1b3b987f(
|
|
2968
|
+
*,
|
|
2969
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2970
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2971
|
+
description: typing.Optional[builtins.str] = None,
|
|
2972
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2973
|
+
) -> None:
|
|
2974
|
+
"""Type checking stubs"""
|
|
2975
|
+
pass
|
|
2976
|
+
|
|
2977
|
+
def _typecheckingstub__7dba3dfc2892c78e53aee7675a7a24aa25c0b29481aca92446e31a0d8e885454(
|
|
2978
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
2979
|
+
id: builtins.str,
|
|
2980
|
+
*,
|
|
2981
|
+
container_type: builtins.str,
|
|
2982
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
2983
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
2984
|
+
description: typing.Optional[builtins.str] = None,
|
|
2985
|
+
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2986
|
+
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
2987
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
2988
|
+
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2989
|
+
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
2990
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2991
|
+
) -> None:
|
|
2992
|
+
"""Type checking stubs"""
|
|
2993
|
+
pass
|
|
2994
|
+
|
|
2995
|
+
def _typecheckingstub__3e7f9bba2cb8ce16d2850e4d29968cd8a850c920cb1e5d66b966cd309dd0e90f(
|
|
2996
|
+
inspector: _TreeInspector_488e0dd5,
|
|
2997
|
+
) -> None:
|
|
2998
|
+
"""Type checking stubs"""
|
|
2999
|
+
pass
|
|
3000
|
+
|
|
3001
|
+
def _typecheckingstub__bffcdef090bba09d673a36358d5eb3ba86b040c5c727f2f4cc117a5fab72df6f(
|
|
3002
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3003
|
+
) -> None:
|
|
3004
|
+
"""Type checking stubs"""
|
|
3005
|
+
pass
|
|
3006
|
+
|
|
3007
|
+
def _typecheckingstub__7ded0ec9a4a78b0a13f4013526976d3ef27bae8928fb665d57679f95325a85b6(
|
|
3008
|
+
value: builtins.str,
|
|
3009
|
+
) -> None:
|
|
3010
|
+
"""Type checking stubs"""
|
|
3011
|
+
pass
|
|
3012
|
+
|
|
3013
|
+
def _typecheckingstub__7078125edd1beb221f7e3a35a200ce058d31cb41756eb7b1dca1af5dfe90c96f(
|
|
3014
|
+
value: typing.Optional[builtins.str],
|
|
3015
|
+
) -> None:
|
|
3016
|
+
"""Type checking stubs"""
|
|
3017
|
+
pass
|
|
3018
|
+
|
|
3019
|
+
def _typecheckingstub__300d202906247d29b698e05c2891ad6a3e8f72748a5cb046f44ee1cde390954a(
|
|
3020
|
+
value: typing.Optional[builtins.str],
|
|
3021
|
+
) -> None:
|
|
3022
|
+
"""Type checking stubs"""
|
|
3023
|
+
pass
|
|
3024
|
+
|
|
3025
|
+
def _typecheckingstub__5d2dcbe74f178ed4fd2315de3210f8a81e6084e3e73f7337556d68a41cc54333(
|
|
3026
|
+
value: typing.Optional[builtins.str],
|
|
3027
|
+
) -> None:
|
|
3028
|
+
"""Type checking stubs"""
|
|
3029
|
+
pass
|
|
3030
|
+
|
|
3031
|
+
def _typecheckingstub__de310c90fc64be46bd788fedd55681eba63f450cc4f6537fe91890137af54019(
|
|
3032
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.HlsManifestConfigurationProperty]]]],
|
|
3033
|
+
) -> None:
|
|
3034
|
+
"""Type checking stubs"""
|
|
3035
|
+
pass
|
|
3036
|
+
|
|
3037
|
+
def _typecheckingstub__0ab0da83ecaf5e8b2eb477e1a7bb2f955c99813829faeb44ce46e408a3739304(
|
|
3038
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty]]]],
|
|
3039
|
+
) -> None:
|
|
3040
|
+
"""Type checking stubs"""
|
|
3041
|
+
pass
|
|
3042
|
+
|
|
3043
|
+
def _typecheckingstub__32b645ac54fdc447a14891e1f23268d3a802e1d51ab06333dab9a1ae79ae88fb(
|
|
3044
|
+
value: typing.Optional[builtins.str],
|
|
3045
|
+
) -> None:
|
|
3046
|
+
"""Type checking stubs"""
|
|
3047
|
+
pass
|
|
3048
|
+
|
|
3049
|
+
def _typecheckingstub__761931cab894d0c1a04fe9fe8aad0785de043e26b7f476c427bb231ae9fc1eeb(
|
|
3050
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnOriginEndpoint.SegmentProperty]],
|
|
3051
|
+
) -> None:
|
|
3052
|
+
"""Type checking stubs"""
|
|
3053
|
+
pass
|
|
3054
|
+
|
|
3055
|
+
def _typecheckingstub__285ecfef5a8ec9ebb3f1c4d2193922e98318f11cce543c9b9c4221cfee42fc11(
|
|
3056
|
+
value: typing.Optional[jsii.Number],
|
|
3057
|
+
) -> None:
|
|
3058
|
+
"""Type checking stubs"""
|
|
3059
|
+
pass
|
|
3060
|
+
|
|
3061
|
+
def _typecheckingstub__65cc25545f38d01b8ccc61c9494f0994747ef22d12fc3c94c71cb091aff2f324(
|
|
3062
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3063
|
+
) -> None:
|
|
3064
|
+
"""Type checking stubs"""
|
|
3065
|
+
pass
|
|
3066
|
+
|
|
3067
|
+
def _typecheckingstub__5bec1eea406d4bb796486d5773d483a771df06a4cb391f44e1755e98877b7f22(
|
|
3068
|
+
*,
|
|
3069
|
+
preset_speke20_audio: builtins.str,
|
|
3070
|
+
preset_speke20_video: builtins.str,
|
|
3071
|
+
) -> None:
|
|
3072
|
+
"""Type checking stubs"""
|
|
3073
|
+
pass
|
|
3074
|
+
|
|
3075
|
+
def _typecheckingstub__abdd735051ce598919313a259e3efc1aa635283b073d78fb9c4e876eef4ca8b8(
|
|
3076
|
+
*,
|
|
3077
|
+
cmaf_encryption_method: typing.Optional[builtins.str] = None,
|
|
3078
|
+
ts_encryption_method: typing.Optional[builtins.str] = None,
|
|
3079
|
+
) -> None:
|
|
3080
|
+
"""Type checking stubs"""
|
|
3081
|
+
pass
|
|
3082
|
+
|
|
3083
|
+
def _typecheckingstub__ba68bba2e5edd62f12d66393f036d9e0dc8f60c4705d328714b3a2f959ba4a07(
|
|
3084
|
+
*,
|
|
3085
|
+
encryption_method: typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.EncryptionMethodProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3086
|
+
speke_key_provider: typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SpekeKeyProviderProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3087
|
+
constant_initialization_vector: typing.Optional[builtins.str] = None,
|
|
3088
|
+
key_rotation_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
3089
|
+
) -> None:
|
|
3090
|
+
"""Type checking stubs"""
|
|
3091
|
+
pass
|
|
3092
|
+
|
|
3093
|
+
def _typecheckingstub__b59520e6fbce62f410265deeb9cc043e1cf408c2c3cc498907eb73fcc18458d8(
|
|
3094
|
+
*,
|
|
3095
|
+
manifest_name: builtins.str,
|
|
3096
|
+
child_manifest_name: typing.Optional[builtins.str] = None,
|
|
3097
|
+
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
3098
|
+
program_date_time_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
3099
|
+
scte_hls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ScteHlsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3100
|
+
url: typing.Optional[builtins.str] = None,
|
|
3101
|
+
) -> None:
|
|
3102
|
+
"""Type checking stubs"""
|
|
3103
|
+
pass
|
|
3104
|
+
|
|
3105
|
+
def _typecheckingstub__7ba3db62514b88b8da1b21ec0b9459116f857508c0670adb698a120b326fed5e(
|
|
3106
|
+
*,
|
|
3107
|
+
manifest_name: builtins.str,
|
|
3108
|
+
child_manifest_name: typing.Optional[builtins.str] = None,
|
|
3109
|
+
manifest_window_seconds: typing.Optional[jsii.Number] = None,
|
|
3110
|
+
program_date_time_interval_seconds: typing.Optional[jsii.Number] = None,
|
|
3111
|
+
scte_hls: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ScteHlsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3112
|
+
url: typing.Optional[builtins.str] = None,
|
|
3113
|
+
) -> None:
|
|
3114
|
+
"""Type checking stubs"""
|
|
3115
|
+
pass
|
|
3116
|
+
|
|
3117
|
+
def _typecheckingstub__8d4f889b0a331f5c9a9819d549afcb4b4239d6f7040f9146668998df9485e7ea(
|
|
3118
|
+
*,
|
|
3119
|
+
ad_marker_hls: typing.Optional[builtins.str] = None,
|
|
3120
|
+
) -> None:
|
|
3121
|
+
"""Type checking stubs"""
|
|
3122
|
+
pass
|
|
3123
|
+
|
|
3124
|
+
def _typecheckingstub__ef2f402f6bd5f38be28bfd79b40a3e8bf701cd6b9384547f9b36a386a6075a98(
|
|
3125
|
+
*,
|
|
3126
|
+
scte_filter: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3127
|
+
) -> None:
|
|
3128
|
+
"""Type checking stubs"""
|
|
3129
|
+
pass
|
|
3130
|
+
|
|
3131
|
+
def _typecheckingstub__99efb585c0a363a79f96102145e602f3f91887f61fac7a746b16b243ae503d48(
|
|
3132
|
+
*,
|
|
3133
|
+
encryption: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.EncryptionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3134
|
+
include_iframe_only_streams: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3135
|
+
scte: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.ScteProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3136
|
+
segment_duration_seconds: typing.Optional[jsii.Number] = None,
|
|
3137
|
+
segment_name: typing.Optional[builtins.str] = None,
|
|
3138
|
+
ts_include_dvb_subtitles: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3139
|
+
ts_use_audio_rendition_group: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
3140
|
+
) -> None:
|
|
3141
|
+
"""Type checking stubs"""
|
|
3142
|
+
pass
|
|
3143
|
+
|
|
3144
|
+
def _typecheckingstub__e4c003b5dabc0ccf6e42c45fb4504036521870f7799525c5b18f42c7c618d131(
|
|
3145
|
+
*,
|
|
3146
|
+
drm_systems: typing.Sequence[builtins.str],
|
|
3147
|
+
encryption_contract_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.EncryptionContractConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
3148
|
+
resource_id: builtins.str,
|
|
3149
|
+
role_arn: builtins.str,
|
|
3150
|
+
url: builtins.str,
|
|
3151
|
+
) -> None:
|
|
3152
|
+
"""Type checking stubs"""
|
|
3153
|
+
pass
|
|
3154
|
+
|
|
3155
|
+
def _typecheckingstub__aac7ba5cbcac1c12933a477adf316805431ea433d0ce36ca80901377b6745377(
|
|
3156
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
3157
|
+
id: builtins.str,
|
|
3158
|
+
*,
|
|
3159
|
+
policy: typing.Any,
|
|
3160
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3161
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
3162
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3163
|
+
) -> None:
|
|
3164
|
+
"""Type checking stubs"""
|
|
3165
|
+
pass
|
|
3166
|
+
|
|
3167
|
+
def _typecheckingstub__74da85e5d1f694f56bc39f3c1d3745b511f779f8f4ad4d052b2b985b19780fcd(
|
|
3168
|
+
inspector: _TreeInspector_488e0dd5,
|
|
3169
|
+
) -> None:
|
|
3170
|
+
"""Type checking stubs"""
|
|
3171
|
+
pass
|
|
3172
|
+
|
|
3173
|
+
def _typecheckingstub__9132218ebec80b439a7e6308166a5da9778046634a6a905cd5b91648837863cc(
|
|
3174
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
3175
|
+
) -> None:
|
|
3176
|
+
"""Type checking stubs"""
|
|
3177
|
+
pass
|
|
3178
|
+
|
|
3179
|
+
def _typecheckingstub__03b8094def1eae0770367451a814cb41dcad8e59ef89ff30e7423278b23af07b(
|
|
3180
|
+
value: typing.Any,
|
|
3181
|
+
) -> None:
|
|
3182
|
+
"""Type checking stubs"""
|
|
3183
|
+
pass
|
|
3184
|
+
|
|
3185
|
+
def _typecheckingstub__ece6fe1f3215cf8ea357ac0ae337fd3ee216bd554b13e1ed66f380a551871cf8(
|
|
3186
|
+
value: typing.Optional[builtins.str],
|
|
3187
|
+
) -> None:
|
|
3188
|
+
"""Type checking stubs"""
|
|
3189
|
+
pass
|
|
3190
|
+
|
|
3191
|
+
def _typecheckingstub__061507a42f38505f6e3060097229ce610dd50d3f6f96ac0cdbd883d1e13cad8a(
|
|
3192
|
+
value: typing.Optional[builtins.str],
|
|
3193
|
+
) -> None:
|
|
3194
|
+
"""Type checking stubs"""
|
|
3195
|
+
pass
|
|
3196
|
+
|
|
3197
|
+
def _typecheckingstub__1a22e35010e441892b8eae01173c80ff68e7e2c1da6f52737a724971f5555743(
|
|
3198
|
+
value: typing.Optional[builtins.str],
|
|
3199
|
+
) -> None:
|
|
3200
|
+
"""Type checking stubs"""
|
|
3201
|
+
pass
|
|
3202
|
+
|
|
3203
|
+
def _typecheckingstub__f894be53e4aa1a8dbf54a25d139b2ffb41422bce69404dd7f536c4f418ceaa35(
|
|
3204
|
+
*,
|
|
3205
|
+
policy: typing.Any,
|
|
3206
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3207
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
3208
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3209
|
+
) -> None:
|
|
3210
|
+
"""Type checking stubs"""
|
|
3211
|
+
pass
|
|
3212
|
+
|
|
3213
|
+
def _typecheckingstub__d261c9ffb32b381ea679962b9a614498343af1f15dd4bdfdbf788de765f62402(
|
|
3214
|
+
*,
|
|
3215
|
+
container_type: builtins.str,
|
|
3216
|
+
channel_group_name: typing.Optional[builtins.str] = None,
|
|
3217
|
+
channel_name: typing.Optional[builtins.str] = None,
|
|
3218
|
+
description: typing.Optional[builtins.str] = None,
|
|
3219
|
+
hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.HlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3220
|
+
low_latency_hls_manifests: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3221
|
+
origin_endpoint_name: typing.Optional[builtins.str] = None,
|
|
3222
|
+
segment: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnOriginEndpoint.SegmentProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3223
|
+
startover_window_seconds: typing.Optional[jsii.Number] = None,
|
|
3224
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3225
|
+
) -> None:
|
|
3226
|
+
"""Type checking stubs"""
|
|
3227
|
+
pass
|