Waiting Room Args
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>
Constructors
Properties
This is a templated html file that will be rendered at the edge.
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
.
A description to add more details about the waiting room.
Disables automatic renewal of session cookies.
If true, requests to the waiting room with the header Accept: application/json
will receive a JSON response object.
The number of new users that will be let into the route every minute.
The queueing method used by the waiting room. Available values: fifo
, random
, passthrough
, reject
. Defaults to fifo
.
Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin. Defaults to 5
.
The total number of active user sessions on the route at a point in time.