Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mikaelvesavuori/1c8a7985d192d96c4e222a048ca584a0 to your computer and use it in GitHub Desktop.
Save mikaelvesavuori/1c8a7985d192d96c4e222a048ca584a0 to your computer and use it in GitHub Desktop.
AWS Well-Architected Lens template.
{
"schemaVersion": "2021-11-01",
"name": "Replace with lens name",
"description": "Replace with your description",
"pillars": [
{
"id": "pillar_id_1",
"name": "Pillar 1",
"questions": [
{
"id": "pillar_1_q1",
"title": "My first question",
"description": "Description isn't a necessary property here for a question, but it might help your lens users.",
"choices": [
{
"id": "choice1",
"title": "Best practice #1",
"helpfulResource": {
"displayText": "It's recommended that you include a helpful resource text and URL for each choice for your users.",
"url": "https://aws.amazon.com"
},
"improvementPlan": {
"displayText": "You must have improvement plans per choice. It's optional whether or not to have a corresponding URL."
}
},
{
"id": "choice2",
"title": "Best practice #2",
"helpfulResource": {
"displayText": "It's recommended that you include a helpful resource text and URL for each choice for your users.",
"url": "https://aws.amazon.com"
},
"improvementPlan": {
"displayText": "You must have improvement plans per choice. It's optional whether or not to have a corresponding URL."
}
}
],
"riskRules": [
{ "condition": "choice1 && choice2", "risk": "NO_RISK" },
{ "condition": "choice1 && !choice2", "risk": "MEDIUM_RISK" },
{ "condition": "default", "risk": "HIGH_RISK" }
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment