Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 2.4 KB

File metadata and controls

30 lines (26 loc) · 2.4 KB

Inputs

Name Description Type Default Required
arn The Amazon Resource Name (ARN) associated with the role that is used for target invocation. string "" no
description The description for the rule. string "" no
enabled Enable event. bool true no
environment Environment (e.g. prod, dev, staging). string "" no
event_pattern (schedule_expression isn't specified) Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details. any null no
input_path The value of the JSONPath that is used for extracting part of the matched event when passing it to the target. string "" no
input_paths Key value pairs specified in the form of JSONPath (for example, time = $.time) map(any) {} no
input_template Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes. Values must be escaped for both JSON and Terraform, string "" no
is_enabled Whether the rule should be enabled (defaults to true). bool true no
label_order Label order, e.g. name,application. list(any) [] no
managedby ManagedBy, eg 'CloudDrove' or 'AnmolNagpal'. string "anmol@clouddrove.com" no
name Name (e.g. app or cluster). string "" no
repository Terraform current module repo string "https://github.com/clouddrove/terraform-aws-cloudwatch-event-rule" no
role_arn The Amazon Resource Name (ARN) associated with the role that is used for target invocation. string "" no
schedule_expression (if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes). any null no
target_id The Amazon Resource Name (ARN) associated with the role that is used for target invocation. string "" no
target_role_arn The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if ecs_target is used. string "" no

Outputs

Name Description
arn The ARN of the cloudwatch metric alarm.
id The ID of the health check.
tags A mapping of tags to assign to the resource.