DATASOURCE::ECS::Command is used to query an available command that is manually created.
Syntax
{
"Type": "DATASOURCE::ECS::Command",
"Properties": {
"CommandId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
CommandId | String | Yes | Yes | The command ID. | None. |
Return values
Fn::GetAtt
WorkingDir: the execution path.
CommandContent: the command content.
Type: the command type.
Description: the description of the command.
ParameterNames: the custom parameter names that are parsed from the command content that you specified by using CommandContent when you created the command.
Timeout: the timeout period.
CreateTime: the time when the command was created.
EnableParameter: indicates whether the custom parameter feature is enabled.
CommandName: the command name.
CommandId: the command ID.
Tags: the information about tags of the command.