Cloudflare v6.1.1 published on Monday, Apr 21, 2025 by Pulumi
cloudflare.getStreamLiveInput
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleStreamLiveInput = cloudflare.getStreamLiveInput({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
liveInputIdentifier: "66be4bf738797e01e1fca35a7bdecdcd",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_stream_live_input = cloudflare.get_stream_live_input(account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupStreamLiveInput(ctx, &cloudflare.LookupStreamLiveInputArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
LiveInputIdentifier: "66be4bf738797e01e1fca35a7bdecdcd",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleStreamLiveInput = Cloudflare.GetStreamLiveInput.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
LiveInputIdentifier = "66be4bf738797e01e1fca35a7bdecdcd",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetStreamLiveInputArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var exampleStreamLiveInput = CloudflareFunctions.getStreamLiveInput(GetStreamLiveInputArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.liveInputIdentifier("66be4bf738797e01e1fca35a7bdecdcd")
.build());
}
}
variables:
exampleStreamLiveInput:
fn::invoke:
function: cloudflare:getStreamLiveInput
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
liveInputIdentifier: 66be4bf738797e01e1fca35a7bdecdcd
Using getStreamLiveInput
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStreamLiveInput(args: GetStreamLiveInputArgs, opts?: InvokeOptions): Promise<GetStreamLiveInputResult>
function getStreamLiveInputOutput(args: GetStreamLiveInputOutputArgs, opts?: InvokeOptions): Output<GetStreamLiveInputResult>
def get_stream_live_input(account_id: Optional[str] = None,
live_input_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamLiveInputResult
def get_stream_live_input_output(account_id: Optional[pulumi.Input[str]] = None,
live_input_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamLiveInputResult]
func LookupStreamLiveInput(ctx *Context, args *LookupStreamLiveInputArgs, opts ...InvokeOption) (*LookupStreamLiveInputResult, error)
func LookupStreamLiveInputOutput(ctx *Context, args *LookupStreamLiveInputOutputArgs, opts ...InvokeOption) LookupStreamLiveInputResultOutput
> Note: This function is named LookupStreamLiveInput
in the Go SDK.
public static class GetStreamLiveInput
{
public static Task<GetStreamLiveInputResult> InvokeAsync(GetStreamLiveInputArgs args, InvokeOptions? opts = null)
public static Output<GetStreamLiveInputResult> Invoke(GetStreamLiveInputInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStreamLiveInputResult> getStreamLiveInput(GetStreamLiveInputArgs args, InvokeOptions options)
public static Output<GetStreamLiveInputResult> getStreamLiveInput(GetStreamLiveInputArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getStreamLiveInput:getStreamLiveInput
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier.
- Live
Input stringIdentifier - A unique identifier for a live input.
- Account
Id string - Identifier.
- Live
Input stringIdentifier - A unique identifier for a live input.
- account
Id String - Identifier.
- live
Input StringIdentifier - A unique identifier for a live input.
- account
Id string - Identifier.
- live
Input stringIdentifier - A unique identifier for a live input.
- account_
id str - Identifier.
- live_
input_ stridentifier - A unique identifier for a live input.
- account
Id String - Identifier.
- live
Input StringIdentifier - A unique identifier for a live input.
getStreamLiveInput Result
The following output properties are available:
- Account
Id string - Identifier.
- Created string
- The date and time the live input was created.
- Delete
Recording doubleAfter Days - 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. - Id string
- The provider-assigned unique ID for this managed resource.
- Live
Input stringIdentifier - A unique identifier for a live input.
- Meta string
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- Modified string
- The date and time the live input was last modified.
- Recording
Get
Stream Live Input Recording - 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.
- Rtmps
Get
Stream Live Input Rtmps - Details for streaming to an live input using RTMPS.
- Rtmps
Playback GetStream Live Input Rtmps Playback - Details for playback from an live input using RTMPS.
- Srt
Get
Stream Live Input Srt - Details for streaming to a live input using SRT.
- Srt
Playback GetStream Live Input Srt Playback - Details for playback from an live input using SRT.
- Status string
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- Uid string
- A unique identifier for a live input.
- Web
Rtc GetStream Live Input Web Rtc - Details for streaming to a live input using WebRTC.
- Web
Rtc GetPlayback Stream Live Input Web Rtc Playback - Details for playback from a live input using WebRTC.
- Account
Id string - Identifier.
- Created string
- The date and time the live input was created.
- Delete
Recording float64After Days - 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. - Id string
- The provider-assigned unique ID for this managed resource.
- Live
Input stringIdentifier - A unique identifier for a live input.
- Meta string
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- Modified string
- The date and time the live input was last modified.
- Recording
Get
Stream Live Input Recording - 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.
- Rtmps
Get
Stream Live Input Rtmps - Details for streaming to an live input using RTMPS.
- Rtmps
Playback GetStream Live Input Rtmps Playback - Details for playback from an live input using RTMPS.
- Srt
Get
Stream Live Input Srt - Details for streaming to a live input using SRT.
- Srt
Playback GetStream Live Input Srt Playback - Details for playback from an live input using SRT.
- Status string
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- Uid string
- A unique identifier for a live input.
- Web
Rtc GetStream Live Input Web Rtc - Details for streaming to a live input using WebRTC.
- Web
Rtc GetPlayback Stream Live Input Web Rtc Playback - Details for playback from a live input using WebRTC.
- account
Id String - Identifier.
- created String
- The date and time the live input was created.
- delete
Recording DoubleAfter Days - 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. - id String
- The provider-assigned unique ID for this managed resource.
- live
Input StringIdentifier - A unique identifier for a live input.
- meta String
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- modified String
- The date and time the live input was last modified.
- recording
Get
Stream Live Input Recording - 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.
- rtmps
Get
Stream Live Input Rtmps - Details for streaming to an live input using RTMPS.
- rtmps
Playback GetStream Live Input Rtmps Playback - Details for playback from an live input using RTMPS.
- srt
Get
Stream Live Input Srt - Details for streaming to a live input using SRT.
- srt
Playback GetStream Live Input Srt Playback - Details for playback from an live input using SRT.
- status String
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- uid String
- A unique identifier for a live input.
- web
Rtc GetStream Live Input Web Rtc - Details for streaming to a live input using WebRTC.
- web
Rtc GetPlayback Stream Live Input Web Rtc Playback - Details for playback from a live input using WebRTC.
- account
Id string - Identifier.
- created string
- The date and time the live input was created.
- delete
Recording numberAfter Days - 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. - id string
- The provider-assigned unique ID for this managed resource.
- live
Input stringIdentifier - A unique identifier for a live input.
- meta string
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- modified string
- The date and time the live input was last modified.
- recording
Get
Stream Live Input Recording - 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.
- rtmps
Get
Stream Live Input Rtmps - Details for streaming to an live input using RTMPS.
- rtmps
Playback GetStream Live Input Rtmps Playback - Details for playback from an live input using RTMPS.
- srt
Get
Stream Live Input Srt - Details for streaming to a live input using SRT.
- srt
Playback GetStream Live Input Srt Playback - Details for playback from an live input using SRT.
- status string
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- uid string
- A unique identifier for a live input.
- web
Rtc GetStream Live Input Web Rtc - Details for streaming to a live input using WebRTC.
- web
Rtc GetPlayback Stream Live Input Web Rtc Playback - Details for playback from a live input using WebRTC.
- account_
id str - Identifier.
- created str
- The date and time the live input was created.
- delete_
recording_ floatafter_ days - 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. - id str
- The provider-assigned unique ID for this managed resource.
- live_
input_ stridentifier - A unique identifier for a live input.
- meta str
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- modified str
- The date and time the live input was last modified.
- recording
Get
Stream Live Input Recording - 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.
- rtmps
Get
Stream Live Input Rtmps - Details for streaming to an live input using RTMPS.
- rtmps_
playback GetStream Live Input Rtmps Playback - Details for playback from an live input using RTMPS.
- srt
Get
Stream Live Input Srt - Details for streaming to a live input using SRT.
- srt_
playback GetStream Live Input Srt Playback - Details for playback from an live input using SRT.
- status str
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- uid str
- A unique identifier for a live input.
- web_
rtc GetStream Live Input Web Rtc - Details for streaming to a live input using WebRTC.
- web_
rtc_ Getplayback Stream Live Input Web Rtc Playback - Details for playback from a live input using WebRTC.
- account
Id String - Identifier.
- created String
- The date and time the live input was created.
- delete
Recording NumberAfter Days - 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. - id String
- The provider-assigned unique ID for this managed resource.
- live
Input StringIdentifier - A unique identifier for a live input.
- meta String
- A user modifiable key-value store used to reference other systems of record for managing live inputs.
- modified String
- The date and time the live input was last modified.
- recording Property Map
- 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.
- rtmps Property Map
- Details for streaming to an live input using RTMPS.
- rtmps
Playback Property Map - Details for playback from an live input using RTMPS.
- srt Property Map
- Details for streaming to a live input using SRT.
- srt
Playback Property Map - Details for playback from an live input using SRT.
- status String
- The connection status of a live input. Available values: "connected", "reconnected", "reconnecting", "clientdisconnect", "ttlexceeded", "failedtoconnect", "failedtoreconnect", "newconfigurationaccepted".
- uid String
- A unique identifier for a live input.
- web
Rtc Property Map - Details for streaming to a live input using WebRTC.
- web
Rtc Property MapPlayback - Details for playback from a live input using WebRTC.
Supporting Types
GetStreamLiveInputRecording
- Allowed
Origins List<string> - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - Hide
Live boolViewer Count - Disables reporting the number of live viewers when this property is set to
true
. - Mode string
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - Require
Signed boolUrls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - Timeout
Seconds int - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
- Allowed
Origins []string - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - Hide
Live boolViewer Count - Disables reporting the number of live viewers when this property is set to
true
. - Mode string
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - Require
Signed boolUrls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - Timeout
Seconds int - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
- allowed
Origins List<String> - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - hide
Live BooleanViewer Count - Disables reporting the number of live viewers when this property is set to
true
. - mode String
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - require
Signed BooleanUrls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - timeout
Seconds Integer - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
- allowed
Origins string[] - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - hide
Live booleanViewer Count - Disables reporting the number of live viewers when this property is set to
true
. - mode string
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - require
Signed booleanUrls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - timeout
Seconds number - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
- allowed_
origins Sequence[str] - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - hide_
live_ boolviewer_ count - Disables reporting the number of live viewers when this property is set to
true
. - mode str
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - require_
signed_ boolurls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - timeout_
seconds int - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
- allowed
Origins List<String> - Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use
*
for wildcard subdomains. An empty array allows videos to be viewed on any origin. - hide
Live BooleanViewer Count - Disables reporting the number of live viewers when this property is set to
true
. - mode String
- Specifies the recording behavior for the live input. Set this value to
off
to prevent a recording. Set the value toautomatic
to begin a recording and transition to on-demand after Stream Live stops receiving input. Available values: "off", "automatic". - require
Signed BooleanUrls - Indicates if a video using the live input has the
requireSignedURLs
property set. Also enforces access controls on any video recording of the livestream with the live input. - timeout
Seconds Number - Determines the amount of time a live input configured in
automatic
mode should wait before a recording transitions from live to on-demand.0
is recommended for most use cases and indicates the platform default should be used.
GetStreamLiveInputRtmps
- stream_
key str - The secret key to use when streaming via RTMPS to a live input.
- url str
- The RTMPS URL you provide to the broadcaster, which they stream live video to.
GetStreamLiveInputRtmpsPlayback
- stream_
key str - The secret key to use for playback via RTMPS.
- url str
- The URL used to play live video over RTMPS.
GetStreamLiveInputSrt
- Passphrase string
- The secret key to use when streaming via SRT to a live input.
- Stream
Id string - The identifier of the live input to use when streaming via SRT.
- Url string
- The SRT URL you provide to the broadcaster, which they stream live video to.
- Passphrase string
- The secret key to use when streaming via SRT to a live input.
- Stream
Id string - The identifier of the live input to use when streaming via SRT.
- Url string
- The SRT URL you provide to the broadcaster, which they stream live video to.
- passphrase String
- The secret key to use when streaming via SRT to a live input.
- stream
Id String - The identifier of the live input to use when streaming via SRT.
- url String
- The SRT URL you provide to the broadcaster, which they stream live video to.
- passphrase string
- The secret key to use when streaming via SRT to a live input.
- stream
Id string - The identifier of the live input to use when streaming via SRT.
- url string
- The SRT URL you provide to the broadcaster, which they stream live video to.
- passphrase str
- The secret key to use when streaming via SRT to a live input.
- stream_
id str - The identifier of the live input to use when streaming via SRT.
- url str
- The SRT URL you provide to the broadcaster, which they stream live video to.
- passphrase String
- The secret key to use when streaming via SRT to a live input.
- stream
Id String - The identifier of the live input to use when streaming via SRT.
- url String
- The SRT URL you provide to the broadcaster, which they stream live video to.
GetStreamLiveInputSrtPlayback
- Passphrase string
- The secret key to use for playback via SRT.
- Stream
Id string - The identifier of the live input to use for playback via SRT.
- Url string
- The URL used to play live video over SRT.
- Passphrase string
- The secret key to use for playback via SRT.
- Stream
Id string - The identifier of the live input to use for playback via SRT.
- Url string
- The URL used to play live video over SRT.
- passphrase String
- The secret key to use for playback via SRT.
- stream
Id String - The identifier of the live input to use for playback via SRT.
- url String
- The URL used to play live video over SRT.
- passphrase string
- The secret key to use for playback via SRT.
- stream
Id string - The identifier of the live input to use for playback via SRT.
- url string
- The URL used to play live video over SRT.
- passphrase str
- The secret key to use for playback via SRT.
- stream_
id str - The identifier of the live input to use for playback via SRT.
- url str
- The URL used to play live video over SRT.
- passphrase String
- The secret key to use for playback via SRT.
- stream
Id String - The identifier of the live input to use for playback via SRT.
- url String
- The URL used to play live video over SRT.
GetStreamLiveInputWebRtc
- Url string
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
- Url string
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
- url String
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
- url string
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
- url str
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
- url String
- The WebRTC URL you provide to the broadcaster, which they stream live video to.
GetStreamLiveInputWebRtcPlayback
- Url string
- The URL used to play live video over WebRTC.
- Url string
- The URL used to play live video over WebRTC.
- url String
- The URL used to play live video over WebRTC.
- url string
- The URL used to play live video over WebRTC.
- url str
- The URL used to play live video over WebRTC.
- url String
- The URL used to play live video over WebRTC.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.