ResilienceHub / Client / list_app_assessment_resource_drifts
list_app_assessment_resource_drifts#
- ResilienceHub.Client.list_app_assessment_resource_drifts(**kwargs)#
List of resource drifts that were detected while running an assessment.
See also: AWS API Documentation
Request Syntax
response = client.list_app_assessment_resource_drifts( assessmentArn='string', maxResults=123, nextToken='string' )
- Parameters:
assessmentArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) of the assessment. 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.maxResults (integer) – Maximum number of drift results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved.nextToken (string) – Null, or the token from a previous call to get the next set of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'resourceDrifts': [ { 'appArn': 'string', 'appVersion': 'string', 'diffType': 'NotEqual'|'Added'|'Removed', 'referenceId': 'string', 'resourceIdentifier': { 'logicalResourceId': { 'eksSourceName': 'string', 'identifier': 'string', 'logicalStackName': 'string', 'resourceGroupName': 'string', 'terraformSourceName': 'string' }, 'resourceType': 'string' } }, ] }
Response Structure
(dict) –
nextToken (string) –
Null, or the token from a previous call to get the next set of results.
resourceDrifts (list) –
Indicates all the resource drifts detected for an assessed entity.
(dict) –
Indicates the resources that have drifted in the current application version.
appArn (string) –
Amazon 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.appVersion (string) –
Version of the application whose resources have drifted.
diffType (string) –
Indicates if the resource was added or removed.
referenceId (string) –
Reference identifier of the resource drift.
resourceIdentifier (dict) –
Identifier of the drifted resource.
logicalResourceId (dict) –
Logical identifier of the drifted resource.
eksSourceName (string) –
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
Note
This parameter accepts values in “eks-cluster/namespace” format.
identifier (string) –
Identifier of the resource.
logicalStackName (string) –
The name of the CloudFormation stack this resource belongs to.
resourceGroupName (string) –
The name of the resource group that this resource belongs to.
terraformSourceName (string) –
The name of the Terraform S3 state file this resource belongs to.
resourceType (string) –
Type of the drifted resource.
Exceptions