aws-cdk.aws-ivs-alpha 2.143.1a0__tar.gz → 2.144.0a0__tar.gz
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.aws-ivs-alpha might be problematic. Click here for more details.
- {aws-cdk.aws-ivs-alpha-2.143.1a0/src/aws_cdk.aws_ivs_alpha.egg-info → aws-cdk.aws-ivs-alpha-2.144.0a0}/PKG-INFO +17 -1
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/README.md +16 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/setup.py +3 -3
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk/aws_ivs_alpha/__init__.py +109 -6
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk/aws_ivs_alpha/_jsii/__init__.py +2 -2
- aws-cdk.aws-ivs-alpha-2.144.0a0/src/aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.144.0-alpha.0.jsii.tgz +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0/src/aws_cdk.aws_ivs_alpha.egg-info}/PKG-INFO +17 -1
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk.aws_ivs_alpha.egg-info/SOURCES.txt +1 -1
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk.aws_ivs_alpha.egg-info/requires.txt +1 -1
- aws-cdk.aws-ivs-alpha-2.143.1a0/src/aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.143.1-alpha.0.jsii.tgz +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/LICENSE +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/MANIFEST.in +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/NOTICE +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/pyproject.toml +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/setup.cfg +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk/aws_ivs_alpha/py.typed +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk.aws_ivs_alpha.egg-info/dependency_links.txt +0 -0
- {aws-cdk.aws-ivs-alpha-2.143.1a0 → aws-cdk.aws-ivs-alpha-2.144.0a0}/src/aws_cdk.aws_ivs_alpha.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.aws-ivs-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.144.0a0
|
|
4
4
|
Summary: The CDK Construct Library for AWS::IVS
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -64,6 +64,22 @@ You can create a channel
|
|
|
64
64
|
my_channel = ivs.Channel(self, "Channel")
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
You can use Advanced Channel type by setting the `type` property to
|
|
68
|
+
`ivs.ChannelType.ADVANCED_HD` or `ivs.ChannelType.ADVANCED_SD`.
|
|
69
|
+
|
|
70
|
+
Additionally, when using the Advanced Channel type, you can set
|
|
71
|
+
the `preset` property to `ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY`
|
|
72
|
+
or `ivs.Preset.HIGHER_BANDWIDTH_DELIVERY`.
|
|
73
|
+
|
|
74
|
+
For more information, see [Amazon IVS Streaming Configuration](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html).
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
78
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
79
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
80
|
+
)
|
|
81
|
+
```
|
|
82
|
+
|
|
67
83
|
### Importing an existing channel
|
|
68
84
|
|
|
69
85
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -38,6 +38,22 @@ You can create a channel
|
|
|
38
38
|
my_channel = ivs.Channel(self, "Channel")
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
You can use Advanced Channel type by setting the `type` property to
|
|
42
|
+
`ivs.ChannelType.ADVANCED_HD` or `ivs.ChannelType.ADVANCED_SD`.
|
|
43
|
+
|
|
44
|
+
Additionally, when using the Advanced Channel type, you can set
|
|
45
|
+
the `preset` property to `ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY`
|
|
46
|
+
or `ivs.Preset.HIGHER_BANDWIDTH_DELIVERY`.
|
|
47
|
+
|
|
48
|
+
For more information, see [Amazon IVS Streaming Configuration](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html).
|
|
49
|
+
|
|
50
|
+
```python
|
|
51
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
52
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
53
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
54
|
+
)
|
|
55
|
+
```
|
|
56
|
+
|
|
41
57
|
### Importing an existing channel
|
|
42
58
|
|
|
43
59
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-cdk.aws-ivs-alpha",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.144.0.a0",
|
|
9
9
|
"description": "The CDK Construct Library for AWS::IVS",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/aws/aws-cdk",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_cdk.aws_ivs_alpha._jsii": [
|
|
29
|
-
"aws-ivs-alpha@2.
|
|
29
|
+
"aws-ivs-alpha@2.144.0-alpha.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_cdk.aws_ivs_alpha": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,7 +34,7 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
37
|
+
"aws-cdk-lib>=2.144.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.0, <11.0.0",
|
|
39
39
|
"jsii>=1.98.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
@@ -39,6 +39,22 @@ You can create a channel
|
|
|
39
39
|
my_channel = ivs.Channel(self, "Channel")
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
You can use Advanced Channel type by setting the `type` property to
|
|
43
|
+
`ivs.ChannelType.ADVANCED_HD` or `ivs.ChannelType.ADVANCED_SD`.
|
|
44
|
+
|
|
45
|
+
Additionally, when using the Advanced Channel type, you can set
|
|
46
|
+
the `preset` property to `ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY`
|
|
47
|
+
or `ivs.Preset.HIGHER_BANDWIDTH_DELIVERY`.
|
|
48
|
+
|
|
49
|
+
For more information, see [Amazon IVS Streaming Configuration](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html).
|
|
50
|
+
|
|
51
|
+
```python
|
|
52
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
53
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
54
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
55
|
+
)
|
|
56
|
+
```
|
|
57
|
+
|
|
42
58
|
### Importing an existing channel
|
|
43
59
|
|
|
44
60
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -116,6 +132,7 @@ import constructs as _constructs_77d1e7e8
|
|
|
116
132
|
"authorized": "authorized",
|
|
117
133
|
"channel_name": "channelName",
|
|
118
134
|
"latency_mode": "latencyMode",
|
|
135
|
+
"preset": "preset",
|
|
119
136
|
"type": "type",
|
|
120
137
|
},
|
|
121
138
|
)
|
|
@@ -126,6 +143,7 @@ class ChannelProps:
|
|
|
126
143
|
authorized: typing.Optional[builtins.bool] = None,
|
|
127
144
|
channel_name: typing.Optional[builtins.str] = None,
|
|
128
145
|
latency_mode: typing.Optional["LatencyMode"] = None,
|
|
146
|
+
preset: typing.Optional["Preset"] = None,
|
|
129
147
|
type: typing.Optional["ChannelType"] = None,
|
|
130
148
|
) -> None:
|
|
131
149
|
'''(experimental) Properties for creating a new Channel.
|
|
@@ -133,6 +151,7 @@ class ChannelProps:
|
|
|
133
151
|
:param authorized: (experimental) Whether the channel is authorized. If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization Default: false
|
|
134
152
|
:param channel_name: (experimental) A name for the channel. Default: Automatically generated name
|
|
135
153
|
:param latency_mode: (experimental) Channel latency mode. Default: LatencyMode.LOW
|
|
154
|
+
:param preset: (experimental) An optional transcode preset for the channel. Can be used for ADVANCED_HD and ADVANCED_SD channel types. When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided. Default: - Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise
|
|
136
155
|
:param type: (experimental) The channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream will disconnect immediately Default: ChannelType.STANDARD
|
|
137
156
|
|
|
138
157
|
:stability: experimental
|
|
@@ -140,8 +159,9 @@ class ChannelProps:
|
|
|
140
159
|
|
|
141
160
|
Example::
|
|
142
161
|
|
|
143
|
-
my_channel = ivs.Channel(self, "
|
|
144
|
-
|
|
162
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
163
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
164
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
145
165
|
)
|
|
146
166
|
'''
|
|
147
167
|
if __debug__:
|
|
@@ -149,6 +169,7 @@ class ChannelProps:
|
|
|
149
169
|
check_type(argname="argument authorized", value=authorized, expected_type=type_hints["authorized"])
|
|
150
170
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
151
171
|
check_type(argname="argument latency_mode", value=latency_mode, expected_type=type_hints["latency_mode"])
|
|
172
|
+
check_type(argname="argument preset", value=preset, expected_type=type_hints["preset"])
|
|
152
173
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
153
174
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
154
175
|
if authorized is not None:
|
|
@@ -157,6 +178,8 @@ class ChannelProps:
|
|
|
157
178
|
self._values["channel_name"] = channel_name
|
|
158
179
|
if latency_mode is not None:
|
|
159
180
|
self._values["latency_mode"] = latency_mode
|
|
181
|
+
if preset is not None:
|
|
182
|
+
self._values["preset"] = preset
|
|
160
183
|
if type is not None:
|
|
161
184
|
self._values["type"] = type
|
|
162
185
|
|
|
@@ -197,6 +220,20 @@ class ChannelProps:
|
|
|
197
220
|
result = self._values.get("latency_mode")
|
|
198
221
|
return typing.cast(typing.Optional["LatencyMode"], result)
|
|
199
222
|
|
|
223
|
+
@builtins.property
|
|
224
|
+
def preset(self) -> typing.Optional["Preset"]:
|
|
225
|
+
'''(experimental) An optional transcode preset for the channel.
|
|
226
|
+
|
|
227
|
+
Can be used for ADVANCED_HD and ADVANCED_SD channel types.
|
|
228
|
+
When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided.
|
|
229
|
+
|
|
230
|
+
:default: - Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise
|
|
231
|
+
|
|
232
|
+
:stability: experimental
|
|
233
|
+
'''
|
|
234
|
+
result = self._values.get("preset")
|
|
235
|
+
return typing.cast(typing.Optional["Preset"], result)
|
|
236
|
+
|
|
200
237
|
@builtins.property
|
|
201
238
|
def type(self) -> typing.Optional["ChannelType"]:
|
|
202
239
|
'''(experimental) The channel type, which determines the allowable resolution and bitrate.
|
|
@@ -228,21 +265,47 @@ class ChannelType(enum.Enum):
|
|
|
228
265
|
|
|
229
266
|
If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately.
|
|
230
267
|
|
|
268
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
|
|
231
269
|
:stability: experimental
|
|
270
|
+
:exampleMetadata: infused
|
|
271
|
+
|
|
272
|
+
Example::
|
|
273
|
+
|
|
274
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
275
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
276
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
277
|
+
)
|
|
232
278
|
'''
|
|
233
279
|
|
|
234
280
|
STANDARD = "STANDARD"
|
|
235
281
|
'''(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.
|
|
236
282
|
|
|
237
|
-
|
|
283
|
+
Transcoding allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps.
|
|
284
|
+
Audio is transcoded only for renditions 360p and below; above that, audio is passed through.
|
|
285
|
+
|
|
238
286
|
:stability: experimental
|
|
239
287
|
'''
|
|
240
288
|
BASIC = "BASIC"
|
|
241
|
-
'''(experimental)
|
|
289
|
+
'''(experimental) Delivers the original input to viewers.
|
|
242
290
|
|
|
243
291
|
The viewer’s video-quality choice is limited to the original input.
|
|
244
292
|
|
|
245
|
-
:
|
|
293
|
+
:stability: experimental
|
|
294
|
+
'''
|
|
295
|
+
ADVANCED_SD = "ADVANCED_SD"
|
|
296
|
+
'''(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.
|
|
297
|
+
|
|
298
|
+
Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality (480p).
|
|
299
|
+
Audio for all renditions is transcoded, and an audio-only rendition is available.
|
|
300
|
+
|
|
301
|
+
:stability: experimental
|
|
302
|
+
'''
|
|
303
|
+
ADVANCED_HD = "ADVANCED_HD"
|
|
304
|
+
'''(experimental) Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions.
|
|
305
|
+
|
|
306
|
+
Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality (720p).
|
|
307
|
+
Audio for all renditions is transcoded, and an audio-only rendition is available.
|
|
308
|
+
|
|
246
309
|
:stability: experimental
|
|
247
310
|
'''
|
|
248
311
|
|
|
@@ -570,6 +633,40 @@ class PlaybackKeyPairProps:
|
|
|
570
633
|
)
|
|
571
634
|
|
|
572
635
|
|
|
636
|
+
@jsii.enum(jsii_type="@aws-cdk/aws-ivs-alpha.Preset")
|
|
637
|
+
class Preset(enum.Enum):
|
|
638
|
+
'''(experimental) An optional transcode preset for the channel.
|
|
639
|
+
|
|
640
|
+
This is selectable only for ADVANCED_HD and ADVANCED_SD channel types.
|
|
641
|
+
|
|
642
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html
|
|
643
|
+
:stability: experimental
|
|
644
|
+
:exampleMetadata: infused
|
|
645
|
+
|
|
646
|
+
Example::
|
|
647
|
+
|
|
648
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
649
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
650
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
651
|
+
)
|
|
652
|
+
'''
|
|
653
|
+
|
|
654
|
+
CONSTRAINED_BANDWIDTH_DELIVERY = "CONSTRAINED_BANDWIDTH_DELIVERY"
|
|
655
|
+
'''(experimental) Use a lower bitrate than STANDARD for each quality level.
|
|
656
|
+
|
|
657
|
+
Use it if you have low download bandwidth and/or simple video content (e.g., talking heads).
|
|
658
|
+
|
|
659
|
+
:stability: experimental
|
|
660
|
+
'''
|
|
661
|
+
HIGHER_BANDWIDTH_DELIVERY = "HIGHER_BANDWIDTH_DELIVERY"
|
|
662
|
+
'''(experimental) Use a higher bitrate for each quality level.
|
|
663
|
+
|
|
664
|
+
Use it if you have high download bandwidth and/or complex video content (e.g., flashes and quick scene changes).
|
|
665
|
+
|
|
666
|
+
:stability: experimental
|
|
667
|
+
'''
|
|
668
|
+
|
|
669
|
+
|
|
573
670
|
@jsii.implements(IStreamKey)
|
|
574
671
|
class StreamKey(
|
|
575
672
|
_aws_cdk_ceddda9d.Resource,
|
|
@@ -700,7 +797,7 @@ class Channel(
|
|
|
700
797
|
|
|
701
798
|
Example::
|
|
702
799
|
|
|
703
|
-
my_channel = ivs.Channel(self, "Channel")
|
|
800
|
+
my_channel = ivs.Channel.from_channel_arn(self, "Channel", my_channel_arn)
|
|
704
801
|
'''
|
|
705
802
|
|
|
706
803
|
def __init__(
|
|
@@ -711,6 +808,7 @@ class Channel(
|
|
|
711
808
|
authorized: typing.Optional[builtins.bool] = None,
|
|
712
809
|
channel_name: typing.Optional[builtins.str] = None,
|
|
713
810
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
811
|
+
preset: typing.Optional[Preset] = None,
|
|
714
812
|
type: typing.Optional[ChannelType] = None,
|
|
715
813
|
) -> None:
|
|
716
814
|
'''
|
|
@@ -719,6 +817,7 @@ class Channel(
|
|
|
719
817
|
:param authorized: (experimental) Whether the channel is authorized. If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization Default: false
|
|
720
818
|
:param channel_name: (experimental) A name for the channel. Default: Automatically generated name
|
|
721
819
|
:param latency_mode: (experimental) Channel latency mode. Default: LatencyMode.LOW
|
|
820
|
+
:param preset: (experimental) An optional transcode preset for the channel. Can be used for ADVANCED_HD and ADVANCED_SD channel types. When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided. Default: - Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise
|
|
722
821
|
:param type: (experimental) The channel type, which determines the allowable resolution and bitrate. If you exceed the allowable resolution or bitrate, the stream will disconnect immediately Default: ChannelType.STANDARD
|
|
723
822
|
|
|
724
823
|
:stability: experimental
|
|
@@ -731,6 +830,7 @@ class Channel(
|
|
|
731
830
|
authorized=authorized,
|
|
732
831
|
channel_name=channel_name,
|
|
733
832
|
latency_mode=latency_mode,
|
|
833
|
+
preset=preset,
|
|
734
834
|
type=type,
|
|
735
835
|
)
|
|
736
836
|
|
|
@@ -819,6 +919,7 @@ __all__ = [
|
|
|
819
919
|
"LatencyMode",
|
|
820
920
|
"PlaybackKeyPair",
|
|
821
921
|
"PlaybackKeyPairProps",
|
|
922
|
+
"Preset",
|
|
822
923
|
"StreamKey",
|
|
823
924
|
"StreamKeyProps",
|
|
824
925
|
]
|
|
@@ -830,6 +931,7 @@ def _typecheckingstub__0ebf6a0e98bbd5b88d9676fbe616666a44f837cba80675eade5df1fea
|
|
|
830
931
|
authorized: typing.Optional[builtins.bool] = None,
|
|
831
932
|
channel_name: typing.Optional[builtins.str] = None,
|
|
832
933
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
934
|
+
preset: typing.Optional[Preset] = None,
|
|
833
935
|
type: typing.Optional[ChannelType] = None,
|
|
834
936
|
) -> None:
|
|
835
937
|
"""Type checking stubs"""
|
|
@@ -882,6 +984,7 @@ def _typecheckingstub__07139327925dc97a551bbf17c849a0f698e0c9c60d3da3f65f2b3d2be
|
|
|
882
984
|
authorized: typing.Optional[builtins.bool] = None,
|
|
883
985
|
channel_name: typing.Optional[builtins.str] = None,
|
|
884
986
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
987
|
+
preset: typing.Optional[Preset] = None,
|
|
885
988
|
type: typing.Optional[ChannelType] = None,
|
|
886
989
|
) -> None:
|
|
887
990
|
"""Type checking stubs"""
|
|
@@ -18,9 +18,9 @@ import constructs._jsii
|
|
|
18
18
|
|
|
19
19
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
20
20
|
"@aws-cdk/aws-ivs-alpha",
|
|
21
|
-
"2.
|
|
21
|
+
"2.144.0-alpha.0",
|
|
22
22
|
__name__[0:-6],
|
|
23
|
-
"aws-ivs-alpha@2.
|
|
23
|
+
"aws-ivs-alpha@2.144.0-alpha.0.jsii.tgz",
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.aws-ivs-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.144.0a0
|
|
4
4
|
Summary: The CDK Construct Library for AWS::IVS
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -64,6 +64,22 @@ You can create a channel
|
|
|
64
64
|
my_channel = ivs.Channel(self, "Channel")
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
+
You can use Advanced Channel type by setting the `type` property to
|
|
68
|
+
`ivs.ChannelType.ADVANCED_HD` or `ivs.ChannelType.ADVANCED_SD`.
|
|
69
|
+
|
|
70
|
+
Additionally, when using the Advanced Channel type, you can set
|
|
71
|
+
the `preset` property to `ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY`
|
|
72
|
+
or `ivs.Preset.HIGHER_BANDWIDTH_DELIVERY`.
|
|
73
|
+
|
|
74
|
+
For more information, see [Amazon IVS Streaming Configuration](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html).
|
|
75
|
+
|
|
76
|
+
```python
|
|
77
|
+
my_channel = ivs.Channel(self, "myChannel",
|
|
78
|
+
type=ivs.ChannelType.ADVANCED_HD,
|
|
79
|
+
preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
|
|
80
|
+
)
|
|
81
|
+
```
|
|
82
|
+
|
|
67
83
|
### Importing an existing channel
|
|
68
84
|
|
|
69
85
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -12,4 +12,4 @@ src/aws_cdk.aws_ivs_alpha.egg-info/top_level.txt
|
|
|
12
12
|
src/aws_cdk/aws_ivs_alpha/__init__.py
|
|
13
13
|
src/aws_cdk/aws_ivs_alpha/py.typed
|
|
14
14
|
src/aws_cdk/aws_ivs_alpha/_jsii/__init__.py
|
|
15
|
-
src/aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.
|
|
15
|
+
src/aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.144.0-alpha.0.jsii.tgz
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|