Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Service = dependency.Service{ Name: "aws-cfg", ConfigFunc: func(set dependency.FlagSet) { set.String("aws-access-key-id", "", "The key to use to communicate") set.String("aws-mfa-serial-number", "", "The mfa serial number to communicate to AWS with") set.String("aws-default-region", "eu-west-1", "The AWS region that we are accessing resources in") set.String("aws-role-arn", "", "The AWS Role ARN to use to communicate to AWS with") set.String("aws-secret-access-key", "", "The secret key associated with the access key, to use to communicate to AWS") set.String("aws-session-token", "", "The session token to use to communicate to AWS with") set.String("aws-endpoint-url", "", "The endpoint URL that is used as AWSs API endpoint") }, Constructor: NewAWSCfg, }
Service is a dependency that will provide a gizmo aws.Config struct
Functions ¶
func NewAWSCfg ¶
func NewAWSCfg(config dependency.ConfigGetter) aws.Config
NewAWSCfg configures an aws.Config with the given dependency.ConfigGetter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.