RulesetRuleActionParametersArgs

data class RulesetRuleActionParametersArgs(val additionalCacheablePorts: Output<List<Int>>? = null, val algorithms: Output<List<RulesetRuleActionParametersAlgorithmArgs>>? = null, val automaticHttpsRewrites: Output<Boolean>? = null, val autominify: Output<RulesetRuleActionParametersAutominifyArgs>? = null, val bic: Output<Boolean>? = null, val browserTtl: Output<RulesetRuleActionParametersBrowserTtlArgs>? = null, val cache: Output<Boolean>? = null, val cacheKey: Output<RulesetRuleActionParametersCacheKeyArgs>? = null, val cacheReserve: Output<RulesetRuleActionParametersCacheReserveArgs>? = null, val content: Output<String>? = null, val contentType: Output<String>? = null, val cookieFields: Output<List<RulesetRuleActionParametersCookieFieldArgs>>? = null, val disableApps: Output<Boolean>? = null, val disableRum: Output<Boolean>? = null, val disableZaraz: Output<Boolean>? = null, val edgeTtl: Output<RulesetRuleActionParametersEdgeTtlArgs>? = null, val emailObfuscation: Output<Boolean>? = null, val fonts: Output<Boolean>? = null, val fromList: Output<RulesetRuleActionParametersFromListArgs>? = null, val fromValue: Output<RulesetRuleActionParametersFromValueArgs>? = null, val headers: Output<Map<String, RulesetRuleActionParametersHeadersArgs>>? = null, val hostHeader: Output<String>? = null, val hotlinkProtection: Output<Boolean>? = null, val id: Output<String>? = null, val increment: Output<Int>? = null, val matchedData: Output<RulesetRuleActionParametersMatchedDataArgs>? = null, val mirage: Output<Boolean>? = null, val opportunisticEncryption: Output<Boolean>? = null, val origin: Output<RulesetRuleActionParametersOriginArgs>? = null, val originCacheControl: Output<Boolean>? = null, val originErrorPagePassthru: Output<Boolean>? = null, val overrides: Output<RulesetRuleActionParametersOverridesArgs>? = null, val phases: Output<List<String>>? = null, val polish: Output<String>? = null, val products: Output<List<String>>? = null, val rawResponseFields: Output<List<RulesetRuleActionParametersRawResponseFieldArgs>>? = null, val readTimeout: Output<Int>? = null, val requestFields: Output<List<RulesetRuleActionParametersRequestFieldArgs>>? = null, val respectStrongEtags: Output<Boolean>? = null, val response: Output<RulesetRuleActionParametersResponseArgs>? = null, val responseFields: Output<List<RulesetRuleActionParametersResponseFieldArgs>>? = null, val rocketLoader: Output<Boolean>? = null, val rules: Output<Map<String, List<String>>>? = null, val ruleset: Output<String>? = null, val rulesets: Output<List<String>>? = null, val securityLevel: Output<String>? = null, val serveStale: Output<RulesetRuleActionParametersServeStaleArgs>? = null, val serverSideExcludes: Output<Boolean>? = null, val sni: Output<RulesetRuleActionParametersSniArgs>? = null, val ssl: Output<String>? = null, val statusCode: Output<Double>? = null, val sxg: Output<Boolean>? = null, val transformedRequestFields: Output<List<RulesetRuleActionParametersTransformedRequestFieldArgs>>? = null, val uri: Output<RulesetRuleActionParametersUriArgs>? = null) : ConvertibleToJava<RulesetRuleActionParametersArgs>

Constructors

