Exemplo n.º 1
0
func KMS(c *Crypt) *kms.KMS {
	return kms.New(&aws.Config{
		Credentials: credentials.NewCredentials(&Credentials{Crypt: c}),
	})
}
Exemplo n.º 2
0
func RDS() *rds.RDS {
	return rds.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 3
0
func S3() *s3.S3 {
	return s3.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 4
0
func ECS() *ecs.ECS {
	return ecs.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 5
0
func Kinesis() *kinesis.Kinesis {
	return kinesis.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 6
0
func DynamoDB() *dynamodb.DynamoDB {
	return dynamodb.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 7
0
func CloudWatch() *cloudwatch.CloudWatch {
	return cloudwatch.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 8
0
func CloudFormation() *cloudformation.CloudFormation {
	return cloudformation.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 9
0
func AutoScaling() *autoscaling.AutoScaling {
	return autoscaling.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}
Exemplo n.º 10
0
func SQS() *sqs.SQS {
	return sqs.New(&aws.Config{
		Credentials: credentials.NewCredentials(&AwsCredentials{}),
		Region:      os.Getenv("AWS_REGION"),
	})
}