in src/Amazon.Extensions.Configuration.SystemsManager/AppConfig/AppConfigExtensions.cs [220:233]
public static IConfigurationBuilder AddAppConfig(this IConfigurationBuilder builder, AppConfigConfigurationSource source)
{
if (source == null) throw new ArgumentNullException(nameof(source));
if (source.ApplicationId == null) throw new ArgumentNullException(nameof(source.ApplicationId));
if (source.EnvironmentId == null) throw new ArgumentNullException(nameof(source.EnvironmentId));
if (source.ConfigProfileId == null) throw new ArgumentNullException(nameof(source.ConfigProfileId));
if (source.AwsOptions == null)
{
source.AwsOptions = AwsOptionsProvider.GetAwsOptions(builder);
}
return builder.Add(source);
}