Class ProfileFile

java.lang.Object
software.amazon.awssdk.profiles.ProfileFile

public final class ProfileFile extends Object
Provides programmatic access to the contents of an AWS configuration profile file. AWS configuration profiles allow you to share multiple sets of AWS security credentials between different tools such as the AWS SDK for Java and the AWS CLI.

For more information on setting up AWS configuration profiles, see: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

A profile file can be created with builder() and merged with other profiles files with aggregator(). By default, the SDK will use the defaultProfileFile() when that behavior hasn't been explicitly overridden.