Link copied to clipboard
constructor(additionalCacheablePorts: Output<List<Int>>? = null, algorithms: Output<List<RulesetRuleActionParametersAlgorithmArgs>>? = null, automaticHttpsRewrites: Output<Boolean>? = null, autominify: Output<RulesetRuleActionParametersAutominifyArgs>? = null, bic: Output<Boolean>? = null, browserTtl: Output<RulesetRuleActionParametersBrowserTtlArgs>? = null, cache: Output<Boolean>? = null, cacheKey: Output<RulesetRuleActionParametersCacheKeyArgs>? = null, cacheReserve: Output<RulesetRuleActionParametersCacheReserveArgs>? = null, content: Output<String>? = null, contentType: Output<String>? = null, cookieFields: Output<List<RulesetRuleActionParametersCookieFieldArgs>>? = null, disableApps: Output<Boolean>? = null, disableRum: Output<Boolean>? = null, disableZaraz: Output<Boolean>? = null, edgeTtl: Output<RulesetRuleActionParametersEdgeTtlArgs>? = null, emailObfuscation: Output<Boolean>? = null, fonts: Output<Boolean>? = null, fromList: Output<RulesetRuleActionParametersFromListArgs>? = null, fromValue: Output<RulesetRuleActionParametersFromValueArgs>? = null, headers: Output<Map<String, RulesetRuleActionParametersHeadersArgs>>? = null, hostHeader: Output<String>? = null, hotlinkProtection: Output<Boolean>? = null, id: Output<String>? = null, increment: Output<Int>? = null, matchedData: Output<RulesetRuleActionParametersMatchedDataArgs>? = null, mirage: Output<Boolean>? = null, opportunisticEncryption: Output<Boolean>? = null, origin: Output<RulesetRuleActionParametersOriginArgs>? = null, originCacheControl: Output<Boolean>? = null, originErrorPagePassthru: Output<Boolean>? = null, overrides: Output<RulesetRuleActionParametersOverridesArgs>? = null, phases: Output<List<String>>? = null, polish: Output<String>? = null, products: Output<List<String>>? = null, rawResponseFields: Output<List<RulesetRuleActionParametersRawResponseFieldArgs>>? = null, readTimeout: Output<Int>? = null, requestFields: Output<List<RulesetRuleActionParametersRequestFieldArgs>>? = null, respectStrongEtags: Output<Boolean>? = null, response: Output<RulesetRuleActionParametersResponseArgs>? = null, responseFields: Output<List<RulesetRuleActionParametersResponseFieldArgs>>? = null, rocketLoader: Output<Boolean>? = null, rules: Output<Map<String, List<String>>>? = null, ruleset: Output<String>? = null, rulesets: Output<List<String>>? = null, securityLevel: Output<String>? = null, serveStale: Output<RulesetRuleActionParametersServeStaleArgs>? = null, serverSideExcludes: Output<Boolean>? = null, sni: Output<RulesetRuleActionParametersSniArgs>? = null, ssl: Output<String>? = null, statusCode: Output<Double>? = null, sxg: Output<Boolean>? = null, transformedRequestFields: Output<List<RulesetRuleActionParametersTransformedRequestFieldArgs>>? = null, uri: Output<RulesetRuleActionParametersUriArgs>? = null)

Properties

Link copied to clipboard
val additionalCacheablePorts: Output<List<Int>>? = null

List of additional ports that caching can be enabled on.

Link copied to clipboard

Custom order for compression algorithms.

Link copied to clipboard
val automaticHttpsRewrites: Output<Boolean>? = null

Turn on or off Automatic HTTPS Rewrites.

Link copied to clipboard

Select which file extensions to minify automatically.

Link copied to clipboard
val bic: Output<Boolean>? = null

Turn on or off Browser Integrity Check.

Link copied to clipboard

Specify how long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content.

Link copied to clipboard
val cache: Output<Boolean>? = null

Mark whether the request’s response from origin is eligible for caching. Caching itself will still depend on the cache-control header and your other caching configurations.

Link copied to clipboard

Define which components of the request are included or excluded from the cache key Cloudflare uses to store the response in cache.

Link copied to clipboard

Mark whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan).

Link copied to clipboard
val content: Output<String>? = null

Error response content.

Link copied to clipboard
val contentType: Output<String>? = null

Content-type header to set with the response. Available values: "application/json", "text/xml", "text/plain", "text/html".

Link copied to clipboard

The cookie fields to log.

Link copied to clipboard
val disableApps: Output<Boolean>? = null

Turn off all active Cloudflare Apps.

Link copied to clipboard
val disableRum: Output<Boolean>? = null

Turn off Real User Monitoring (RUM).

Link copied to clipboard
val disableZaraz: Output<Boolean>? = null

Turn off Zaraz.

Link copied to clipboard

