|
AssociationProperty value
|
Description
|
Corresponding AssociationPropertyMetadata
|
|
ALIYUN::OOS::Command::CommandContent
|
An OOS command execution script.
|
CommandType: The command type.
Valid values:
-
RunBatScript
-
RunPowerShellScript
-
RunShellScript
-
RunPythonScript
-
RunPerlScript
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CommandContent": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Command::CommandContent",
"AssociationPropertyMetadata": {
"CommandType": "RunPythonScript"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CommandContent:
Type: String
AssociationProperty: ALIYUN::OOS::Command::CommandContent
AssociationPropertyMetadata:
CommandType: RunPythonScript
-
Example description
The AssociationProperty of the CommandContent parameter is set to ALIYUN::OOS::Command::CommandContent, with CommandType as metadata. This executes an OOS script.
|
|
ALIYUN::OOS::Component::TimerTrigger
|
An OOS timer trigger component.
|
RegionId: The region ID. The default value is the region of the stack.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"TimerTrigger": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Component::TimerTrigger",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
TimerTrigger:
Type: String
AssociationProperty: ALIYUN::OOS::Component::TimerTrigger
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the TimerTrigger parameter is set to ALIYUN::OOS::Component::TimerTrigger, with RegionId as metadata. This configures an OOS timer trigger component.
|
|
ALIYUN::OOS::File::FileUrl
|
The URL of the file to upload.
|
-
RegionId: The region ID. The default value is the region of the stack.
-
FileType: The format used for the export.
Valid values: local, https, github, and oss.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"FileUrl": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::File::FileUrl",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
FileUrl:
Type: String
AssociationProperty: ALIYUN::OOS::File::FileUrl
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the FileUrl parameter is set to ALIYUN::OOS::File::FileUrl. This uploads a file to OSS.
|
|
ALIYUN::OOS::Package::PackageName
|
The name of the OOS package.
|
RegionId: The region ID. The default value is the region of the stack.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"PackageName": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Package::PackageName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
PackageName:
Type: String
AssociationProperty: ALIYUN::OOS::Package::PackageName
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the PackageName parameter is set to ALIYUN::OOS::Package::PackageName, with RegionId as metadata. This retrieves OOS package information in the current region.
|
|
ALIYUN::OOS::Package::PackageVersion
|
The version of the OOS package.
|
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"PackageName": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Package::PackageName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"PackageVersion": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Package::PackageVersion",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"TemplateName": "${PackageName}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
PackageName:
Type: String
AssociationProperty: ALIYUN::OOS::Package::PackageName
AssociationPropertyMetadata:
RegionId: ${RegionId}
PackageVersion:
Type: String
AssociationProperty: ALIYUN::OOS::Package::PackageVersion
AssociationPropertyMetadata:
RegionId: ${RegionId}
TemplateName: ${PackageName}
-
Example description
The AssociationProperty of the PackageVersion parameter is set to ALIYUN::OOS::Package::PackageVersion, with RegionId and TemplateName as metadata. This retrieves version information for OOS packages in the current region.
|
|
ALIYUN::OOS::Parameter::Value
|
A standard OOS parameter.
|
RegionId: The region ID. The default value is the region of the stack.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"ParameterValue": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Parameter::Value",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
ParameterValue:
Type: String
AssociationProperty: ALIYUN::OOS::Parameter::Value
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the ParameterValue parameter is set to ALIYUN::OOS::Parameter::Value, with RegionId as metadata. This retrieves standard OOS parameters in the current region.
|
|
ALIYUN::OOS::PatchBaseline::PatchBaselineName
|
The name of an OOS patch baseline.
|
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"OOSPatchBaselineName": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::PatchBaseline::PatchBaselineName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
OOSPatchBaselineName:
Type: String
AssociationProperty: ALIYUN::OOS::PatchBaseline::PatchBaselineName
AssociationPropertyMetadata:
RegionId: ${RegionId}
|
|
ALIYUN::OOS::SecretParameter::Value
|
An OOS encrypted parameter.
|
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"SecretParameter": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::SecretParameter::Value",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
SecretParameter:
Type: String
AssociationProperty: ALIYUN::OOS::SecretParameter::Value
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the SecretParameter parameter is set to ALIYUN::OOS::SecretParameter::Value, with RegionId as metadata. This retrieves OOS encrypted parameters in the current region.
|
|
ALIYUN::OOS::Template::Content
|
The content of the OOS template.
|
-
RegionId: The region ID. The default value is the region of the stack.
-
TemplateVersion: The version of the OOS template.
-
TemplateReadOnly: Specifies whether the template is read-only.
-
TemplateName: The name of the OOS template.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"TemplateContent": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Template::Content",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
TemplateContent:
Type: String
AssociationProperty: ALIYUN::OOS::Template::Content
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the TemplateName parameter is set to ALIYUN::OOS::Template::TemplateName, with AssociationPropertyMetadata set to RegionId. This retrieves OOS template content for the current region.
|
|
ALIYUN::OOS::Template::TemplateName
|
The name of the OOS template.
|
RegionId: The region ID. The default value is the region of the stack.
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"TemplateName": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Template::TemplateName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
TemplateName:
Type: String
AssociationProperty: ALIYUN::OOS::Template::TemplateName
AssociationPropertyMetadata:
RegionId: ${RegionId}
-
Example description
The AssociationProperty of the TemplateName parameter is set to ALIYUN::OOS::Template::TemplateName, with RegionId as metadata. This retrieves the names of OOS templates in the current region.
|
|
ALIYUN::OOS::Template::TemplateVersion
|
The version of the OOS template.
|
Example:
-
Sample code
JSON example: {
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RegionId": {
"Type": "String",
"AssociationProperty": "ALIYUN::ECS::RegionId"
},
"TemplateName": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Template::TemplateName",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}"
}
},
"TemplateVersion": {
"Type": "String",
"AssociationProperty": "ALIYUN::OOS::Template::TemplateVersion",
"AssociationPropertyMetadata": {
"RegionId": "${RegionId}",
"TemplateName": "${TemplateName}"
}
}
}
}
YAML example: ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RegionId:
Type: String
AssociationProperty: ALIYUN::ECS::RegionId
TemplateName:
Type: String
AssociationProperty: ALIYUN::OOS::Template::TemplateName
AssociationPropertyMetadata:
RegionId: ${RegionId}
TemplateVersion:
Type: String
AssociationProperty: ALIYUN::OOS::Template::TemplateVersion
AssociationPropertyMetadata:
RegionId: ${RegionId}
TemplateName: ${TemplateName}
-
Example description
The AssociationProperty of the TemplateVersion parameter is set to ALIYUN::OOS::Template::TemplateVersion, with RegionId and TemplateName as metadata. This retrieves version information for OOS templates in the current region.
|