DATASOURCE::VOD::EditingProject

DATASOURCE::VOD::EditingProject类型用于获取单个云剪辑工程。

语法

{
  "Type": "DATASOURCE::VOD::EditingProject",
  "Properties": {
    "EditingProjectId": String,
    "RefreshOptions": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

EditingProjectId

String

云剪辑工程 ID。

RefreshOptions

String

当资源栈更新时,数据源资源的刷新策略。

有效值:

  • Never(默认值):更新堆栈时,从不刷新数据源资源。

  • Always:更新堆栈时,始终刷新数据源资源。

返回值

Fn::GetAtt

  • EditingProjectName:云剪辑工程名称

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

  • ModifiedTime:云剪辑工程最新修改时间。

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

  • Title:云剪辑工程标题。

  • EditingProjectId:云剪辑工程 ID。

示例

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  EditingProjectId:
    Type: String
    Description:
      en: The ID of the online editing project.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::VOD::EditingProject
    Properties:
      EditingProjectId:
        Ref: EditingProjectId
Outputs:
  EditingProjectName:
    Description: The name of the online editing project.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - EditingProjectName
  Timeline:
    Description: The timeline of the online editing project.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Timeline
  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:
        - ExtensionDataSource
        - ModifiedTime
  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:
        - ExtensionDataSource
        - CreateTime
  Title:
    Description: The title of the online editing project.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Title
  EditingProjectId:
    Description: The ID of the online editing project.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - EditingProjectId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "EditingProjectId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the online editing project."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::VOD::EditingProject",
      "Properties": {
        "EditingProjectId": {
          "Ref": "EditingProjectId"
        }
      }
    }
  },
  "Outputs": {
    "EditingProjectName": {
      "Description": "The name of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjectName"
        ]
      }
    },
    "Timeline": {
      "Description": "The timeline of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Timeline"
        ]
      }
    },
    "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": [
          "ExtensionDataSource",
          "ModifiedTime"
        ]
      }
    },
    "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": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "Title": {
      "Description": "The title of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Title"
        ]
      }
    },
    "EditingProjectId": {
      "Description": "The ID of the online editing project.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjectId"
        ]
      }
    }
  }
}