Skip to content

Bedrock Agentcore Control  >  Unions  >  Code

Code

Union Type

Code module-attribute

Code = Union[CodeS3 | CodeUnknown]

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

Union Member Types

CodeS3 dataclass

The Amazon Amazon S3 object that contains the source code for the agent runtime.

Attributes

value instance-attribute
value: S3Location

CodeUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str