Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWaitingRoomEvent_Override ¶
func NewWaitingRoomEvent_Override(w WaitingRoomEvent, scope constructs.Construct, id *string, config *WaitingRoomEventConfig)
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event cloudflare_waiting_room_event} Resource.
func WaitingRoomEvent_IsConstruct ¶
func WaitingRoomEvent_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func WaitingRoomEvent_TfResourceType ¶
func WaitingRoomEvent_TfResourceType() *string
Types ¶
type WaitingRoomEvent ¶
type WaitingRoomEvent interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CreatedOn() *string CustomPageHtml() *string SetCustomPageHtml(val *string) CustomPageHtmlInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DisableSessionRenewal() interface{} SetDisableSessionRenewal(val interface{}) DisableSessionRenewalInput() interface{} EventEndTime() *string SetEventEndTime(val *string) EventEndTimeInput() *string EventStartTime() *string SetEventStartTime(val *string) EventStartTimeInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) ModifiedOn() *string Name() *string SetName(val *string) NameInput() *string NewUsersPerMinute() *float64 SetNewUsersPerMinute(val *float64) NewUsersPerMinuteInput() *float64 // The tree node. Node() constructs.Node PrequeueStartTime() *string SetPrequeueStartTime(val *string) PrequeueStartTimeInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) QueueingMethod() *string SetQueueingMethod(val *string) QueueingMethodInput() *string // Experimental. RawOverrides() interface{} SessionDuration() *float64 SetSessionDuration(val *float64) SessionDurationInput() *float64 ShuffleAtEventStart() interface{} SetShuffleAtEventStart(val interface{}) ShuffleAtEventStartInput() interface{} Suspended() interface{} SetSuspended(val interface{}) SuspendedInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string TotalActiveUsers() *float64 SetTotalActiveUsers(val *float64) TotalActiveUsersInput() *float64 WaitingRoomId() *string SetWaitingRoomId(val *string) WaitingRoomIdInput() *string ZoneId() *string SetZoneId(val *string) ZoneIdInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetCustomPageHtml() ResetDescription() ResetDisableSessionRenewal() ResetId() ResetNewUsersPerMinute() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrequeueStartTime() ResetQueueingMethod() ResetSessionDuration() ResetShuffleAtEventStart() ResetSuspended() ResetTotalActiveUsers() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event cloudflare_waiting_room_event}.
func NewWaitingRoomEvent ¶
func NewWaitingRoomEvent(scope constructs.Construct, id *string, config *WaitingRoomEventConfig) WaitingRoomEvent
Create a new {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event cloudflare_waiting_room_event} Resource.
type WaitingRoomEventConfig ¶
type WaitingRoomEventConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // ISO 8601 timestamp that marks the end of the event. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#event_end_time WaitingRoomEvent#event_end_time} EventEndTime *string `field:"required" json:"eventEndTime" yaml:"eventEndTime"` // ISO 8601 timestamp that marks the start of the event. Must occur at least 1 minute before `event_end_time`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#event_start_time WaitingRoomEvent#event_start_time} EventStartTime *string `field:"required" json:"eventStartTime" yaml:"eventStartTime"` // A unique name to identify the event. Only alphanumeric characters, hyphens, and underscores are allowed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#name WaitingRoomEvent#name} Name *string `field:"required" json:"name" yaml:"name"` // The Waiting Room ID the event should apply to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#waiting_room_id WaitingRoomEvent#waiting_room_id} WaitingRoomId *string `field:"required" json:"waitingRoomId" yaml:"waitingRoomId"` // The zone identifier to target for the resource. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#zone_id WaitingRoomEvent#zone_id} ZoneId *string `field:"required" json:"zoneId" yaml:"zoneId"` // This is a templated html file that will be rendered at the edge. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#custom_page_html WaitingRoomEvent#custom_page_html} CustomPageHtml *string `field:"optional" json:"customPageHtml" yaml:"customPageHtml"` // A description to let users add more details about the event. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#description WaitingRoomEvent#description} Description *string `field:"optional" json:"description" yaml:"description"` // Disables automatic renewal of session cookies. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#disable_session_renewal WaitingRoomEvent#disable_session_renewal} DisableSessionRenewal interface{} `field:"optional" json:"disableSessionRenewal" yaml:"disableSessionRenewal"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#id WaitingRoomEvent#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // The number of new users that will be let into the route every minute. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#new_users_per_minute WaitingRoomEvent#new_users_per_minute} NewUsersPerMinute *float64 `field:"optional" json:"newUsersPerMinute" yaml:"newUsersPerMinute"` // 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`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#prequeue_start_time WaitingRoomEvent#prequeue_start_time} PrequeueStartTime *string `field:"optional" json:"prequeueStartTime" yaml:"prequeueStartTime"` // The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#queueing_method WaitingRoomEvent#queueing_method} QueueingMethod *string `field:"optional" json:"queueingMethod" yaml:"queueingMethod"` // Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the origin. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#session_duration WaitingRoomEvent#session_duration} SessionDuration *float64 `field:"optional" json:"sessionDuration" yaml:"sessionDuration"` // Users in the prequeue will be shuffled randomly at the `event_start_time`. // // Requires that `prequeue_start_time` is not null. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#shuffle_at_event_start WaitingRoomEvent#shuffle_at_event_start} ShuffleAtEventStart interface{} `field:"optional" json:"shuffleAtEventStart" yaml:"shuffleAtEventStart"` // If suspended, the event is ignored and traffic will be handled based on the waiting room configuration. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#suspended WaitingRoomEvent#suspended} Suspended interface{} `field:"optional" json:"suspended" yaml:"suspended"` // The total number of active user sessions on the route at a point in time. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/cloudflare/r/waiting_room_event#total_active_users WaitingRoomEvent#total_active_users} TotalActiveUsers *float64 `field:"optional" json:"totalActiveUsers" yaml:"totalActiveUsers"` }