Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSTransport ¶
type AWSTransport struct {
*reverseproxy.HTTPTransport `json:"transport,omitempty"`
// One part of the AWS security credentials identifying the service user
AccessKeyID string `json:"access_key_id,omitempty"`
// The other part of the AWS security credentials
SecretAccessKey string `json:"secret_access_key,omitempty"`
// The AWS region, e.g. us-east-2
Region string `json:"region,omitempty"`
// The upstream AWS service
Service string `json:"service,omitempty"`
}
The AWS transport module injects the AWS V4 Signature for requests proxied to AWS services. It also implicitly calculates and sets the `x-amz-content-sha256` header value.
func (*AWSTransport) CaddyModule ¶
func (*AWSTransport) CaddyModule() caddy.ModuleInfo
CaddyModule implements caddy.Module.
func (*AWSTransport) Provision ¶
func (a *AWSTransport) Provision(ctx caddy.Context) error
Provision implements caddy.Provisioner.
func (*AWSTransport) UnmarshalCaddyfile ¶
func (a *AWSTransport) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.