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 examplePipeline = new cloudflare.Pipeline("example_pipeline", {
accountId: "0123105f4ecef8ad9ca31a8372d0c353",
name: "my_pipeline",
sql: "insert into sink select * from source;",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_pipeline = cloudflare.Pipeline("example_pipeline",
account_id="0123105f4ecef8ad9ca31a8372d0c353",
name="my_pipeline",
sql="insert into sink select * from source;")
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.NewPipeline(ctx, "example_pipeline", &cloudflare.PipelineArgs{
AccountId: pulumi.String("0123105f4ecef8ad9ca31a8372d0c353"),
Name: pulumi.String("my_pipeline"),
Sql: pulumi.String("insert into sink select * from source;"),
})
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 examplePipeline = new Cloudflare.Index.Pipeline("example_pipeline", new()
{
AccountId = "0123105f4ecef8ad9ca31a8372d0c353",
Name = "my_pipeline",
Sql = "insert into sink select * from source;",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.Pipeline;
import com.pulumi.cloudflare.PipelineArgs;
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 examplePipeline = new Pipeline("examplePipeline", PipelineArgs.builder()
.accountId("0123105f4ecef8ad9ca31a8372d0c353")
.name("my_pipeline")
.sql("insert into sink select * from source;")
.build());
}
}
resources:
examplePipeline:
type: cloudflare:Pipeline
name: example_pipeline
properties:
accountId: 0123105f4ecef8ad9ca31a8372d0c353
name: my_pipeline
sql: insert into sink select * from source;
Create Pipeline Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Pipeline(name: string, args: PipelineArgs, opts?: CustomResourceOptions);@overload
def Pipeline(resource_name: str,
args: PipelineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Pipeline(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
sql: Optional[str] = None,
account_id: Optional[str] = None)func NewPipeline(ctx *Context, name string, args PipelineArgs, opts ...ResourceOption) (*Pipeline, error)public Pipeline(string name, PipelineArgs args, CustomResourceOptions? opts = null)
public Pipeline(String name, PipelineArgs args)
public Pipeline(String name, PipelineArgs args, CustomResourceOptions options)
type: cloudflare:Pipeline
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 PipelineArgs
- 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 PipelineArgs
- 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 PipelineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PipelineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var pipelineResource = new Cloudflare.Pipeline("pipelineResource", new()
{
Name = "string",
Sql = "string",
AccountId = "string",
});
example, err := cloudflare.NewPipeline(ctx, "pipelineResource", &cloudflare.PipelineArgs{
Name: pulumi.String("string"),
Sql: pulumi.String("string"),
AccountId: pulumi.String("string"),
})
var pipelineResource = new Pipeline("pipelineResource", PipelineArgs.builder()
.name("string")
.sql("string")
.accountId("string")
.build());
pipeline_resource = cloudflare.Pipeline("pipelineResource",
name="string",
sql="string",
account_id="string")
const pipelineResource = new cloudflare.Pipeline("pipelineResource", {
name: "string",
sql: "string",
accountId: "string",
});
type: cloudflare:Pipeline
properties:
accountId: string
name: string
sql: string
Pipeline 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 Pipeline resource accepts the following input properties:
- name str
- Specifies the name of the Pipeline.
- sql str
- Specifies SQL for the Pipeline processing flow.
- account_
id str - Specifies the public ID of the account.
Outputs
All input properties are implicitly available as output properties. Additionally, the Pipeline resource produces the following output properties:
- Created
At string - Failure
Reason string - Indicates the reason for the failure of the Pipeline.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Status string
- Indicates the current status of the Pipeline.
- Tables
List<Pipeline
Table> - List of streams and sinks used by this pipeline.
- Created
At string - Failure
Reason string - Indicates the reason for the failure of the Pipeline.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Status string
- Indicates the current status of the Pipeline.
- Tables
[]Pipeline
Table - List of streams and sinks used by this pipeline.
- created
At String - failure
Reason String - Indicates the reason for the failure of the Pipeline.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - status String
- Indicates the current status of the Pipeline.
- tables
List<Pipeline
Table> - List of streams and sinks used by this pipeline.
- created
At string - failure
Reason string - Indicates the reason for the failure of the Pipeline.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - status string
- Indicates the current status of the Pipeline.
- tables
Pipeline
Table[] - List of streams and sinks used by this pipeline.
- created_
at str - failure_
reason str - Indicates the reason for the failure of the Pipeline.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - status str
- Indicates the current status of the Pipeline.
- tables
Sequence[Pipeline
Table] - List of streams and sinks used by this pipeline.
- created
At String - failure
Reason String - Indicates the reason for the failure of the Pipeline.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - status String
- Indicates the current status of the Pipeline.
- tables List<Property Map>
- List of streams and sinks used by this pipeline.
Look up Existing Pipeline Resource
Get an existing Pipeline 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?: PipelineState, opts?: CustomResourceOptions): Pipeline@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
failure_reason: Optional[str] = None,
modified_at: Optional[str] = None,
name: Optional[str] = None,
sql: Optional[str] = None,
status: Optional[str] = None,
tables: Optional[Sequence[PipelineTableArgs]] = None) -> Pipelinefunc GetPipeline(ctx *Context, name string, id IDInput, state *PipelineState, opts ...ResourceOption) (*Pipeline, error)public static Pipeline Get(string name, Input<string> id, PipelineState? state, CustomResourceOptions? opts = null)public static Pipeline get(String name, Output<String> id, PipelineState state, CustomResourceOptions options)resources: _: type: cloudflare:Pipeline 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 - Failure
Reason string - Indicates the reason for the failure of the Pipeline.
- Modified
At string - Name string
- Specifies the name of the Pipeline.
- Sql string
- Specifies SQL for the Pipeline processing flow.
- Status string
- Indicates the current status of the Pipeline.
- Tables
List<Pipeline
Table> - List of streams and sinks used by this pipeline.
- Account
Id string - Specifies the public ID of the account.
- Created
At string - Failure
Reason string - Indicates the reason for the failure of the Pipeline.
- Modified
At string - Name string
- Specifies the name of the Pipeline.
- Sql string
- Specifies SQL for the Pipeline processing flow.
- Status string
- Indicates the current status of the Pipeline.
- Tables
[]Pipeline
Table Args - List of streams and sinks used by this pipeline.
- account
Id String - Specifies the public ID of the account.
- created
At String - failure
Reason String - Indicates the reason for the failure of the Pipeline.
- modified
At String - name String
- Specifies the name of the Pipeline.
- sql String
- Specifies SQL for the Pipeline processing flow.
- status String
- Indicates the current status of the Pipeline.
- tables
List<Pipeline
Table> - List of streams and sinks used by this pipeline.
- account
Id string - Specifies the public ID of the account.
- created
At string - failure
Reason string - Indicates the reason for the failure of the Pipeline.
- modified
At string - name string
- Specifies the name of the Pipeline.
- sql string
- Specifies SQL for the Pipeline processing flow.
- status string
- Indicates the current status of the Pipeline.
- tables
Pipeline
Table[] - List of streams and sinks used by this pipeline.
- account_
id str - Specifies the public ID of the account.
- created_
at str - failure_
reason str - Indicates the reason for the failure of the Pipeline.
- modified_
at str - name str
- Specifies the name of the Pipeline.
- sql str
- Specifies SQL for the Pipeline processing flow.
- status str
- Indicates the current status of the Pipeline.
- tables
Sequence[Pipeline
Table Args] - List of streams and sinks used by this pipeline.
- account
Id String - Specifies the public ID of the account.
- created
At String - failure
Reason String - Indicates the reason for the failure of the Pipeline.
- modified
At String - name String
- Specifies the name of the Pipeline.
- sql String
- Specifies SQL for the Pipeline processing flow.
- status String
- Indicates the current status of the Pipeline.
- tables List<Property Map>
- List of streams and sinks used by this pipeline.
Supporting Types
PipelineTable, PipelineTableArgs
Import
$ pulumi import cloudflare:index/pipeline:Pipeline example '<account_id>/<pipeline_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
