全部产品
Search
文档中心

资源编排:ALIYUN::VOD::EditingProject

更新时间:Jun 02, 2023

ALIYUN::VOD::EditingProject类型用于创建云剪辑工程。

语法

{
  "Type": "ALIYUN::VOD::EditingProject",
  "Properties": {
    "EditingProjectName": String,
    "Timeline": String,
    "Title": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

EditingProjectName

String

在线编辑项目的名称。

Timeline

String

云剪辑工程时间线。

示例:

{"VideoTracks":[{"VideoTrackClips":[{"MediaId":"****4d7cf14dc7b83b0e801c****"},{"MediaId":"****4d7cf14dc7b83b0e801c****"}]}]}

Title

String

云剪辑工程标题。

返回值

Fn::GetAtt

  • EditingProjectName:在线编辑项目的名称。

  • Timeline:云剪辑工程时间线。

  • ModifiedTime:上次修改在线编辑项目的时间。 

  • CreateTime:云剪辑工程创建时间

  • Title:云剪辑工程标题

  • EditingProjectId:在线编辑项目的ID。

示例

YAML格式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Title:
    Description: The title of the online editing project.
    Type: String
Resources:
  ExtensionResource:
    Properties:
      Title:
        Ref: Title
    Type: ALIYUN::VOD::EditingProject
Outputs:
  CreateTime:
    Description: 'The time when the online editing project was created.

      The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The
      time is displayed in UTC.'
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - CreateTime
  EditingProjectId:
    Description: The ID of the online editing project.
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - EditingProjectId
  EditingProjectName:
    Description: The name of the online editing project.
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - EditingProjectName
  ModifiedTime:
    Description: 'The last time when the online editing project was modified.

      The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The
      time is displayed in UTC.'
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - ModifiedTime
  Timeline:
    Description: The timeline of the online editing project.
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - Timeline
  Title:
    Description: The title of the online editing project.
    Value:
      Fn::GetAtt:
      - ExtensionResource
      - Title

JSON格式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Title": {
      "Type": "String",
      "Description": "The title of the online editing project."
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::VOD::EditingProject",
      "Properties": {
        "Title": {
          "Ref": "Title"
        }
      }
    }
  },
  "Outputs": {
    "EditingProjectName": {
      "Description": "The name of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "EditingProjectName"
        ]
      }
    },
    "Timeline": {
      "Description": "The timeline of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Timeline"
        ]
      }
    },
    "ModifiedTime": {
      "Description": "The last time when the online editing project was modified.\nThe time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ModifiedTime"
        ]
      }
    },
    "CreateTime": {
      "Description": "The time when the online editing project was created.\nThe time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      }
    },
    "Title": {
      "Description": "The title of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Title"
        ]
      }
    },
    "EditingProjectId": {
      "Description": "The ID of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "EditingProjectId"
        ]
      }
    }
  }
}