TTL (Time to Live) specifies the maximum time to cache a resource in the Cloudflare edge network.

Link copied to clipboard
val emailObfuscation: Output<Boolean>? = null

Turn on or off Email Obfuscation.

Link copied to clipboard
val fonts: Output<Boolean>? = null

Turn on or off Cloudflare Fonts.

Link copied to clipboard

Serve a redirect based on a bulk list lookup.

Link copied to clipboard

Serve a redirect based on the request properties.

Link copied to clipboard

Map of request headers to modify.

Link copied to clipboard
val hostHeader: Output<String>? = null

Rewrite the HTTP Host header.

Link copied to clipboard
val hotlinkProtection: Output<Boolean>? = null

Turn on or off the Hotlink Protection.

Link copied to clipboard
val id: Output<String>? = null

The ID of the ruleset to execute.

Link copied to clipboard
val increment: Output<Int>? = null

Increment contains the delta to change the score and can be either positive or negative.

Link copied to clipboard

The configuration to use for matched data logging.

Link copied to clipboard
val mirage: Output<Boolean>? = null

Turn on or off Mirage.

Link copied to clipboard
val opportunisticEncryption: Output<Boolean>? = null

Turn on or off Opportunistic Encryption.

Link copied to clipboard

Override the IP/TCP destination.

Link copied to clipboard
val originCacheControl: Output<Boolean>? = null

When enabled, Cloudflare will aim to strictly adhere to RFC 7234.

Link copied to clipboard
val originErrorPagePassthru: Output<Boolean>? = null

Generate Cloudflare error pages from issues sent from the origin server. When on, error pages will trigger for issues from the origin

Link copied to clipboard

A set of overrides to apply to the target ruleset.

Link copied to clipboard
val phases: Output<List<String>>? = null

A list of phases to skip the execution of. This option is incompatible with the rulesets options.

Link copied to clipboard
val polish: Output<String>? = null

Configure the Polish level. Available values: "off", "lossless", "lossy".

Link copied to clipboard
val products: Output<List<String>>? = null

A list of legacy security products to skip the execution of.

Link copied to clipboard

The raw response fields to log.

Link copied to clipboard
val readTimeout: Output<Int>? = null

Define a timeout value between two successive read operations to your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value.

Link copied to clipboard

The raw request fields to log.

Link copied to clipboard
val respectStrongEtags: Output<Boolean>? = null

Specify whether or not Cloudflare should respect strong ETag (entity tag) headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.

Link copied to clipboard

The response to show when the block is applied.

Link copied to clipboard

The transformed response fields to log.

Link copied to clipboard
val rocketLoader: Output<Boolean>? = null

Turn on or off Rocket Loader

Link copied to clipboard
val rules: Output<Map<String, List<String>>>? = null

A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option.

Link copied to clipboard
val ruleset: Output<String>? = null

A ruleset to skip the execution of. This option is incompatible with the rulesets, rules. It can be incompatible with phases options base on the phase of the ruleset. Available values: "current".

Link copied to clipboard
val rulesets: Output<List<String>>? = null

A list of ruleset IDs to skip the execution of. This option is incompatible with the ruleset and phases options.

Link copied to clipboard
val securityLevel: Output<String>? = null

Configure the Security Level. Available values: "off", "essentiallyoff", "low", "medium", "high", "underattack".

Link copied to clipboard
val serverSideExcludes: Output<Boolean>? = null

Turn on or off Server Side Excludes.

Link copied to clipboard

Define if Cloudflare should serve stale content while getting the latest content from the origin. If on, Cloudflare will not serve stale content while getting the latest content from the origin.

Link copied to clipboard

Override the Server Name Indication (SNI).

Link copied to clipboard
val ssl: Output<String>? = null

Configure the SSL level. Available values: "off", "flexible", "full", "strict", "origin_pull".

Link copied to clipboard
val statusCode: Output<Double>? = null

The status code to use for the error.

Link copied to clipboard
val sxg: Output<Boolean>? = null

Turn on or off Signed Exchanges (SXG).

Link copied to clipboard

The transformed request fields to log.

Link copied to clipboard

URI to rewrite the request to.

Functions

Link copied to clipboard
open override fun toJava(): RulesetRuleActionParametersArgs