Skip to content

TranscodeJobProps

Properties for defining a TranscodeJob.

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

Initializer

import ros_cdk_mps
ros_cdk_mps.TranscodeJobProps(
  input: typing.Union[IResolvable, typing.Mapping[typing.Any]],
  output_bucket: typing.Union[str, IResolvable],
  outputs: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]],
  pipeline_id: typing.Union[str, IResolvable],
  output_location: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
input typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property input: Job input.
output_bucket typing.Union[str, ros_cdk_core.IResolvable] Property outputBucket: The name of the OSS bucket where the output files are stored.
outputs typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]] Property outputs: The output configuration of the job.
pipeline_id typing.Union[str, ros_cdk_core.IResolvable] Property pipelineId: The ID of the pipeline.
output_location typing.Union[str, ros_cdk_core.IResolvable] Property outputLocation: The OSS region (OSS Region) where the output bucket resides.

inputRequired

input: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.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.

output_bucketRequired

output_bucket: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


outputsRequired

outputs: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]]

Property outputs: The output configuration of the job.

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


pipeline_idRequired

pipeline_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property pipelineId: The ID of the pipeline.


output_locationOptional

output_location: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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