-
Notifications
You must be signed in to change notification settings - Fork 726
/
Copy pathAWSProfileInfo.cs
42 lines (37 loc) · 1.14 KB
/
AWSProfileInfo.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
namespace NETworkManager.Models.AWS;
/// <summary>
/// Class is used to store information about an AWS profile.
/// </summary>
public class AWSProfileInfo
{
/// <summary>
/// Create an empty instance of <see cref="AWSProfileInfo" />.
/// </summary>
public AWSProfileInfo()
{
}
/// <summary>
/// Create an instance of <see cref="AWSProfileInfo" /> with parameters.
/// </summary>
/// <param name="isEnabled"><see cref="IsEnabled" />.</param>
/// <param name="profile"><see cref="Profile" />.</param>
/// <param name="region"><see cref="Region" />.</param>
public AWSProfileInfo(bool isEnabled, string profile, string region)
{
IsEnabled = isEnabled;
Profile = profile;
Region = region;
}
/// <summary>
/// Indicates if the AWS profile is enabled.
/// </summary>
public bool IsEnabled { get; set; }
/// <summary>
/// Name of the profile configured in ~\.aws\credentials.
/// </summary>
public string Profile { get; set; }
/// <summary>
/// AWS region.
/// </summary>
public string Region { get; set; }
}