/dhall-aws-cloudformation/sam/policy-template/CloudWatchDashboardPolicy.dhall

Copy path to clipboard

Source

let JSON = (./../../Prelude.dhall).JSON

let Fn = ./../../Fn.dhall

in JSON.object
( toMap
{ Statement =
JSON.array
[ JSON.object
( toMap
{ Effect = JSON.string "Allow"
, Action =
JSON.array
[ JSON.string "cloudwatch:GetDashboard"
, JSON.string "cloudwatch:ListDashboards"
, JSON.string "cloudwatch:PutDashboard"
, JSON.string "cloudwatch:ListMetrics"
]
, Resource = JSON.array [ JSON.string "*" ]
, Condition = JSON.null
}
)
]
}
)