resource_profile_artifacts
Creates, updates, deletes, gets or lists a resource_profile_artifacts resource.
Overview
| Name | resource_profile_artifacts |
| Type | Resource |
| Id | aws.macie2.resource_profile_artifacts |
Fields
The following fields are returned by SELECT queries:
- list_resource_profile_artifacts
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the object. |
classification_result_status | string | The 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. |
sensitive | boolean | Specifies whether Amazon Macie found sensitive data in the object. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resource_profile_artifacts | select | resourceArn, region | nextToken | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
resourceArn | string | The Amazon Resource Name (ARN) of the S3 bucket that the request applies to. |
nextToken | string | The nextToken string that specifies which page of results to return in a paginated response. |
SELECT examples
- list_resource_profile_artifacts
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 }}'
;