in src/Amazon.Extensions.Configuration.SystemsManager/SystemsManagerExtensions.cs [168:180]
public static IConfigurationBuilder AddSystemsManager(this IConfigurationBuilder builder, Action<SystemsManagerConfigurationSource> configureSource)
{
if (configureSource == null) throw new ArgumentNullException(nameof(configureSource));
var source = new SystemsManagerConfigurationSource();
configureSource(source);
if (string.IsNullOrWhiteSpace(source.Path)) throw new ArgumentNullException(nameof(source.Path));
if (source.AwsOptions != null) return builder.Add(source);
source.AwsOptions = AwsOptionsProvider.GetAwsOptions(builder);
return builder.Add(source);
}