Documentation ¶
Index ¶
- func NewWaitingRoomTimeoutsOutputReference_Override(w WaitingRoomTimeoutsOutputReference, ...)
- func NewWaitingRoom_Override(w WaitingRoom, scope constructs.Construct, id *string, ...)
- func WaitingRoom_IsConstruct(x interface{}) *bool
- func WaitingRoom_IsTerraformElement(x interface{}) *bool
- func WaitingRoom_IsTerraformResource(x interface{}) *bool
- func WaitingRoom_TfResourceType() *string
- type WaitingRoom
- type WaitingRoomConfig
- type WaitingRoomTimeouts
- type WaitingRoomTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWaitingRoomTimeoutsOutputReference_Override ¶
func NewWaitingRoomTimeoutsOutputReference_Override(w WaitingRoomTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewWaitingRoom_Override ¶
func NewWaitingRoom_Override(w WaitingRoom, scope constructs.Construct, id *string, config *WaitingRoomConfig)
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room cloudflare_waiting_room} Resource.
func WaitingRoom_IsConstruct ¶
func WaitingRoom_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 WaitingRoom_IsTerraformElement ¶
func WaitingRoom_IsTerraformElement(x interface{}) *bool
Experimental.
func WaitingRoom_IsTerraformResource ¶
func WaitingRoom_IsTerraformResource(x interface{}) *bool
Experimental.
func WaitingRoom_TfResourceType ¶
func WaitingRoom_TfResourceType() *string
Types ¶
type WaitingRoom ¶
type WaitingRoom interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CustomPageHtml() *string SetCustomPageHtml(val *string) CustomPageHtmlInput() *string DefaultTemplateLanguage() *string SetDefaultTemplateLanguage(val *string) DefaultTemplateLanguageInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DisableSessionRenewal() interface{} SetDisableSessionRenewal(val interface{}) DisableSessionRenewalInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Host() *string SetHost(val *string) HostInput() *string Id() *string SetId(val *string) IdInput() *string JsonResponseEnabled() interface{} SetJsonResponseEnabled(val interface{}) JsonResponseEnabledInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string NewUsersPerMinute() *float64 SetNewUsersPerMinute(val *float64) NewUsersPerMinuteInput() *float64 // The tree node. Node() constructs.Node Path() *string SetPath(val *string) PathInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) QueueAll() interface{} SetQueueAll(val interface{}) QueueAllInput() interface{} QueueingMethod() *string SetQueueingMethod(val *string) QueueingMethodInput() *string // Experimental. RawOverrides() interface{} SessionDuration() *float64 SetSessionDuration(val *float64) SessionDurationInput() *float64 Suspended() interface{} SetSuspended(val interface{}) SuspendedInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() WaitingRoomTimeoutsOutputReference TimeoutsInput() interface{} TotalActiveUsers() *float64 SetTotalActiveUsers(val *float64) TotalActiveUsersInput() *float64 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) PutTimeouts(value *WaitingRoomTimeouts) ResetCustomPageHtml() ResetDefaultTemplateLanguage() ResetDescription() ResetDisableSessionRenewal() ResetId() ResetJsonResponseEnabled() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPath() ResetQueueAll() ResetQueueingMethod() ResetSessionDuration() ResetSuspended() ResetTimeouts() 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://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room cloudflare_waiting_room}.
func NewWaitingRoom ¶
func NewWaitingRoom(scope constructs.Construct, id *string, config *WaitingRoomConfig) WaitingRoom
Create a new {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room cloudflare_waiting_room} Resource.
type WaitingRoomConfig ¶
type WaitingRoomConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `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"` // Host name for which the waiting room will be applied (no wildcards). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#host WaitingRoom#host} Host *string `field:"required" json:"host" yaml:"host"` // A unique name to identify the waiting room. **Modifying this attribute will force creation of a new resource.**. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#name WaitingRoom#name} Name *string `field:"required" json:"name" yaml:"name"` // The number of new users that will be let into the route every minute. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#new_users_per_minute WaitingRoom#new_users_per_minute} NewUsersPerMinute *float64 `field:"required" json:"newUsersPerMinute" yaml:"newUsersPerMinute"` // The total number of active user sessions on the route at a point in time. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#total_active_users WaitingRoom#total_active_users} TotalActiveUsers *float64 `field:"required" json:"totalActiveUsers" yaml:"totalActiveUsers"` // The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#zone_id WaitingRoom#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://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#custom_page_html WaitingRoom#custom_page_html} CustomPageHtml *string `field:"optional" json:"customPageHtml" yaml:"customPageHtml"` // 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`, `ru-RU`, `fa-IR`. Defaults to `en-US`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#default_template_language WaitingRoom#default_template_language} DefaultTemplateLanguage *string `field:"optional" json:"defaultTemplateLanguage" yaml:"defaultTemplateLanguage"` // A description to add more details about the waiting room. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#description WaitingRoom#description} Description *string `field:"optional" json:"description" yaml:"description"` // Disables automatic renewal of session cookies. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#disable_session_renewal WaitingRoom#disable_session_renewal} DisableSessionRenewal interface{} `field:"optional" json:"disableSessionRenewal" yaml:"disableSessionRenewal"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#id WaitingRoom#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"` // If true, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#json_response_enabled WaitingRoom#json_response_enabled} JsonResponseEnabled interface{} `field:"optional" json:"jsonResponseEnabled" yaml:"jsonResponseEnabled"` // The path within the host to enable the waiting room on. Defaults to `/`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#path WaitingRoom#path} Path *string `field:"optional" json:"path" yaml:"path"` // If queue_all is true, then all traffic will be sent to the waiting room. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#queue_all WaitingRoom#queue_all} QueueAll interface{} `field:"optional" json:"queueAll" yaml:"queueAll"` // The queueing method used by the waiting room. Available values: `fifo`, `random`, `passthrough`, `reject`. Defaults to `fifo`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#queueing_method WaitingRoom#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. // // Defaults to `5`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#session_duration WaitingRoom#session_duration} SessionDuration *float64 `field:"optional" json:"sessionDuration" yaml:"sessionDuration"` // Suspends the waiting room. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#suspended WaitingRoom#suspended} Suspended interface{} `field:"optional" json:"suspended" yaml:"suspended"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#timeouts WaitingRoom#timeouts} Timeouts *WaitingRoomTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type WaitingRoomTimeouts ¶
type WaitingRoomTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#create WaitingRoom#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.8.0/docs/resources/waiting_room#update WaitingRoom#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type WaitingRoomTimeoutsOutputReference ¶
type WaitingRoomTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // 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. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewWaitingRoomTimeoutsOutputReference ¶
func NewWaitingRoomTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) WaitingRoomTimeoutsOutputReference