EC2Aliases.

GetTagValue(ICakeContext, string, string, EC2Settings) Method

Summary

Describes one or more of the tags for your EC2 resources.
Assembly
Cake.AWS.EC2.dll
Namespace
Cake.AWS.EC2
Containing Type
EC2Aliases

Syntax

public static Task<string> GetTagValue(this ICakeContext context, string instance, string key, EC2Settings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
instance string A instance ID to check.
key string The key of the tag.
settings EC2Settings The EC2Settings used during the request to AWS.

Return Value

Type Description
Task<string>