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
Description: "For CMQ_TOPIC type, a name of topic must be set.",
79
79
},
80
+
"lifecycle_transition_type": {
81
+
Type: schema.TypeString,
82
+
Optional: true,
83
+
Computed: true,
84
+
Description: "The scenario where the lifecycle hook is applied. `EXTENSION`: the lifecycle hook will be triggered when AttachInstances, DetachInstances or RemoveInstaces is called. `NORMAL`: the lifecycle hook is not triggered by the above APIs.",
85
+
},
80
86
"lifecycle_command": {
81
87
Type: schema.TypeList,
82
88
MaxItems: 1,
@@ -122,6 +128,9 @@ func resourceTencentCloudAsLifecycleHookCreate(d *schema.ResourceData, meta inte
@@ -121,6 +123,7 @@ The following arguments are supported:
121
123
*`default_result` - (Optional, String) Defines the action the AS group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. Valid values: `CONTINUE` and `ABANDON`. The default value is `CONTINUE`.
122
124
*`heartbeat_timeout` - (Optional, Int) Defines the amount of time, in seconds, that can elapse before the lifecycle hook times out. Valid value ranges: (30~7200). and default value is `300`.
123
125
*`lifecycle_command` - (Optional, List) Remote command execution object. `NotificationTarget` and `LifecycleCommand` cannot be specified at the same time.
126
+
*`lifecycle_transition_type` - (Optional, String) The scenario where the lifecycle hook is applied. `EXTENSION`: the lifecycle hook will be triggered when AttachInstances, DetachInstances or RemoveInstaces is called. `NORMAL`: the lifecycle hook is not triggered by the above APIs.
124
127
*`notification_metadata` - (Optional, String) Contains additional information that you want to include any time AS sends a message to the notification target.
125
128
*`notification_queue_name` - (Optional, String) For CMQ_QUEUE type, a name of queue must be set.
0 commit comments