StreamLiveInputArgs

data class StreamLiveInputArgs(val accountId: Output<String>? = null, val defaultCreator: Output<String>? = null, val deleteRecordingAfterDays: Output<Double>? = null, val liveInputIdentifier: Output<String>? = null, val meta: Output<String>? = null, val recording: Output<StreamLiveInputRecordingArgs>? = null) : ConvertibleToJava<StreamLiveInputArgs>

Example Usage

resources:
exampleStreamLiveInput:
type: cloudflare:StreamLiveInput
name: example_stream_live_input
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
defaultCreator: defaultCreator
deleteRecordingAfterDays: 45
meta:
name: test stream 1
recording:
allowed_origins:
- example.com
hide_live_viewer_count: false
mode: off
require_signed_urls: false
timeout_seconds: 0

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, defaultCreator: Output<String>? = null, deleteRecordingAfterDays: Output<Double>? = null, liveInputIdentifier: Output<String>? = null, meta: Output<String>? = null, recording: Output<StreamLiveInputRecordingArgs>? = null)

Properties

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

Identifier.

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

Sets the creator ID asssociated with this live input.

Link copied to clipboard
val deleteRecordingAfterDays: Output<Double>? = null

Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a null value to remove an existing scheduled deletion.

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

A unique identifier for a live input.

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

A user modifiable key-value store used to reference other systems of record for managing live inputs.

Link copied to clipboard

Records the input to a Cloudflare Stream video. Behavior depends on the mode. In most cases, the video will initially be viewable as a live video and transition to on-demand after a condition is satisfied.

Functions

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