Configures a patch baseline for an Elastic Compute Service (ECS) instance.
Description
Configures a patch baseline for an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::ApplyPatchBaseline
Properties:
regionId: String
instanceId: String
action: String
rebootIfNeed: Boolean
timeout: Number
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ID of the ECS instance. |
String |
Yes |
||
|
action |
The operation to perform on the patch baseline. |
String |
No |
install |
|
|
whetherCreateSnapshot |
Whether to create a snapshot. |
Boolean |
No |
False |
|
|
retentionDays |
The retention period of the snapshot. Valid values: 1 to 65536. Unit: day. |
String |
No |
"" |
|
|
rebootIfNeed |
Whether to restart the ECS instance if needed. |
Boolean |
No |
False |
|
|
timeout |
The timeout for running the command on the ECS instance. |
Number |
No |
1800 |
Output
|
Output item |
Description |
Type |
|
commandOutput |
String |
References
For more information, see ACS::ECS::ApplyPatchBaseline.yml at GitHub.