tencentcloud_as_lifecycle_hook

Nivis Nix constructor for the tencentcloud_as_lifecycle_hook resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  lifecycle_hook_name,
  lifecycle_transition,
  scaling_group_id,
  default_result ? null,
  heartbeat_timeout ? null,
  id ? null,
  lifecycle_transition_type ? null,
  notification_metadata ? null,
  notification_queue_name ? null,
  notification_target_type ? null,
  notification_topic_name ? null,
  lifecycle_command ? null,
  overrides ? {}
}
Required arguments
  • lifecycle_hook_name
  • lifecycle_transition
  • scaling_group_id
Optional arguments
  • default_result (defaults to null)
  • heartbeat_timeout (defaults to null)
  • id (defaults to null)
  • lifecycle_transition_type (defaults to null)
  • notification_metadata (defaults to null)
  • notification_queue_name (defaults to null)
  • notification_target_type (defaults to null)
  • notification_topic_name (defaults to null)
  • lifecycle_command (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
tencentcloud_as_lifecycle_hook {
  name = "as_lifecycle_hook";
  lifecycle_hook_name = …;  # required
  lifecycle_transition = …;  # required
  scaling_group_id = …;  # required
}

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