Articles → AWS → Introduction To YAML
Introduction To YAML
Purpose
Data Format
Multiline
literal_example: |
This is a multiline
string written in
YAML using the
literal style.
folded_example: >
This is a multiline string
written in YAML using the
folded style. Blank lines
are preserved.
Arrays
products:
- Laptop
- Smartphone
- Tablet
- Monitor
products: [Laptop, Smartphone, Tablet, Monitor]
Comments
name: John Doe # This is the user's full name
age: 30 # Age in years