code: func (f *Function) AWSConfig() *aws.Config {
  	region := f.Config.Region
  	if f.Config.Edge {
  		region = "us-east-1"
  	}
  
  	if len(region) > 0 {
  		return aws.NewConfig().WithRegion(region)
  	}
  	return nil
  }
docs: // AWSConfig returns AWS configuration if function has specified region.