aws_cloudwatch_query_definitionNivis Nix constructor for the aws_cloudwatch_query_definition 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,
query_string,
id ? null,
log_group_names ? null,
cfg_name ? null,
region ? null,
overrides ? {}
}Required arguments
query_string
Optional arguments
id(defaults tonull)log_group_names(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnquery_definition_id
Example
aws_cloudwatch_query_definition {
name = "cloudwatch_query_definition";
query_string = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.