Skip to main content

resource_profile_artifacts

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

Overview

Nameresource_profile_artifacts
TypeResource
Idaws.macie2.resource_profile_artifacts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the object.
classification_result_statusstringThe status of the analysis. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object. PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
sensitivebooleanSpecifies whether Amazon Macie found sensitive data in the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_resource_profile_artifactsselectresourceArn, regionnextTokenRetrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery.

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)
resourceArnstringThe Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
nextTokenstringThe nextToken string that specifies which page of results to return in a paginated response.

SELECT examples

Retrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery.

SELECT
arn,
classification_result_status,
sensitive
FROM aws.macie2.resource_profile_artifacts
WHERE resourceArn = '{{ resourceArn }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
;