@runloop/api-client - v1.4.0
    Preparing search index...

    Interface LaunchParameters

    LaunchParameters enable you to customize the resources available to your Devbox as well as the environment set up that should be completed before the Devbox is marked as 'running'.

    interface LaunchParameters {
        after_idle?: AfterIdle | null;
        architecture?: "arm64" | "x86_64" | null;
        available_ports?: number[] | null;
        custom_cpu_cores?: number | null;
        custom_disk_size?: number | null;
        custom_gb_memory?: number | null;
        keep_alive_time_seconds?: number | null;
        launch_commands?: string[] | null;
        network_policy_id?: string | null;
        required_services?: string[] | null;
        resource_size_request?:
            | "X_SMALL"
            | "SMALL"
            | "MEDIUM"
            | "LARGE"
            | "X_LARGE"
            | "XX_LARGE"
            | "CUSTOM_SIZE"
            | null;
        user_parameters?: UserParameters
        | null;
    }
    Index

    Properties

    after_idle?: AfterIdle | null

    Configure Devbox lifecycle based on idle activity. If after_idle is set, Devbox will ignore keep_alive_time_seconds.

    architecture?: "arm64" | "x86_64" | null

    The target architecture for the Devbox. If unset, defaults to x86_64.

    available_ports?: number[] | null

    A list of ports to make available on the Devbox. Only ports made available will be surfaced to create tunnels via the 'createTunnel' API.

    custom_cpu_cores?: number | null

    Custom CPU cores. Must be 0.5, 1, or a multiple of 2. Max is 16.

    custom_disk_size?: number | null

    Custom disk size in GiB. Must be a multiple of 2. Min is 2GiB, max is 64GiB.

    custom_gb_memory?: number | null

    Custom memory size in GiB. Must be 1 or a multiple of 2. Max is 64GiB.

    keep_alive_time_seconds?: number | null

    Time in seconds after which Devbox will automatically shutdown. Default is 1 hour. Maximum is 48 hours (172800 seconds).

    launch_commands?: string[] | null

    Set of commands to be run at launch time, before the entrypoint process is run.

    network_policy_id?: string | null

    (Optional) ID of the network policy to apply to Devboxes launched with these parameters. When set on a Blueprint launch parameters, Devboxes created from it will inherit this policy unless explicitly overridden.

    required_services?: string[] | null

    A list of ContainerizedService names to be started when a Devbox is created. A valid ContainerizedService must be specified in Blueprint to be started.

    resource_size_request?:
        | "X_SMALL"
        | "SMALL"
        | "MEDIUM"
        | "LARGE"
        | "X_LARGE"
        | "XX_LARGE"
        | "CUSTOM_SIZE"
        | null

    Manual resource configuration for Devbox. If not set, defaults will be used.

    user_parameters?: UserParameters | null

    Specify the user for execution on Devbox. If not set, default user will be used.