WorkersCronTriggerArgs

data class WorkersCronTriggerArgs(val accountId: Output<String>? = null, val schedules: Output<List<WorkersCronTriggerScheduleArgs>>? = null, val scriptName: Output<String>? = null) : ConvertibleToJava<WorkersCronTriggerArgs>

/*

Example Usage

resources:
exampleWorkersCronTrigger:
type: cloudflare:WorkersCronTrigger
name: example_workers_cron_trigger
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
scriptName: this-is_my_script-01
body:
- cron: '*/30 * * * *'

Import

$ pulumi import cloudflare:index/workersCronTrigger:WorkersCronTrigger example '<account_id>/<script_name>'

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, schedules: Output<List<WorkersCronTriggerScheduleArgs>>? = null, scriptName: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Identifier.

Link copied to clipboard
Link copied to clipboard
val scriptName: Output<String>? = null

Name of the script, used in URLs and route configuration.

Functions

Link copied to clipboard
open override fun toJava(): WorkersCronTriggerArgs