Contexte AWS
Traduction Bêta Non Officielle
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Description
Affiche le profil AWS actif et la région en cours d'utilisation.
Exemple de 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}}"
Options
| Name | Type | Default | Description |
|---|---|---|---|
display_default | boolean | true | display the segment when default user or not |
Modèle (info)
modèle par défaut
{{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }}
Propriétés
| Name | Type | Description |
|---|---|---|
.Profile | string | the currently active profile |
.Region | string | the currently active region |
.RegionAlias | string | short alias for the currently active region |