日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

alicloud_fnf_schedule

更新時間:

Provides a Serverless Workflow Schedule resource.

For information about Serverless Workflow Schedule and how to use it, see What is Schedule.

-> NOTE: Available since v1.105.0+.

Example Usage

Basic Usage


provider "alicloud" {
  region = "cn-shanghai"
}

resource "alicloud_fnf_flow" "example" {
  definition  = <<EOF
  version: v1beta1
  type: flow
  steps:
    - type: pass
      name: helloworld
  EOF  
  description = "tf-exampleFnFFlow983041"
  name        = "tf-exampleSchedule"
  type        = "FDL"
}

resource "alicloud_fnf_schedule" "example" {
  cron_expression = "30 9 * * * *"
  description     = "tf-exampleFnFSchedule983041"
  enable          = "true"
  flow_name       = alicloud_fnf_flow.example.name
  payload         = "{\"tf-example\": \"example success\"}"
  schedule_name   = "tf-exampleFnFSchedule983041"
}

Argument Reference

The following arguments are supported:

  • cron_expression - (Required) The CRON expression of the time-based schedule to be created.
  • description - (Optional) The description of the time-based schedule to be created.
  • enable - (Optional) Specifies whether to enable the time-based schedule you want to create. Valid values: false, true.
  • flow_name - (Required, ForceNew) The name of the flow bound to the time-based schedule you want to create.
  • payload - (Optional) The trigger message of the time-based schedule to be created. It must be in JSON object format.
  • schedule_name - (Required, ForceNew) The name of the time-based schedule to be created.

Attributes Reference

The following attributes are exported:

  • id - The resource ID of Schedule. The value is formatted <schedule_name>:<flow_name>.
  • last_modified_time - The time when the time-based schedule was last updated.
  • schedule_id - The ID of the time-based schedule.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 1 mins) Used when create the Schedule.
  • delete - (Defaults to 1 mins) Used when delete the Schedule.
  • update - (Defaults to 1 mins) Used when update the Schedule.

Import

Serverless Workflow Schedule can be imported using the id, e.g.

$ terraform import alicloud_fnf_schedule.example <schedule_name>:<flow_name>