AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a profile in the configuration file. For example in ~/.aws/config [profile foo] name = value Profile profile = new Profile("foo"); When this is set on the ClientConfig and that config is passed to the service client constructor the sdk will try to find the credentials associated with the Profile.Name property If set, this will override AWS_PROFILE and AWSConfigs.ProfileName.
Namespace: Amazon
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class Profile
The Profile type exposes the following members
Name | Description | |
---|---|---|
Profile(string) |
This represents a profile in the configuration file with the given name |
|
Profile(string, string) |
This represents a profile in the configuration file with the given name in the given location |
Name | Type | Description | |
---|---|---|---|
Location | System.String |
Specifies the location of the profile you want to use. This is optional. If none is set then it will look in the default location |
|
Name | System.String |
The name of the profile you want to use |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5