aws-cdk.aws-ivs-alpha 2.158.0a0__py3-none-any.whl → 2.159.0a0__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.aws-ivs-alpha might be problematic. Click here for more details.
- aws_cdk/aws_ivs_alpha/__init__.py +41 -4
- aws_cdk/aws_ivs_alpha/_jsii/__init__.py +2 -2
- aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.159.0-alpha.0.jsii.tgz +0 -0
- {aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/METADATA +14 -2
- aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/RECORD +10 -0
- aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.158.0-alpha.0.jsii.tgz +0 -0
- aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/RECORD +0 -10
- {aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/LICENSE +0 -0
- {aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/NOTICE +0 -0
- {aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/WHEEL +0 -0
- {aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/top_level.txt +0 -0
|
@@ -55,6 +55,18 @@ my_channel = ivs.Channel(self, "myChannel",
|
|
|
55
55
|
)
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
If you want to use RTMP ingest, set `insecureIngest` property to `true`.
|
|
59
|
+
By default, `insecureIngest` is `false` which means using RTMPS ingest.
|
|
60
|
+
|
|
61
|
+
**⚠ Note:** RTMP ingest might result in reduced security for your streams. AWS recommends that you use RTMPS for ingest, unless you have specific and verified use cases. For more information, see [Encoder Settings](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html#streaming-config-settings).
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
my_rtmp_channel = ivs.Channel(self, "myRtmpChannel",
|
|
65
|
+
type=ivs.ChannelType.STANDARD,
|
|
66
|
+
insecure_ingest=True
|
|
67
|
+
)
|
|
68
|
+
```
|
|
69
|
+
|
|
58
70
|
### Importing an existing channel
|
|
59
71
|
|
|
60
72
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -146,6 +158,7 @@ import constructs as _constructs_77d1e7e8
|
|
|
146
158
|
name_mapping={
|
|
147
159
|
"authorized": "authorized",
|
|
148
160
|
"channel_name": "channelName",
|
|
161
|
+
"insecure_ingest": "insecureIngest",
|
|
149
162
|
"latency_mode": "latencyMode",
|
|
150
163
|
"preset": "preset",
|
|
151
164
|
"type": "type",
|
|
@@ -157,6 +170,7 @@ class ChannelProps:
|
|
|
157
170
|
*,
|
|
158
171
|
authorized: typing.Optional[builtins.bool] = None,
|
|
159
172
|
channel_name: typing.Optional[builtins.str] = None,
|
|
173
|
+
insecure_ingest: typing.Optional[builtins.bool] = None,
|
|
160
174
|
latency_mode: typing.Optional["LatencyMode"] = None,
|
|
161
175
|
preset: typing.Optional["Preset"] = None,
|
|
162
176
|
type: typing.Optional["ChannelType"] = None,
|
|
@@ -165,6 +179,7 @@ class ChannelProps:
|
|
|
165
179
|
|
|
166
180
|
: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
|
|
167
181
|
:param channel_name: (experimental) A name for the channel. Default: Automatically generated name
|
|
182
|
+
:param insecure_ingest: (experimental) Whether the channel allows insecure RTMP ingest. Default: false
|
|
168
183
|
:param latency_mode: (experimental) Channel latency mode. Default: LatencyMode.LOW
|
|
169
184
|
: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
|
|
170
185
|
: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
|
|
@@ -174,15 +189,16 @@ class ChannelProps:
|
|
|
174
189
|
|
|
175
190
|
Example::
|
|
176
191
|
|
|
177
|
-
|
|
178
|
-
type=ivs.ChannelType.
|
|
179
|
-
|
|
192
|
+
my_rtmp_channel = ivs.Channel(self, "myRtmpChannel",
|
|
193
|
+
type=ivs.ChannelType.STANDARD,
|
|
194
|
+
insecure_ingest=True
|
|
180
195
|
)
|
|
181
196
|
'''
|
|
182
197
|
if __debug__:
|
|
183
198
|
type_hints = typing.get_type_hints(_typecheckingstub__0ebf6a0e98bbd5b88d9676fbe616666a44f837cba80675eade5df1fea22c9d22)
|
|
184
199
|
check_type(argname="argument authorized", value=authorized, expected_type=type_hints["authorized"])
|
|
185
200
|
check_type(argname="argument channel_name", value=channel_name, expected_type=type_hints["channel_name"])
|
|
201
|
+
check_type(argname="argument insecure_ingest", value=insecure_ingest, expected_type=type_hints["insecure_ingest"])
|
|
186
202
|
check_type(argname="argument latency_mode", value=latency_mode, expected_type=type_hints["latency_mode"])
|
|
187
203
|
check_type(argname="argument preset", value=preset, expected_type=type_hints["preset"])
|
|
188
204
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
@@ -191,6 +207,8 @@ class ChannelProps:
|
|
|
191
207
|
self._values["authorized"] = authorized
|
|
192
208
|
if channel_name is not None:
|
|
193
209
|
self._values["channel_name"] = channel_name
|
|
210
|
+
if insecure_ingest is not None:
|
|
211
|
+
self._values["insecure_ingest"] = insecure_ingest
|
|
194
212
|
if latency_mode is not None:
|
|
195
213
|
self._values["latency_mode"] = latency_mode
|
|
196
214
|
if preset is not None:
|
|
@@ -224,6 +242,17 @@ class ChannelProps:
|
|
|
224
242
|
result = self._values.get("channel_name")
|
|
225
243
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
226
244
|
|
|
245
|
+
@builtins.property
|
|
246
|
+
def insecure_ingest(self) -> typing.Optional[builtins.bool]:
|
|
247
|
+
'''(experimental) Whether the channel allows insecure RTMP ingest.
|
|
248
|
+
|
|
249
|
+
:default: false
|
|
250
|
+
|
|
251
|
+
:stability: experimental
|
|
252
|
+
'''
|
|
253
|
+
result = self._values.get("insecure_ingest")
|
|
254
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
255
|
+
|
|
227
256
|
@builtins.property
|
|
228
257
|
def latency_mode(self) -> typing.Optional["LatencyMode"]:
|
|
229
258
|
'''(experimental) Channel latency mode.
|
|
@@ -812,7 +841,10 @@ class Channel(
|
|
|
812
841
|
|
|
813
842
|
Example::
|
|
814
843
|
|
|
815
|
-
|
|
844
|
+
my_rtmp_channel = ivs.Channel(self, "myRtmpChannel",
|
|
845
|
+
type=ivs.ChannelType.STANDARD,
|
|
846
|
+
insecure_ingest=True
|
|
847
|
+
)
|
|
816
848
|
'''
|
|
817
849
|
|
|
818
850
|
def __init__(
|
|
@@ -822,6 +854,7 @@ class Channel(
|
|
|
822
854
|
*,
|
|
823
855
|
authorized: typing.Optional[builtins.bool] = None,
|
|
824
856
|
channel_name: typing.Optional[builtins.str] = None,
|
|
857
|
+
insecure_ingest: typing.Optional[builtins.bool] = None,
|
|
825
858
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
826
859
|
preset: typing.Optional[Preset] = None,
|
|
827
860
|
type: typing.Optional[ChannelType] = None,
|
|
@@ -831,6 +864,7 @@ class Channel(
|
|
|
831
864
|
:param id: -
|
|
832
865
|
: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
|
|
833
866
|
:param channel_name: (experimental) A name for the channel. Default: Automatically generated name
|
|
867
|
+
:param insecure_ingest: (experimental) Whether the channel allows insecure RTMP ingest. Default: false
|
|
834
868
|
:param latency_mode: (experimental) Channel latency mode. Default: LatencyMode.LOW
|
|
835
869
|
: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
|
|
836
870
|
: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
|
|
@@ -844,6 +878,7 @@ class Channel(
|
|
|
844
878
|
props = ChannelProps(
|
|
845
879
|
authorized=authorized,
|
|
846
880
|
channel_name=channel_name,
|
|
881
|
+
insecure_ingest=insecure_ingest,
|
|
847
882
|
latency_mode=latency_mode,
|
|
848
883
|
preset=preset,
|
|
849
884
|
type=type,
|
|
@@ -945,6 +980,7 @@ def _typecheckingstub__0ebf6a0e98bbd5b88d9676fbe616666a44f837cba80675eade5df1fea
|
|
|
945
980
|
*,
|
|
946
981
|
authorized: typing.Optional[builtins.bool] = None,
|
|
947
982
|
channel_name: typing.Optional[builtins.str] = None,
|
|
983
|
+
insecure_ingest: typing.Optional[builtins.bool] = None,
|
|
948
984
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
949
985
|
preset: typing.Optional[Preset] = None,
|
|
950
986
|
type: typing.Optional[ChannelType] = None,
|
|
@@ -998,6 +1034,7 @@ def _typecheckingstub__07139327925dc97a551bbf17c849a0f698e0c9c60d3da3f65f2b3d2be
|
|
|
998
1034
|
*,
|
|
999
1035
|
authorized: typing.Optional[builtins.bool] = None,
|
|
1000
1036
|
channel_name: typing.Optional[builtins.str] = None,
|
|
1037
|
+
insecure_ingest: typing.Optional[builtins.bool] = None,
|
|
1001
1038
|
latency_mode: typing.Optional[LatencyMode] = None,
|
|
1002
1039
|
preset: typing.Optional[Preset] = None,
|
|
1003
1040
|
type: typing.Optional[ChannelType] = None,
|
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
35
|
"@aws-cdk/aws-ivs-alpha",
|
|
36
|
-
"2.
|
|
36
|
+
"2.159.0-alpha.0",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"aws-ivs-alpha@2.
|
|
38
|
+
"aws-ivs-alpha@2.159.0-alpha.0.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
{aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.aws-ivs-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.159.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
|
|
@@ -23,7 +23,7 @@ Requires-Python: ~=3.8
|
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
License-File: NOTICE
|
|
26
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
26
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.159.0
|
|
27
27
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
28
28
|
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
29
29
|
Requires-Dist: publication>=0.0.3
|
|
@@ -85,6 +85,18 @@ my_channel = ivs.Channel(self, "myChannel",
|
|
|
85
85
|
)
|
|
86
86
|
```
|
|
87
87
|
|
|
88
|
+
If you want to use RTMP ingest, set `insecureIngest` property to `true`.
|
|
89
|
+
By default, `insecureIngest` is `false` which means using RTMPS ingest.
|
|
90
|
+
|
|
91
|
+
**⚠ Note:** RTMP ingest might result in reduced security for your streams. AWS recommends that you use RTMPS for ingest, unless you have specific and verified use cases. For more information, see [Encoder Settings](https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/streaming-config.html#streaming-config-settings).
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
my_rtmp_channel = ivs.Channel(self, "myRtmpChannel",
|
|
95
|
+
type=ivs.ChannelType.STANDARD,
|
|
96
|
+
insecure_ingest=True
|
|
97
|
+
)
|
|
98
|
+
```
|
|
99
|
+
|
|
88
100
|
### Importing an existing channel
|
|
89
101
|
|
|
90
102
|
You can reference an existing channel, for example, if you need to create a
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
aws_cdk/aws_ivs_alpha/__init__.py,sha256=1yMxCucI4anyJ3gZluv1I6UCVHhonkrz5fgJ4KQp5cE,39178
|
|
2
|
+
aws_cdk/aws_ivs_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
aws_cdk/aws_ivs_alpha/_jsii/__init__.py,sha256=b8Z2LNg1RnC1w7ifUGLJnyry9i6aoJeBB4xxOaUSJsI,1479
|
|
4
|
+
aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.159.0-alpha.0.jsii.tgz,sha256=BYcQhwar2iA56xHef2gtSY7S941UxTmvBC9Tmide0Ww,38366
|
|
5
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
|
|
6
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/METADATA,sha256=Un7Rsa490ZmbUcym_boAm4UQ4zXsxz0GstM0rUx9LIo,5566
|
|
7
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/NOTICE,sha256=dXf56qvx2VDNCaqiRscOD2IH5GbmqbnKRzroZCeLtaQ,113
|
|
8
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
|
9
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
+
aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
aws_cdk/aws_ivs_alpha/__init__.py,sha256=0PpW2BqW3nCkWP0znO-fm_eP39O-fyQaPensf9fsYd0,37389
|
|
2
|
-
aws_cdk/aws_ivs_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/aws_ivs_alpha/_jsii/__init__.py,sha256=84-GBHv_RK4MTd-XZIHPsV6qIreDo-i98NyuYkmybFQ,1479
|
|
4
|
-
aws_cdk/aws_ivs_alpha/_jsii/aws-ivs-alpha@2.158.0-alpha.0.jsii.tgz,sha256=XmNn7KL3NYwT3OShM-5etD1XnRC3Vgq3g0aH-vqVYII,37471
|
|
5
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
|
|
6
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/METADATA,sha256=wJ9jREp-UeEQMEpHyTHu4yNRKAXmoB2uqG28A1GclXY,4963
|
|
7
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/NOTICE,sha256=dXf56qvx2VDNCaqiRscOD2IH5GbmqbnKRzroZCeLtaQ,113
|
|
8
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
|
9
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
-
aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info/RECORD,,
|
{aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/NOTICE
RENAMED
|
File without changes
|
{aws_cdk.aws_ivs_alpha-2.158.0a0.dist-info → aws_cdk.aws_ivs_alpha-2.159.0a0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|