Documentation
¶
Overview ¶
Package paramopts builds AWS Parameter Store provider write options from CLI flag values, keeping the flag-to-option mapping in one place shared by the param create and update commands. It also validates the --tier value.
Index ¶
Constants ¶
View Source
const ( TierStandard = "Standard" TierAdvanced = "Advanced" TierIntelligentTiering = "Intelligent-Tiering" )
SSM parameter tier names accepted by the --tier flag.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(v Values) []provider.WriteOption
Build converts the set (non-empty) flag values into provider.WriteOptions. Empty values contribute no option, so passing an all-empty Values yields nil and preserves the exact behavior of the command when no flags are set.
func ValidateTier ¶
ValidateTier reports an error if tier is a non-empty, unrecognized value. An empty tier is valid (it means "leave the tier unset").
Types ¶
Click to show internal directories.
Click to hide internal directories.