Documentation
¶
Overview ¶
Package aws handles Amazon Web Services actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Region to connect to for api calls.
Region string
// RoleARN is the arn of the role to be assumed.
// If empty, we won't assume a role and will use the normal
// AWS authentication methods
RoleARN string
}
Config configures our aws clients.
func (*Config) CreateSession ¶
CreateSession creates a new valid AWS session to be used by AWS clients. If RoleARN is not empty, we will assume a role and name that role whatever is passed in as sessionName. Otherwise we'll create a session using the AWS SDK's normal mechanism.
Click to show internal directories.
Click to hide internal directories.