@aws-cdk/aws-medialive-alpha 2.268.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.
- package/.jsii +60888 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +524 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +1297 -0
- package/grants.json +27 -0
- package/lib/audio-codec-settings.d.ts +901 -0
- package/lib/audio-codec-settings.js +1098 -0
- package/lib/audio-selector.d.ts +170 -0
- package/lib/audio-selector.js +306 -0
- package/lib/avail-settings.d.ts +231 -0
- package/lib/avail-settings.js +226 -0
- package/lib/caption-selector.d.ts +234 -0
- package/lib/caption-selector.js +413 -0
- package/lib/caption-settings.d.ts +349 -0
- package/lib/caption-settings.js +482 -0
- package/lib/channel-features.d.ts +106 -0
- package/lib/channel-features.js +85 -0
- package/lib/channel-placement-group.d.ts +73 -0
- package/lib/channel-placement-group.js +132 -0
- package/lib/channel.d.ts +687 -0
- package/lib/channel.js +1096 -0
- package/lib/cluster.d.ts +129 -0
- package/lib/cluster.js +158 -0
- package/lib/color-correction.d.ts +39 -0
- package/lib/color-correction.js +29 -0
- package/lib/destinations.d.ts +242 -0
- package/lib/destinations.js +455 -0
- package/lib/encode-configuration.d.ts +615 -0
- package/lib/encode-configuration.js +629 -0
- package/lib/enums.d.ts +698 -0
- package/lib/enums.js +1045 -0
- package/lib/file-location.d.ts +65 -0
- package/lib/file-location.js +150 -0
- package/lib/framerate.d.ts +31 -0
- package/lib/framerate.js +71 -0
- package/lib/index.d.ts +26 -0
- package/lib/index.js +43 -0
- package/lib/input-attachment.d.ts +319 -0
- package/lib/input-attachment.js +228 -0
- package/lib/input-security-group.d.ts +51 -0
- package/lib/input-security-group.js +123 -0
- package/lib/input-specification.d.ts +111 -0
- package/lib/input-specification.js +181 -0
- package/lib/input.d.ts +505 -0
- package/lib/input.js +803 -0
- package/lib/m2ts-settings.d.ts +421 -0
- package/lib/m2ts-settings.js +469 -0
- package/lib/m3u8-settings.d.ts +272 -0
- package/lib/m3u8-settings.js +304 -0
- package/lib/medialive-grants.generated.d.ts +30 -0
- package/lib/medialive-grants.generated.js +92 -0
- package/lib/network.d.ts +83 -0
- package/lib/network.js +132 -0
- package/lib/output-group.d.ts +924 -0
- package/lib/output-group.js +941 -0
- package/lib/outputs.d.ts +304 -0
- package/lib/outputs.js +598 -0
- package/lib/sdi-source.d.ts +124 -0
- package/lib/sdi-source.js +180 -0
- package/lib/shared.d.ts +44 -0
- package/lib/shared.js +146 -0
- package/lib/video-codec-settings.d.ts +1500 -0
- package/lib/video-codec-settings.js +1722 -0
- package/lib/video-selection.d.ts +92 -0
- package/lib/video-selection.js +95 -0
- package/package.json +135 -0
- package/rosetta/_generated.ts-fixture +6 -0
- package/rosetta/default.ts-fixture +21 -0
|
@@ -0,0 +1,615 @@
|
|
|
1
|
+
import type { AudioCodecSettings } from './audio-codec-settings';
|
|
2
|
+
import type { CaptionDestination } from './caption-settings';
|
|
3
|
+
import type { VideoCodecSettings } from './video-codec-settings';
|
|
4
|
+
/**
|
|
5
|
+
* Base interface for an encode configuration (video, audio, or caption).
|
|
6
|
+
*
|
|
7
|
+
* The same EncodeConfiguration instance can be shared across multiple output groups within a channel.
|
|
8
|
+
* The channel automatically deduplicates encode descriptions by name at synth time.
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class EncodeConfiguration {
|
|
11
|
+
/**
|
|
12
|
+
* Create a video encode configuration.
|
|
13
|
+
*/
|
|
14
|
+
static video(props: VideoEncodeProps): EncodeConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* Create an audio encode configuration.
|
|
17
|
+
*/
|
|
18
|
+
static audio(props: AudioEncodeProps): EncodeConfiguration;
|
|
19
|
+
/**
|
|
20
|
+
* Create a caption encode configuration.
|
|
21
|
+
*/
|
|
22
|
+
static caption(props: CaptionEncodeProps): EncodeConfiguration;
|
|
23
|
+
/** The unique name for this encode, used to reference it from outputs. */
|
|
24
|
+
abstract readonly name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* How to respond to AFD values in the input stream.
|
|
28
|
+
*/
|
|
29
|
+
export declare class RespondToAfd {
|
|
30
|
+
/** Clip input video based on AFD values */
|
|
31
|
+
static readonly RESPOND: RespondToAfd;
|
|
32
|
+
/** Pass AFD values through without clipping */
|
|
33
|
+
static readonly PASSTHROUGH: RespondToAfd;
|
|
34
|
+
/** Ignore AFD values */
|
|
35
|
+
static readonly NONE: RespondToAfd;
|
|
36
|
+
/** A value not yet modelled by AWS CDK. */
|
|
37
|
+
static of(value: string): RespondToAfd;
|
|
38
|
+
/** The underlying string value passed to CloudFormation. */
|
|
39
|
+
readonly value: string;
|
|
40
|
+
private constructor();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Video scaling behavior.
|
|
44
|
+
*/
|
|
45
|
+
export declare class ScalingBehavior {
|
|
46
|
+
/** May insert black boxes to match output resolution */
|
|
47
|
+
static readonly DEFAULT: ScalingBehavior;
|
|
48
|
+
/** Stretch video to fill the output resolution */
|
|
49
|
+
static readonly STRETCH_TO_OUTPUT: ScalingBehavior;
|
|
50
|
+
/** Intelligently crop the video to focus on key subjects (9:16 vertical). Requires an Elemental Inference feed on the channel via `inferenceFeed`. Do NOT include `FeedOutput.cropping()` on the feed — MediaLive auto-inserts it. */
|
|
51
|
+
static readonly SMART_CROP: ScalingBehavior;
|
|
52
|
+
/** A value not yet modelled by AWS CDK. */
|
|
53
|
+
static of(value: string): ScalingBehavior;
|
|
54
|
+
/** The underlying string value passed to CloudFormation. */
|
|
55
|
+
readonly value: string;
|
|
56
|
+
private constructor();
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Properties for a video encode configuration.
|
|
60
|
+
*/
|
|
61
|
+
export interface VideoEncodeProps {
|
|
62
|
+
/**
|
|
63
|
+
* A unique name for this video encode.
|
|
64
|
+
*/
|
|
65
|
+
readonly name: string;
|
|
66
|
+
/**
|
|
67
|
+
* The width of the output video in pixels. Must be an even number.
|
|
68
|
+
*/
|
|
69
|
+
readonly width: number;
|
|
70
|
+
/**
|
|
71
|
+
* The height of the output video in pixels. Must be an even number.
|
|
72
|
+
*/
|
|
73
|
+
readonly height: number;
|
|
74
|
+
/**
|
|
75
|
+
* The codec for the video encode.
|
|
76
|
+
*
|
|
77
|
+
* Choose the codec explicitly (e.g. `VideoCodecSettings.h264(...)`)
|
|
78
|
+
*/
|
|
79
|
+
readonly codec: VideoCodecSettings;
|
|
80
|
+
/**
|
|
81
|
+
* How to respond to AFD values in the input stream.
|
|
82
|
+
* @default RespondToAfd.NONE
|
|
83
|
+
*/
|
|
84
|
+
readonly respondToAfd?: RespondToAfd;
|
|
85
|
+
/**
|
|
86
|
+
* The video scaling behavior.
|
|
87
|
+
* @default ScalingBehavior.DEFAULT
|
|
88
|
+
*/
|
|
89
|
+
readonly scalingBehavior?: ScalingBehavior;
|
|
90
|
+
/**
|
|
91
|
+
* The anti-alias filter strength (0-100). 0 is softest, 100 is sharpest.
|
|
92
|
+
* @default 50
|
|
93
|
+
*/
|
|
94
|
+
readonly sharpness?: number;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Audio normalization algorithm.
|
|
98
|
+
*/
|
|
99
|
+
export declare class AudioNormalizationAlgorithm {
|
|
100
|
+
/** CALM Act specification (ITU-R BS.1770-1) */
|
|
101
|
+
static readonly ITU_1770_1: AudioNormalizationAlgorithm;
|
|
102
|
+
/** EBU R-128 specification (ITU-R BS.1770-2) */
|
|
103
|
+
static readonly ITU_1770_2: AudioNormalizationAlgorithm;
|
|
104
|
+
/** A value not yet modelled by AWS CDK. */
|
|
105
|
+
static of(value: string): AudioNormalizationAlgorithm;
|
|
106
|
+
/** The underlying string value passed to CloudFormation. */
|
|
107
|
+
readonly value: string;
|
|
108
|
+
private constructor();
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Audio normalization algorithm control.
|
|
112
|
+
*/
|
|
113
|
+
export declare class AudioNormalizationAlgorithmControl {
|
|
114
|
+
/** Correct the audio using the chosen algorithm */
|
|
115
|
+
static readonly CORRECT_AUDIO: AudioNormalizationAlgorithmControl;
|
|
116
|
+
/** Measure audio but do not adjust */
|
|
117
|
+
static readonly MEASURE_ONLY: AudioNormalizationAlgorithmControl;
|
|
118
|
+
/** A value not yet modelled by AWS CDK. */
|
|
119
|
+
static of(value: string): AudioNormalizationAlgorithmControl;
|
|
120
|
+
/** The underlying string value passed to CloudFormation. */
|
|
121
|
+
readonly value: string;
|
|
122
|
+
private constructor();
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Peak calculation method for audio normalization.
|
|
126
|
+
*/
|
|
127
|
+
export declare class AudioNormalizationPeakCalculation {
|
|
128
|
+
/** Calculate and log the TruePeak for each audio track. */
|
|
129
|
+
static readonly TRUE_PEAK: AudioNormalizationPeakCalculation;
|
|
130
|
+
/** A value not yet modelled by AWS CDK. */
|
|
131
|
+
static of(value: string): AudioNormalizationPeakCalculation;
|
|
132
|
+
/** The underlying string value passed to CloudFormation. */
|
|
133
|
+
readonly value: string;
|
|
134
|
+
private constructor();
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Audio normalization settings.
|
|
138
|
+
*/
|
|
139
|
+
export interface AudioNormalizationSettings {
|
|
140
|
+
/**
|
|
141
|
+
* The normalization algorithm.
|
|
142
|
+
* @default - service default
|
|
143
|
+
*/
|
|
144
|
+
readonly algorithm?: AudioNormalizationAlgorithm;
|
|
145
|
+
/**
|
|
146
|
+
* Whether to correct or only measure.
|
|
147
|
+
* @default - service default
|
|
148
|
+
*/
|
|
149
|
+
readonly algorithmControl?: AudioNormalizationAlgorithmControl;
|
|
150
|
+
/**
|
|
151
|
+
* The target loudness in LKFS. CALM Act recommends -24, EBU R-128 recommends -23.
|
|
152
|
+
* @default - service default
|
|
153
|
+
*/
|
|
154
|
+
readonly targetLkfs?: number;
|
|
155
|
+
/**
|
|
156
|
+
* Whether to use a peak limiter and how to calculate peak levels.
|
|
157
|
+
* @default - service default
|
|
158
|
+
*/
|
|
159
|
+
readonly peakCalculation?: AudioNormalizationPeakCalculation;
|
|
160
|
+
/**
|
|
161
|
+
* The peak limiter threshold in dBFS. Only used when peak limiting is enabled.
|
|
162
|
+
* @default - service default
|
|
163
|
+
*/
|
|
164
|
+
readonly peakLimiterThreshold?: number;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* An input channel level for audio remixing.
|
|
168
|
+
*/
|
|
169
|
+
export interface InputChannelLevel {
|
|
170
|
+
/**
|
|
171
|
+
* The index of the input channel to use as a source.
|
|
172
|
+
*/
|
|
173
|
+
readonly inputChannel: number;
|
|
174
|
+
/**
|
|
175
|
+
* The remixing gain in dB (-60 to 6).
|
|
176
|
+
* @default 0
|
|
177
|
+
*/
|
|
178
|
+
readonly gain?: number;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* A mapping from input channels to an output channel.
|
|
182
|
+
*/
|
|
183
|
+
export interface AudioChannelMapping {
|
|
184
|
+
/**
|
|
185
|
+
* The index of the output channel being produced.
|
|
186
|
+
*/
|
|
187
|
+
readonly outputChannel: number;
|
|
188
|
+
/**
|
|
189
|
+
* The input channels and their gain levels to mix into this output channel.
|
|
190
|
+
*/
|
|
191
|
+
readonly inputChannelLevels: InputChannelLevel[];
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Audio remix settings for channel remapping.
|
|
195
|
+
*/
|
|
196
|
+
export interface RemixSettings {
|
|
197
|
+
/**
|
|
198
|
+
* The channel mappings from input to output.
|
|
199
|
+
*/
|
|
200
|
+
readonly channelMappings: AudioChannelMapping[];
|
|
201
|
+
/**
|
|
202
|
+
* The number of input channels.
|
|
203
|
+
* @default - auto-detected
|
|
204
|
+
*/
|
|
205
|
+
readonly channelsIn?: number;
|
|
206
|
+
/**
|
|
207
|
+
* The number of output channels. Valid values: 1, 2, 4, 6, 8.
|
|
208
|
+
* @default - auto-detected
|
|
209
|
+
*/
|
|
210
|
+
readonly channelsOut?: number;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* CBET insertion behavior when prior encoding is detected on the same layer.
|
|
214
|
+
*/
|
|
215
|
+
export declare class NielsenCbetStepaside {
|
|
216
|
+
/**
|
|
217
|
+
* Existing Nielsen watermarks are removed. New watermarks are inserted throughout the audio.
|
|
218
|
+
*/
|
|
219
|
+
static readonly DISABLED: NielsenCbetStepaside;
|
|
220
|
+
/**
|
|
221
|
+
* Existing Nielsen watermarks are left intact. New watermarks are inserted only in portions
|
|
222
|
+
* of the audio where there are no existing watermarks.
|
|
223
|
+
*/
|
|
224
|
+
static readonly ENABLED: NielsenCbetStepaside;
|
|
225
|
+
/** A value not yet modelled by AWS CDK. */
|
|
226
|
+
static of(value: string): NielsenCbetStepaside;
|
|
227
|
+
/** The underlying string value passed to CloudFormation. */
|
|
228
|
+
readonly value: string;
|
|
229
|
+
private constructor();
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Timezone applied to the timestamps in a Nielsen NAES II/NW watermark.
|
|
233
|
+
*/
|
|
234
|
+
export declare class NielsenWatermarkTimezone {
|
|
235
|
+
/** America/Puerto Rico */
|
|
236
|
+
static readonly AMERICA_PUERTO_RICO: NielsenWatermarkTimezone;
|
|
237
|
+
/** US Alaska */
|
|
238
|
+
static readonly US_ALASKA: NielsenWatermarkTimezone;
|
|
239
|
+
/** US Arizona */
|
|
240
|
+
static readonly US_ARIZONA: NielsenWatermarkTimezone;
|
|
241
|
+
/** US Central */
|
|
242
|
+
static readonly US_CENTRAL: NielsenWatermarkTimezone;
|
|
243
|
+
/** US Eastern */
|
|
244
|
+
static readonly US_EASTERN: NielsenWatermarkTimezone;
|
|
245
|
+
/** US Hawaii */
|
|
246
|
+
static readonly US_HAWAII: NielsenWatermarkTimezone;
|
|
247
|
+
/** US Mountain */
|
|
248
|
+
static readonly US_MOUNTAIN: NielsenWatermarkTimezone;
|
|
249
|
+
/** US Pacific */
|
|
250
|
+
static readonly US_PACIFIC: NielsenWatermarkTimezone;
|
|
251
|
+
/** US Samoa */
|
|
252
|
+
static readonly US_SAMOA: NielsenWatermarkTimezone;
|
|
253
|
+
/** Coordinated Universal Time */
|
|
254
|
+
static readonly UTC: NielsenWatermarkTimezone;
|
|
255
|
+
/** A value not yet modelled by AWS CDK. */
|
|
256
|
+
static of(value: string): NielsenWatermarkTimezone;
|
|
257
|
+
/** The underlying string value passed to CloudFormation. */
|
|
258
|
+
readonly value: string;
|
|
259
|
+
private constructor();
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Nielsen CBET watermark settings.
|
|
263
|
+
*/
|
|
264
|
+
export interface NielsenCbetSettings {
|
|
265
|
+
/**
|
|
266
|
+
* The CBET check digit string.
|
|
267
|
+
*/
|
|
268
|
+
readonly cbetCheckDigitString: string;
|
|
269
|
+
/**
|
|
270
|
+
* The CBET Source ID (CSID).
|
|
271
|
+
*/
|
|
272
|
+
readonly csid: string;
|
|
273
|
+
/**
|
|
274
|
+
* The CBET stepaside behavior when prior encoding is detected.
|
|
275
|
+
* @default - service default
|
|
276
|
+
*/
|
|
277
|
+
readonly cbetStepaside?: NielsenCbetStepaside;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Nielsen NAES II/NW watermark settings.
|
|
281
|
+
*/
|
|
282
|
+
export interface NielsenNaesIiNwSettings {
|
|
283
|
+
/**
|
|
284
|
+
* The check digit string for the watermark.
|
|
285
|
+
*/
|
|
286
|
+
readonly checkDigitString: string;
|
|
287
|
+
/**
|
|
288
|
+
* The Nielsen Source ID (SID).
|
|
289
|
+
*/
|
|
290
|
+
readonly sid: number;
|
|
291
|
+
/**
|
|
292
|
+
* The timezone for the timestamps in the watermark.
|
|
293
|
+
* @default - Coordinated Universal Time (UTC)
|
|
294
|
+
*/
|
|
295
|
+
readonly timezone?: NielsenWatermarkTimezone;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Nielsen watermark distribution type.
|
|
299
|
+
*/
|
|
300
|
+
export declare class NielsenDistributionType {
|
|
301
|
+
/** Program content */
|
|
302
|
+
static readonly PROGRAM_CONTENT: NielsenDistributionType;
|
|
303
|
+
/** Final distributor */
|
|
304
|
+
static readonly FINAL_DISTRIBUTOR: NielsenDistributionType;
|
|
305
|
+
/** A value not yet modelled by AWS CDK. */
|
|
306
|
+
static of(value: string): NielsenDistributionType;
|
|
307
|
+
/** The underlying string value passed to CloudFormation. */
|
|
308
|
+
readonly value: string;
|
|
309
|
+
private constructor();
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Nielsen watermark settings for audio.
|
|
313
|
+
*/
|
|
314
|
+
export interface NielsenWatermarksSettings {
|
|
315
|
+
/**
|
|
316
|
+
* The distribution type for the watermark.
|
|
317
|
+
* @default - service default
|
|
318
|
+
*/
|
|
319
|
+
readonly distributionType?: NielsenDistributionType;
|
|
320
|
+
/**
|
|
321
|
+
* Nielsen CBET watermark settings.
|
|
322
|
+
* @default - no CBET watermarks
|
|
323
|
+
*/
|
|
324
|
+
readonly cbetSettings?: NielsenCbetSettings;
|
|
325
|
+
/**
|
|
326
|
+
* Nielsen NAES II/NW watermark settings.
|
|
327
|
+
* @default - no NAES II/NW watermarks
|
|
328
|
+
*/
|
|
329
|
+
readonly naesIiNwSettings?: NielsenNaesIiNwSettings;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Audio watermarking settings.
|
|
333
|
+
*/
|
|
334
|
+
export interface AudioWatermarkSettings {
|
|
335
|
+
/**
|
|
336
|
+
* Nielsen watermark settings.
|
|
337
|
+
* @default - no Nielsen watermarks
|
|
338
|
+
*/
|
|
339
|
+
readonly nielsenWatermarks?: NielsenWatermarksSettings;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Determines how the audio type is signaled in the output.
|
|
343
|
+
*/
|
|
344
|
+
export declare class AudioTypeControl {
|
|
345
|
+
/**
|
|
346
|
+
* If the input contains an ISO 639 audioType it is passed through; otherwise the
|
|
347
|
+
* configured `audioType` is used.
|
|
348
|
+
*/
|
|
349
|
+
static readonly FOLLOW_INPUT: AudioTypeControl;
|
|
350
|
+
/** The configured `audioType` is always used. */
|
|
351
|
+
static readonly USE_CONFIGURED: AudioTypeControl;
|
|
352
|
+
/** A value not yet modelled by AWS CDK. */
|
|
353
|
+
static of(value: string): AudioTypeControl;
|
|
354
|
+
/** The underlying string value passed to CloudFormation. */
|
|
355
|
+
readonly value: string;
|
|
356
|
+
private constructor();
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Determines how the audio language code is signaled in the output.
|
|
360
|
+
*/
|
|
361
|
+
export declare class AudioLanguageCodeControl {
|
|
362
|
+
/**
|
|
363
|
+
* If the input contains a language code it is passed through; otherwise the configured
|
|
364
|
+
* `languageCode` is used as a fallback.
|
|
365
|
+
*/
|
|
366
|
+
static readonly FOLLOW_INPUT: AudioLanguageCodeControl;
|
|
367
|
+
/** The configured `languageCode` is always used. */
|
|
368
|
+
static readonly USE_CONFIGURED: AudioLanguageCodeControl;
|
|
369
|
+
/** A value not yet modelled by AWS CDK. */
|
|
370
|
+
static of(value: string): AudioLanguageCodeControl;
|
|
371
|
+
/** The underlying string value passed to CloudFormation. */
|
|
372
|
+
readonly value: string;
|
|
373
|
+
private constructor();
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* The audio type, as defined in ISO/IEC 13818-1.
|
|
377
|
+
*/
|
|
378
|
+
export declare class AudioType {
|
|
379
|
+
/** Clean effects (no dialogue). */
|
|
380
|
+
static readonly CLEAN_EFFECTS: AudioType;
|
|
381
|
+
/** Hearing impaired. */
|
|
382
|
+
static readonly HEARING_IMPAIRED: AudioType;
|
|
383
|
+
/** Undefined. */
|
|
384
|
+
static readonly UNDEFINED: AudioType;
|
|
385
|
+
/** Visual impaired commentary. */
|
|
386
|
+
static readonly VISUAL_IMPAIRED_COMMENTARY: AudioType;
|
|
387
|
+
/** A value not yet modelled by AWS CDK. */
|
|
388
|
+
static of(value: string): AudioType;
|
|
389
|
+
/** The underlying string value passed to CloudFormation. */
|
|
390
|
+
readonly value: string;
|
|
391
|
+
private constructor();
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* DVB DASH accessibility signaling for an audio output.
|
|
395
|
+
*/
|
|
396
|
+
export declare class DvbDashAccessibility {
|
|
397
|
+
/** Visually impaired. */
|
|
398
|
+
static readonly VISUALLY_IMPAIRED: DvbDashAccessibility;
|
|
399
|
+
/** Hard of hearing. */
|
|
400
|
+
static readonly HARD_OF_HEARING: DvbDashAccessibility;
|
|
401
|
+
/** Supplemental commentary. */
|
|
402
|
+
static readonly SUPPLEMENTAL_COMMENTARY: DvbDashAccessibility;
|
|
403
|
+
/** Director's commentary. */
|
|
404
|
+
static readonly DIRECTORS_COMMENTARY: DvbDashAccessibility;
|
|
405
|
+
/** Educational notes. */
|
|
406
|
+
static readonly EDUCATIONAL_NOTES: DvbDashAccessibility;
|
|
407
|
+
/** Main program. */
|
|
408
|
+
static readonly MAIN_PROGRAM: DvbDashAccessibility;
|
|
409
|
+
/** Clean feed. */
|
|
410
|
+
static readonly CLEAN_FEED: DvbDashAccessibility;
|
|
411
|
+
/** A value not yet modelled by AWS CDK. */
|
|
412
|
+
static of(value: string): DvbDashAccessibility;
|
|
413
|
+
/** The underlying string value passed to CloudFormation. */
|
|
414
|
+
readonly value: string;
|
|
415
|
+
private constructor();
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* A DASH role to assign to an audio output (used when the output carries DVB DASH accessibility
|
|
419
|
+
* signaling).
|
|
420
|
+
*/
|
|
421
|
+
export declare class AudioDashRole {
|
|
422
|
+
/** Alternate. */
|
|
423
|
+
static readonly ALTERNATE: AudioDashRole;
|
|
424
|
+
/** Commentary. */
|
|
425
|
+
static readonly COMMENTARY: AudioDashRole;
|
|
426
|
+
/** Description. */
|
|
427
|
+
static readonly DESCRIPTION: AudioDashRole;
|
|
428
|
+
/** Dub. */
|
|
429
|
+
static readonly DUB: AudioDashRole;
|
|
430
|
+
/** Emergency. */
|
|
431
|
+
static readonly EMERGENCY: AudioDashRole;
|
|
432
|
+
/** Enhanced audio intelligibility. */
|
|
433
|
+
static readonly ENHANCED_AUDIO_INTELLIGIBILITY: AudioDashRole;
|
|
434
|
+
/** Karaoke. */
|
|
435
|
+
static readonly KARAOKE: AudioDashRole;
|
|
436
|
+
/** Main. */
|
|
437
|
+
static readonly MAIN: AudioDashRole;
|
|
438
|
+
/** Supplementary. */
|
|
439
|
+
static readonly SUPPLEMENTARY: AudioDashRole;
|
|
440
|
+
/** A value not yet modelled by AWS CDK. */
|
|
441
|
+
static of(value: string): AudioDashRole;
|
|
442
|
+
/** The underlying string value passed to CloudFormation. */
|
|
443
|
+
readonly value: string;
|
|
444
|
+
private constructor();
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Properties for an audio encode configuration.
|
|
448
|
+
*/
|
|
449
|
+
export interface AudioEncodeProps {
|
|
450
|
+
/**
|
|
451
|
+
* A unique name for this audio encode.
|
|
452
|
+
*/
|
|
453
|
+
readonly name: string;
|
|
454
|
+
/**
|
|
455
|
+
* The name of the audio selector in the input to use as the source. Must match the `name` of an
|
|
456
|
+
* `AudioSelector` on the input attachment. When omitted, MediaLive uses the input's default audio.
|
|
457
|
+
* @default - the input's default audio
|
|
458
|
+
*/
|
|
459
|
+
readonly audioSelectorName?: string;
|
|
460
|
+
/**
|
|
461
|
+
* The codec for the audio encode.
|
|
462
|
+
*
|
|
463
|
+
* Choose the codec explicitly (e.g. `AudioCodecSettings.aac(...)`)
|
|
464
|
+
*/
|
|
465
|
+
readonly codec: AudioCodecSettings;
|
|
466
|
+
/**
|
|
467
|
+
* The ISO 639-2 language code for the audio output track (e.g. 'eng', 'spa').
|
|
468
|
+
* @default - follow input
|
|
469
|
+
*/
|
|
470
|
+
readonly languageCode?: string;
|
|
471
|
+
/**
|
|
472
|
+
* How the audio language code is signaled in the output. When `FOLLOW_INPUT`, a configured
|
|
473
|
+
* `languageCode` is used only as a fallback when the input has none.
|
|
474
|
+
* @default - USE_CONFIGURED when `languageCode` is set, otherwise FOLLOW_INPUT
|
|
475
|
+
*/
|
|
476
|
+
readonly languageCodeControl?: AudioLanguageCodeControl;
|
|
477
|
+
/**
|
|
478
|
+
* The display name for the audio track (e.g. 'English', 'Director Commentary').
|
|
479
|
+
* Used for HLS and MS Smooth outputs.
|
|
480
|
+
* @default - no stream name
|
|
481
|
+
*/
|
|
482
|
+
readonly streamName?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Audio normalization settings for loudness correction.
|
|
485
|
+
* @default - no normalization
|
|
486
|
+
*/
|
|
487
|
+
readonly audioNormalization?: AudioNormalizationSettings;
|
|
488
|
+
/**
|
|
489
|
+
* The audio type when audioTypeControl is USE_CONFIGURED. The values are defined in ISO-IEC 13818-1.
|
|
490
|
+
* @default - follow input
|
|
491
|
+
*/
|
|
492
|
+
readonly audioType?: AudioType;
|
|
493
|
+
/**
|
|
494
|
+
* How the audio type is signaled in the output.
|
|
495
|
+
* @default - USE_CONFIGURED when `audioType` is set, otherwise FOLLOW_INPUT
|
|
496
|
+
*/
|
|
497
|
+
readonly audioTypeControl?: AudioTypeControl;
|
|
498
|
+
/**
|
|
499
|
+
* The DASH roles to assign to this audio output. Applies only when the output is configured
|
|
500
|
+
* for DVB DASH accessibility signaling.
|
|
501
|
+
* @default - no DASH roles
|
|
502
|
+
*/
|
|
503
|
+
readonly audioDashRoles?: AudioDashRole[];
|
|
504
|
+
/**
|
|
505
|
+
* DVB DASH accessibility signaling for this audio output.
|
|
506
|
+
* @default - no DVB DASH accessibility signaling
|
|
507
|
+
*/
|
|
508
|
+
readonly dvbDashAccessibility?: DvbDashAccessibility;
|
|
509
|
+
/**
|
|
510
|
+
* Audio remix settings for channel remapping.
|
|
511
|
+
* @default - no remixing
|
|
512
|
+
*/
|
|
513
|
+
readonly remixSettings?: RemixSettings;
|
|
514
|
+
/**
|
|
515
|
+
* Audio watermarking settings (e.g. Nielsen watermarks).
|
|
516
|
+
* @default - no watermarking
|
|
517
|
+
*/
|
|
518
|
+
readonly audioWatermarkSettings?: AudioWatermarkSettings;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Whether a caption track implements accessibility features (written descriptions of dialog,
|
|
522
|
+
* music, and sounds). Signaled in HLS and MediaPackage output groups.
|
|
523
|
+
*/
|
|
524
|
+
export declare class CaptionAccessibility {
|
|
525
|
+
/** The captions do not implement accessibility features. */
|
|
526
|
+
static readonly DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES: CaptionAccessibility;
|
|
527
|
+
/** The captions implement accessibility features. */
|
|
528
|
+
static readonly IMPLEMENTS_ACCESSIBILITY_FEATURES: CaptionAccessibility;
|
|
529
|
+
/** A value not yet modelled by AWS CDK. */
|
|
530
|
+
static of(value: string): CaptionAccessibility;
|
|
531
|
+
/** The underlying string value passed to CloudFormation. */
|
|
532
|
+
readonly value: string;
|
|
533
|
+
private constructor();
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* A DASH role to assign to a captions output (used when the output carries DVB DASH accessibility
|
|
537
|
+
* signaling).
|
|
538
|
+
*/
|
|
539
|
+
export declare class CaptionDashRole {
|
|
540
|
+
/** Alternate. */
|
|
541
|
+
static readonly ALTERNATE: CaptionDashRole;
|
|
542
|
+
/** Caption. */
|
|
543
|
+
static readonly CAPTION: CaptionDashRole;
|
|
544
|
+
/** Commentary. */
|
|
545
|
+
static readonly COMMENTARY: CaptionDashRole;
|
|
546
|
+
/** Description. */
|
|
547
|
+
static readonly DESCRIPTION: CaptionDashRole;
|
|
548
|
+
/** Dub. */
|
|
549
|
+
static readonly DUB: CaptionDashRole;
|
|
550
|
+
/** Easy reader. */
|
|
551
|
+
static readonly EASYREADER: CaptionDashRole;
|
|
552
|
+
/** Emergency. */
|
|
553
|
+
static readonly EMERGENCY: CaptionDashRole;
|
|
554
|
+
/** Forced subtitle. */
|
|
555
|
+
static readonly FORCED_SUBTITLE: CaptionDashRole;
|
|
556
|
+
/** Karaoke. */
|
|
557
|
+
static readonly KARAOKE: CaptionDashRole;
|
|
558
|
+
/** Main. */
|
|
559
|
+
static readonly MAIN: CaptionDashRole;
|
|
560
|
+
/** Metadata. */
|
|
561
|
+
static readonly METADATA: CaptionDashRole;
|
|
562
|
+
/** Subtitle. */
|
|
563
|
+
static readonly SUBTITLE: CaptionDashRole;
|
|
564
|
+
/** Supplementary. */
|
|
565
|
+
static readonly SUPPLEMENTARY: CaptionDashRole;
|
|
566
|
+
/** A value not yet modelled by AWS CDK. */
|
|
567
|
+
static of(value: string): CaptionDashRole;
|
|
568
|
+
/** The underlying string value passed to CloudFormation. */
|
|
569
|
+
readonly value: string;
|
|
570
|
+
private constructor();
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Properties for a caption encode configuration.
|
|
574
|
+
*/
|
|
575
|
+
export interface CaptionEncodeProps {
|
|
576
|
+
/**
|
|
577
|
+
* A unique name for this caption encode.
|
|
578
|
+
*/
|
|
579
|
+
readonly name: string;
|
|
580
|
+
/**
|
|
581
|
+
* The name of the caption selector in the input to use as the source.
|
|
582
|
+
*/
|
|
583
|
+
readonly captionSelectorName: string;
|
|
584
|
+
/**
|
|
585
|
+
* The output caption format. Use the `CaptionDestination` factory methods (e.g.
|
|
586
|
+
* `CaptionDestination.burnIn()`, `.webvtt()`, `.embedded()`).
|
|
587
|
+
*/
|
|
588
|
+
readonly destination: CaptionDestination;
|
|
589
|
+
/**
|
|
590
|
+
* The ISO 639-2 language code for the captions (e.g. 'eng', 'spa').
|
|
591
|
+
* @default - no language code
|
|
592
|
+
*/
|
|
593
|
+
readonly languageCode?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Human-readable description of the captions (e.g. 'English', 'Spanish').
|
|
596
|
+
* @default - no language description
|
|
597
|
+
*/
|
|
598
|
+
readonly languageDescription?: string;
|
|
599
|
+
/**
|
|
600
|
+
* Whether this caption track implements accessibility features.
|
|
601
|
+
* @default - The captions do not implement accessibility features
|
|
602
|
+
*/
|
|
603
|
+
readonly accessibility?: CaptionAccessibility;
|
|
604
|
+
/**
|
|
605
|
+
* The DASH roles to assign to this captions output. Applies only when the output is configured
|
|
606
|
+
* for DVB DASH accessibility signaling.
|
|
607
|
+
* @default - no DASH roles
|
|
608
|
+
*/
|
|
609
|
+
readonly captionDashRoles?: CaptionDashRole[];
|
|
610
|
+
/**
|
|
611
|
+
* DVB DASH accessibility signaling for this captions output.
|
|
612
|
+
* @default - no DVB DASH accessibility signaling
|
|
613
|
+
*/
|
|
614
|
+
readonly dvbDashAccessibility?: DvbDashAccessibility;
|
|
615
|
+
}
|