WaitingRoomEvent

class WaitingRoomEvent : KotlinCustomResource

Provides a Cloudflare Waiting Room Event resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
// Waiting Room Event
const example = new cloudflare.WaitingRoomEvent("example", {
zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
waitingRoomId: "d41d8cd98f00b204e9800998ecf8427e",
name: "foo",
eventStartTime: "2006-01-02T15:04:05Z",
eventEndTime: "2006-01-02T20:04:05Z",
});
import pulumi
import pulumi_cloudflare as cloudflare
# Waiting Room Event
example = cloudflare.WaitingRoomEvent("example",
zone_id="0da42c8d2132a9ddaf714f9e7c920711",
waiting_room_id="d41d8cd98f00b204e9800998ecf8427e",
name="foo",
event_start_time="2006-01-02T15:04:05Z",
event_end_time="2006-01-02T20:04:05Z")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
// Waiting Room Event
var example = new Cloudflare.WaitingRoomEvent("example", new()
{
ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
WaitingRoomId = "d41d8cd98f00b204e9800998ecf8427e",
Name = "foo",
EventStartTime = "2006-01-02T15:04:05Z",
EventEndTime = "2006-01-02T20:04:05Z",
});
});
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Waiting Room Event
_, err := cloudflare.NewWaitingRoomEvent(ctx, "example", &cloudflare.WaitingRoomEventArgs{
ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
WaitingRoomId: pulumi.String("d41d8cd98f00b204e9800998ecf8427e"),
Name: pulumi.String("foo"),
EventStartTime: pulumi.String("2006-01-02T15:04:05Z"),
EventEndTime: pulumi.String("2006-01-02T20:04:05Z"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.WaitingRoomEvent;
import com.pulumi.cloudflare.WaitingRoomEventArgs;
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) {
// Waiting Room Event
var example = new WaitingRoomEvent("example", WaitingRoomEventArgs.builder()
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.waitingRoomId("d41d8cd98f00b204e9800998ecf8427e")
.name("foo")
.eventStartTime("2006-01-02T15:04:05Z")
.eventEndTime("2006-01-02T20:04:05Z")
.build());
}
}
resources:
# Waiting Room Event
example:
type: cloudflare:WaitingRoomEvent
properties:
zoneId: 0da42c8d2132a9ddaf714f9e7c920711
waitingRoomId: d41d8cd98f00b204e9800998ecf8427e
name: foo
eventStartTime: 2006-01-02T15:04:05Z
eventEndTime: 2006-01-02T20:04:05Z

Import

Use the Zone ID, Waiting Room ID, and Event ID to import.

$ pulumi import cloudflare:index/waitingRoomEvent:WaitingRoomEvent default <zone_id>/<waiting_room_id>/<waiting_room_event_id>

Properties

Link copied to clipboard
val createdOn: Output<String>

Creation time.

Link copied to clipboard
val customPageHtml: Output<String>?

This is a templated html file that will be rendered at the edge.

Link copied to clipboard
val description: Output<String>?

A description to let users add more details about the event.

Link copied to clipboard

Disables automatic renewal of session cookies.

Link copied to clipboard
val eventEndTime: Output<String>

ISO 8601 timestamp that marks the end of the event. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val eventStartTime: Output<String>

ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before event_end_time. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val modifiedOn: Output<String>

Last modified time.

Link copied to clipboard
val name: Output<String>

A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val newUsersPerMinute: Output<Int>?

The number of new users that will be let into the route every minute.

Link copied to clipboard

ISO 8601 timestamp that marks when to begin queueing all users before the event starts. Must occur at least 5 minutes before event_start_time.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val queueingMethod: Output<String>?

The queueing method used by the waiting room. Available values: fifo, random, passthrough, reject.

Link copied to clipboard
val sessionDuration: Output<Int>?

Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin.

Link copied to clipboard

Users in the prequeue will be shuffled randomly at the event_start_time. Requires that prequeue_start_time is not null. Defaults to false.

Link copied to clipboard
val suspended: Output<Boolean>?

If suspended, the event is ignored and traffic will be handled based on the waiting room configuration.

Link copied to clipboard
val totalActiveUsers: Output<Int>?

The total number of active user sessions on the route at a point in time.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val waitingRoomId: Output<String>

The Waiting Room ID the event should apply to. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val zoneId: Output<String>

The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.