aws_cloudfront_realtime_log_configNivis Nix constructor for the aws_cloudfront_realtime_log_config 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,
fields,
sampling_rate,
id ? null,
cfg_name ? null,
endpoint ? null,
overrides ? {}
}Required arguments
fieldssampling_rate
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)endpoint(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_cloudfront_realtime_log_config {
name = "cloudfront_realtime_log_config";
fields = …; # required
sampling_rate = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.