aws_cloudwatch_metric_stream

Nivis Nix constructor for the aws_cloudwatch_metric_stream 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,
  firehose_arn,
  output_format,
  role_arn,
  id ? null,
  include_linked_accounts_metrics ? null,
  cfg_name ? null,
  name_prefix ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  exclude_filter ? null,
  include_filter ? null,
  statistics_configuration ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • firehose_arn
  • output_format
  • role_arn
Optional arguments
  • id (defaults to null)
  • include_linked_accounts_metrics (defaults to null)
  • cfg_name (defaults to null)
  • name_prefix (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • exclude_filter (defaults to null)
  • include_filter (defaults to null)
  • statistics_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • creation_date
  • last_update_date
  • state
Example
aws_cloudwatch_metric_stream {
  name = "cloudwatch_metric_stream";
  firehose_arn = …;  # required
  output_format = …;  # required
  role_arn = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.