Skip to main content

consolidated_reports

Creates, updates, deletes, gets or lists a consolidated_reports resource.

Overview

Nameconsolidated_reports
TypeResource
Idaws.wellarchitected.consolidated_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
base_64_stringstringThe Base64-encoded string representation of a lens review report. This data can be used to create a PDF file. Only returned by GetConsolidatedReport when PDF format is requested.
metricsarrayThe metrics that make up the consolidated report. Only returned when JSON format is requested.
next_tokenstringThe token to use to retrieve the next set of results. (pattern: <code>[A-Za-z0-9+/=_-]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_consolidated_reportselectFormat, regionIncludeSharedResources, NextToken, MaxResultsGet a consolidated report of your workloads. You can optionally choose to include workloads that have been shared with you.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
FormatstringThe format of the consolidated report. For PDF, Base64String is returned. For JSON, Metrics is returned.
regionstringAWS region (default: us-east-1)
IncludeSharedResourcesbooleanSet to true to have shared resources included in the report.
MaxResultsintegerThe maximum number of results to return for this request.
NextTokenstring

SELECT examples

Get a consolidated report of your workloads. You can optionally choose to include workloads that have been shared with you.

SELECT
base_64_string,
metrics,
next_token
FROM aws.wellarchitected.consolidated_reports
WHERE Format = '{{ Format }}' -- required
AND region = '{{ region }}' -- required
AND IncludeSharedResources = '{{ IncludeSharedResources }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;