All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::VOD::EditingProject

更新时间:Apr 24, 2025

DATASOURCE::VOD::EditingProject is used to query an online editing project.

Syntax

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

Properties

Property

Type

Required

Editable

Description

Constraint

EditingProjectId

String

Yes

Yes

The ID of the online editing project.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values

Fn::GetAtt

  • EditingProjectName: the name of the online editing project.

  • Timeline: the timeline of the online editing project.

  • ModifiedTime: the time when the online editing project was last modified.

  • CreateTime: the time when the online editing project was created.

  • Title: the title of the online editing project.

  • EditingProjectId: the ID of the online editing project.

Examples

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"
        ]
      }
    }
  }
}