Documentation
¶
Overview ¶
Package config manages ssmx configuration loading and persistence.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDocAliases = map[string]string{
"patch": "AWS-PatchInstanceWithRollback",
"install": "AWS-ConfigureAWSPackage",
"ansible": "AWS-RunAnsiblePlaybook",
"update-windows": "AWS-InstallWindowsUpdates",
}
DefaultDocAliases are the built-in SSM document aliases.
Functions ¶
func RemoveAlias ¶
RemoveAlias deletes an alias by name and saves.
func SetSSHKeyPath ¶
SetSSHKeyPath stores the SSH key path used by the proxy and saves.
Types ¶
type Config ¶
type Config struct {
DefaultProfile string `mapstructure:"default_profile" yaml:"default_profile,omitempty"`
DefaultRegion string `mapstructure:"default_region" yaml:"default_region,omitempty"`
SSHKeyPath string `mapstructure:"ssh_key_path" yaml:"ssh_key_path,omitempty"`
Aliases map[string]string `mapstructure:"aliases" yaml:"aliases,omitempty"`
DocAliases map[string]string `mapstructure:"doc_aliases" yaml:"doc_aliases,omitempty"`
}
Config is the full contents of ~/.ssmx/config.yaml.
Click to show internal directories.
Click to hide internal directories.