@aws-cdk/aws-ivs-alpha 2.0.0-rc.24 → 2.4.0-alpha.0

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.
@@ -0,0 +1,532 @@
1
+ {
2
+ "version": "2",
3
+ "toolVersion": "1.50.0",
4
+ "snippets": {
5
+ "5ea677ba31f0952b6e1d86d9c8d4a2d2ffe9ae60c0e4dfcacd7823699dfa0c77": {
6
+ "translations": {
7
+ "python": {
8
+ "source": "my_channel = ivs.Channel(self, \"Channel\")",
9
+ "version": "1"
10
+ },
11
+ "csharp": {
12
+ "source": "Channel myChannel = new Channel(this, \"Channel\");",
13
+ "version": "1"
14
+ },
15
+ "java": {
16
+ "source": "Channel myChannel = new Channel(this, \"Channel\");",
17
+ "version": "1"
18
+ },
19
+ "$": {
20
+ "source": "const myChannel = new ivs.Channel(this, 'Channel');",
21
+ "version": "0"
22
+ }
23
+ },
24
+ "location": {
25
+ "api": {
26
+ "api": "moduleReadme",
27
+ "moduleFqn": "@aws-cdk/aws-ivs-alpha"
28
+ },
29
+ "field": {
30
+ "field": "markdown",
31
+ "line": 38
32
+ }
33
+ },
34
+ "didCompile": true,
35
+ "fqnsReferenced": [
36
+ "@aws-cdk/aws-ivs-alpha.Channel"
37
+ ],
38
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst myChannel = new ivs.Channel(this, 'Channel');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
39
+ "syntaxKindCounter": {
40
+ "10": 1,
41
+ "75": 3,
42
+ "104": 1,
43
+ "194": 1,
44
+ "197": 1,
45
+ "225": 1,
46
+ "242": 1,
47
+ "243": 1
48
+ },
49
+ "fqnsFingerprint": "b89ba07e49f7527ab38c88dbc29c858d38e7276930b0a0e42c1fa1d6d15bd591"
50
+ },
51
+ "5444c759a6b69dc84ae9f0815026b519ba69857e5d18a88cc87724222e5e7fd7": {
52
+ "translations": {
53
+ "python": {
54
+ "source": "my_channel = ivs.Channel.from_channel_arn(self, \"Channel\", my_channel_arn)",
55
+ "version": "1"
56
+ },
57
+ "csharp": {
58
+ "source": "IChannel myChannel = Channel.FromChannelArn(this, \"Channel\", myChannelArn);",
59
+ "version": "1"
60
+ },
61
+ "java": {
62
+ "source": "IChannel myChannel = Channel.fromChannelArn(this, \"Channel\", myChannelArn);",
63
+ "version": "1"
64
+ },
65
+ "$": {
66
+ "source": "const myChannel = ivs.Channel.fromChannelArn(this, 'Channel', myChannelArn);",
67
+ "version": "0"
68
+ }
69
+ },
70
+ "location": {
71
+ "api": {
72
+ "api": "moduleReadme",
73
+ "moduleFqn": "@aws-cdk/aws-ivs-alpha"
74
+ },
75
+ "field": {
76
+ "field": "markdown",
77
+ "line": 47
78
+ }
79
+ },
80
+ "didCompile": true,
81
+ "fqnsReferenced": [
82
+ "@aws-cdk/aws-ivs-alpha.Channel",
83
+ "@aws-cdk/aws-ivs-alpha.Channel#fromChannelArn",
84
+ "@aws-cdk/aws-ivs-alpha.IChannel"
85
+ ],
86
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst myChannel = ivs.Channel.fromChannelArn(this, 'Channel', myChannelArn);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
87
+ "syntaxKindCounter": {
88
+ "10": 1,
89
+ "75": 5,
90
+ "104": 1,
91
+ "194": 2,
92
+ "196": 1,
93
+ "225": 1,
94
+ "242": 1,
95
+ "243": 1
96
+ },
97
+ "fqnsFingerprint": "5b0211ae7c8983f017e8ecf0890bcf2190778f55424f67079ca64f4cfd7f8a73"
98
+ },
99
+ "bb1f2cff656be208b244c584b639a69cb61caf3019230d8671f91ec39e4afc5b": {
100
+ "translations": {
101
+ "python": {
102
+ "source": "my_stream_key = my_channel.add_stream_key(\"StreamKey\")",
103
+ "version": "1"
104
+ },
105
+ "csharp": {
106
+ "source": "StreamKey myStreamKey = myChannel.AddStreamKey(\"StreamKey\");",
107
+ "version": "1"
108
+ },
109
+ "java": {
110
+ "source": "StreamKey myStreamKey = myChannel.addStreamKey(\"StreamKey\");",
111
+ "version": "1"
112
+ },
113
+ "$": {
114
+ "source": "const myStreamKey = myChannel.addStreamKey('StreamKey');",
115
+ "version": "0"
116
+ }
117
+ },
118
+ "location": {
119
+ "api": {
120
+ "api": "moduleReadme",
121
+ "moduleFqn": "@aws-cdk/aws-ivs-alpha"
122
+ },
123
+ "field": {
124
+ "field": "markdown",
125
+ "line": 59
126
+ }
127
+ },
128
+ "didCompile": true,
129
+ "fqnsReferenced": [
130
+ "@aws-cdk/aws-ivs-alpha.IChannel#addStreamKey",
131
+ "@aws-cdk/aws-ivs-alpha.StreamKey"
132
+ ],
133
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myChannel = ivs.Channel.fromChannelArn(this, 'Channel', myChannelArn);\n\n // Code snippet begins after !show marker below\n/// !show\nconst myStreamKey = myChannel.addStreamKey('StreamKey');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
134
+ "syntaxKindCounter": {
135
+ "10": 1,
136
+ "75": 3,
137
+ "194": 1,
138
+ "196": 1,
139
+ "225": 1,
140
+ "242": 1,
141
+ "243": 1
142
+ },
143
+ "fqnsFingerprint": "f1cd3320e293f5b40ffb6dd6b7709c6a519ed6dd548db0e8dc37ee158d51d7eb"
144
+ },
145
+ "f654540ebd0dbf5cad231b31affce2abcf982819c5d22e6de830dda6c7ed4cf8": {
146
+ "translations": {
147
+ "python": {
148
+ "source": "key_pair = ivs.PlaybackKeyPair(self, \"PlaybackKeyPair\",\n public_key_material=my_public_key_pem_string\n)",
149
+ "version": "1"
150
+ },
151
+ "csharp": {
152
+ "source": "PlaybackKeyPair keyPair = new PlaybackKeyPair(this, \"PlaybackKeyPair\", new PlaybackKeyPairProps {\n PublicKeyMaterial = myPublicKeyPemString\n});",
153
+ "version": "1"
154
+ },
155
+ "java": {
156
+ "source": "PlaybackKeyPair keyPair = PlaybackKeyPair.Builder.create(this, \"PlaybackKeyPair\")\n .publicKeyMaterial(myPublicKeyPemString)\n .build();",
157
+ "version": "1"
158
+ },
159
+ "$": {
160
+ "source": "const keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});",
161
+ "version": "0"
162
+ }
163
+ },
164
+ "location": {
165
+ "api": {
166
+ "api": "moduleReadme",
167
+ "moduleFqn": "@aws-cdk/aws-ivs-alpha"
168
+ },
169
+ "field": {
170
+ "field": "markdown",
171
+ "line": 77
172
+ }
173
+ },
174
+ "didCompile": true,
175
+ "fqnsReferenced": [
176
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPair",
177
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPairProps"
178
+ ],
179
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
180
+ "syntaxKindCounter": {
181
+ "10": 1,
182
+ "75": 5,
183
+ "104": 1,
184
+ "193": 1,
185
+ "194": 1,
186
+ "197": 1,
187
+ "225": 1,
188
+ "242": 1,
189
+ "243": 1,
190
+ "281": 1
191
+ },
192
+ "fqnsFingerprint": "afc91521011db2a1d6daa3e87212499dbe6588c7dedb9559aab3bb2ac02843f0"
193
+ },
194
+ "e17ae0e02cd66476a5a9f7c9c7b4daae1b194556ad5dd0a982447d6ce9f39fed": {
195
+ "translations": {
196
+ "python": {
197
+ "source": "my_channel = ivs.Channel(self, \"Channel\",\n authorized=True\n)",
198
+ "version": "1"
199
+ },
200
+ "csharp": {
201
+ "source": "Channel myChannel = new Channel(this, \"Channel\", new ChannelProps {\n Authorized = true\n});",
202
+ "version": "1"
203
+ },
204
+ "java": {
205
+ "source": "Channel myChannel = Channel.Builder.create(this, \"Channel\")\n .authorized(true)\n .build();",
206
+ "version": "1"
207
+ },
208
+ "$": {
209
+ "source": "const myChannel = new ivs.Channel(this, 'Channel', {\n authorized: true, // default value is false\n});",
210
+ "version": "0"
211
+ }
212
+ },
213
+ "location": {
214
+ "api": {
215
+ "api": "moduleReadme",
216
+ "moduleFqn": "@aws-cdk/aws-ivs-alpha"
217
+ },
218
+ "field": {
219
+ "field": "markdown",
220
+ "line": 85
221
+ }
222
+ },
223
+ "didCompile": true,
224
+ "fqnsReferenced": [
225
+ "@aws-cdk/aws-ivs-alpha.Channel",
226
+ "@aws-cdk/aws-ivs-alpha.ChannelProps"
227
+ ],
228
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst myChannel = new ivs.Channel(this, 'Channel', {\n authorized: true, // default value is false\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
229
+ "syntaxKindCounter": {
230
+ "10": 1,
231
+ "75": 4,
232
+ "104": 1,
233
+ "106": 1,
234
+ "193": 1,
235
+ "194": 1,
236
+ "197": 1,
237
+ "225": 1,
238
+ "242": 1,
239
+ "243": 1,
240
+ "281": 1
241
+ },
242
+ "fqnsFingerprint": "377bb8aebbdb8fa7d2b628b0390ded97622432a737f716d0b07961e42f91fb6d"
243
+ },
244
+ "0de09d5cb8b9e6575189eb67aa14a8d2690b8830eb22d3e8f6414646c3da6d38": {
245
+ "translations": {
246
+ "python": {
247
+ "source": "my_channel = ivs.Channel(self, \"Channel\")",
248
+ "version": "1"
249
+ },
250
+ "csharp": {
251
+ "source": "Channel myChannel = new Channel(this, \"Channel\");",
252
+ "version": "1"
253
+ },
254
+ "java": {
255
+ "source": "Channel myChannel = new Channel(this, \"Channel\");",
256
+ "version": "1"
257
+ },
258
+ "$": {
259
+ "source": "const myChannel = new ivs.Channel(this, 'Channel');",
260
+ "version": "0"
261
+ }
262
+ },
263
+ "location": {
264
+ "api": {
265
+ "api": "type",
266
+ "fqn": "@aws-cdk/aws-ivs-alpha.Channel"
267
+ },
268
+ "field": {
269
+ "field": "example"
270
+ }
271
+ },
272
+ "didCompile": true,
273
+ "fqnsReferenced": [
274
+ "@aws-cdk/aws-ivs-alpha.Channel"
275
+ ],
276
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst myChannel = new ivs.Channel(this, 'Channel');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
277
+ "syntaxKindCounter": {
278
+ "10": 1,
279
+ "75": 3,
280
+ "104": 1,
281
+ "194": 1,
282
+ "197": 1,
283
+ "225": 1,
284
+ "242": 1,
285
+ "243": 1
286
+ },
287
+ "fqnsFingerprint": "b89ba07e49f7527ab38c88dbc29c858d38e7276930b0a0e42c1fa1d6d15bd591"
288
+ },
289
+ "6c04ec642361d05b92be83bcce069ef0bfede92c5ce76cf5afab535523fc91ca": {
290
+ "translations": {
291
+ "python": {
292
+ "source": "my_channel = ivs.Channel(self, \"Channel\",\n authorized=True\n)",
293
+ "version": "1"
294
+ },
295
+ "csharp": {
296
+ "source": "Channel myChannel = new Channel(this, \"Channel\", new ChannelProps {\n Authorized = true\n});",
297
+ "version": "1"
298
+ },
299
+ "java": {
300
+ "source": "Channel myChannel = Channel.Builder.create(this, \"Channel\")\n .authorized(true)\n .build();",
301
+ "version": "1"
302
+ },
303
+ "$": {
304
+ "source": "const myChannel = new ivs.Channel(this, 'Channel', {\n authorized: true, // default value is false\n});",
305
+ "version": "0"
306
+ }
307
+ },
308
+ "location": {
309
+ "api": {
310
+ "api": "type",
311
+ "fqn": "@aws-cdk/aws-ivs-alpha.ChannelProps"
312
+ },
313
+ "field": {
314
+ "field": "example"
315
+ }
316
+ },
317
+ "didCompile": true,
318
+ "fqnsReferenced": [
319
+ "@aws-cdk/aws-ivs-alpha.Channel",
320
+ "@aws-cdk/aws-ivs-alpha.ChannelProps"
321
+ ],
322
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst myChannel = new ivs.Channel(this, 'Channel', {\n authorized: true, // default value is false\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
323
+ "syntaxKindCounter": {
324
+ "10": 1,
325
+ "75": 4,
326
+ "104": 1,
327
+ "106": 1,
328
+ "193": 1,
329
+ "194": 1,
330
+ "197": 1,
331
+ "225": 1,
332
+ "242": 1,
333
+ "243": 1,
334
+ "281": 1
335
+ },
336
+ "fqnsFingerprint": "377bb8aebbdb8fa7d2b628b0390ded97622432a737f716d0b07961e42f91fb6d"
337
+ },
338
+ "8eab2258e42a1a5cf01f994c1bca104dd202aa9d03abe4acce7350555e424157": {
339
+ "translations": {
340
+ "python": {
341
+ "source": "key_pair = ivs.PlaybackKeyPair(self, \"PlaybackKeyPair\",\n public_key_material=my_public_key_pem_string\n)",
342
+ "version": "1"
343
+ },
344
+ "csharp": {
345
+ "source": "PlaybackKeyPair keyPair = new PlaybackKeyPair(this, \"PlaybackKeyPair\", new PlaybackKeyPairProps {\n PublicKeyMaterial = myPublicKeyPemString\n});",
346
+ "version": "1"
347
+ },
348
+ "java": {
349
+ "source": "PlaybackKeyPair keyPair = PlaybackKeyPair.Builder.create(this, \"PlaybackKeyPair\")\n .publicKeyMaterial(myPublicKeyPemString)\n .build();",
350
+ "version": "1"
351
+ },
352
+ "$": {
353
+ "source": "const keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});",
354
+ "version": "0"
355
+ }
356
+ },
357
+ "location": {
358
+ "api": {
359
+ "api": "type",
360
+ "fqn": "@aws-cdk/aws-ivs-alpha.PlaybackKeyPair"
361
+ },
362
+ "field": {
363
+ "field": "example"
364
+ }
365
+ },
366
+ "didCompile": true,
367
+ "fqnsReferenced": [
368
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPair",
369
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPairProps"
370
+ ],
371
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
372
+ "syntaxKindCounter": {
373
+ "10": 1,
374
+ "75": 5,
375
+ "104": 1,
376
+ "193": 1,
377
+ "194": 1,
378
+ "197": 1,
379
+ "225": 1,
380
+ "242": 1,
381
+ "243": 1,
382
+ "281": 1
383
+ },
384
+ "fqnsFingerprint": "afc91521011db2a1d6daa3e87212499dbe6588c7dedb9559aab3bb2ac02843f0"
385
+ },
386
+ "dc8d55693d21a931138e50000d5f7421bf098f73bde7149fbba227389b01dbf2": {
387
+ "translations": {
388
+ "python": {
389
+ "source": "key_pair = ivs.PlaybackKeyPair(self, \"PlaybackKeyPair\",\n public_key_material=my_public_key_pem_string\n)",
390
+ "version": "1"
391
+ },
392
+ "csharp": {
393
+ "source": "PlaybackKeyPair keyPair = new PlaybackKeyPair(this, \"PlaybackKeyPair\", new PlaybackKeyPairProps {\n PublicKeyMaterial = myPublicKeyPemString\n});",
394
+ "version": "1"
395
+ },
396
+ "java": {
397
+ "source": "PlaybackKeyPair keyPair = PlaybackKeyPair.Builder.create(this, \"PlaybackKeyPair\")\n .publicKeyMaterial(myPublicKeyPemString)\n .build();",
398
+ "version": "1"
399
+ },
400
+ "$": {
401
+ "source": "const keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});",
402
+ "version": "0"
403
+ }
404
+ },
405
+ "location": {
406
+ "api": {
407
+ "api": "type",
408
+ "fqn": "@aws-cdk/aws-ivs-alpha.PlaybackKeyPairProps"
409
+ },
410
+ "field": {
411
+ "field": "example"
412
+ }
413
+ },
414
+ "didCompile": true,
415
+ "fqnsReferenced": [
416
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPair",
417
+ "@aws-cdk/aws-ivs-alpha.PlaybackKeyPairProps"
418
+ ],
419
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myPublicKeyPemString = `-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEmL8CBtm6KLUegSd5IJexniN8LItJiDwg\nzlYiti/ZTP/JPoUMb0fjqBDKZRhGbA6gSHdcm5YkdbGzIsQRnIqfhYy52kO13miR\nd2/EL+sn3x1/ziRhvZ2elvpaZAN68QiM\n-----END PUBLIC KEY-----`;\n\n // Code snippet begins after !show marker below\n/// !show\nconst keyPair = new ivs.PlaybackKeyPair(this, 'PlaybackKeyPair', {\n publicKeyMaterial: myPublicKeyPemString,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
420
+ "syntaxKindCounter": {
421
+ "10": 1,
422
+ "75": 5,
423
+ "104": 1,
424
+ "193": 1,
425
+ "194": 1,
426
+ "197": 1,
427
+ "225": 1,
428
+ "242": 1,
429
+ "243": 1,
430
+ "281": 1
431
+ },
432
+ "fqnsFingerprint": "afc91521011db2a1d6daa3e87212499dbe6588c7dedb9559aab3bb2ac02843f0"
433
+ },
434
+ "8dea2d21ada14e0fba8119b14c5b4fcd10204c0e0a159782495c4de8d9cd7239": {
435
+ "translations": {
436
+ "python": {
437
+ "source": "my_stream_key = my_channel.add_stream_key(\"StreamKey\")",
438
+ "version": "1"
439
+ },
440
+ "csharp": {
441
+ "source": "StreamKey myStreamKey = myChannel.AddStreamKey(\"StreamKey\");",
442
+ "version": "1"
443
+ },
444
+ "java": {
445
+ "source": "StreamKey myStreamKey = myChannel.addStreamKey(\"StreamKey\");",
446
+ "version": "1"
447
+ },
448
+ "$": {
449
+ "source": "const myStreamKey = myChannel.addStreamKey('StreamKey');",
450
+ "version": "0"
451
+ }
452
+ },
453
+ "location": {
454
+ "api": {
455
+ "api": "type",
456
+ "fqn": "@aws-cdk/aws-ivs-alpha.StreamKey"
457
+ },
458
+ "field": {
459
+ "field": "example"
460
+ }
461
+ },
462
+ "didCompile": true,
463
+ "fqnsReferenced": [
464
+ "@aws-cdk/aws-ivs-alpha.IChannel#addStreamKey",
465
+ "@aws-cdk/aws-ivs-alpha.StreamKey"
466
+ ],
467
+ "fullSource": "// Fixture with packages imported, but nothing else\nimport { Duration, Stack } from 'aws-cdk-lib';\nimport { Construct } from 'constructs';\nimport * as ivs from '@aws-cdk/aws-ivs-alpha';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n const myChannelArn = 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh';\n const myChannel = ivs.Channel.fromChannelArn(this, 'Channel', myChannelArn);\n\n // Code snippet begins after !show marker below\n/// !show\nconst myStreamKey = myChannel.addStreamKey('StreamKey');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}",
468
+ "syntaxKindCounter": {
469
+ "10": 1,
470
+ "75": 3,
471
+ "194": 1,
472
+ "196": 1,
473
+ "225": 1,
474
+ "242": 1,
475
+ "243": 1
476
+ },
477
+ "fqnsFingerprint": "f1cd3320e293f5b40ffb6dd6b7709c6a519ed6dd548db0e8dc37ee158d51d7eb"
478
+ },
479
+ "03e26e0a52e97abb50dd3d409ad0cbdddce13c23e316ab77a44dda63921eacc2": {
480
+ "translations": {
481
+ "python": {
482
+ "source": "# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_ivs_alpha as ivs_alpha\n\n# channel is of type Channel\n\nstream_key_props = ivs_alpha.StreamKeyProps(\n channel=channel\n)",
483
+ "version": "1"
484
+ },
485
+ "csharp": {
486
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Ivs.Alpha;\n\nChannel channel;\n\nStreamKeyProps streamKeyProps = new StreamKeyProps {\n Channel = channel\n};",
487
+ "version": "1"
488
+ },
489
+ "java": {
490
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.ivs.alpha.*;\n\nChannel channel;\n\nStreamKeyProps streamKeyProps = StreamKeyProps.builder()\n .channel(channel)\n .build();",
491
+ "version": "1"
492
+ },
493
+ "$": {
494
+ "source": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as ivs_alpha from '@aws-cdk/aws-ivs-alpha';\n\ndeclare const channel: ivs_alpha.Channel;\nconst streamKeyProps: ivs_alpha.StreamKeyProps = {\n channel: channel,\n};",
495
+ "version": "0"
496
+ }
497
+ },
498
+ "location": {
499
+ "api": {
500
+ "api": "type",
501
+ "fqn": "@aws-cdk/aws-ivs-alpha.StreamKeyProps"
502
+ },
503
+ "field": {
504
+ "field": "example"
505
+ }
506
+ },
507
+ "didCompile": true,
508
+ "fqnsReferenced": [
509
+ "@aws-cdk/aws-ivs-alpha.IChannel",
510
+ "@aws-cdk/aws-ivs-alpha.StreamKeyProps"
511
+ ],
512
+ "fullSource": "// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as ivs_alpha from '@aws-cdk/aws-ivs-alpha';\n\ndeclare const channel: ivs_alpha.Channel;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"constructs\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst streamKeyProps: ivs_alpha.StreamKeyProps = {\n channel: channel,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }",
513
+ "syntaxKindCounter": {
514
+ "10": 1,
515
+ "75": 9,
516
+ "130": 1,
517
+ "153": 2,
518
+ "169": 2,
519
+ "193": 1,
520
+ "225": 2,
521
+ "242": 2,
522
+ "243": 2,
523
+ "254": 1,
524
+ "255": 1,
525
+ "256": 1,
526
+ "281": 1,
527
+ "290": 1
528
+ },
529
+ "fqnsFingerprint": "45bda7267535e066f0de4f0d8dbea4c217afc5538e8aa547007f86d61baf9553"
530
+ }
531
+ }
532
+ }
@@ -0,0 +1,53 @@
1
+ function _aws_cdk_aws_ivs_alpha_LatencyMode(p) {
2
+ }
3
+ function _aws_cdk_aws_ivs_alpha_ChannelType(p) {
4
+ }
5
+ function _aws_cdk_aws_ivs_alpha_PlaybackKeyPairProps(p) {
6
+ }
7
+ function _aws_cdk_aws_ivs_alpha_StreamKeyProps(p) {
8
+ if (p == null)
9
+ return;
10
+ visitedObjects.add(p);
11
+ if (!visitedObjects.has(p.channel))
12
+ _aws_cdk_aws_ivs_alpha_IChannel(p.channel);
13
+ visitedObjects.delete(p);
14
+ }
15
+ function _aws_cdk_aws_ivs_alpha_IPlaybackKeyPair(p) {
16
+ }
17
+ function _aws_cdk_aws_ivs_alpha_IStreamKey(p) {
18
+ }
19
+ function _aws_cdk_aws_ivs_alpha_IChannel(p) {
20
+ }
21
+ function _aws_cdk_aws_ivs_alpha_ChannelProps(p) {
22
+ if (p == null)
23
+ return;
24
+ visitedObjects.add(p);
25
+ if (!visitedObjects.has(p.latencyMode))
26
+ _aws_cdk_aws_ivs_alpha_LatencyMode(p.latencyMode);
27
+ if (!visitedObjects.has(p.type))
28
+ _aws_cdk_aws_ivs_alpha_ChannelType(p.type);
29
+ visitedObjects.delete(p);
30
+ }
31
+ function _aws_cdk_aws_ivs_alpha_PlaybackKeyPair(p) {
32
+ }
33
+ function _aws_cdk_aws_ivs_alpha_StreamKey(p) {
34
+ }
35
+ function _aws_cdk_aws_ivs_alpha_Channel(p) {
36
+ }
37
+ function print(name, deprecationMessage) {
38
+ const deprecated = process.env.JSII_DEPRECATED;
39
+ const deprecationMode = ["warn", "fail", "quiet"].includes(deprecated) ? deprecated : "warn";
40
+ const message = `${name} is deprecated.\n ${deprecationMessage}\n This API will be removed in the next major release.`;
41
+ switch (deprecationMode) {
42
+ case "fail":
43
+ throw new DeprecationError(message);
44
+ case "warn":
45
+ console.warn("[WARNING]", message);
46
+ break;
47
+ }
48
+ }
49
+ const visitedObjects = new Set();
50
+ class DeprecationError extends Error {
51
+ }
52
+ module.exports = { print, _aws_cdk_aws_ivs_alpha_LatencyMode, _aws_cdk_aws_ivs_alpha_ChannelType, _aws_cdk_aws_ivs_alpha_PlaybackKeyPairProps, _aws_cdk_aws_ivs_alpha_StreamKeyProps, _aws_cdk_aws_ivs_alpha_IPlaybackKeyPair, _aws_cdk_aws_ivs_alpha_IStreamKey, _aws_cdk_aws_ivs_alpha_IChannel, _aws_cdk_aws_ivs_alpha_ChannelProps, _aws_cdk_aws_ivs_alpha_PlaybackKeyPair, _aws_cdk_aws_ivs_alpha_StreamKey, _aws_cdk_aws_ivs_alpha_Channel };
53
+ module.exports.DeprecationError = DeprecationError;
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
189
+ Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/NOTICE CHANGED
@@ -1,2 +1,2 @@
1
1
  AWS Cloud Development Kit (AWS CDK)
2
- Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
package/README.md CHANGED
@@ -3,12 +3,6 @@
3
3
 
4
4
  ---
5
5
 
6
- ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
7
-
8
- > All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
9
- >
10
- > [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib
11
-
12
6
  ![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
13
7
 
14
8
  > The APIs of higher level constructs in this module are experimental and under active development.