You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the section "Other modules that you may need to use this module" for details about modules mentioned in the usage example.
34
-
35
-
## Input values
36
-
37
-
* name_preffix: Name preffix for resources on AWS.
38
-
* profile: AWS API key credentials to use.
39
-
* region: AWS Region the infrastructure is hosted in.
40
-
* ecs_cluster_arn: The ECS Cluster where the scheduled task will run.
41
-
* event_rule_name: The rule's name.
42
-
* event_target_ecs_target_subnets: The subnets associated with the task or service.
43
-
* event_target_ecs_target_task_definition_arn: The ARN of the task definition to use if the event target is an Amazon ECS cluster.
44
-
* ecs_execution_task_role_arn: (Required) The task definition execution role.
45
-
* event_rule_schedule_expression: (Required, if event_pattern isn't specified) The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes).
46
-
* event_rule_event_pattern: (Required, if schedule_expression isn't specified) Event pattern described a JSON object. See full documentation of CloudWatch Events and Event Patterns for details.
47
-
* event_rule_description: (Optional) The description of the rule.
48
-
* event_rule_role_arn: (Optional) The Amazon Resource Name (ARN) associated with the role that is used for target invocation.
49
-
* event_rule_is_enabled: (Optional) Whether the rule should be enabled (defaults to true).
50
-
* event_target_target_id: (Optional) The unique target assignment ID. If missing, will generate a random, unique id.
51
-
* event_target_input: (Optional) Valid JSON text passed to the target.
52
-
* event_target_input_path: (Optional) The value of the JSONPath that is used for extracting part of the matched event when passing it to the target.
53
-
* event_target_ecs_target_security_groups: (Optional) The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
54
-
* event_target_ecs_target_assign_public_ip: (Optional) Assign a public IP address to the ENI (Fargate launch type only). Valid values are true or false. Default false.
55
-
* event_target_ecs_target_task_count: (Optional) The number of tasks to create based on the TaskDefinition. The default is 1.
56
-
* event_target_ecs_target_platform_version: (Optional) Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE.
57
-
* event_target_ecs_target_group: (Optional) Specifies an ECS task group for the task. The maximum length is 255 characters.
58
-
59
-
## Output values
60
-
61
-
* scheduled_task_cw_event_role_arn: The Amazon Resource Name (ARN) specifying the role.
62
-
* scheduled_task_cw_event_role_create_date: The creation date of the IAM role.
63
-
* scheduled_task_cw_event_role_description: The description of the role.
64
-
* scheduled_task_cw_event_role_id: The name of the role.
65
-
* scheduled_task_cw_event_role_name: The name of the role.
66
-
* scheduled_task_cw_event_role_unique_id: The stable and unique string identifying the role.
67
-
* aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_id: The role policy ID, in the form of role_name:role_policy_name.
68
-
* aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_name: The name of the policy.
69
-
* aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_policy: The policy document attached to the role.
70
-
* aws_iam_role_policy_scheduled_task_cw_event_role_cloudwatch_policy_role: The name of the role associated with the policy.
71
-
* aws_cloudwatch_event_rule_event_rule_arn: The Amazon Resource Name (ARN) of the CloudWatch Event Rule.
72
-
73
18
## Other modules that you may need to use this module
0 commit comments