newrelic_synthetics_script_monitorNivis Nix constructor for the newrelic_synthetics_script_monitor resource (provider newrelic). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
period,
status,
type,
account_id ? null,
browsers ? null,
device_orientation ? null,
device_type ? null,
devices ? null,
enable_screenshot_on_failure_and_script ? null,
id ? null,
locations_public ? null,
cfg_name ? null,
runtime_type ? null,
runtime_type_version ? null,
script ? null,
script_language ? null,
use_unsupported_legacy_runtime ? null,
location_private ? null,
tag ? null,
overrides ? {}
}Required arguments
periodstatustype
Optional arguments
account_id(defaults tonull)browsers(defaults tonull)device_orientation(defaults tonull)device_type(defaults tonull)devices(defaults tonull)enable_screenshot_on_failure_and_script(defaults tonull)id(defaults tonull)locations_public(defaults tonull)cfg_name(defaults tonull)runtime_type(defaults tonull)runtime_type_version(defaults tonull)script(defaults tonull)script_language(defaults tonull)use_unsupported_legacy_runtime(defaults tonull)location_private(defaults tonull)tag(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
guidmonitor_idperiod_in_minutes
Example
newrelic_synthetics_script_monitor {
name = "synthetics_script_monitor";
period = …; # required
status = …; # required
type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.