

# ProductCodeListItem
<a name="API_ProductCodeListItem"></a>

Information about a single product code.

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

 ** productCodeId **   <a name="imagebuilder-Type-ProductCodeListItem-productCodeId"></a>
For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto an EC2 AMI to ensure that components are billed correctly. If this property is empty, it might mean that the component is not published.  
Type: String  
Pattern: `^[A-Za-z0-9]{1,25}$`   
Required: Yes

 ** productCodeType **   <a name="imagebuilder-Type-ProductCodeListItem-productCodeType"></a>
The owner of the product code that's billed. If this property is empty, it might mean that the component is not published.  
Type: String  
Valid Values: `marketplace`   
Required: Yes

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/imagebuilder-2019-12-02/ProductCodeListItem) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/imagebuilder-2019-12-02/ProductCodeListItem) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/imagebuilder-2019-12-02/ProductCodeListItem) 