

# DeploymentTarget


 Information about the deployment target. 

## Contents


 ** cloudFormationTarget **   <a name="CodeDeploy-Type-DeploymentTarget-cloudFormationTarget"></a>
 Information about the target to be updated by an Amazon CloudFormation blue/green deployment. This target type is used for all deployments initiated by a CloudFormation stack update.  
Type: [CloudFormationTarget](API_CloudFormationTarget.md) object  
Required: No

 ** deploymentTargetType **   <a name="CodeDeploy-Type-DeploymentTarget-deploymentTargetType"></a>
The deployment type that is specific to the deployment's compute platform or deployments initiated by a CloudFormation stack update.  
Type: String  
Valid Values: `InstanceTarget | LambdaTarget | ECSTarget | EKSTarget | CloudFormationTarget`   
Required: No

 ** ecsTarget **   <a name="CodeDeploy-Type-DeploymentTarget-ecsTarget"></a>
 Information about the target for a deployment that uses the Amazon ECS compute platform.   
Type: [ECSTarget](API_ECSTarget.md) object  
Required: No

 ** instanceTarget **   <a name="CodeDeploy-Type-DeploymentTarget-instanceTarget"></a>
 Information about the target for a deployment that uses the EC2/On-premises compute platform.   
Type: [InstanceTarget](API_InstanceTarget.md) object  
Required: No

 ** lambdaTarget **   <a name="CodeDeploy-Type-DeploymentTarget-lambdaTarget"></a>
 Information about the target for a deployment that uses the Amazon Lambda compute platform.   
Type: [LambdaTarget](API_LambdaTarget.md) object  
Required: No

## See Also


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/codedeploy-2014-10-06/DeploymentTarget) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/codedeploy-2014-10-06/DeploymentTarget) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/codedeploy-2014-10-06/DeploymentTarget) 