CodeConfiguration - Amazon Bedrock AgentCore Control Plane

CodeConfiguration

The configuration for the source code that defines how the agent runtime code should be executed, including the code location, runtime environment, and entry point.

Contents

code

The source code location and configuration details.

Type: Code object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

entryPoint

The entry point for the code execution, specifying the function or method that should be invoked when the code runs.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 2 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

runtime

The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).

Type: String

Valid Values: PYTHON_3_10 | PYTHON_3_11 | PYTHON_3_12 | PYTHON_3_13

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: