

# Artifact
<a name="API_Artifact"></a>

Represents an artifact that provides context for security testing, such as documentation, diagrams, or configuration files.

## Contents
<a name="API_Artifact_Contents"></a>

 ** contents **   <a name="securityagent-Type-Artifact-contents"></a>
The content of the artifact.  
Type: String  
Required: Yes

 ** type **   <a name="securityagent-Type-Artifact-type"></a>
The file type of the artifact.  
Type: String  
Valid Values: `TXT | PNG | JPEG | MD | PDF | DOCX | DOC | JSON | YAML`   
Required: Yes

## See Also
<a name="API_Artifact_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/securityagent-2025-09-06/Artifact) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityagent-2025-09-06/Artifact) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityagent-2025-09-06/Artifact) 