Represents a {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit cloudflare_rate_limit}.
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimit(scope: Construct, id: string, config: RateLimitConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
RateLimitConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: RateLimitConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
addMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
hasResourceMove |
No description. |
importFrom |
No description. |
interpolationForAttribute |
No description. |
moveFromId |
Move the resource corresponding to "id" to this resource. |
moveTo |
Moves this resource to the target resource given by moveTarget. |
moveToId |
Moves this resource to the resource corresponding to "id". |
putAction |
No description. |
putCorrelate |
No description. |
putMatch |
No description. |
resetBypassUrlPatterns |
No description. |
resetCorrelate |
No description. |
resetDescription |
No description. |
resetDisabled |
No description. |
resetId |
No description. |
resetMatch |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): any
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public addMoveTarget(moveTarget: string): void
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
public importFrom(id: string, provider?: TerraformProvider): void
- Type: string
- Type: cdktf.TerraformProvider
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public moveFromId(id: string): void
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
public moveTo(moveTarget: string, index?: string | number): void
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: string | number
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
public moveToId(id: string): void
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public putAction(value: RateLimitAction): void
- Type: RateLimitAction
public putCorrelate(value: RateLimitCorrelate): void
- Type: RateLimitCorrelate
public putMatch(value: RateLimitMatch): void
- Type: RateLimitMatch
public resetBypassUrlPatterns(): void
public resetCorrelate(): void
public resetDescription(): void
public resetDisabled(): void
public resetId(): void
public resetMatch(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a RateLimit resource upon running "cdktf plan ". |
import { rateLimit } from '@cdktf/provider-cloudflare'
rateLimit.RateLimit.isConstruct(x: any)
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.
- Type: any
Any object.
import { rateLimit } from '@cdktf/provider-cloudflare'
rateLimit.RateLimit.isTerraformElement(x: any)
- Type: any
import { rateLimit } from '@cdktf/provider-cloudflare'
rateLimit.RateLimit.isTerraformResource(x: any)
- Type: any
import { rateLimit } from '@cdktf/provider-cloudflare'
rateLimit.RateLimit.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)
Generates CDKTF code for importing a RateLimit resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the RateLimit to import.
- Type: string
The id of the existing RateLimit that should be imported.
Refer to the {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the RateLimit to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
action |
RateLimitActionOutputReference |
No description. |
correlate |
RateLimitCorrelateOutputReference |
No description. |
match |
RateLimitMatchOutputReference |
No description. |
actionInput |
RateLimitAction |
No description. |
bypassUrlPatternsInput |
string[] |
No description. |
correlateInput |
RateLimitCorrelate |
No description. |
descriptionInput |
string |
No description. |
disabledInput |
boolean | cdktf.IResolvable |
No description. |
idInput |
string |
No description. |
matchInput |
RateLimitMatch |
No description. |
periodInput |
number |
No description. |
thresholdInput |
number |
No description. |
zoneIdInput |
string |
No description. |
bypassUrlPatterns |
string[] |
No description. |
description |
string |
No description. |
disabled |
boolean | cdktf.IResolvable |
No description. |
id |
string |
No description. |
period |
number |
No description. |
threshold |
number |
No description. |
zoneId |
string |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly action: RateLimitActionOutputReference;
public readonly correlate: RateLimitCorrelateOutputReference;
public readonly match: RateLimitMatchOutputReference;
public readonly actionInput: RateLimitAction;
- Type: RateLimitAction
public readonly bypassUrlPatternsInput: string[];
- Type: string[]
public readonly correlateInput: RateLimitCorrelate;
- Type: RateLimitCorrelate
public readonly descriptionInput: string;
- Type: string
public readonly disabledInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly idInput: string;
- Type: string
public readonly matchInput: RateLimitMatch;
- Type: RateLimitMatch
public readonly periodInput: number;
- Type: number
public readonly thresholdInput: number;
- Type: number
public readonly zoneIdInput: string;
- Type: string
public readonly bypassUrlPatterns: string[];
- Type: string[]
public readonly description: string;
- Type: string
public readonly disabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly id: string;
- Type: string
public readonly period: number;
- Type: number
public readonly threshold: number;
- Type: number
public readonly zoneId: string;
- Type: string
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitAction: rateLimit.RateLimitAction = { ... }
Name | Type | Description |
---|---|---|
mode |
string |
The type of action to perform. Available values: simulate , ban , challenge , js_challenge , managed_challenge . |
response |
RateLimitActionResponse |
response block. |
timeout |
number |
The time in seconds as an integer to perform the mitigation action. |
public readonly mode: string;
- Type: string
The type of action to perform. Available values: simulate
, ban
, challenge
, js_challenge
, managed_challenge
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#mode RateLimit#mode}
public readonly response: RateLimitActionResponse;
- Type: RateLimitActionResponse
response block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#response RateLimit#response}
public readonly timeout: number;
- Type: number
The time in seconds as an integer to perform the mitigation action.
This field is required if the mode
is either simulate
or ban
. Must be the same or greater than the period.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#timeout RateLimit#timeout}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitActionResponse: rateLimit.RateLimitActionResponse = { ... }
Name | Type | Description |
---|---|---|
body |
string |
The body to return, the content here should conform to the content_type . |
contentType |
string |
The content-type of the body. Available values: text/plain , text/xml , application/json . |
public readonly body: string;
- Type: string
The body to return, the content here should conform to the content_type
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#body RateLimit#body}
public readonly contentType: string;
- Type: string
The content-type of the body. Available values: text/plain
, text/xml
, application/json
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#content_type RateLimit#content_type}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitConfig: rateLimit.RateLimitConfig = { ... }
Name | Type | Description |
---|---|---|
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
cdktf.ITerraformDependable[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
action |
RateLimitAction |
action block. |
period |
number |
The time in seconds to count matching traffic. |
threshold |
number |
The threshold that triggers the rate limit mitigations, combine with period. |
zoneId |
string |
The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.. |
bypassUrlPatterns |
string[] |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#bypass_url_patterns RateLimit#bypass_url_patterns}. |
correlate |
RateLimitCorrelate |
correlate block. |
description |
string |
A note that you can use to describe the reason for a rate limit. |
disabled |
boolean | cdktf.IResolvable |
Whether this ratelimit is currently disabled. Defaults to false . |
id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#id RateLimit#id}. |
match |
RateLimitMatch |
match block. |
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly action: RateLimitAction;
- Type: RateLimitAction
action block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#action RateLimit#action}
public readonly period: number;
- Type: number
The time in seconds to count matching traffic.
If the count exceeds threshold within this period the action will be performed.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#period RateLimit#period}
public readonly threshold: number;
- Type: number
The threshold that triggers the rate limit mitigations, combine with period.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#threshold RateLimit#threshold}
public readonly zoneId: string;
- Type: string
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.34.0/docs/resources/rate_limit#zone_id RateLimit#zone_id}
public readonly bypassUrlPatterns: string[];
- Type: string[]
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#bypass_url_patterns RateLimit#bypass_url_patterns}.
public readonly correlate: RateLimitCorrelate;
- Type: RateLimitCorrelate
correlate block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#correlate RateLimit#correlate}
public readonly description: string;
- Type: string
A note that you can use to describe the reason for a rate limit.
This value is sanitized and all tags are removed.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#description RateLimit#description}
public readonly disabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Whether this ratelimit is currently disabled. Defaults to false
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#disabled RateLimit#disabled}
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#id RateLimit#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.
public readonly match: RateLimitMatch;
- Type: RateLimitMatch
match block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#match RateLimit#match}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitCorrelate: rateLimit.RateLimitCorrelate = { ... }
Name | Type | Description |
---|---|---|
by |
string |
If set to 'nat', NAT support will be enabled for rate limiting. Available values: nat . |
public readonly by: string;
- Type: string
If set to 'nat', NAT support will be enabled for rate limiting. Available values: nat
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#by RateLimit#by}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitMatch: rateLimit.RateLimitMatch = { ... }
Name | Type | Description |
---|---|---|
request |
RateLimitMatchRequest |
request block. |
response |
RateLimitMatchResponse |
response block. |
public readonly request: RateLimitMatchRequest;
- Type: RateLimitMatchRequest
request block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#request RateLimit#request}
public readonly response: RateLimitMatchResponse;
- Type: RateLimitMatchResponse
response block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#response RateLimit#response}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitMatchRequest: rateLimit.RateLimitMatchRequest = { ... }
Name | Type | Description |
---|---|---|
methods |
string[] |
HTTP Methods to match traffic on. Available values: GET , POST , PUT , DELETE , PATCH , HEAD , _ALL_ . |
schemes |
string[] |
HTTP schemes to match traffic on. Available values: HTTP , HTTPS , _ALL_ . |
urlPattern |
string |
The URL pattern to match comprised of the host and path, i.e. example.org/path. Wildcard are expanded to match applicable traffic, query strings are not matched. Use _ for all traffic to your zone. |
public readonly methods: string[];
- Type: string[]
HTTP Methods to match traffic on. Available values: GET
, POST
, PUT
, DELETE
, PATCH
, HEAD
, _ALL_
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#methods RateLimit#methods}
public readonly schemes: string[];
- Type: string[]
HTTP schemes to match traffic on. Available values: HTTP
, HTTPS
, _ALL_
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#schemes RateLimit#schemes}
public readonly urlPattern: string;
- Type: string
The URL pattern to match comprised of the host and path, i.e. example.org/path. Wildcard are expanded to match applicable traffic, query strings are not matched. Use _ for all traffic to your zone.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#url_pattern RateLimit#url_pattern}
import { rateLimit } from '@cdktf/provider-cloudflare'
const rateLimitMatchResponse: rateLimit.RateLimitMatchResponse = { ... }
Name | Type | Description |
---|---|---|
headers |
cdktf.IResolvable | {[ key: string ]: string}[] |
List of HTTP headers maps to match the origin response on. |
originTraffic |
boolean | cdktf.IResolvable |
Only count traffic that has come from your origin servers. |
statuses |
number[] |
HTTP Status codes, can be one, many or indicate all by not providing this value. |
public readonly headers: IResolvable | {[ key: string ]: string}[];
- Type: cdktf.IResolvable | {[ key: string ]: string}[]
List of HTTP headers maps to match the origin response on.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#headers RateLimit#headers}
public readonly originTraffic: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Only count traffic that has come from your origin servers.
If true, cached items that Cloudflare serve will not count towards rate limiting.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#origin_traffic RateLimit#origin_traffic}
public readonly statuses: number[];
- Type: number[]
HTTP Status codes, can be one, many or indicate all by not providing this value.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/cloudflare/cloudflare/4.34.0/docs/resources/rate_limit#statuses RateLimit#statuses}
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitActionOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
putResponse |
No description. |
resetResponse |
No description. |
resetTimeout |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public putResponse(value: RateLimitActionResponse): void
- Type: RateLimitActionResponse
public resetResponse(): void
public resetTimeout(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
response |
RateLimitActionResponseOutputReference |
No description. |
modeInput |
string |
No description. |
responseInput |
RateLimitActionResponse |
No description. |
timeoutInput |
number |
No description. |
mode |
string |
No description. |
timeout |
number |
No description. |
internalValue |
RateLimitAction |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly response: RateLimitActionResponseOutputReference;
public readonly modeInput: string;
- Type: string
public readonly responseInput: RateLimitActionResponse;
- Type: RateLimitActionResponse
public readonly timeoutInput: number;
- Type: number
public readonly mode: string;
- Type: string
public readonly timeout: number;
- Type: number
public readonly internalValue: RateLimitAction;
- Type: RateLimitAction
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitActionResponseOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
bodyInput |
string |
No description. |
contentTypeInput |
string |
No description. |
body |
string |
No description. |
contentType |
string |
No description. |
internalValue |
RateLimitActionResponse |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly bodyInput: string;
- Type: string
public readonly contentTypeInput: string;
- Type: string
public readonly body: string;
- Type: string
public readonly contentType: string;
- Type: string
public readonly internalValue: RateLimitActionResponse;
- Type: RateLimitActionResponse
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitCorrelateOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetBy |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetBy(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
byInput |
string |
No description. |
by |
string |
No description. |
internalValue |
RateLimitCorrelate |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly byInput: string;
- Type: string
public readonly by: string;
- Type: string
public readonly internalValue: RateLimitCorrelate;
- Type: RateLimitCorrelate
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitMatchOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
putRequest |
No description. |
putResponse |
No description. |
resetRequest |
No description. |
resetResponse |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public putRequest(value: RateLimitMatchRequest): void
- Type: RateLimitMatchRequest
public putResponse(value: RateLimitMatchResponse): void
- Type: RateLimitMatchResponse
public resetRequest(): void
public resetResponse(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
request |
RateLimitMatchRequestOutputReference |
No description. |
response |
RateLimitMatchResponseOutputReference |
No description. |
requestInput |
RateLimitMatchRequest |
No description. |
responseInput |
RateLimitMatchResponse |
No description. |
internalValue |
RateLimitMatch |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly request: RateLimitMatchRequestOutputReference;
public readonly response: RateLimitMatchResponseOutputReference;
public readonly requestInput: RateLimitMatchRequest;
- Type: RateLimitMatchRequest
public readonly responseInput: RateLimitMatchResponse;
- Type: RateLimitMatchResponse
public readonly internalValue: RateLimitMatch;
- Type: RateLimitMatch
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitMatchRequestOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetMethods |
No description. |
resetSchemes |
No description. |
resetUrlPattern |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetMethods(): void
public resetSchemes(): void
public resetUrlPattern(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
methodsInput |
string[] |
No description. |
schemesInput |
string[] |
No description. |
urlPatternInput |
string |
No description. |
methods |
string[] |
No description. |
schemes |
string[] |
No description. |
urlPattern |
string |
No description. |
internalValue |
RateLimitMatchRequest |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly methodsInput: string[];
- Type: string[]
public readonly schemesInput: string[];
- Type: string[]
public readonly urlPatternInput: string;
- Type: string
public readonly methods: string[];
- Type: string[]
public readonly schemes: string[];
- Type: string[]
public readonly urlPattern: string;
- Type: string
public readonly internalValue: RateLimitMatchRequest;
- Type: RateLimitMatchRequest
import { rateLimit } from '@cdktf/provider-cloudflare'
new rateLimit.RateLimitMatchResponseOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetHeaders |
No description. |
resetOriginTraffic |
No description. |
resetStatuses |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetHeaders(): void
public resetOriginTraffic(): void
public resetStatuses(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
headersInput |
cdktf.IResolvable | {[ key: string ]: string}[] |
No description. |
originTrafficInput |
boolean | cdktf.IResolvable |
No description. |
statusesInput |
number[] |
No description. |
headers |
cdktf.IResolvable | {[ key: string ]: string}[] |
No description. |
originTraffic |
boolean | cdktf.IResolvable |
No description. |
statuses |
number[] |
No description. |
internalValue |
RateLimitMatchResponse |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly headersInput: IResolvable | {[ key: string ]: string}[];
- Type: cdktf.IResolvable | {[ key: string ]: string}[]
public readonly originTrafficInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly statusesInput: number[];
- Type: number[]
public readonly headers: IResolvable | {[ key: string ]: string}[];
- Type: cdktf.IResolvable | {[ key: string ]: string}[]
public readonly originTraffic: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly statuses: number[];
- Type: number[]
public readonly internalValue: RateLimitMatchResponse;
- Type: RateLimitMatchResponse