

# ComputeConfiguration
<a name="API_ComputeConfiguration"></a>

The compute configuration for a capacity provider. This structure defines the type and settings of the compute resources used to launch instances.

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

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** ec2Configuration **   <a name="bedrockagentcorecontrol-Type-ComputeConfiguration-ec2Configuration"></a>
The Amazon EC2 compute configuration for the capacity provider.  
Type: [Ec2Configuration](API_Ec2Configuration.md) object  
Required: No

## See Also
<a name="API_ComputeConfiguration_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/bedrock-agentcore-control-2023-06-05/ComputeConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/ComputeConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/ComputeConfiguration) 