class OcrLanguage
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.OcrLanguage |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#OcrLanguage |
Java | software.amazon.awscdk.services.medialive.alpha.OcrLanguage |
Python | aws_cdk.aws_medialive_alpha.OcrLanguage |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป OcrLanguage |
The OCR language to use when converting an image-based caption source to text.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const ocrLanguage = medialive_alpha.OcrLanguage.DEU;
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static DEU | Ocr | German. |
| static ENG | Ocr | English. |
| static FRA | Ocr | French. |
| static NLD | Ocr | Dutch. |
| static POR | Ocr | Portuguese. |
| static SPA | Ocr | Spanish. |
value
Type:
string
The underlying string value passed to CloudFormation.
static DEU
Type:
Ocr
German.
static ENG
Type:
Ocr
English.
static FRA
Type:
Ocr
French.
static NLD
Type:
Ocr
Dutch.
static POR
Type:
Ocr
Portuguese.
static SPA
Type:
Ocr
Spanish.
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): OcrLanguage
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (