internal T CreateServiceConfig()

in src/Aspire.Hosting.AWS/IAWSSDKConfig.cs [28:43]


    internal T CreateServiceConfig<T>() where T : ClientConfig, new()
    {
        var config = new T();

        if (!string.IsNullOrEmpty(Profile))
        {
            config.Profile = new Profile(Profile);
        }

        if (Region != null)
        {
            config.RegionEndpoint = Region;
        }

        return config;
    }