This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.EC2.
Summary
Check if the selected instance is currently pending.
Syntax
public static Task<bool> IsInstancePending(this ICakeContext context, string instance, EC2Settings settings)
Attributes
| Type |
Description |
| AsyncStateMachineAttribute |
|
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The cake context. |
| instance |
string |
A instance ID to check. |
| settings |
EC2Settings |
The EC2Settings used during the request to AWS. |
Return Value
| Type |
Description |
| Task<bool> |
|