awscfg

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL