Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleR2BucketEventNotification = cloudflare.getR2BucketEventNotification({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
bucketName: "example-bucket",
queueId: "queue_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_r2_bucket_event_notification = cloudflare.get_r2_bucket_event_notification(account_id="023e105f4ecef8ad9ca31a8372d0c353",
bucket_name="example-bucket",
queue_id="queue_id")
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.LookupR2BucketEventNotification(ctx, &cloudflare.LookupR2BucketEventNotificationArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
BucketName: "example-bucket",
QueueId: "queue_id",
}, 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 exampleR2BucketEventNotification = Cloudflare.GetR2BucketEventNotification.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
BucketName = "example-bucket",
QueueId = "queue_id",
});
});
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.GetR2BucketEventNotificationArgs;
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 exampleR2BucketEventNotification = CloudflareFunctions.getR2BucketEventNotification(GetR2BucketEventNotificationArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.bucketName("example-bucket")
.queueId("queue_id")
.build());
}
}
variables:
exampleR2BucketEventNotification:
fn::invoke:
function: cloudflare:getR2BucketEventNotification
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
bucketName: example-bucket
queueId: queue_id
Using getR2BucketEventNotification
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 getR2BucketEventNotification(args: GetR2BucketEventNotificationArgs, opts?: InvokeOptions): Promise<GetR2BucketEventNotificationResult>
function getR2BucketEventNotificationOutput(args: GetR2BucketEventNotificationOutputArgs, opts?: InvokeOptions): Output<GetR2BucketEventNotificationResult>def get_r2_bucket_event_notification(account_id: Optional[str] = None,
bucket_name: Optional[str] = None,
queue_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetR2BucketEventNotificationResult
def get_r2_bucket_event_notification_output(account_id: Optional[pulumi.Input[str]] = None,
bucket_name: Optional[pulumi.Input[str]] = None,
queue_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetR2BucketEventNotificationResult]func LookupR2BucketEventNotification(ctx *Context, args *LookupR2BucketEventNotificationArgs, opts ...InvokeOption) (*LookupR2BucketEventNotificationResult, error)
func LookupR2BucketEventNotificationOutput(ctx *Context, args *LookupR2BucketEventNotificationOutputArgs, opts ...InvokeOption) LookupR2BucketEventNotificationResultOutput> Note: This function is named LookupR2BucketEventNotification in the Go SDK.
public static class GetR2BucketEventNotification
{
public static Task<GetR2BucketEventNotificationResult> InvokeAsync(GetR2BucketEventNotificationArgs args, InvokeOptions? opts = null)
public static Output<GetR2BucketEventNotificationResult> Invoke(GetR2BucketEventNotificationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetR2BucketEventNotificationResult> getR2BucketEventNotification(GetR2BucketEventNotificationArgs args, InvokeOptions options)
public static Output<GetR2BucketEventNotificationResult> getR2BucketEventNotification(GetR2BucketEventNotificationArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getR2BucketEventNotification:getR2BucketEventNotification
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Account ID.
- Bucket
Name string - Name of the bucket.
- Queue
Id string - Queue ID.
- Account
Id string - Account ID.
- Bucket
Name string - Name of the bucket.
- Queue
Id string - Queue ID.
- account
Id String - Account ID.
- bucket
Name String - Name of the bucket.
- queue
Id String - Queue ID.
- account
Id string - Account ID.
- bucket
Name string - Name of the bucket.
- queue
Id string - Queue ID.
- account_
id str - Account ID.
- bucket_
name str - Name of the bucket.
- queue_
id str - Queue ID.
- account
Id String - Account ID.
- bucket
Name String - Name of the bucket.
- queue
Id String - Queue ID.
getR2BucketEventNotification Result
The following output properties are available:
- Account
Id string - Account ID.
- Bucket
Name string - Name of the bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- Queue
Id string - Queue ID.
- Queue
Name string - Name of the queue.
- Rules
List<Get
R2Bucket Event Notification Rule>
- Account
Id string - Account ID.
- Bucket
Name string - Name of the bucket.
- Id string
- The provider-assigned unique ID for this managed resource.
- Queue
Id string - Queue ID.
- Queue
Name string - Name of the queue.
- Rules
[]Get
R2Bucket Event Notification Rule
- account
Id String - Account ID.
- bucket
Name String - Name of the bucket.
- id String
- The provider-assigned unique ID for this managed resource.
- queue
Id String - Queue ID.
- queue
Name String - Name of the queue.
- rules
List<Get
R2Bucket Event Notification Rule>
- account
Id string - Account ID.
- bucket
Name string - Name of the bucket.
- id string
- The provider-assigned unique ID for this managed resource.
- queue
Id string - Queue ID.
- queue
Name string - Name of the queue.
- rules
Get
R2Bucket Event Notification Rule[]
- account_
id str - Account ID.
- bucket_
name str - Name of the bucket.
- id str
- The provider-assigned unique ID for this managed resource.
- queue_
id str - Queue ID.
- queue_
name str - Name of the queue.
- rules
Sequence[Get
R2Bucket Event Notification Rule]
- account
Id String - Account ID.
- bucket
Name String - Name of the bucket.
- id String
- The provider-assigned unique ID for this managed resource.
- queue
Id String - Queue ID.
- queue
Name String - Name of the queue.
- rules List<Property Map>
Supporting Types
GetR2BucketEventNotificationRule
- Actions List<string>
- Array of R2 object actions that will trigger notifications.
- Created
At string - Timestamp when the rule was created.
- Description string
- A description that can be used to identify the event notification rule after creation.
- Prefix string
- Notifications will be sent only for objects with this prefix.
- Rule
Id string - Rule ID.
- Suffix string
- Notifications will be sent only for objects with this suffix.
- Actions []string
- Array of R2 object actions that will trigger notifications.
- Created
At string - Timestamp when the rule was created.
- Description string
- A description that can be used to identify the event notification rule after creation.
- Prefix string
- Notifications will be sent only for objects with this prefix.
- Rule
Id string - Rule ID.
- Suffix string
- Notifications will be sent only for objects with this suffix.
- actions List<String>
- Array of R2 object actions that will trigger notifications.
- created
At String - Timestamp when the rule was created.
- description String
- A description that can be used to identify the event notification rule after creation.
- prefix String
- Notifications will be sent only for objects with this prefix.
- rule
Id String - Rule ID.
- suffix String
- Notifications will be sent only for objects with this suffix.
- actions string[]
- Array of R2 object actions that will trigger notifications.
- created
At string - Timestamp when the rule was created.
- description string
- A description that can be used to identify the event notification rule after creation.
- prefix string
- Notifications will be sent only for objects with this prefix.
- rule
Id string - Rule ID.
- suffix string
- Notifications will be sent only for objects with this suffix.
- actions Sequence[str]
- Array of R2 object actions that will trigger notifications.
- created_
at str - Timestamp when the rule was created.
- description str
- A description that can be used to identify the event notification rule after creation.
- prefix str
- Notifications will be sent only for objects with this prefix.
- rule_
id str - Rule ID.
- suffix str
- Notifications will be sent only for objects with this suffix.
- actions List<String>
- Array of R2 object actions that will trigger notifications.
- created
At String - Timestamp when the rule was created.
- description String
- A description that can be used to identify the event notification rule after creation.
- prefix String
- Notifications will be sent only for objects with this prefix.
- rule
Id String - Rule ID.
- suffix String
- Notifications will be sent only for objects with this suffix.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
