DATASOURCE::VOD::EditingProject类型用于获取单个云剪辑工程。
语法
{
"Type": "DATASOURCE::VOD::EditingProject",
"Properties": {
"EditingProjectId": String,
"RefreshOptions": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
EditingProjectId | String | 是 | 是 | 云剪辑工程 ID。 | 无 |
RefreshOptions | String | 否 | 是 | 当资源栈更新时,数据源资源的刷新策略。 | 有效值:
|
返回值
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"
]
}
}
}
}
该文章对您有帮助吗?