| starburst_config | R Documentation |
Reads and updates the persisted staRburst configuration. Call with no arguments to leave settings unchanged (it still returns the current config invisibly); pass one or more of the arguments below to update them.
starburst_config(
max_hourly_cost = NULL,
cost_alert_threshold = NULL,
auto_cleanup_s3 = NULL,
...
)
max_hourly_cost |
Maximum estimated **hourly** cost (USD/hour) for a job.
Jobs whose estimated hourly rate exceeds this error before launching. This is a
rate limit, not a total-job-cost cap. |
cost_alert_threshold |
Estimated **hourly** cost (USD/hour) at which a
warning is emitted. |
auto_cleanup_s3 |
Logical; automatically delete a job's S3 task/result
objects after completion. |
... |
Additional user-settable keys merged into the config. Recognized keys:
|
Other keys in the stored config are **infrastructure-managed** — written by
starburst_setup/starburst_setup_ec2 and not intended
to be set by hand: region, bucket, cluster,
ecr_repository, aws_account_id, execution_role_arn,
task_role_arn, subnets, and security_groups. Use
starburst_status to inspect the effective configuration read-only.
Invisibly returns the updated configuration list.
starburst_status to view config without changing it;
starburst_setup for initial provisioning.
if (starburst_is_configured()) {
# Update cost guardrails (both are hourly rates, USD/hour)
starburst_config(
max_hourly_cost = 10,
cost_alert_threshold = 5
)
# Read the current config without changing anything
cfg <- starburst_config()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.