| 名称 | 类型 | 描述 | 示例值 |
|---|---|---|---|
| object | 创建智能体运行时所需的输入参数 | ||
| agentRuntimeName | string | 智能体运行时的唯一标识名称,用于区分不同的智能体运行时实例 | |
| description | string | 智能体运行时的描述信息,用于说明该运行时的用途和功能 | |
| artifactType | string | 指定智能体运行时的部署类型,支持 Code(代码模式)和 Container(容器模式) | |
| codeConfiguration | CodeConfiguration | 当 artifactType 为 Code 时的代码配置信息,包括代码源、入口文件等 | |
| containerConfiguration | ContainerConfiguration | 当 artifactType 为 Container 时的容器配置信息,包括镜像地址、启动命令等 | |
| credentialId | string | 用于访问外部服务的凭证 ID,智能体运行时将使用此凭证进行身份验证 | |
| networkConfiguration | NetworkConfiguration | 智能体运行时的网络配置,包括 VPC、安全组等网络访问设置 | |
| protocolConfiguration | ProtocolConfiguration | 智能体运行时的通信协议配置,定义运行时如何与外部系统交互 | |
| executionRoleArn | string | 为智能体运行时提供访问云服务权限的执行角色 ARN | |
| cpu | float | 为智能体运行时分配的 CPU 资源,单位为核数 | |
| memory | integer | 为智能体运行时分配的内存资源,单位为 MB | |
| port | integer | 智能体运行时监听的端口号,用于接收外部请求 | |
| sessionConcurrencyLimitPerInstance | integer | 每个运行时实例允许的最大并发会话数 | |
| environmentVariables | object | 智能体运行时的环境变量配置,用于在运行时传递配置参数 | |
| string | |||
| logConfiguration | LogConfiguration | SLS(简单日志服务)配置 | |
| sessionIdleTimeoutSeconds | integer | 会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用 | |
| healthCheckConfiguration | HealthCheckConfiguration | 智能体运行时的健康检查配置,用于监控运行时实例的健康状态 |
该文章对您有帮助吗?