

# Code
<a name="API_Code"></a>

The source code configuration that specifies the location and details of the code to be executed.

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

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

 ** s3 **   <a name="bedrockagentcorecontrol-Type-Code-s3"></a>
The Amazon Amazon S3 object that contains the source code for the agent runtime.  
Type: [S3Location](API_S3Location.md) object  
Required: No

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