Beispiel #1
0
func EC2(req Request) *ec2.EC2 {
	return ec2.New(&aws.Config{
		Credentials: Credentials(&req),
		Region:      Region(&req),
	})
}
Beispiel #2
0
func EC2() *ec2.EC2 {
	return ec2.New(awsConfig())
}