Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ARNRegexp = regexp.MustCompile(`^arn:(\w|-)*:iam::\d+:role\/?(\w+|-|\/|\.)*$`)
ARNRegexp is the regex to check that the base ARN is valid, see http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns.
Functions ¶
Types ¶
type ArnClientCached ¶
type ArnClientCached struct {
// contains filtered or unexported fields
}
func NewARNClientWithCache ¶
func NewARNClientWithCache(getter func(string) (string, error)) *ArnClientCached
Click to show internal directories.
Click to hide internal directories.