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