Waiting Room Event Args
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>
Constructors
Properties
This is a templated html file that will be rendered at the edge.
A description to let users add more details about the event.
Disables automatic renewal of session cookies.
ISO 8601 timestamp that marks the end of the event. Modifying this attribute will force creation of a new resource.
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.
The number of new users that will be let into the route every minute.
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
.
The queueing method used by the waiting room. Available values: fifo
, random
, passthrough
, reject
.
Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin.
Users in the prequeue will be shuffled randomly at the event_start_time
. Requires that prequeue_start_time
is not null. Defaults to false
.
The total number of active user sessions on the route at a point in time.
The Waiting Room ID the event should apply to. Modifying this attribute will force creation of a new resource.