

# Resource
<a name="API_marketplace-agreements_Resource"></a>

The list of resources involved in the agreement.

## Contents
<a name="API_marketplace-agreements_Resource_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** id **   <a name="AWSMarketplaceService-Type-marketplace-agreements_Resource-id"></a>
The unique identifier of the resource.  
We mention the term resource, which is most commonly a product, so a `resourceId` is also a `productId`.
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[A-Za-z0-9_/-]+`   
Required: No

 ** type **   <a name="AWSMarketplaceService-Type-marketplace-agreements_Resource-type"></a>
Type of the resource, which is the product. Values include `SaaSProduct` or `AmiProduct`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-zA-Z]+`   
Required: No

## See Also
<a name="API_marketplace-agreements_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\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/marketplace-agreement-2020-03-01/Resource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/marketplace-agreement-2020-03-01/Resource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/marketplace-agreement-2020-03-01/Resource) 