Skip to content

TranscodeJobProps

Properties for defining a TranscodeJob.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-transcodejob

Initializer

import { TranscodeJobProps } from '@alicloud/ros-cdk-mps'
const transcodeJobProps: TranscodeJobProps = { ... }

Properties

Name Type Description
input @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property input: Job input.
outputBucket string | @alicloud/ros-cdk-core.IResolvable Property outputBucket: The name of the OSS bucket where the output files are stored.
outputs @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}[] Property outputs: The output configuration of the job.
pipelineId string | @alicloud/ros-cdk-core.IResolvable Property pipelineId: The ID of the pipeline.
outputLocation string | @alicloud/ros-cdk-core.IResolvable Property outputLocation: The OSS region (OSS Region) where the output bucket resides.

inputRequired

public readonly input: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property input: Job input.

  • In ApsaraVideo Media Processing APIs, the Object value must be URL-encoded using UTF-8 encoding.
  • The OSS region must match the region where MPS is deployed.

outputBucketRequired

public readonly outputBucket: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property outputBucket: The name of the OSS bucket where the output files are stored.


outputsRequired

public readonly outputs: IResolvable | {[ key: string ]: any}[];
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}[]

Property outputs: The output configuration of the job.

Consists of a list of Output objects, JSON array, with a maximum size of 30.


pipelineIdRequired

public readonly pipelineId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property pipelineId: The ID of the pipeline.


outputLocationOptional

public readonly outputLocation: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property outputLocation: The OSS region (OSS Region) where the output bucket resides.

The OSS bucket must be in the same region as the ApsaraVideo Media Processing service. - Follows the OSS bucket definition.


Protocols