interface Environment {
    custom_config?: { [k: string]: any };
    env?: { [k: string]: string | EnvVar };
    environment_id?: string;
    mode?: EnvironmentMode;
    network?: EnvironmentNetworkEgressAllowlist | NetworkEnum;
    sources?: Source[];
    type: "remote";
}

Hierarchy

  • Environment$2
    • Environment

Properties

custom_config?: { [k: string]: any }

Optional. Arbitrary customer-defined JSON configuration passed through

to the self-hosted environment poller. Only supported when mode is SELF_HOSTED.

env?: { [k: string]: string | EnvVar }

Environment variables to set in the sandbox environment.

environment_id?: string

Optional. The environment ID for the interaction. If specified, the request will

update the existing environment instead of creating a new one; creation-only fields (env and sources) cannot be updated when resuming an existing environment.

The compute lifecycle mode for an environment.

Network configuration for the environment.

sources?: Source[]
type: "remote"