published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Accepted Permissions
Pipelines ReadPipelines Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const examplePipelineStream = new cloudflare.PipelineStream("example_pipeline_stream", {
accountId: "0123105f4ecef8ad9ca31a8372d0c353",
name: "my_stream",
format: {
type: "json",
decimalEncoding: "number",
timestampFormat: "rfc3339",
unstructured: true,
},
http: {
authentication: false,
enabled: true,
cors: {
origins: ["string"],
},
},
schema: {
fields: [{
type: "int32",
metadataKey: "metadata_key",
name: "name",
required: true,
sqlName: "sql_name",
}],
format: {
type: "json",
decimalEncoding: "number",
timestampFormat: "rfc3339",
unstructured: true,
},
inferred: true,
},
workerBinding: {
enabled: true,
},
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pipeline_stream = cloudflare.PipelineStream("example_pipeline_stream",
account_id="0123105f4ecef8ad9ca31a8372d0c353",
name="my_stream",
format={
"type": "json",
"decimal_encoding": "number",
"timestamp_format": "rfc3339",
"unstructured": True,
},
http={
"authentication": False,
"enabled": True,
"cors": {
"origins": ["string"],
},
},
schema={
"fields": [{
"type": "int32",
"metadata_key": "metadata_key",
"name": "name",
"required": True,
"sql_name": "sql_name",
}],
"format": {
"type": "json",
"decimal_encoding": "number",
"timestamp_format": "rfc3339",
"unstructured": True,
},
"inferred": True,
},
worker_binding={
"enabled": True,
})
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.NewPipelineStream(ctx, "example_pipeline_stream", &cloudflare.PipelineStreamArgs{
AccountId: pulumi.String("0123105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.String("my_stream"),
Format: &cloudflare.PipelineStreamFormatArgs{
Type: pulumi.String("json"),
DecimalEncoding: pulumi.String("number"),
TimestampFormat: pulumi.String("rfc3339"),
Unstructured: pulumi.Bool(true),
},
Http: &cloudflare.PipelineStreamHttpArgs{
Authentication: pulumi.Bool(false),
Enabled: pulumi.Bool(true),
Cors: &cloudflare.PipelineStreamHttpCorsArgs{
Origins: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Schema: &cloudflare.PipelineStreamSchemaArgs{
Fields: cloudflare.PipelineStreamSchemaFieldArray{
&cloudflare.PipelineStreamSchemaFieldArgs{
Type: pulumi.String("int32"),
MetadataKey: pulumi.String("metadata_key"),
Name: pulumi.String("name"),
Required: pulumi.Bool(true),
SqlName: pulumi.String("sql_name"),
},
},
Format: &cloudflare.PipelineStreamSchemaFormatArgs{
Type: pulumi.String("json"),
DecimalEncoding: pulumi.String("number"),
TimestampFormat: pulumi.String("rfc3339"),
Unstructured: pulumi.Bool(true),
},
Inferred: pulumi.Bool(true),
},
WorkerBinding: &cloudflare.PipelineStreamWorkerBindingArgs{
Enabled: pulumi.Bool(true),
},
})
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 examplePipelineStream = new Cloudflare.Index.PipelineStream("example_pipeline_stream", new()
{
AccountId = "0123105f4ecef8ad9ca31a8372d0c353",
Name = "my_stream",
Format = new Cloudflare.Inputs.PipelineStreamFormatArgs
{
Type = "json",
DecimalEncoding = "number",
TimestampFormat = "rfc3339",
Unstructured = true,
},
Http = new Cloudflare.Inputs.PipelineStreamHttpArgs
{
Authentication = false,
Enabled = true,
Cors = new Cloudflare.Inputs.PipelineStreamHttpCorsArgs
{
Origins = new[]
{
"string",
},
},
},
Schema = new Cloudflare.Inputs.PipelineStreamSchemaArgs
{
Fields = new[]
{
new Cloudflare.Inputs.PipelineStreamSchemaFieldArgs
{
Type = "int32",
MetadataKey = "metadata_key",
Name = "name",
Required = true,
SqlName = "sql_name",
},
},
Format = new Cloudflare.Inputs.PipelineStreamSchemaFormatArgs
{
Type = "json",
DecimalEncoding = "number",
TimestampFormat = "rfc3339",
Unstructured = true,
},
Inferred = true,
},
WorkerBinding = new Cloudflare.Inputs.PipelineStreamWorkerBindingArgs
{
Enabled = true,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.PipelineStream;
import com.pulumi.cloudflare.PipelineStreamArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamFormatArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamHttpArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamHttpCorsArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamSchemaArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamSchemaFormatArgs;
import com.pulumi.cloudflare.inputs.PipelineStreamWorkerBindingArgs;
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) {
var examplePipelineStream = new PipelineStream("examplePipelineStream", PipelineStreamArgs.builder()
.accountId("0123105f4ecef8ad9ca31a8372d0c353")
.name("my_stream")
.format(PipelineStreamFormatArgs.builder()
.type("json")
.decimalEncoding("number")
.timestampFormat("rfc3339")
.unstructured(true)
.build())
.http(PipelineStreamHttpArgs.builder()
.authentication(false)
.enabled(true)
.cors(PipelineStreamHttpCorsArgs.builder()
.origins("string")
.build())
.build())
.schema(PipelineStreamSchemaArgs.builder()
.fields(PipelineStreamSchemaFieldArgs.builder()
.type("int32")
.metadataKey("metadata_key")
.name("name")
.required(true)
.sqlName("sql_name")
.build())
.format(PipelineStreamSchemaFormatArgs.builder()
.type("json")
.decimalEncoding("number")
.timestampFormat("rfc3339")
.unstructured(true)
.build())
.inferred(true)
.build())
.workerBinding(PipelineStreamWorkerBindingArgs.builder()
.enabled(true)
.build())
.build());
}
}
resources:
examplePipelineStream:
type: cloudflare:PipelineStream
name: example_pipeline_stream
properties:
accountId: 0123105f4ecef8ad9ca31a8372d0c353
name: my_stream
format:
type: json
decimalEncoding: number
timestampFormat: rfc3339
unstructured: true
http:
authentication: false
enabled: true
cors:
origins:
- string
schema:
fields:
- type: int32
metadataKey: metadata_key
name: name
required: true
sqlName: sql_name
format:
type: json
decimalEncoding: number
timestampFormat: rfc3339
unstructured: true
inferred: true
workerBinding:
enabled: true
Create PipelineStream Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PipelineStream(name: string, args: PipelineStreamArgs, opts?: CustomResourceOptions);@overload
def PipelineStream(resource_name: str,
args: PipelineStreamArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PipelineStream(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
account_id: Optional[str] = None,
format: Optional[PipelineStreamFormatArgs] = None,
http: Optional[PipelineStreamHttpArgs] = None,
schema: Optional[PipelineStreamSchemaArgs] = None,
worker_binding: Optional[PipelineStreamWorkerBindingArgs] = None)func NewPipelineStream(ctx *Context, name string, args PipelineStreamArgs, opts ...ResourceOption) (*PipelineStream, error)public PipelineStream(string name, PipelineStreamArgs args, CustomResourceOptions? opts = null)
public PipelineStream(String name, PipelineStreamArgs args)
public PipelineStream(String name, PipelineStreamArgs args, CustomResourceOptions options)
type: cloudflare:PipelineStream
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PipelineStreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PipelineStreamArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PipelineStreamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PipelineStreamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PipelineStreamArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PipelineStream Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PipelineStream resource accepts the following input properties:
- Name string
- Specifies the name of the Stream.
- Account
Id string - Specifies the public ID of the account.
- Format
Pipeline
Stream Format - Http
Pipeline
Stream Http - Schema
Pipeline
Stream Schema - Worker
Binding PipelineStream Worker Binding
- Name string
- Specifies the name of the Stream.
- Account
Id string - Specifies the public ID of the account.
- Format
Pipeline
Stream Format Args - Http
Pipeline
Stream Http Args - Schema
Pipeline
Stream Schema Args - Worker
Binding PipelineStream Worker Binding Args
- name String
- Specifies the name of the Stream.
- account
Id String - Specifies the public ID of the account.
- format
Pipeline
Stream Format - http
Pipeline
Stream Http - schema
Pipeline
Stream Schema - worker
Binding PipelineStream Worker Binding
- name string
- Specifies the name of the Stream.
- account
Id string - Specifies the public ID of the account.
- format
Pipeline
Stream Format - http
Pipeline
Stream Http - schema
Pipeline
Stream Schema - worker
Binding PipelineStream Worker Binding
- name str
- Specifies the name of the Stream.
- account_
id str - Specifies the public ID of the account.
- format
Pipeline
Stream Format Args - http
Pipeline
Stream Http Args - schema
Pipeline
Stream Schema Args - worker_
binding PipelineStream Worker Binding Args
- name String
- Specifies the name of the Stream.
- account
Id String - Specifies the public ID of the account.
- format Property Map
- http Property Map
- schema Property Map
- worker
Binding Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PipelineStream resource produces the following output properties:
- Created
At string - Endpoint string
- Indicates the endpoint URL of this stream.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Version int
- Indicates the current version of this stream.
- Created
At string - Endpoint string
- Indicates the endpoint URL of this stream.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Version int
- Indicates the current version of this stream.
- created
At String - endpoint String
- Indicates the endpoint URL of this stream.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - version Integer
- Indicates the current version of this stream.
- created
At string - endpoint string
- Indicates the endpoint URL of this stream.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - version number
- Indicates the current version of this stream.
- created_
at str - endpoint str
- Indicates the endpoint URL of this stream.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - version int
- Indicates the current version of this stream.
- created
At String - endpoint String
- Indicates the endpoint URL of this stream.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - version Number
- Indicates the current version of this stream.
Look up Existing PipelineStream Resource
Get an existing PipelineStream resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PipelineStreamState, opts?: CustomResourceOptions): PipelineStream@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
endpoint: Optional[str] = None,
format: Optional[PipelineStreamFormatArgs] = None,
http: Optional[PipelineStreamHttpArgs] = None,
modified_at: Optional[str] = None,
name: Optional[str] = None,
schema: Optional[PipelineStreamSchemaArgs] = None,
version: Optional[int] = None,
worker_binding: Optional[PipelineStreamWorkerBindingArgs] = None) -> PipelineStreamfunc GetPipelineStream(ctx *Context, name string, id IDInput, state *PipelineStreamState, opts ...ResourceOption) (*PipelineStream, error)public static PipelineStream Get(string name, Input<string> id, PipelineStreamState? state, CustomResourceOptions? opts = null)public static PipelineStream get(String name, Output<String> id, PipelineStreamState state, CustomResourceOptions options)resources: _: type: cloudflare:PipelineStream get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Specifies the public ID of the account.
- Created
At string - Endpoint string
- Indicates the endpoint URL of this stream.
- Format
Pipeline
Stream Format - Http
Pipeline
Stream Http - Modified
At string - Name string
- Specifies the name of the Stream.
- Schema
Pipeline
Stream Schema - Version int
- Indicates the current version of this stream.
- Worker
Binding PipelineStream Worker Binding
- Account
Id string - Specifies the public ID of the account.
- Created
At string - Endpoint string
- Indicates the endpoint URL of this stream.
- Format
Pipeline
Stream Format Args - Http
Pipeline
Stream Http Args - Modified
At string - Name string
- Specifies the name of the Stream.
- Schema
Pipeline
Stream Schema Args - Version int
- Indicates the current version of this stream.
- Worker
Binding PipelineStream Worker Binding Args
- account
Id String - Specifies the public ID of the account.
- created
At String - endpoint String
- Indicates the endpoint URL of this stream.
- format
Pipeline
Stream Format - http
Pipeline
Stream Http - modified
At String - name String
- Specifies the name of the Stream.
- schema
Pipeline
Stream Schema - version Integer
- Indicates the current version of this stream.
- worker
Binding PipelineStream Worker Binding
- account
Id string - Specifies the public ID of the account.
- created
At string - endpoint string
- Indicates the endpoint URL of this stream.
- format
Pipeline
Stream Format - http
Pipeline
Stream Http - modified
At string - name string
- Specifies the name of the Stream.
- schema
Pipeline
Stream Schema - version number
- Indicates the current version of this stream.
- worker
Binding PipelineStream Worker Binding
- account_
id str - Specifies the public ID of the account.
- created_
at str - endpoint str
- Indicates the endpoint URL of this stream.
- format
Pipeline
Stream Format Args - http
Pipeline
Stream Http Args - modified_
at str - name str
- Specifies the name of the Stream.
- schema
Pipeline
Stream Schema Args - version int
- Indicates the current version of this stream.
- worker_
binding PipelineStream Worker Binding Args
- account
Id String - Specifies the public ID of the account.
- created
At String - endpoint String
- Indicates the endpoint URL of this stream.
- format Property Map
- http Property Map
- modified
At String - name String
- Specifies the name of the Stream.
- schema Property Map
- version Number
- Indicates the current version of this stream.
- worker
Binding Property Map
Supporting Types
PipelineStreamFormat, PipelineStreamFormatArgs
- Type string
- Available values: "json", "parquet".
- Compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Unstructured bool
- Type string
- Available values: "json", "parquet".
- Compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Unstructured bool
- type String
- Available values: "json", "parquet".
- compression String
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group IntegerBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- unstructured Boolean
- type string
- Available values: "json", "parquet".
- compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding string - Available values: "number", "string", "bytes".
- row
Group numberBytes - timestamp
Format string - Available values: "rfc3339", "unixMillis".
- unstructured boolean
- type str
- Available values: "json", "parquet".
- compression str
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal_
encoding str - Available values: "number", "string", "bytes".
- row_
group_ intbytes - timestamp_
format str - Available values: "rfc3339", "unixMillis".
- unstructured bool
- type String
- Available values: "json", "parquet".
- compression String
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group NumberBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- unstructured Boolean
PipelineStreamHttp, PipelineStreamHttpArgs
- Authentication bool
- Indicates that authentication is required for the HTTP endpoint.
- Enabled bool
- Indicates that the HTTP endpoint is enabled.
- Cors
Pipeline
Stream Http Cors - Specifies the CORS options for the HTTP endpoint.
- Authentication bool
- Indicates that authentication is required for the HTTP endpoint.
- Enabled bool
- Indicates that the HTTP endpoint is enabled.
- Cors
Pipeline
Stream Http Cors - Specifies the CORS options for the HTTP endpoint.
- authentication Boolean
- Indicates that authentication is required for the HTTP endpoint.
- enabled Boolean
- Indicates that the HTTP endpoint is enabled.
- cors
Pipeline
Stream Http Cors - Specifies the CORS options for the HTTP endpoint.
- authentication boolean
- Indicates that authentication is required for the HTTP endpoint.
- enabled boolean
- Indicates that the HTTP endpoint is enabled.
- cors
Pipeline
Stream Http Cors - Specifies the CORS options for the HTTP endpoint.
- authentication bool
- Indicates that authentication is required for the HTTP endpoint.
- enabled bool
- Indicates that the HTTP endpoint is enabled.
- cors
Pipeline
Stream Http Cors - Specifies the CORS options for the HTTP endpoint.
- authentication Boolean
- Indicates that authentication is required for the HTTP endpoint.
- enabled Boolean
- Indicates that the HTTP endpoint is enabled.
- cors Property Map
- Specifies the CORS options for the HTTP endpoint.
PipelineStreamHttpCors, PipelineStreamHttpCorsArgs
- Origins List<string>
- Origins []string
- origins List<String>
- origins string[]
- origins Sequence[str]
- origins List<String>
PipelineStreamSchema, PipelineStreamSchemaArgs
PipelineStreamSchemaField, PipelineStreamSchemaFieldArgs
PipelineStreamSchemaFormat, PipelineStreamSchemaFormatArgs
- Type string
- Available values: "json", "parquet".
- Compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Unstructured bool
- Type string
- Available values: "json", "parquet".
- Compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- Decimal
Encoding string - Available values: "number", "string", "bytes".
- Row
Group intBytes - Timestamp
Format string - Available values: "rfc3339", "unixMillis".
- Unstructured bool
- type String
- Available values: "json", "parquet".
- compression String
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group IntegerBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- unstructured Boolean
- type string
- Available values: "json", "parquet".
- compression string
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding string - Available values: "number", "string", "bytes".
- row
Group numberBytes - timestamp
Format string - Available values: "rfc3339", "unixMillis".
- unstructured boolean
- type str
- Available values: "json", "parquet".
- compression str
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal_
encoding str - Available values: "number", "string", "bytes".
- row_
group_ intbytes - timestamp_
format str - Available values: "rfc3339", "unixMillis".
- unstructured bool
- type String
- Available values: "json", "parquet".
- compression String
- Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
- decimal
Encoding String - Available values: "number", "string", "bytes".
- row
Group NumberBytes - timestamp
Format String - Available values: "rfc3339", "unixMillis".
- unstructured Boolean
PipelineStreamWorkerBinding, PipelineStreamWorkerBindingArgs
- Enabled bool
- Indicates that the worker binding is enabled.
- Enabled bool
- Indicates that the worker binding is enabled.
- enabled Boolean
- Indicates that the worker binding is enabled.
- enabled boolean
- Indicates that the worker binding is enabled.
- enabled bool
- Indicates that the worker binding is enabled.
- enabled Boolean
- Indicates that the worker binding is enabled.
Import
$ pulumi import cloudflare:index/pipelineStream:PipelineStream example '<account_id>/<stream_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
published on Saturday, May 2, 2026 by Pulumi
