1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. PipelineSink
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi

    Accepted Permissions

    • Pipelines Read
    • Pipelines Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const examplePipelineSink = new cloudflare.PipelineSink("example_pipeline_sink", {
        accountId: "0123105f4ecef8ad9ca31a8372d0c353",
        name: "my_sink",
        type: "r2",
        config: {
            accountId: "account_id",
            bucket: "bucket",
            credentials: {
                accessKeyId: "access_key_id",
                secretAccessKey: "secret_access_key",
            },
            fileNaming: {
                prefix: "prefix",
                strategy: "serial",
                suffix: "suffix",
            },
            jurisdiction: "jurisdiction",
            partitioning: {
                timePattern: "year=%Y/month=%m/day=%d/hour=%H",
            },
            path: "path",
            rollingPolicy: {
                fileSizeBytes: 0,
                inactivitySeconds: 1,
                intervalSeconds: 1,
            },
        },
        format: {
            type: "json",
            decimalEncoding: "number",
            timestampFormat: "rfc3339",
            unstructured: true,
        },
        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,
        },
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_pipeline_sink = cloudflare.PipelineSink("example_pipeline_sink",
        account_id="0123105f4ecef8ad9ca31a8372d0c353",
        name="my_sink",
        type="r2",
        config={
            "account_id": "account_id",
            "bucket": "bucket",
            "credentials": {
                "access_key_id": "access_key_id",
                "secret_access_key": "secret_access_key",
            },
            "file_naming": {
                "prefix": "prefix",
                "strategy": "serial",
                "suffix": "suffix",
            },
            "jurisdiction": "jurisdiction",
            "partitioning": {
                "time_pattern": "year=%Y/month=%m/day=%d/hour=%H",
            },
            "path": "path",
            "rolling_policy": {
                "file_size_bytes": 0,
                "inactivity_seconds": 1,
                "interval_seconds": 1,
            },
        },
        format={
            "type": "json",
            "decimal_encoding": "number",
            "timestamp_format": "rfc3339",
            "unstructured": True,
        },
        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,
        })
    
    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.NewPipelineSink(ctx, "example_pipeline_sink", &cloudflare.PipelineSinkArgs{
    			AccountId: pulumi.String("0123105f4ecef8ad9ca31a8372d0c353"),
    			Name:      pulumi.String("my_sink"),
    			Type:      pulumi.String("r2"),
    			Config: &cloudflare.PipelineSinkConfigArgs{
    				AccountId: pulumi.String("account_id"),
    				Bucket:    pulumi.String("bucket"),
    				Credentials: &cloudflare.PipelineSinkConfigCredentialsArgs{
    					AccessKeyId:     pulumi.String("access_key_id"),
    					SecretAccessKey: pulumi.String("secret_access_key"),
    				},
    				FileNaming: &cloudflare.PipelineSinkConfigFileNamingArgs{
    					Prefix:   pulumi.String("prefix"),
    					Strategy: pulumi.String("serial"),
    					Suffix:   pulumi.String("suffix"),
    				},
    				Jurisdiction: pulumi.String("jurisdiction"),
    				Partitioning: &cloudflare.PipelineSinkConfigPartitioningArgs{
    					TimePattern: pulumi.String("year=%Y/month=%m/day=%d/hour=%H"),
    				},
    				Path: pulumi.String("path"),
    				RollingPolicy: &cloudflare.PipelineSinkConfigRollingPolicyArgs{
    					FileSizeBytes:     pulumi.Int(0),
    					InactivitySeconds: pulumi.Int(1),
    					IntervalSeconds:   pulumi.Int(1),
    				},
    			},
    			Format: &cloudflare.PipelineSinkFormatArgs{
    				Type:            pulumi.String("json"),
    				DecimalEncoding: pulumi.String("number"),
    				TimestampFormat: pulumi.String("rfc3339"),
    				Unstructured:    pulumi.Bool(true),
    			},
    			Schema: &cloudflare.PipelineSinkSchemaArgs{
    				Fields: cloudflare.PipelineSinkSchemaFieldArray{
    					&cloudflare.PipelineSinkSchemaFieldArgs{
    						Type:        pulumi.String("int32"),
    						MetadataKey: pulumi.String("metadata_key"),
    						Name:        pulumi.String("name"),
    						Required:    pulumi.Bool(true),
    						SqlName:     pulumi.String("sql_name"),
    					},
    				},
    				Format: &cloudflare.PipelineSinkSchemaFormatArgs{
    					Type:            pulumi.String("json"),
    					DecimalEncoding: pulumi.String("number"),
    					TimestampFormat: pulumi.String("rfc3339"),
    					Unstructured:    pulumi.Bool(true),
    				},
    				Inferred: 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 examplePipelineSink = new Cloudflare.Index.PipelineSink("example_pipeline_sink", new()
        {
            AccountId = "0123105f4ecef8ad9ca31a8372d0c353",
            Name = "my_sink",
            Type = "r2",
            Config = new Cloudflare.Inputs.PipelineSinkConfigArgs
            {
                AccountId = "account_id",
                Bucket = "bucket",
                Credentials = new Cloudflare.Inputs.PipelineSinkConfigCredentialsArgs
                {
                    AccessKeyId = "access_key_id",
                    SecretAccessKey = "secret_access_key",
                },
                FileNaming = new Cloudflare.Inputs.PipelineSinkConfigFileNamingArgs
                {
                    Prefix = "prefix",
                    Strategy = "serial",
                    Suffix = "suffix",
                },
                Jurisdiction = "jurisdiction",
                Partitioning = new Cloudflare.Inputs.PipelineSinkConfigPartitioningArgs
                {
                    TimePattern = "year=%Y/month=%m/day=%d/hour=%H",
                },
                Path = "path",
                RollingPolicy = new Cloudflare.Inputs.PipelineSinkConfigRollingPolicyArgs
                {
                    FileSizeBytes = 0,
                    InactivitySeconds = 1,
                    IntervalSeconds = 1,
                },
            },
            Format = new Cloudflare.Inputs.PipelineSinkFormatArgs
            {
                Type = "json",
                DecimalEncoding = "number",
                TimestampFormat = "rfc3339",
                Unstructured = true,
            },
            Schema = new Cloudflare.Inputs.PipelineSinkSchemaArgs
            {
                Fields = new[]
                {
                    new Cloudflare.Inputs.PipelineSinkSchemaFieldArgs
                    {
                        Type = "int32",
                        MetadataKey = "metadata_key",
                        Name = "name",
                        Required = true,
                        SqlName = "sql_name",
                    },
                },
                Format = new Cloudflare.Inputs.PipelineSinkSchemaFormatArgs
                {
                    Type = "json",
                    DecimalEncoding = "number",
                    TimestampFormat = "rfc3339",
                    Unstructured = true,
                },
                Inferred = true,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.PipelineSink;
    import com.pulumi.cloudflare.PipelineSinkArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkConfigArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkConfigCredentialsArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkConfigFileNamingArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkConfigPartitioningArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkConfigRollingPolicyArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkFormatArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkSchemaArgs;
    import com.pulumi.cloudflare.inputs.PipelineSinkSchemaFormatArgs;
    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 examplePipelineSink = new PipelineSink("examplePipelineSink", PipelineSinkArgs.builder()
                .accountId("0123105f4ecef8ad9ca31a8372d0c353")
                .name("my_sink")
                .type("r2")
                .config(PipelineSinkConfigArgs.builder()
                    .accountId("account_id")
                    .bucket("bucket")
                    .credentials(PipelineSinkConfigCredentialsArgs.builder()
                        .accessKeyId("access_key_id")
                        .secretAccessKey("secret_access_key")
                        .build())
                    .fileNaming(PipelineSinkConfigFileNamingArgs.builder()
                        .prefix("prefix")
                        .strategy("serial")
                        .suffix("suffix")
                        .build())
                    .jurisdiction("jurisdiction")
                    .partitioning(PipelineSinkConfigPartitioningArgs.builder()
                        .timePattern("year=%Y/month=%m/day=%d/hour=%H")
                        .build())
                    .path("path")
                    .rollingPolicy(PipelineSinkConfigRollingPolicyArgs.builder()
                        .fileSizeBytes(0)
                        .inactivitySeconds(1)
                        .intervalSeconds(1)
                        .build())
                    .build())
                .format(PipelineSinkFormatArgs.builder()
                    .type("json")
                    .decimalEncoding("number")
                    .timestampFormat("rfc3339")
                    .unstructured(true)
                    .build())
                .schema(PipelineSinkSchemaArgs.builder()
                    .fields(PipelineSinkSchemaFieldArgs.builder()
                        .type("int32")
                        .metadataKey("metadata_key")
                        .name("name")
                        .required(true)
                        .sqlName("sql_name")
                        .build())
                    .format(PipelineSinkSchemaFormatArgs.builder()
                        .type("json")
                        .decimalEncoding("number")
                        .timestampFormat("rfc3339")
                        .unstructured(true)
                        .build())
                    .inferred(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      examplePipelineSink:
        type: cloudflare:PipelineSink
        name: example_pipeline_sink
        properties:
          accountId: 0123105f4ecef8ad9ca31a8372d0c353
          name: my_sink
          type: r2
          config:
            accountId: account_id
            bucket: bucket
            credentials:
              accessKeyId: access_key_id
              secretAccessKey: secret_access_key
            fileNaming:
              prefix: prefix
              strategy: serial
              suffix: suffix
            jurisdiction: jurisdiction
            partitioning:
              timePattern: year=%Y/month=%m/day=%d/hour=%H
            path: path
            rollingPolicy:
              fileSizeBytes: 0
              inactivitySeconds: 1
              intervalSeconds: 1
          format:
            type: json
            decimalEncoding: number
            timestampFormat: rfc3339
            unstructured: true
          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
    

    Create PipelineSink Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PipelineSink(name: string, args: PipelineSinkArgs, opts?: CustomResourceOptions);
    @overload
    def PipelineSink(resource_name: str,
                     args: PipelineSinkArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def PipelineSink(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     type: Optional[str] = None,
                     account_id: Optional[str] = None,
                     config: Optional[PipelineSinkConfigArgs] = None,
                     format: Optional[PipelineSinkFormatArgs] = None,
                     schema: Optional[PipelineSinkSchemaArgs] = None)
    func NewPipelineSink(ctx *Context, name string, args PipelineSinkArgs, opts ...ResourceOption) (*PipelineSink, error)
    public PipelineSink(string name, PipelineSinkArgs args, CustomResourceOptions? opts = null)
    public PipelineSink(String name, PipelineSinkArgs args)
    public PipelineSink(String name, PipelineSinkArgs args, CustomResourceOptions options)
    
    type: cloudflare:PipelineSink
    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 PipelineSinkArgs
    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 PipelineSinkArgs
    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 PipelineSinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PipelineSinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PipelineSinkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PipelineSink 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 PipelineSink resource accepts the following input properties:

    Name string
    Defines the name of the Sink.
    Type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    AccountId string
    Specifies the public ID of the account.
    Config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    Format PipelineSinkFormat
    Schema PipelineSinkSchema
    Name string
    Defines the name of the Sink.
    Type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    AccountId string
    Specifies the public ID of the account.
    Config PipelineSinkConfigArgs
    Defines the configuration of the R2 Sink.
    Format PipelineSinkFormatArgs
    Schema PipelineSinkSchemaArgs
    name String
    Defines the name of the Sink.
    type String
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId String
    Specifies the public ID of the account.
    config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    format PipelineSinkFormat
    schema PipelineSinkSchema
    name string
    Defines the name of the Sink.
    type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId string
    Specifies the public ID of the account.
    config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    format PipelineSinkFormat
    schema PipelineSinkSchema
    name str
    Defines the name of the Sink.
    type str
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    account_id str
    Specifies the public ID of the account.
    config PipelineSinkConfigArgs
    Defines the configuration of the R2 Sink.
    format PipelineSinkFormatArgs
    schema PipelineSinkSchemaArgs
    name String
    Defines the name of the Sink.
    type String
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId String
    Specifies the public ID of the account.
    config Property Map
    Defines the configuration of the R2 Sink.
    format Property Map
    schema Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PipelineSink resource produces the following output properties:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedAt string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedAt string
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    modified_at str
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String

    Look up Existing PipelineSink Resource

    Get an existing PipelineSink 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?: PipelineSinkState, opts?: CustomResourceOptions): PipelineSink
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            config: Optional[PipelineSinkConfigArgs] = None,
            created_at: Optional[str] = None,
            format: Optional[PipelineSinkFormatArgs] = None,
            modified_at: Optional[str] = None,
            name: Optional[str] = None,
            schema: Optional[PipelineSinkSchemaArgs] = None,
            type: Optional[str] = None) -> PipelineSink
    func GetPipelineSink(ctx *Context, name string, id IDInput, state *PipelineSinkState, opts ...ResourceOption) (*PipelineSink, error)
    public static PipelineSink Get(string name, Input<string> id, PipelineSinkState? state, CustomResourceOptions? opts = null)
    public static PipelineSink get(String name, Output<String> id, PipelineSinkState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:PipelineSink    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.
    The following state arguments are supported:
    AccountId string
    Specifies the public ID of the account.
    Config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    CreatedAt string
    Format PipelineSinkFormat
    ModifiedAt string
    Name string
    Defines the name of the Sink.
    Schema PipelineSinkSchema
    Type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    AccountId string
    Specifies the public ID of the account.
    Config PipelineSinkConfigArgs
    Defines the configuration of the R2 Sink.
    CreatedAt string
    Format PipelineSinkFormatArgs
    ModifiedAt string
    Name string
    Defines the name of the Sink.
    Schema PipelineSinkSchemaArgs
    Type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId String
    Specifies the public ID of the account.
    config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    createdAt String
    format PipelineSinkFormat
    modifiedAt String
    name String
    Defines the name of the Sink.
    schema PipelineSinkSchema
    type String
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId string
    Specifies the public ID of the account.
    config PipelineSinkConfig
    Defines the configuration of the R2 Sink.
    createdAt string
    format PipelineSinkFormat
    modifiedAt string
    name string
    Defines the name of the Sink.
    schema PipelineSinkSchema
    type string
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    account_id str
    Specifies the public ID of the account.
    config PipelineSinkConfigArgs
    Defines the configuration of the R2 Sink.
    created_at str
    format PipelineSinkFormatArgs
    modified_at str
    name str
    Defines the name of the Sink.
    schema PipelineSinkSchemaArgs
    type str
    Specifies the type of sink. Available values: "r2", "r2datacatalog".
    accountId String
    Specifies the public ID of the account.
    config Property Map
    Defines the configuration of the R2 Sink.
    createdAt String
    format Property Map
    modifiedAt String
    name String
    Defines the name of the Sink.
    schema Property Map
    type String
    Specifies the type of sink. Available values: "r2", "r2datacatalog".

    Supporting Types

    PipelineSinkConfig, PipelineSinkConfigArgs

    AccountId string
    Cloudflare Account ID for the bucket
    Bucket string
    R2 Bucket to write to
    Credentials PipelineSinkConfigCredentials
    FileNaming PipelineSinkConfigFileNaming
    Controls filename prefix/suffix and strategy.
    Jurisdiction string
    Jurisdiction this bucket is hosted in
    Namespace string
    Table namespace
    Partitioning PipelineSinkConfigPartitioning
    Data-layout partitioning for sinks.
    Path string
    Subpath within the bucket to write to
    RollingPolicy PipelineSinkConfigRollingPolicy
    Rolling policy for file sinks (when & why to close a file and open a new one).
    TableName string
    Table name
    Token string
    Authentication token
    AccountId string
    Cloudflare Account ID for the bucket
    Bucket string
    R2 Bucket to write to
    Credentials PipelineSinkConfigCredentials
    FileNaming PipelineSinkConfigFileNaming
    Controls filename prefix/suffix and strategy.
    Jurisdiction string
    Jurisdiction this bucket is hosted in
    Namespace string
    Table namespace
    Partitioning PipelineSinkConfigPartitioning
    Data-layout partitioning for sinks.
    Path string
    Subpath within the bucket to write to
    RollingPolicy PipelineSinkConfigRollingPolicy
    Rolling policy for file sinks (when & why to close a file and open a new one).
    TableName string
    Table name
    Token string
    Authentication token
    accountId String
    Cloudflare Account ID for the bucket
    bucket String
    R2 Bucket to write to
    credentials PipelineSinkConfigCredentials
    fileNaming PipelineSinkConfigFileNaming
    Controls filename prefix/suffix and strategy.
    jurisdiction String
    Jurisdiction this bucket is hosted in
    namespace String
    Table namespace
    partitioning PipelineSinkConfigPartitioning
    Data-layout partitioning for sinks.
    path String
    Subpath within the bucket to write to
    rollingPolicy PipelineSinkConfigRollingPolicy
    Rolling policy for file sinks (when & why to close a file and open a new one).
    tableName String
    Table name
    token String
    Authentication token
    accountId string
    Cloudflare Account ID for the bucket
    bucket string
    R2 Bucket to write to
    credentials PipelineSinkConfigCredentials
    fileNaming PipelineSinkConfigFileNaming
    Controls filename prefix/suffix and strategy.
    jurisdiction string
    Jurisdiction this bucket is hosted in
    namespace string
    Table namespace
    partitioning PipelineSinkConfigPartitioning
    Data-layout partitioning for sinks.
    path string
    Subpath within the bucket to write to
    rollingPolicy PipelineSinkConfigRollingPolicy
    Rolling policy for file sinks (when & why to close a file and open a new one).
    tableName string
    Table name
    token string
    Authentication token
    account_id str
    Cloudflare Account ID for the bucket
    bucket str
    R2 Bucket to write to
    credentials PipelineSinkConfigCredentials
    file_naming PipelineSinkConfigFileNaming
    Controls filename prefix/suffix and strategy.
    jurisdiction str
    Jurisdiction this bucket is hosted in
    namespace str
    Table namespace
    partitioning PipelineSinkConfigPartitioning
    Data-layout partitioning for sinks.
    path str
    Subpath within the bucket to write to
    rolling_policy PipelineSinkConfigRollingPolicy
    Rolling policy for file sinks (when & why to close a file and open a new one).
    table_name str
    Table name
    token str
    Authentication token
    accountId String
    Cloudflare Account ID for the bucket
    bucket String
    R2 Bucket to write to
    credentials Property Map
    fileNaming Property Map
    Controls filename prefix/suffix and strategy.
    jurisdiction String
    Jurisdiction this bucket is hosted in
    namespace String
    Table namespace
    partitioning Property Map
    Data-layout partitioning for sinks.
    path String
    Subpath within the bucket to write to
    rollingPolicy Property Map
    Rolling policy for file sinks (when & why to close a file and open a new one).
    tableName String
    Table name
    token String
    Authentication token

    PipelineSinkConfigCredentials, PipelineSinkConfigCredentialsArgs

    AccessKeyId string
    Cloudflare Account ID for the bucket
    SecretAccessKey string
    Cloudflare Account ID for the bucket
    AccessKeyId string
    Cloudflare Account ID for the bucket
    SecretAccessKey string
    Cloudflare Account ID for the bucket
    accessKeyId String
    Cloudflare Account ID for the bucket
    secretAccessKey String
    Cloudflare Account ID for the bucket
    accessKeyId string
    Cloudflare Account ID for the bucket
    secretAccessKey string
    Cloudflare Account ID for the bucket
    access_key_id str
    Cloudflare Account ID for the bucket
    secret_access_key str
    Cloudflare Account ID for the bucket
    accessKeyId String
    Cloudflare Account ID for the bucket
    secretAccessKey String
    Cloudflare Account ID for the bucket

    PipelineSinkConfigFileNaming, PipelineSinkConfigFileNamingArgs

    Prefix string
    The prefix to use in file name. i.e prefix-\n\n.parquet
    Strategy string
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    Suffix string
    This will overwrite the default file suffix. i.e .parquet, use with caution
    Prefix string
    The prefix to use in file name. i.e prefix-\n\n.parquet
    Strategy string
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    Suffix string
    This will overwrite the default file suffix. i.e .parquet, use with caution
    prefix String
    The prefix to use in file name. i.e prefix-\n\n.parquet
    strategy String
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    suffix String
    This will overwrite the default file suffix. i.e .parquet, use with caution
    prefix string
    The prefix to use in file name. i.e prefix-\n\n.parquet
    strategy string
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    suffix string
    This will overwrite the default file suffix. i.e .parquet, use with caution
    prefix str
    The prefix to use in file name. i.e prefix-\n\n.parquet
    strategy str
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    suffix str
    This will overwrite the default file suffix. i.e .parquet, use with caution
    prefix String
    The prefix to use in file name. i.e prefix-\n\n.parquet
    strategy String
    Filename generation strategy. Available values: "serial", "uuid", "uuidV7", "ulid".
    suffix String
    This will overwrite the default file suffix. i.e .parquet, use with caution

    PipelineSinkConfigPartitioning, PipelineSinkConfigPartitioningArgs

    TimePattern string
    The pattern of the date string
    TimePattern string
    The pattern of the date string
    timePattern String
    The pattern of the date string
    timePattern string
    The pattern of the date string
    time_pattern str
    The pattern of the date string
    timePattern String
    The pattern of the date string

    PipelineSinkConfigRollingPolicy, PipelineSinkConfigRollingPolicyArgs

    FileSizeBytes int
    Files will be rolled after reaching this number of bytes
    InactivitySeconds int
    Number of seconds of inactivity to wait before rolling over to a new file
    IntervalSeconds int
    Number of seconds to wait before rolling over to a new file
    FileSizeBytes int
    Files will be rolled after reaching this number of bytes
    InactivitySeconds int
    Number of seconds of inactivity to wait before rolling over to a new file
    IntervalSeconds int
    Number of seconds to wait before rolling over to a new file
    fileSizeBytes Integer
    Files will be rolled after reaching this number of bytes
    inactivitySeconds Integer
    Number of seconds of inactivity to wait before rolling over to a new file
    intervalSeconds Integer
    Number of seconds to wait before rolling over to a new file
    fileSizeBytes number
    Files will be rolled after reaching this number of bytes
    inactivitySeconds number
    Number of seconds of inactivity to wait before rolling over to a new file
    intervalSeconds number
    Number of seconds to wait before rolling over to a new file
    file_size_bytes int
    Files will be rolled after reaching this number of bytes
    inactivity_seconds int
    Number of seconds of inactivity to wait before rolling over to a new file
    interval_seconds int
    Number of seconds to wait before rolling over to a new file
    fileSizeBytes Number
    Files will be rolled after reaching this number of bytes
    inactivitySeconds Number
    Number of seconds of inactivity to wait before rolling over to a new file
    intervalSeconds Number
    Number of seconds to wait before rolling over to a new file

    PipelineSinkFormat, PipelineSinkFormatArgs

    Type string
    Available values: "json", "parquet".
    Compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    DecimalEncoding string
    Available values: "number", "string", "bytes".
    RowGroupBytes int
    TimestampFormat string
    Available values: "rfc3339", "unixMillis".
    Unstructured bool
    Type string
    Available values: "json", "parquet".
    Compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    DecimalEncoding string
    Available values: "number", "string", "bytes".
    RowGroupBytes int
    TimestampFormat string
    Available values: "rfc3339", "unixMillis".
    Unstructured bool
    type String
    Available values: "json", "parquet".
    compression String
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding String
    Available values: "number", "string", "bytes".
    rowGroupBytes Integer
    timestampFormat String
    Available values: "rfc3339", "unixMillis".
    unstructured Boolean
    type string
    Available values: "json", "parquet".
    compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding string
    Available values: "number", "string", "bytes".
    rowGroupBytes number
    timestampFormat 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_bytes int
    timestamp_format str
    Available values: "rfc3339", "unixMillis".
    unstructured bool
    type String
    Available values: "json", "parquet".
    compression String
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding String
    Available values: "number", "string", "bytes".
    rowGroupBytes Number
    timestampFormat String
    Available values: "rfc3339", "unixMillis".
    unstructured Boolean

    PipelineSinkSchema, PipelineSinkSchemaArgs

    PipelineSinkSchemaField, PipelineSinkSchemaFieldArgs

    Type string
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    MetadataKey string
    Name string
    Required bool
    SqlName string
    Unit string
    Available values: "second", "millisecond", "microsecond", "nanosecond".
    Type string
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    MetadataKey string
    Name string
    Required bool
    SqlName string
    Unit string
    Available values: "second", "millisecond", "microsecond", "nanosecond".
    type String
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    metadataKey String
    name String
    required Boolean
    sqlName String
    unit String
    Available values: "second", "millisecond", "microsecond", "nanosecond".
    type string
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    metadataKey string
    name string
    required boolean
    sqlName string
    unit string
    Available values: "second", "millisecond", "microsecond", "nanosecond".
    type str
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    metadata_key str
    name str
    required bool
    sql_name str
    unit str
    Available values: "second", "millisecond", "microsecond", "nanosecond".
    type String
    Available values: "int32", "int64", "float32", "float64", "bool", "string", "binary", "timestamp", "json".
    metadataKey String
    name String
    required Boolean
    sqlName String
    unit String
    Available values: "second", "millisecond", "microsecond", "nanosecond".

    PipelineSinkSchemaFormat, PipelineSinkSchemaFormatArgs

    Type string
    Available values: "json", "parquet".
    Compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    DecimalEncoding string
    Available values: "number", "string", "bytes".
    RowGroupBytes int
    TimestampFormat string
    Available values: "rfc3339", "unixMillis".
    Unstructured bool
    Type string
    Available values: "json", "parquet".
    Compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    DecimalEncoding string
    Available values: "number", "string", "bytes".
    RowGroupBytes int
    TimestampFormat string
    Available values: "rfc3339", "unixMillis".
    Unstructured bool
    type String
    Available values: "json", "parquet".
    compression String
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding String
    Available values: "number", "string", "bytes".
    rowGroupBytes Integer
    timestampFormat String
    Available values: "rfc3339", "unixMillis".
    unstructured Boolean
    type string
    Available values: "json", "parquet".
    compression string
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding string
    Available values: "number", "string", "bytes".
    rowGroupBytes number
    timestampFormat 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_bytes int
    timestamp_format str
    Available values: "rfc3339", "unixMillis".
    unstructured bool
    type String
    Available values: "json", "parquet".
    compression String
    Available values: "uncompressed", "snappy", "gzip", "zstd", "lz4".
    decimalEncoding String
    Available values: "number", "string", "bytes".
    rowGroupBytes Number
    timestampFormat String
    Available values: "rfc3339", "unixMillis".
    unstructured Boolean

    Import

    $ pulumi import cloudflare:index/pipelineSink:PipelineSink example '<account_id>/<sink_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 cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.15.0
    published on Saturday, May 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.