EC2Aliases.

IsInstanceTerminated(ICakeContext, string, EC2Settings) Method

Summary

Check if the selected instance is currently terminated.
Assembly
Cake.AWS.EC2.dll
Namespace
Cake.AWS.EC2
Containing Type
EC2Aliases

Syntax

public static Task<bool> IsInstanceTerminated(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>