

# ComponentDeploymentSpecification
<a name="API_ComponentDeploymentSpecification"></a>

Contains information about a component to deploy.

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

 ** componentVersion **   <a name="greengrassv2-Type-ComponentDeploymentSpecification-componentVersion"></a>
The version of the component.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** configurationUpdate **   <a name="greengrassv2-Type-ComponentDeploymentSpecification-configurationUpdate"></a>
The configuration updates to deploy for the component. You can define *reset* updates and *merge* updates. A reset updates the keys that you specify to the default configuration for the component. A merge updates the core device's component configuration with the keys and values that you specify. The Amazon IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see [Update component configurations](https://docs.amazonaws.cn/greengrass/v2/developerguide/update-component-configurations.html) in the * Amazon IoT Greengrass V2 Developer Guide*.  
Type: [ComponentConfigurationUpdate](API_ComponentConfigurationUpdate.md) object  
Required: No

 ** runWith **   <a name="greengrassv2-Type-ComponentDeploymentSpecification-runWith"></a>
The system user and group that the Amazon IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the Amazon IoT Greengrass Core software uses the system user and group that you configure for the core device. For more information, see [Configure the user and group that run components](https://docs.amazonaws.cn/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user) in the * Amazon IoT Greengrass V2 Developer Guide*.  
Type: [ComponentRunWith](API_ComponentRunWith.md) object  
Required: No

## See Also
<a name="API_ComponentDeploymentSpecification_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/greengrassv2-2020-11-30/ComponentDeploymentSpecification) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/greengrassv2-2020-11-30/ComponentDeploymentSpecification) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/greengrassv2-2020-11-30/ComponentDeploymentSpecification) 