title: AWS Configuration with Autofac
body: <p>I am using Autofac and want to configure AmazonSimpleEmailService.
  I am looking for the equivalent of</p>
  <pre><code>services.AddDefaultAWSOptions(_configuration.GetAWSOptions());
  services.AddAWSService&lt;IAmazonSimpleEmailService&gt;();
  </code></pre>
  <p>So far, I tried the code below, however I could not yet solved Parameter part.</p>
  <pre><code>builder.Register(c =&gt; _configuration.GetAWSOptions()); &lt;&lt;-- I dont think it will work.
  builder.RegisterType&lt;AmazonSimpleEmailServiceClient&gt;() 
      .As&lt;IAmazonSimpleEmailService&gt;()
      .WithParameter(new TypedParameter(typeof(AmazonSimpleEmailServiceConfig), ))
  </code></pre>
  <p>Is there an easy way of declaring this?</p>