aws:aws-yaml
Differences
This shows you the differences between two versions of the page.
| aws:aws-yaml [07/06/2024 11:58] – created - external edit 127.0.0.1 | aws:aws-yaml [30/05/2025 09:41] (current) – removed andrew | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== YAML ====== | ||
| - | |||
| - | YAML == '' | ||
| - | |||
| - | ===== Start of file ===== | ||
| - | |||
| - | |||
| - | ===== Syntax ===== | ||
| - | |||
| - | |||
| - | |||
| - | ===== Quotes ===== | ||
| - | |||
| - | Single quotes allow you put (with some limitations) any character in your string, similar to BASH these won’t be expanded but treated as literals, " | ||
| - | |||
| - | As with BASH, double quotes are expanded, so " | ||
| - | |||
| - | |||
| - | To use yes and no literally, " | ||
| - | |||
| - | Single and double quotes have different meanings in YAML (Similar to BASH). You should use quotes in YAML if your string contains special characters. These characters should use quotes:- | ||
| - | |||
| - | {, }, [, ], ,, &, :, *, #, ?, |. -, <. >, =, !, %, @, \. | ||
| - | |||
| - | |||
| - | Quotes are not needed if a character is surrounded by spaces, as an example an asterink ( * ) with spaces surounding it. | ||
| - | |||
| - | Quotes should be used if your character is part of a longer string. | ||
| - | An example of this is CRON:- */10 * * * * to run every 10 minutes needs quotes ("*/10 * * * *") | ||
| - | |||
aws/aws-yaml.1717761515.txt.gz · Last modified: by 127.0.0.1
