Skip to main content

app_assessment_resource_drifts

Creates, updates, deletes, gets or lists an app_assessment_resource_drifts resource.

Overview

Nameapp_assessment_resource_drifts
TypeResource
Idaws.resiliencehub.app_assessment_resource_drifts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
app_arnstringAmazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide. (pattern: <code>^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}$</code>)
app_versionstringVersion of the application whose resources have drifted. (pattern: <code>^\S{1,50}$</code>)
diff_typestringIndicates if the resource was added or removed. (NotEqual, Added, Removed)
reference_idstringReference identifier of the resource drift. (pattern: <code>^\S{1,255}$</code>)
resource_identifierobjectIdentifier of the drifted resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_app_assessment_resource_driftsselectregionList of resource drifts that were detected while running an assessment.

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
regionstringAWS region (default: us-east-1)

SELECT examples

List of resource drifts that were detected while running an assessment.

SELECT
app_arn,
app_version,
diff_type,
reference_id,
resource_identifier
FROM aws.resiliencehub.app_assessment_resource_drifts
WHERE region = '{{ region }}' -- required
;