Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAwsSdkConfig ¶
func GetAwsSdkConfig(conf AWSSDKConfig) (*aws.Config, error)
Types ¶
type AWSAuthenticationMethod ¶
type AWSAuthenticationMethod string
const ( Static AWSAuthenticationMethod = "static" Default AWSAuthenticationMethod = "default" AssumeRole AWSAuthenticationMethod = "role" )
type AWSSDKConfig ¶
type AWSSDKConfig struct { AWSAuthenticationMethod AWSAuthenticationMethod `mapstructure:"auth_method"` EndpointURL string `mapstructure:"endpoint_url"` AccessKeyID string `mapstructure:"access_key_id"` SecretAccessKey cconfig.Password `mapstructure:"secret_access_key"` SessionToken cconfig.Password `mapstructure:"session_token"` Region string `mapstructure:"region"` RoleARN string `mapstructure:"role_arn"` }
func RunAWSEmulationLocalStackDocker ¶
func RunAWSEmulationLocalStackDocker() (func() error, func() error, *AWSSDKConfig, error)
Click to show internal directories.
Click to hide internal directories.