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 | Default | Description |
---|---|---|---|
display_default | boolean | true | display the segment when default user or not |
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 |