EC2Settings Class

Summary

The settings to use with downlad requests to Amazon EC2
Assembly
Cake.AWS.EC2.dll
Namespace
Cake.AWS.EC2
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EC2Settings"] class Type type-node

Syntax

public class EC2Settings

Constructors

Name Summary
EC2Settings() Initializes a new instance of the EC2Settings class.

Properties

Name Value Summary
AccessKey string
The AWS Access Key ID
Region RegionEndpoint
The endpoints available to AWS clients.
SecretKey string
The AWS Secret Access Key.
SessionToken string
The AWS Session Token, if using temporary credentials.

Extension Methods

Name Value Summary
Dump<EC2Settings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<EC2Settings>(EC2Settings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<EC2Settings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<EC2Settings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetAccessKey(string) EC2Settings
Specifies the AWS Access Key to use as credentials.
Requires the Cake.AWS.EC2 addin
SetRegion(RegionEndpoint) EC2Settings
Specifies the endpoints available to AWS clients.
Requires the Cake.AWS.EC2 addin
SetRegion(string) EC2Settings
Specifies the endpoints available to AWS clients.
Requires the Cake.AWS.EC2 addin
SetSecretKey(string) EC2Settings
Specifies the AWS Secret Key to use as credentials.
Requires the Cake.AWS.EC2 addin
SetSessionToken(string) EC2Settings
Specifies the AWS Session Token to use as credentials.
Requires the Cake.AWS.EC2 addin
ThrowIfNull<EC2Settings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<EC2Settings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin