Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getR2BucketSippy
Explore with Pulumi AI
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:
- Account
Id string - Account ID
- Bucket
Name string - Name of the bucket
- Account
Id string - Account ID
- Bucket
Name string - Name of the bucket
- account
Id String - Account ID
- bucket
Name String - Name of the bucket
- account
Id string - Account ID
- bucket
Name string - Name of the bucket
- account_
id str - Account ID
- bucket_
name str - Name of the bucket
- account
Id String - Account ID
- bucket
Name String - Name of the bucket
getR2BucketSippy Result
The following output properties are available:
- Account
Id string - Account ID
- Bucket
Name string - Name of the bucket
- Destination
Get
R2Bucket Sippy Destination - 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
Get
R2Bucket Sippy Source - Details about the configured source bucket
- Account
Id string - Account ID
- Bucket
Name string - Name of the bucket
- Destination
Get
R2Bucket Sippy Destination - 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
Get
R2Bucket Sippy Source - Details about the configured source bucket
- account
Id String - Account ID
- bucket
Name String - Name of the bucket
- destination
Get
R2Bucket Sippy Destination - 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
Get
R2Bucket Sippy Source - Details about the configured source bucket
- account
Id string - Account ID
- bucket
Name string - Name of the bucket
- destination
Get
R2Bucket Sippy Destination - 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
Get
R2Bucket Sippy Source - Details about the configured source bucket
- account_
id str - Account ID
- bucket_
name str - Name of the bucket
- destination
Get
R2Bucket Sippy Destination - 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
Get
R2Bucket Sippy Source - Details about the configured source bucket
- account
Id String - Account ID
- bucket
Name 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
- Access
Key stringId - 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 stringId - 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 StringId - 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 stringId - 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_ strid - 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".
- access
Key StringId - 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
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.