Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSSession ¶ added in v0.1.4
AWSSession create AWS Session for reuse
func GetParameterStoreValue ¶
func GetParameterStoreValue(param string, timeout ...int) (*ssm.GetParameterOutput, error)
GetParameterStoreValue returns a string, stringlist or securestring from SSM and caches the value if configured to do so. timeout is defined as variadic but only the first value is used. If timeout isn't set, then fallback to SSM_CACHE_TIMEOUT variable or cacheDefaultTimeout (300)
Types ¶
type SSMParameterStoreCache ¶
type SSMParameterStoreCache struct { Value *ssm.GetParameterOutput CacheExpires int64 }
SSMParameterStoreCache setup
Click to show internal directories.
Click to hide internal directories.