WaitingRoom

class WaitingRoom : KotlinCustomResource

Provides a Cloudflare Waiting Room resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.WaitingRoom;
import com.pulumi.cloudflare.WaitingRoomArgs;
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 example = new WaitingRoom("example", WaitingRoomArgs.builder()
.host("foo.example.com")
.name("foo")
.newUsersPerMinute(200)
.path("/")
.totalActiveUsers(200)
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Import

Use the Zone ID and Waiting Room ID to import.

$ pulumi import cloudflare:index/waitingRoom:WaitingRoom default <zone_id>/<waiting_room_id>

Properties

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

The language to use for the default waiting room page. Available values: de-DE, es-ES, en-US, fr-FR, id-ID, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, tr-TR, zh-CN, zh-TW. Defaults to en-US.

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

A description to add more details about the waiting room.

Link copied to clipboard

Disables automatic renewal of session cookies.

Link copied to clipboard
val host: Output<String>

Host name for which the waiting room will be applied (no wildcards).

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

If true, requests to the waiting room with the header Accept: application/json will receive a JSON response object.

Link copied to clipboard
val name: Output<String>

A unique name to identify the waiting room. 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
val path: Output<String>?

The path within the host to enable the waiting room on. Defaults to /.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val queueAll: Output<Boolean>?

If queue_all is true, then all traffic will be sent to the waiting room.

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

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

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. Defaults to 5.

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

Suspends the waiting room.

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 zoneId: Output<String>

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