1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getR2BucketSippy
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getR2BucketSippy

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleR2BucketSippy = cloudflare.getR2BucketSippy({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        bucketName: "example-bucket",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_r2_bucket_sippy = cloudflare.get_r2_bucket_sippy(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        bucket_name="example-bucket")
    
    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.LookupR2BucketSippy(ctx, &cloudflare.LookupR2BucketSippyArgs{
    			AccountId:  "023e105f4ecef8ad9ca31a8372d0c353",
    			BucketName: "example-bucket",
    		}, 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 exampleR2BucketSippy = Cloudflare.GetR2BucketSippy.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            BucketName = "example-bucket",
        });
    
    });
    
    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.GetR2BucketSippyArgs;
    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 exampleR2BucketSippy = CloudflareFunctions.getR2BucketSippy(GetR2BucketSippyArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .bucketName("example-bucket")
                .build());
    
        }
    }
    
    variables:
      exampleR2BucketSippy:
        fn::invoke:
          function: cloudflare:getR2BucketSippy
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            bucketName: example-bucket
    

    Using getR2BucketSippy

    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 getR2BucketSippy(args: GetR2BucketSippyArgs, opts?: InvokeOptions): Promise<GetR2BucketSippyResult>
    function getR2BucketSippyOutput(args: GetR2BucketSippyOutputArgs, opts?: InvokeOptions): Output<GetR2BucketSippyResult>
    def get_r2_bucket_sippy(account_id: Optional[str] = None,
                            bucket_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetR2BucketSippyResult
    def get_r2_bucket_sippy_output(account_id: Optional[pulumi.Input[str]] = None,
                            bucket_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetR2BucketSippyResult]
    func LookupR2BucketSippy(ctx *Context, args *LookupR2BucketSippyArgs, opts ...InvokeOption) (*LookupR2BucketSippyResult, error)
    func LookupR2BucketSippyOutput(ctx *Context, args *LookupR2BucketSippyOutputArgs, opts ...InvokeOption) LookupR2BucketSippyResultOutput

    > Note: This function is named LookupR2BucketSippy in the Go SDK.

    public static class GetR2BucketSippy 
    {
        public static Task<GetR2BucketSippyResult> InvokeAsync(GetR2BucketSippyArgs args, InvokeOptions? opts = null)
        public static Output<GetR2BucketSippyResult> Invoke(GetR2BucketSippyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetR2BucketSippyResult> getR2BucketSippy(GetR2BucketSippyArgs args, InvokeOptions options)
    public static Output<GetR2BucketSippyResult> getR2BucketSippy(GetR2BucketSippyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getR2BucketSippy:getR2BucketSippy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    Account ID
    BucketName string
    Name of the bucket
    AccountId string
    Account ID
    BucketName string
    Name of the bucket
    accountId String
    Account ID
    bucketName String
    Name of the bucket
    accountId string
    Account ID
    bucketName string
    Name of the bucket
    account_id str
    Account ID
    bucket_name str
    Name of the bucket
    accountId String
    Account ID
    bucketName String
    Name of the bucket

    getR2BucketSippy Result

    The following output properties are available:

    AccountId string
    Account ID
    BucketName string
    Name of the bucket
    Destination GetR2BucketSippyDestination
    Details about the configured destination bucket
    Enabled bool
    State of Sippy for this bucket
    Id string
    The provider-assigned unique ID for this managed resource.
    Source GetR2BucketSippySource
    Details about the configured source bucket
    AccountId string
    Account ID
    BucketName string
    Name of the bucket
    Destination GetR2BucketSippyDestination
    Details about the configured destination bucket
    Enabled bool
    State of Sippy for this bucket
    Id string
    The provider-assigned unique ID for this managed resource.
    Source GetR2BucketSippySource
    Details about the configured source bucket
    accountId String
    Account ID
    bucketName String
    Name of the bucket
    destination GetR2BucketSippyDestination
    Details about the configured destination bucket
    enabled Boolean
    State of Sippy for this bucket
    id String
    The provider-assigned unique ID for this managed resource.
    source GetR2BucketSippySource
    Details about the configured source bucket
    accountId string
    Account ID
    bucketName string
    Name of the bucket
    destination GetR2BucketSippyDestination
    Details about the configured destination bucket
    enabled boolean
    State of Sippy for this bucket
    id string
    The provider-assigned unique ID for this managed resource.
    source GetR2BucketSippySource
    Details about the configured source bucket
    account_id str
    Account ID
    bucket_name str
    Name of the bucket
    destination GetR2BucketSippyDestination
    Details about the configured destination bucket
    enabled bool
    State of Sippy for this bucket
    id str
    The provider-assigned unique ID for this managed resource.
    source GetR2BucketSippySource
    Details about the configured source bucket
    accountId String
    Account ID
    bucketName String
    Name of the bucket
    destination Property Map
    Details about the configured destination bucket
    enabled Boolean
    State of Sippy for this bucket
    id String
    The provider-assigned unique ID for this managed resource.
    source Property Map
    Details about the configured source bucket

    Supporting Types

    GetR2BucketSippyDestination

    AccessKeyId string
    ID of the Cloudflare API token used when writing objects to this bucket
    Account string
    Bucket string
    Name of the bucket on the provider
    Provider string
    Available values: "r2".
    AccessKeyId string
    ID of the Cloudflare API token used when writing objects to this bucket
    Account string
    Bucket string
    Name of the bucket on the provider
    Provider string
    Available values: "r2".
    accessKeyId String
    ID of the Cloudflare API token used when writing objects to this bucket
    account String
    bucket String
    Name of the bucket on the provider
    provider String
    Available values: "r2".
    accessKeyId string
    ID of the Cloudflare API token used when writing objects to this bucket
    account string
    bucket string
    Name of the bucket on the provider
    provider string
    Available values: "r2".
    access_key_id str
    ID of the Cloudflare API token used when writing objects to this bucket
    account str
    bucket str
    Name of the bucket on the provider
    provider str
    Available values: "r2".
    accessKeyId String
    ID of the Cloudflare API token used when writing objects to this bucket
    account String
    bucket String
    Name of the bucket on the provider
    provider String
    Available values: "r2".

    GetR2BucketSippySource

    Bucket string
    Name of the bucket on the provider
    Provider string
    Available values: "aws", "gcs".
    Region string
    Region where the bucket resides (AWS only)
    Bucket string
    Name of the bucket on the provider
    Provider string
    Available values: "aws", "gcs".
    Region string
    Region where the bucket resides (AWS only)
    bucket String
    Name of the bucket on the provider
    provider String
    Available values: "aws", "gcs".
    region String
    Region where the bucket resides (AWS only)
    bucket string
    Name of the bucket on the provider
    provider string
    Available values: "aws", "gcs".
    region string
    Region where the bucket resides (AWS only)
    bucket str
    Name of the bucket on the provider
    provider str
    Available values: "aws", "gcs".
    region str
    Region where the bucket resides (AWS only)
    bucket String
    Name of the bucket on the provider
    provider String
    Available values: "aws", "gcs".
    region String
    Region where the bucket resides (AWS only)

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi