Skip to content

CodeInterpreterNetworkConfiguration

Structure Class

CodeInterpreterNetworkConfiguration dataclass

Bases: _SerdeShape

The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.

Attributes

network_mode class-attribute instance-attribute
network_mode: str = ...

The network mode for the code interpreter. This field specifies how the code interpreter connects to the network.

vpc_config class-attribute instance-attribute
vpc_config: VpcConfig | None = ...

The VPC configuration for the code interpreter. This configuration is required when the network mode is set to VPC.