import cloudeng.io/aws/awsutil
Functions
Func AccountID
func AccountID(ctx context.Context, cfg aws.Config) (string, error)
AccountID returns the account id from the aws.Config and caches it locally.
Func IsARN
func IsARN(name string) bool
IsArn returns true if the supplied string is an ARN.
Func Region
func Region(_ context.Context, cfg aws.Config) string
Region obtains the AWS region either from the supplied config or from the
environment.