aws_xray_sampling_ruleNivis Nix constructor for the aws_xray_sampling_rule resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
fixed_rate,
host,
http_method,
priority,
reservoir_size,
resource_arn,
service_name,
service_type,
url_path,
version,
attributes ? null,
id ? null,
region ? null,
rule_name ? null,
tags ? null,
tags_all ? null,
overrides ? {}
}Required arguments
fixed_ratehosthttp_methodpriorityreservoir_sizeresource_arnservice_nameservice_typeurl_pathversion
Optional arguments
attributes(defaults tonull)id(defaults tonull)region(defaults tonull)rule_name(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_xray_sampling_rule {
name = "xray_sampling_rule";
fixed_rate = …; # required
host = …; # required
http_method = …; # required
priority = …; # required
reservoir_size = …; # required
resource_arn = …; # required
service_name = …; # required
service_type = …; # required
url_path = …; # required
version = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.