AWS Context
Whatโ
Display the currently active AWS profile and region.
Sample Configurationโ
- json
- yaml
- toml
{
"type": "aws",
"style": "powerline",
"powerline_symbol": "๎ฐ",
"foreground": "#ffffff",
"background": "#FFA400",
"template": " ๎ญ {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
}
type: aws
style: powerline
powerline_symbol: ๎ฐ
foreground: "#ffffff"
background: "#FFA400"
template: " ๎ญ {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
type = "aws"
style = "powerline"
powerline_symbol = "๎ฐ"
foreground = "#ffffff"
background = "#FFA400"
template = " ๎ญ {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
Propertiesโ
Name | Type | Description |
---|---|---|
display_default | boolean - display the segment or not when the user profile matches default | defaults |
to true
Template (info)โ
default template
{{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }}
Propertiesโ
Name | Type | Description |
---|---|---|
.Profile | string | the currently active profile |
.Region | string | the currently active region |