aws_cloudwatch_event_target

Nivis Nix constructor for the aws_cloudwatch_event_target 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,
  arn,
  rule,
  event_bus_name ? null,
  force_destroy ? null,
  id ? null,
  input ? null,
  input_path ? null,
  region ? null,
  role_arn ? null,
  target_id ? null,
  appsync_target ? null,
  batch_target ? null,
  dead_letter_config ? null,
  ecs_target ? null,
  http_target ? null,
  input_transformer ? null,
  kinesis_target ? null,
  redshift_target ? null,
  retry_policy ? null,
  run_command_targets ? null,
  sagemaker_pipeline_target ? null,
  sqs_target ? null,
  overrides ? {}
}
Required arguments
  • arn
  • rule
Optional arguments
  • event_bus_name (defaults to null)
  • force_destroy (defaults to null)
  • id (defaults to null)
  • input (defaults to null)
  • input_path (defaults to null)
  • region (defaults to null)
  • role_arn (defaults to null)
  • target_id (defaults to null)
  • appsync_target (defaults to null)
  • batch_target (defaults to null)
  • dead_letter_config (defaults to null)
  • ecs_target (defaults to null)
  • http_target (defaults to null)
  • input_transformer (defaults to null)
  • kinesis_target (defaults to null)
  • redshift_target (defaults to null)
  • retry_policy (defaults to null)
  • run_command_targets (defaults to null)
  • sagemaker_pipeline_target (defaults to null)
  • sqs_target (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_cloudwatch_event_target {
  name = "cloudwatch_event_target";
  arn = …;  # required
  rule = …;  # required
}

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