CreateCodeInterpreterInput

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

创建代码解释器所需的输入参数

codeInterpreterName

string

代码解释器的名称,用于标识和区分不同的代码解释器实例

my-code-interpreter

description

string

代码解释器的描述信息,说明该解释器的用途和功能

Python code interpreter for data analysis

networkConfiguration NetworkConfiguration

代码解释器的网络配置,包括 VPC、安全组等网络访问设置

{}

memory

integer

内存资源配置(单位:MB)

1024

executionRoleArn

string

此代码解释器的执行角色

acs:ram::1760720386195983:role/CodeInterpreterExecutionRole

cpu

number

CPU 资源配置(单位:核数)

2.0

sessionIdleTimeoutSeconds

integer

会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用

3600

credentialId

string

鉴权 Id

cred-1234567890abcdef