aws_cloudwatch_log_destination

Nivis Nix constructor for the aws_cloudwatch_log_destination 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,
  role_arn,
  target_arn,
  id ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • role_arn
  • target_arn
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_cloudwatch_log_destination {
  name = "cloudwatch_log_destination";
  role_arn = …;  # required
  target_arn = …;  # required
}

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