Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfiguration ¶
func ReadConfiguration[T any](ctx context.Context, client awsssm.GetParameterAPI, name string) (*T, error)
Read a ParameterStore variable and/or environment variables into a config struct.
The struct should be annotated with a `json` tags and optionally `env` tags. to indicate which JSON properties and environment variable to read from. Struct fields should be of type string, bool or int.
If the environment variable is set, it overrides the value from ParameterStore.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.