

# Resource

Contains the type of the resource involved in a finding and details about it, such as the container image.

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

 ** details **   <a name="ecrpublic-Type-Resource-details"></a>
An object that contains details about the resource involved in a finding.  
Type: [ResourceDetails](API_ResourceDetails.md) object  
Required: No

 ** type **   <a name="ecrpublic-Type-Resource-type"></a>
The type of resource.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/ecr-public-2020-10-30/Resource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-public-2020-10-30/Resource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-public-2020-10-30/Resource) 