All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::VOD::EditingProjects

Last Updated:Dec 26, 2024

DATASOURCE::VOD::EditingProjects is used to query the basic information about online editing projects.

Syntax

{
  "Type": "DATASOURCE::VOD::EditingProjects",
  "Properties": {
    "Title": String,
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Title

String

No

Yes

The title 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

  • EditingProjects: details of the online editing projects.

  • EditingProjectIds: the IDs of the online editing projects.

Property

Type

Description

Constraint

EditingProjectIds

List

The IDs of the online editing projects.

None.

EditingProjects

List

Details of the online editing projects.

None.

ModifiedTime

String

The time when the online editing project was last modified.  

None.

RegionId

String

The region ID of the online editing project.

None.

Title

String

The title of the online editing project.

None.

EditingProjectId

String

The name of the online editing project.

None.

Status

String

The status of the online editing project.

None.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Title:
    Description: The title of the online editing project.
    Type: String
Resources:
  ExtensionDataSource:
    Properties:
      Title:
        Ref: Title
    Type: DATASOURCE::VOD::EditingProjects
Outputs:
  EditingProjectIds:
    Description: The list of editing project IDs.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - EditingProjectIds
  EditingProjects:
    Description: The list of editing projects.
    Value:
      Fn::GetAtt:
      - ExtensionDataSource
      - EditingProjects
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Title": {
      "Type": "String",
      "Description": "The title of the online editing project."
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::VOD::EditingProjects",
      "Properties": {
        "Title": {
          "Ref": "Title"
        }
      }
    }
  },
  "Outputs": {
    "EditingProjects": {
      "Description": "The list of editing projects.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjects"
        ]
      }
    },
    "EditingProjectIds": {
      "Description": "The list of editing project IDs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "EditingProjectIds"
        ]
      }
    }
  }
}