Trigger
Defines a condition that can automatically trigger the execution of a Region switch plan.
Contents
- action
-
The action to perform when the trigger fires. Valid values include ACTIVATE and DEACTIVATE.
Type: String
Valid Values:
activate | deactivate
Required: Yes
- conditions
-
The conditions that must be met for the trigger to fire.
Type: Array of TriggerCondition objects
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Required: Yes
- minDelayMinutesBetweenExecutions
-
The minimum time, in minutes, that must elapse between automatic executions of the plan.
Type: Integer
Required: Yes
- targetRegion
-
The AWS Region for a trigger.
Type: String
Pattern:
[a-z]{2}-[a-z-]+-\d+
Required: Yes
- description
-
The description for a trigger.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: