gcore.CdnRule
Explore with Pulumi AI
Represent cdn resource rule
Create CdnRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnRule(name: string, args: CdnRuleArgs, opts?: CustomResourceOptions);
@overload
def CdnRule(resource_name: str,
args: CdnRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdnRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_id: Optional[float] = None,
rule: Optional[str] = None,
rule_type: Optional[float] = None,
active: Optional[bool] = None,
cdn_rule_id: Optional[str] = None,
name: Optional[str] = None,
options: Optional[CdnRuleOptionsArgs] = None,
origin_group: Optional[float] = None,
origin_protocol: Optional[str] = None,
weight: Optional[float] = None)
func NewCdnRule(ctx *Context, name string, args CdnRuleArgs, opts ...ResourceOption) (*CdnRule, error)
public CdnRule(string name, CdnRuleArgs args, CustomResourceOptions? opts = null)
public CdnRule(String name, CdnRuleArgs args)
public CdnRule(String name, CdnRuleArgs args, CustomResourceOptions options)
type: gcore:CdnRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CdnRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CdnRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CdnRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cdnRuleResource = new Gcore.CdnRule("cdnRuleResource", new()
{
ResourceId = 0,
Rule = "string",
RuleType = 0,
Active = false,
CdnRuleId = "string",
Name = "string",
Options = new Gcore.Inputs.CdnRuleOptionsArgs
{
AllowedHttpMethods = new Gcore.Inputs.CdnRuleOptionsAllowedHttpMethodsArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
BrotliCompression = new Gcore.Inputs.CdnRuleOptionsBrotliCompressionArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
BrowserCacheSettings = new Gcore.Inputs.CdnRuleOptionsBrowserCacheSettingsArgs
{
Enabled = false,
Value = "string",
},
Cors = new Gcore.Inputs.CdnRuleOptionsCorsArgs
{
Values = new[]
{
"string",
},
Always = false,
Enabled = false,
},
CountryAcl = new Gcore.Inputs.CdnRuleOptionsCountryAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
DisableProxyForceRanges = new Gcore.Inputs.CdnRuleOptionsDisableProxyForceRangesArgs
{
Value = false,
Enabled = false,
},
EdgeCacheSettings = new Gcore.Inputs.CdnRuleOptionsEdgeCacheSettingsArgs
{
CustomValues =
{
{ "string", "string" },
},
Default = "string",
Enabled = false,
Value = "string",
},
Fastedge = new Gcore.Inputs.CdnRuleOptionsFastedgeArgs
{
Enabled = false,
OnRequestBody = new Gcore.Inputs.CdnRuleOptionsFastedgeOnRequestBodyArgs
{
AppId = "string",
Enabled = false,
ExecuteOnEdge = false,
ExecuteOnShield = false,
InterruptOnError = false,
},
OnRequestHeaders = new Gcore.Inputs.CdnRuleOptionsFastedgeOnRequestHeadersArgs
{
AppId = "string",
Enabled = false,
ExecuteOnEdge = false,
ExecuteOnShield = false,
InterruptOnError = false,
},
OnResponseBody = new Gcore.Inputs.CdnRuleOptionsFastedgeOnResponseBodyArgs
{
AppId = "string",
Enabled = false,
ExecuteOnEdge = false,
ExecuteOnShield = false,
InterruptOnError = false,
},
OnResponseHeaders = new Gcore.Inputs.CdnRuleOptionsFastedgeOnResponseHeadersArgs
{
AppId = "string",
Enabled = false,
ExecuteOnEdge = false,
ExecuteOnShield = false,
InterruptOnError = false,
},
},
FetchCompressed = new Gcore.Inputs.CdnRuleOptionsFetchCompressedArgs
{
Value = false,
Enabled = false,
},
FollowOriginRedirect = new Gcore.Inputs.CdnRuleOptionsFollowOriginRedirectArgs
{
Codes = new[]
{
0,
},
Enabled = false,
},
ForceReturn = new Gcore.Inputs.CdnRuleOptionsForceReturnArgs
{
Code = 0,
Body = "string",
Enabled = false,
},
ForwardHostHeader = new Gcore.Inputs.CdnRuleOptionsForwardHostHeaderArgs
{
Value = false,
Enabled = false,
},
GzipOn = new Gcore.Inputs.CdnRuleOptionsGzipOnArgs
{
Value = false,
Enabled = false,
},
HostHeader = new Gcore.Inputs.CdnRuleOptionsHostHeaderArgs
{
Value = "string",
Enabled = false,
},
IgnoreCookie = new Gcore.Inputs.CdnRuleOptionsIgnoreCookieArgs
{
Value = false,
Enabled = false,
},
IgnoreQueryString = new Gcore.Inputs.CdnRuleOptionsIgnoreQueryStringArgs
{
Value = false,
Enabled = false,
},
ImageStack = new Gcore.Inputs.CdnRuleOptionsImageStackArgs
{
Quality = 0,
AvifEnabled = false,
Enabled = false,
PngLossless = false,
WebpEnabled = false,
},
IpAddressAcl = new Gcore.Inputs.CdnRuleOptionsIpAddressAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
LimitBandwidth = new Gcore.Inputs.CdnRuleOptionsLimitBandwidthArgs
{
LimitType = "string",
Buffer = 0,
Enabled = false,
Speed = 0,
},
ProxyCacheKey = new Gcore.Inputs.CdnRuleOptionsProxyCacheKeyArgs
{
Value = "string",
Enabled = false,
},
ProxyCacheMethodsSet = new Gcore.Inputs.CdnRuleOptionsProxyCacheMethodsSetArgs
{
Value = false,
Enabled = false,
},
ProxyConnectTimeout = new Gcore.Inputs.CdnRuleOptionsProxyConnectTimeoutArgs
{
Value = "string",
Enabled = false,
},
ProxyReadTimeout = new Gcore.Inputs.CdnRuleOptionsProxyReadTimeoutArgs
{
Value = "string",
Enabled = false,
},
QueryParamsBlacklist = new Gcore.Inputs.CdnRuleOptionsQueryParamsBlacklistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
QueryParamsWhitelist = new Gcore.Inputs.CdnRuleOptionsQueryParamsWhitelistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
QueryStringForwarding = new Gcore.Inputs.CdnRuleOptionsQueryStringForwardingArgs
{
ForwardFromFileTypes = new[]
{
"string",
},
ForwardToFileTypes = new[]
{
"string",
},
Enabled = false,
},
RedirectHttpToHttps = new Gcore.Inputs.CdnRuleOptionsRedirectHttpToHttpsArgs
{
Value = false,
Enabled = false,
},
RedirectHttpsToHttp = new Gcore.Inputs.CdnRuleOptionsRedirectHttpsToHttpArgs
{
Value = false,
Enabled = false,
},
ReferrerAcl = new Gcore.Inputs.CdnRuleOptionsReferrerAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
RequestLimiter = new Gcore.Inputs.CdnRuleOptionsRequestLimiterArgs
{
Burst = 0,
Rate = 0,
Delay = 0,
Enabled = false,
RateUnit = "string",
},
ResponseHeadersHidingPolicy = new Gcore.Inputs.CdnRuleOptionsResponseHeadersHidingPolicyArgs
{
Excepteds = new[]
{
"string",
},
Mode = "string",
Enabled = false,
},
Rewrite = new Gcore.Inputs.CdnRuleOptionsRewriteArgs
{
Body = "string",
Enabled = false,
Flag = "string",
},
SecureKey = new Gcore.Inputs.CdnRuleOptionsSecureKeyArgs
{
Key = "string",
Type = 0,
Enabled = false,
},
Slice = new Gcore.Inputs.CdnRuleOptionsSliceArgs
{
Value = false,
Enabled = false,
},
Sni = new Gcore.Inputs.CdnRuleOptionsSniArgs
{
CustomHostname = "string",
Enabled = false,
SniType = "string",
},
Stale = new Gcore.Inputs.CdnRuleOptionsStaleArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
StaticRequestHeaders = new Gcore.Inputs.CdnRuleOptionsStaticRequestHeadersArgs
{
Value =
{
{ "string", "string" },
},
Enabled = false,
},
StaticResponseHeaders = new Gcore.Inputs.CdnRuleOptionsStaticResponseHeadersArgs
{
Values = new[]
{
new Gcore.Inputs.CdnRuleOptionsStaticResponseHeadersValueArgs
{
Name = "string",
Values = new[]
{
"string",
},
Always = false,
},
},
Enabled = false,
},
UserAgentAcl = new Gcore.Inputs.CdnRuleOptionsUserAgentAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
Waap = new Gcore.Inputs.CdnRuleOptionsWaapArgs
{
Value = false,
Enabled = false,
},
Waf = new Gcore.Inputs.CdnRuleOptionsWafArgs
{
Value = false,
Enabled = false,
},
Websockets = new Gcore.Inputs.CdnRuleOptionsWebsocketsArgs
{
Value = false,
Enabled = false,
},
},
OriginGroup = 0,
OriginProtocol = "string",
Weight = 0,
});
example, err := gcore.NewCdnRule(ctx, "cdnRuleResource", &gcore.CdnRuleArgs{
ResourceId: pulumi.Float64(0),
Rule: pulumi.String("string"),
RuleType: pulumi.Float64(0),
Active: pulumi.Bool(false),
CdnRuleId: pulumi.String("string"),
Name: pulumi.String("string"),
Options: &gcore.CdnRuleOptionsArgs{
AllowedHttpMethods: &gcore.CdnRuleOptionsAllowedHttpMethodsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
BrotliCompression: &gcore.CdnRuleOptionsBrotliCompressionArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
BrowserCacheSettings: &gcore.CdnRuleOptionsBrowserCacheSettingsArgs{
Enabled: pulumi.Bool(false),
Value: pulumi.String("string"),
},
Cors: &gcore.CdnRuleOptionsCorsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Always: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
CountryAcl: &gcore.CdnRuleOptionsCountryAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
DisableProxyForceRanges: &gcore.CdnRuleOptionsDisableProxyForceRangesArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
EdgeCacheSettings: &gcore.CdnRuleOptionsEdgeCacheSettingsArgs{
CustomValues: pulumi.StringMap{
"string": pulumi.String("string"),
},
Default: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Value: pulumi.String("string"),
},
Fastedge: &gcore.CdnRuleOptionsFastedgeArgs{
Enabled: pulumi.Bool(false),
OnRequestBody: &gcore.CdnRuleOptionsFastedgeOnRequestBodyArgs{
AppId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ExecuteOnEdge: pulumi.Bool(false),
ExecuteOnShield: pulumi.Bool(false),
InterruptOnError: pulumi.Bool(false),
},
OnRequestHeaders: &gcore.CdnRuleOptionsFastedgeOnRequestHeadersArgs{
AppId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ExecuteOnEdge: pulumi.Bool(false),
ExecuteOnShield: pulumi.Bool(false),
InterruptOnError: pulumi.Bool(false),
},
OnResponseBody: &gcore.CdnRuleOptionsFastedgeOnResponseBodyArgs{
AppId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ExecuteOnEdge: pulumi.Bool(false),
ExecuteOnShield: pulumi.Bool(false),
InterruptOnError: pulumi.Bool(false),
},
OnResponseHeaders: &gcore.CdnRuleOptionsFastedgeOnResponseHeadersArgs{
AppId: pulumi.String("string"),
Enabled: pulumi.Bool(false),
ExecuteOnEdge: pulumi.Bool(false),
ExecuteOnShield: pulumi.Bool(false),
InterruptOnError: pulumi.Bool(false),
},
},
FetchCompressed: &gcore.CdnRuleOptionsFetchCompressedArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
FollowOriginRedirect: &gcore.CdnRuleOptionsFollowOriginRedirectArgs{
Codes: pulumi.Float64Array{
pulumi.Float64(0),
},
Enabled: pulumi.Bool(false),
},
ForceReturn: &gcore.CdnRuleOptionsForceReturnArgs{
Code: pulumi.Float64(0),
Body: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
ForwardHostHeader: &gcore.CdnRuleOptionsForwardHostHeaderArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
GzipOn: &gcore.CdnRuleOptionsGzipOnArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
HostHeader: &gcore.CdnRuleOptionsHostHeaderArgs{
Value: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
IgnoreCookie: &gcore.CdnRuleOptionsIgnoreCookieArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
IgnoreQueryString: &gcore.CdnRuleOptionsIgnoreQueryStringArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ImageStack: &gcore.CdnRuleOptionsImageStackArgs{
Quality: pulumi.Float64(0),
AvifEnabled: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
PngLossless: pulumi.Bool(false),
WebpEnabled: pulumi.Bool(false),
},
IpAddressAcl: &gcore.CdnRuleOptionsIpAddressAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
LimitBandwidth: &gcore.CdnRuleOptionsLimitBandwidthArgs{
LimitType: pulumi.String("string"),
Buffer: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Speed: pulumi.Float64(0),
},
ProxyCacheKey: &gcore.CdnRuleOptionsProxyCacheKeyArgs{
Value: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
ProxyCacheMethodsSet: &gcore.CdnRuleOptionsProxyCacheMethodsSetArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ProxyConnectTimeout: &gcore.CdnRuleOptionsProxyConnectTimeoutArgs{
Value: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
ProxyReadTimeout: &gcore.CdnRuleOptionsProxyReadTimeoutArgs{
Value: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
QueryParamsBlacklist: &gcore.CdnRuleOptionsQueryParamsBlacklistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
QueryParamsWhitelist: &gcore.CdnRuleOptionsQueryParamsWhitelistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
QueryStringForwarding: &gcore.CdnRuleOptionsQueryStringForwardingArgs{
ForwardFromFileTypes: pulumi.StringArray{
pulumi.String("string"),
},
ForwardToFileTypes: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
RedirectHttpToHttps: &gcore.CdnRuleOptionsRedirectHttpToHttpsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
RedirectHttpsToHttp: &gcore.CdnRuleOptionsRedirectHttpsToHttpArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ReferrerAcl: &gcore.CdnRuleOptionsReferrerAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
RequestLimiter: &gcore.CdnRuleOptionsRequestLimiterArgs{
Burst: pulumi.Float64(0),
Rate: pulumi.Float64(0),
Delay: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
RateUnit: pulumi.String("string"),
},
ResponseHeadersHidingPolicy: &gcore.CdnRuleOptionsResponseHeadersHidingPolicyArgs{
Excepteds: pulumi.StringArray{
pulumi.String("string"),
},
Mode: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Rewrite: &gcore.CdnRuleOptionsRewriteArgs{
Body: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Flag: pulumi.String("string"),
},
SecureKey: &gcore.CdnRuleOptionsSecureKeyArgs{
Key: pulumi.String("string"),
Type: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
},
Slice: &gcore.CdnRuleOptionsSliceArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
Sni: &gcore.CdnRuleOptionsSniArgs{
CustomHostname: pulumi.String("string"),
Enabled: pulumi.Bool(false),
SniType: pulumi.String("string"),
},
Stale: &gcore.CdnRuleOptionsStaleArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
StaticRequestHeaders: &gcore.CdnRuleOptionsStaticRequestHeadersArgs{
Value: pulumi.StringMap{
"string": pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
StaticResponseHeaders: &gcore.CdnRuleOptionsStaticResponseHeadersArgs{
Values: gcore.CdnRuleOptionsStaticResponseHeadersValueArray{
&gcore.CdnRuleOptionsStaticResponseHeadersValueArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Always: pulumi.Bool(false),
},
},
Enabled: pulumi.Bool(false),
},
UserAgentAcl: &gcore.CdnRuleOptionsUserAgentAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Waap: &gcore.CdnRuleOptionsWaapArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
Waf: &gcore.CdnRuleOptionsWafArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
Websockets: &gcore.CdnRuleOptionsWebsocketsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
},
OriginGroup: pulumi.Float64(0),
OriginProtocol: pulumi.String("string"),
Weight: pulumi.Float64(0),
})
var cdnRuleResource = new CdnRule("cdnRuleResource", CdnRuleArgs.builder()
.resourceId(0)
.rule("string")
.ruleType(0)
.active(false)
.cdnRuleId("string")
.name("string")
.options(CdnRuleOptionsArgs.builder()
.allowedHttpMethods(CdnRuleOptionsAllowedHttpMethodsArgs.builder()
.values("string")
.enabled(false)
.build())
.brotliCompression(CdnRuleOptionsBrotliCompressionArgs.builder()
.values("string")
.enabled(false)
.build())
.browserCacheSettings(CdnRuleOptionsBrowserCacheSettingsArgs.builder()
.enabled(false)
.value("string")
.build())
.cors(CdnRuleOptionsCorsArgs.builder()
.values("string")
.always(false)
.enabled(false)
.build())
.countryAcl(CdnRuleOptionsCountryAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.disableProxyForceRanges(CdnRuleOptionsDisableProxyForceRangesArgs.builder()
.value(false)
.enabled(false)
.build())
.edgeCacheSettings(CdnRuleOptionsEdgeCacheSettingsArgs.builder()
.customValues(Map.of("string", "string"))
.default_("string")
.enabled(false)
.value("string")
.build())
.fastedge(CdnRuleOptionsFastedgeArgs.builder()
.enabled(false)
.onRequestBody(CdnRuleOptionsFastedgeOnRequestBodyArgs.builder()
.appId("string")
.enabled(false)
.executeOnEdge(false)
.executeOnShield(false)
.interruptOnError(false)
.build())
.onRequestHeaders(CdnRuleOptionsFastedgeOnRequestHeadersArgs.builder()
.appId("string")
.enabled(false)
.executeOnEdge(false)
.executeOnShield(false)
.interruptOnError(false)
.build())
.onResponseBody(CdnRuleOptionsFastedgeOnResponseBodyArgs.builder()
.appId("string")
.enabled(false)
.executeOnEdge(false)
.executeOnShield(false)
.interruptOnError(false)
.build())
.onResponseHeaders(CdnRuleOptionsFastedgeOnResponseHeadersArgs.builder()
.appId("string")
.enabled(false)
.executeOnEdge(false)
.executeOnShield(false)
.interruptOnError(false)
.build())
.build())
.fetchCompressed(CdnRuleOptionsFetchCompressedArgs.builder()
.value(false)
.enabled(false)
.build())
.followOriginRedirect(CdnRuleOptionsFollowOriginRedirectArgs.builder()
.codes(0)
.enabled(false)
.build())
.forceReturn(CdnRuleOptionsForceReturnArgs.builder()
.code(0)
.body("string")
.enabled(false)
.build())
.forwardHostHeader(CdnRuleOptionsForwardHostHeaderArgs.builder()
.value(false)
.enabled(false)
.build())
.gzipOn(CdnRuleOptionsGzipOnArgs.builder()
.value(false)
.enabled(false)
.build())
.hostHeader(CdnRuleOptionsHostHeaderArgs.builder()
.value("string")
.enabled(false)
.build())
.ignoreCookie(CdnRuleOptionsIgnoreCookieArgs.builder()
.value(false)
.enabled(false)
.build())
.ignoreQueryString(CdnRuleOptionsIgnoreQueryStringArgs.builder()
.value(false)
.enabled(false)
.build())
.imageStack(CdnRuleOptionsImageStackArgs.builder()
.quality(0)
.avifEnabled(false)
.enabled(false)
.pngLossless(false)
.webpEnabled(false)
.build())
.ipAddressAcl(CdnRuleOptionsIpAddressAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.limitBandwidth(CdnRuleOptionsLimitBandwidthArgs.builder()
.limitType("string")
.buffer(0)
.enabled(false)
.speed(0)
.build())
.proxyCacheKey(CdnRuleOptionsProxyCacheKeyArgs.builder()
.value("string")
.enabled(false)
.build())
.proxyCacheMethodsSet(CdnRuleOptionsProxyCacheMethodsSetArgs.builder()
.value(false)
.enabled(false)
.build())
.proxyConnectTimeout(CdnRuleOptionsProxyConnectTimeoutArgs.builder()
.value("string")
.enabled(false)
.build())
.proxyReadTimeout(CdnRuleOptionsProxyReadTimeoutArgs.builder()
.value("string")
.enabled(false)
.build())
.queryParamsBlacklist(CdnRuleOptionsQueryParamsBlacklistArgs.builder()
.values("string")
.enabled(false)
.build())
.queryParamsWhitelist(CdnRuleOptionsQueryParamsWhitelistArgs.builder()
.values("string")
.enabled(false)
.build())
.queryStringForwarding(CdnRuleOptionsQueryStringForwardingArgs.builder()
.forwardFromFileTypes("string")
.forwardToFileTypes("string")
.enabled(false)
.build())
.redirectHttpToHttps(CdnRuleOptionsRedirectHttpToHttpsArgs.builder()
.value(false)
.enabled(false)
.build())
.redirectHttpsToHttp(CdnRuleOptionsRedirectHttpsToHttpArgs.builder()
.value(false)
.enabled(false)
.build())
.referrerAcl(CdnRuleOptionsReferrerAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.requestLimiter(CdnRuleOptionsRequestLimiterArgs.builder()
.burst(0)
.rate(0)
.delay(0)
.enabled(false)
.rateUnit("string")
.build())
.responseHeadersHidingPolicy(CdnRuleOptionsResponseHeadersHidingPolicyArgs.builder()
.excepteds("string")
.mode("string")
.enabled(false)
.build())
.rewrite(CdnRuleOptionsRewriteArgs.builder()
.body("string")
.enabled(false)
.flag("string")
.build())
.secureKey(CdnRuleOptionsSecureKeyArgs.builder()
.key("string")
.type(0)
.enabled(false)
.build())
.slice(CdnRuleOptionsSliceArgs.builder()
.value(false)
.enabled(false)
.build())
.sni(CdnRuleOptionsSniArgs.builder()
.customHostname("string")
.enabled(false)
.sniType("string")
.build())
.stale(CdnRuleOptionsStaleArgs.builder()
.values("string")
.enabled(false)
.build())
.staticRequestHeaders(CdnRuleOptionsStaticRequestHeadersArgs.builder()
.value(Map.of("string", "string"))
.enabled(false)
.build())
.staticResponseHeaders(CdnRuleOptionsStaticResponseHeadersArgs.builder()
.values(CdnRuleOptionsStaticResponseHeadersValueArgs.builder()
.name("string")
.values("string")
.always(false)
.build())
.enabled(false)
.build())
.userAgentAcl(CdnRuleOptionsUserAgentAclArgs.builder()
.exceptedValues("string")
.policyType("string")
.enabled(false)
.build())
.waap(CdnRuleOptionsWaapArgs.builder()
.value(false)
.enabled(false)
.build())
.waf(CdnRuleOptionsWafArgs.builder()
.value(false)
.enabled(false)
.build())
.websockets(CdnRuleOptionsWebsocketsArgs.builder()
.value(false)
.enabled(false)
.build())
.build())
.originGroup(0)
.originProtocol("string")
.weight(0)
.build());
cdn_rule_resource = gcore.CdnRule("cdnRuleResource",
resource_id=0,
rule="string",
rule_type=0,
active=False,
cdn_rule_id="string",
name="string",
options={
"allowed_http_methods": {
"values": ["string"],
"enabled": False,
},
"brotli_compression": {
"values": ["string"],
"enabled": False,
},
"browser_cache_settings": {
"enabled": False,
"value": "string",
},
"cors": {
"values": ["string"],
"always": False,
"enabled": False,
},
"country_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"disable_proxy_force_ranges": {
"value": False,
"enabled": False,
},
"edge_cache_settings": {
"custom_values": {
"string": "string",
},
"default": "string",
"enabled": False,
"value": "string",
},
"fastedge": {
"enabled": False,
"on_request_body": {
"app_id": "string",
"enabled": False,
"execute_on_edge": False,
"execute_on_shield": False,
"interrupt_on_error": False,
},
"on_request_headers": {
"app_id": "string",
"enabled": False,
"execute_on_edge": False,
"execute_on_shield": False,
"interrupt_on_error": False,
},
"on_response_body": {
"app_id": "string",
"enabled": False,
"execute_on_edge": False,
"execute_on_shield": False,
"interrupt_on_error": False,
},
"on_response_headers": {
"app_id": "string",
"enabled": False,
"execute_on_edge": False,
"execute_on_shield": False,
"interrupt_on_error": False,
},
},
"fetch_compressed": {
"value": False,
"enabled": False,
},
"follow_origin_redirect": {
"codes": [0],
"enabled": False,
},
"force_return": {
"code": 0,
"body": "string",
"enabled": False,
},
"forward_host_header": {
"value": False,
"enabled": False,
},
"gzip_on": {
"value": False,
"enabled": False,
},
"host_header": {
"value": "string",
"enabled": False,
},
"ignore_cookie": {
"value": False,
"enabled": False,
},
"ignore_query_string": {
"value": False,
"enabled": False,
},
"image_stack": {
"quality": 0,
"avif_enabled": False,
"enabled": False,
"png_lossless": False,
"webp_enabled": False,
},
"ip_address_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"limit_bandwidth": {
"limit_type": "string",
"buffer": 0,
"enabled": False,
"speed": 0,
},
"proxy_cache_key": {
"value": "string",
"enabled": False,
},
"proxy_cache_methods_set": {
"value": False,
"enabled": False,
},
"proxy_connect_timeout": {
"value": "string",
"enabled": False,
},
"proxy_read_timeout": {
"value": "string",
"enabled": False,
},
"query_params_blacklist": {
"values": ["string"],
"enabled": False,
},
"query_params_whitelist": {
"values": ["string"],
"enabled": False,
},
"query_string_forwarding": {
"forward_from_file_types": ["string"],
"forward_to_file_types": ["string"],
"enabled": False,
},
"redirect_http_to_https": {
"value": False,
"enabled": False,
},
"redirect_https_to_http": {
"value": False,
"enabled": False,
},
"referrer_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"request_limiter": {
"burst": 0,
"rate": 0,
"delay": 0,
"enabled": False,
"rate_unit": "string",
},
"response_headers_hiding_policy": {
"excepteds": ["string"],
"mode": "string",
"enabled": False,
},
"rewrite": {
"body": "string",
"enabled": False,
"flag": "string",
},
"secure_key": {
"key": "string",
"type": 0,
"enabled": False,
},
"slice": {
"value": False,
"enabled": False,
},
"sni": {
"custom_hostname": "string",
"enabled": False,
"sni_type": "string",
},
"stale": {
"values": ["string"],
"enabled": False,
},
"static_request_headers": {
"value": {
"string": "string",
},
"enabled": False,
},
"static_response_headers": {
"values": [{
"name": "string",
"values": ["string"],
"always": False,
}],
"enabled": False,
},
"user_agent_acl": {
"excepted_values": ["string"],
"policy_type": "string",
"enabled": False,
},
"waap": {
"value": False,
"enabled": False,
},
"waf": {
"value": False,
"enabled": False,
},
"websockets": {
"value": False,
"enabled": False,
},
},
origin_group=0,
origin_protocol="string",
weight=0)
const cdnRuleResource = new gcore.CdnRule("cdnRuleResource", {
resourceId: 0,
rule: "string",
ruleType: 0,
active: false,
cdnRuleId: "string",
name: "string",
options: {
allowedHttpMethods: {
values: ["string"],
enabled: false,
},
brotliCompression: {
values: ["string"],
enabled: false,
},
browserCacheSettings: {
enabled: false,
value: "string",
},
cors: {
values: ["string"],
always: false,
enabled: false,
},
countryAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
disableProxyForceRanges: {
value: false,
enabled: false,
},
edgeCacheSettings: {
customValues: {
string: "string",
},
"default": "string",
enabled: false,
value: "string",
},
fastedge: {
enabled: false,
onRequestBody: {
appId: "string",
enabled: false,
executeOnEdge: false,
executeOnShield: false,
interruptOnError: false,
},
onRequestHeaders: {
appId: "string",
enabled: false,
executeOnEdge: false,
executeOnShield: false,
interruptOnError: false,
},
onResponseBody: {
appId: "string",
enabled: false,
executeOnEdge: false,
executeOnShield: false,
interruptOnError: false,
},
onResponseHeaders: {
appId: "string",
enabled: false,
executeOnEdge: false,
executeOnShield: false,
interruptOnError: false,
},
},
fetchCompressed: {
value: false,
enabled: false,
},
followOriginRedirect: {
codes: [0],
enabled: false,
},
forceReturn: {
code: 0,
body: "string",
enabled: false,
},
forwardHostHeader: {
value: false,
enabled: false,
},
gzipOn: {
value: false,
enabled: false,
},
hostHeader: {
value: "string",
enabled: false,
},
ignoreCookie: {
value: false,
enabled: false,
},
ignoreQueryString: {
value: false,
enabled: false,
},
imageStack: {
quality: 0,
avifEnabled: false,
enabled: false,
pngLossless: false,
webpEnabled: false,
},
ipAddressAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
limitBandwidth: {
limitType: "string",
buffer: 0,
enabled: false,
speed: 0,
},
proxyCacheKey: {
value: "string",
enabled: false,
},
proxyCacheMethodsSet: {
value: false,
enabled: false,
},
proxyConnectTimeout: {
value: "string",
enabled: false,
},
proxyReadTimeout: {
value: "string",
enabled: false,
},
queryParamsBlacklist: {
values: ["string"],
enabled: false,
},
queryParamsWhitelist: {
values: ["string"],
enabled: false,
},
queryStringForwarding: {
forwardFromFileTypes: ["string"],
forwardToFileTypes: ["string"],
enabled: false,
},
redirectHttpToHttps: {
value: false,
enabled: false,
},
redirectHttpsToHttp: {
value: false,
enabled: false,
},
referrerAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
requestLimiter: {
burst: 0,
rate: 0,
delay: 0,
enabled: false,
rateUnit: "string",
},
responseHeadersHidingPolicy: {
excepteds: ["string"],
mode: "string",
enabled: false,
},
rewrite: {
body: "string",
enabled: false,
flag: "string",
},
secureKey: {
key: "string",
type: 0,
enabled: false,
},
slice: {
value: false,
enabled: false,
},
sni: {
customHostname: "string",
enabled: false,
sniType: "string",
},
stale: {
values: ["string"],
enabled: false,
},
staticRequestHeaders: {
value: {
string: "string",
},
enabled: false,
},
staticResponseHeaders: {
values: [{
name: "string",
values: ["string"],
always: false,
}],
enabled: false,
},
userAgentAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
waap: {
value: false,
enabled: false,
},
waf: {
value: false,
enabled: false,
},
websockets: {
value: false,
enabled: false,
},
},
originGroup: 0,
originProtocol: "string",
weight: 0,
});
type: gcore:CdnRule
properties:
active: false
cdnRuleId: string
name: string
options:
allowedHttpMethods:
enabled: false
values:
- string
brotliCompression:
enabled: false
values:
- string
browserCacheSettings:
enabled: false
value: string
cors:
always: false
enabled: false
values:
- string
countryAcl:
enabled: false
exceptedValues:
- string
policyType: string
disableProxyForceRanges:
enabled: false
value: false
edgeCacheSettings:
customValues:
string: string
default: string
enabled: false
value: string
fastedge:
enabled: false
onRequestBody:
appId: string
enabled: false
executeOnEdge: false
executeOnShield: false
interruptOnError: false
onRequestHeaders:
appId: string
enabled: false
executeOnEdge: false
executeOnShield: false
interruptOnError: false
onResponseBody:
appId: string
enabled: false
executeOnEdge: false
executeOnShield: false
interruptOnError: false
onResponseHeaders:
appId: string
enabled: false
executeOnEdge: false
executeOnShield: false
interruptOnError: false
fetchCompressed:
enabled: false
value: false
followOriginRedirect:
codes:
- 0
enabled: false
forceReturn:
body: string
code: 0
enabled: false
forwardHostHeader:
enabled: false
value: false
gzipOn:
enabled: false
value: false
hostHeader:
enabled: false
value: string
ignoreCookie:
enabled: false
value: false
ignoreQueryString:
enabled: false
value: false
imageStack:
avifEnabled: false
enabled: false
pngLossless: false
quality: 0
webpEnabled: false
ipAddressAcl:
enabled: false
exceptedValues:
- string
policyType: string
limitBandwidth:
buffer: 0
enabled: false
limitType: string
speed: 0
proxyCacheKey:
enabled: false
value: string
proxyCacheMethodsSet:
enabled: false
value: false
proxyConnectTimeout:
enabled: false
value: string
proxyReadTimeout:
enabled: false
value: string
queryParamsBlacklist:
enabled: false
values:
- string
queryParamsWhitelist:
enabled: false
values:
- string
queryStringForwarding:
enabled: false
forwardFromFileTypes:
- string
forwardToFileTypes:
- string
redirectHttpToHttps:
enabled: false
value: false
redirectHttpsToHttp:
enabled: false
value: false
referrerAcl:
enabled: false
exceptedValues:
- string
policyType: string
requestLimiter:
burst: 0
delay: 0
enabled: false
rate: 0
rateUnit: string
responseHeadersHidingPolicy:
enabled: false
excepteds:
- string
mode: string
rewrite:
body: string
enabled: false
flag: string
secureKey:
enabled: false
key: string
type: 0
slice:
enabled: false
value: false
sni:
customHostname: string
enabled: false
sniType: string
stale:
enabled: false
values:
- string
staticRequestHeaders:
enabled: false
value:
string: string
staticResponseHeaders:
enabled: false
values:
- always: false
name: string
values:
- string
userAgentAcl:
enabled: false
exceptedValues:
- string
policyType: string
waap:
enabled: false
value: false
waf:
enabled: false
value: false
websockets:
enabled: false
value: false
originGroup: 0
originProtocol: string
resourceId: 0
rule: string
ruleType: 0
weight: 0
CdnRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CdnRule resource accepts the following input properties:
- Resource
Id double - Rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- Rule
Type double - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- Active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Rule name
- Options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- Origin
Group double - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- Origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- Weight double
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- Resource
Id float64 - Rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- Rule
Type float64 - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- Active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Rule name
- Options
Cdn
Rule Options Args - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- Origin
Group float64 - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- Origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- Weight float64
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- resource
Id Double - rule String
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type Double - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- active Boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule StringId - The ID of this resource.
- name String
- Rule name
- options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group Double - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol String - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- weight Double
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- resource
Id number - rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type number - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- active boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule stringId - The ID of this resource.
- name string
- Rule name
- options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group number - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- weight number
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- resource_
id float - rule str
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule_
type float - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn_
rule_ strid - The ID of this resource.
- name str
- Rule name
- options
Cdn
Rule Options Args - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin_
group float - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin_
protocol str - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- weight float
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- resource
Id Number - rule String
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type Number - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- active Boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule StringId - The ID of this resource.
- name String
- Rule name
- options Property Map
- Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group Number - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol String - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- weight Number
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdnRule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CdnRule Resource
Get an existing CdnRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CdnRuleState, opts?: CustomResourceOptions): CdnRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
active: Optional[bool] = None,
cdn_rule_id: Optional[str] = None,
name: Optional[str] = None,
options: Optional[CdnRuleOptionsArgs] = None,
origin_group: Optional[float] = None,
origin_protocol: Optional[str] = None,
resource_id: Optional[float] = None,
rule: Optional[str] = None,
rule_type: Optional[float] = None,
weight: Optional[float] = None) -> CdnRule
func GetCdnRule(ctx *Context, name string, id IDInput, state *CdnRuleState, opts ...ResourceOption) (*CdnRule, error)
public static CdnRule Get(string name, Input<string> id, CdnRuleState? state, CustomResourceOptions? opts = null)
public static CdnRule get(String name, Output<String> id, CdnRuleState state, CustomResourceOptions options)
resources: _: type: gcore:CdnRule get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Rule name
- Options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- Origin
Group double - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- Origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- Resource
Id double - Rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- Rule
Type double - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- Weight double
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- Active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Rule name
- Options
Cdn
Rule Options Args - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- Origin
Group float64 - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- Origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- Resource
Id float64 - Rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- Rule
Type float64 - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- Weight float64
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- active Boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule StringId - The ID of this resource.
- name String
- Rule name
- options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group Double - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol String - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- resource
Id Double - rule String
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type Double - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- weight Double
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- active boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule stringId - The ID of this resource.
- name string
- Rule name
- options
Cdn
Rule Options - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group number - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol string - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- resource
Id number - rule string
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type number - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- weight number
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- active bool
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn_
rule_ strid - The ID of this resource.
- name str
- Rule name
- options
Cdn
Rule Options Args - Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin_
group float - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin_
protocol str - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- resource_
id float - rule str
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule_
type float - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- weight float
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
- active Boolean
- The setting allows to enable or disable a Rule. If not specified, it will be enabled.
- cdn
Rule StringId - The ID of this resource.
- name String
- Rule name
- options Property Map
- Each option in CDN rule settings. Each option added to CDN rule settings should have the following mandatory request fields: enabled, value.
- origin
Group Number - ID of the Origins Group. Use one of your Origins Group or create a new one. You can use either 'origin' parameter or 'originGroup' in the resource definition.
- origin
Protocol String - This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, it will be inherit from resource. Possible values are: HTTPS, HTTP, MATCH.
- resource
Id Number - rule String
- A pattern that defines when the rule is triggered. By default, we add a leading forward slash to any rule pattern. Specify a pattern without a forward slash.
- rule
Type Number - Type of rule. The rule is applied if the requested URI matches the rule pattern. It has two possible values: Type 0 — RegEx. Must start with '^/' or '/'. Type 1 — RegEx. Legacy type. Note that for this rule type we automatically add / to each rule pattern before your regular expression. Please use Type 0.
- weight Number
- Rule weight that determines rule execution order: from the smallest (0) to the highest.
Supporting Types
CdnRuleOptions, CdnRuleOptionsArgs
- Allowed
Http CdnMethods Rule Options Allowed Http Methods - Specify allowed HTTP methods.
- Brotli
Compression CdnRule Options Brotli Compression - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- Browser
Cache CdnSettings Rule Options Browser Cache Settings - Specify the cache expiration time for customers' browsers in seconds.
- Cors
Cdn
Rule Options Cors - CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- Country
Acl CdnRule Options Country Acl - Country access policy enables control access to content for specified countries.
- Disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- Edge
Cache CdnSettings Rule Options Edge Cache Settings - The cache expiration time for CDN servers.
- Fastedge
Cdn
Rule Options Fastedge - Allows to configure FastEdge app to be called on different request/response phases.
- Fetch
Compressed CdnRule Options Fetch Compressed - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- Follow
Origin CdnRedirect Rule Options Follow Origin Redirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- Force
Return CdnRule Options Force Return - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- Forward
Host CdnHeader Rule Options Forward Host Header - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- Gzip
On CdnRule Options Gzip On - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- Host
Header CdnRule Options Host Header - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Cdn
Rule Options Ignore Cookie - By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- Ignore
Query CdnString Rule Options Ignore Query String - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- Image
Stack CdnRule Options Image Stack - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- Ip
Address CdnAcl Rule Options Ip Address Acl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- Limit
Bandwidth CdnRule Options Limit Bandwidth - The option allows to control the download speed per connection.
- Proxy
Cache CdnKey Rule Options Proxy Cache Key - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- Proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allows caching for GET, HEAD and POST requests.
- Proxy
Connect CdnTimeout Rule Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- Proxy
Read CdnTimeout Rule Options Proxy Read Timeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- Query
Params CdnBlacklist Rule Options Query Params Blacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- Query
Params CdnWhitelist Rule Options Query Params Whitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- Query
String CdnForwarding Rule Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- Redirect
Http CdnTo Https Rule Options Redirect Http To Https - When enabled, HTTP requests are redirected to HTTPS.
- Redirect
Https CdnTo Http Rule Options Redirect Https To Http - When enabled, HTTPS requests are redirected to HTTP.
- Referrer
Acl CdnRule Options Referrer Acl - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- Request
Limiter CdnRule Options Request Limiter - It allows to limit the amount of HTTP requests
- Response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- Rewrite
Cdn
Rule Options Rewrite - Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- Secure
Key CdnRule Options Secure Key - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- Slice
Cdn
Rule Options Slice - When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- Sni
Cdn
Rule Options Sni - Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- Stale
Cdn
Rule Options Stale - The list of errors which Always Online option is applied for.
- Static
Request CdnHeaders Rule Options Static Request Headers - Specify custom HTTP Headers for a CDN server to add to request.
- Static
Response CdnHeaders Rule Options Static Response Headers - Specify custom HTTP Headers that a CDN server adds to a response.
- User
Agent CdnAcl Rule Options User Agent Acl - User agents policy option allows to control access to the content for specified user-agent.
- Waap
Cdn
Rule Options Waap - Option allows to enable WAAP (Web Application and API Protection).
- Waf
Cdn
Rule Options Waf - Option allows to enable Basic WAF to protect you against the most common threats.
- Websockets
Cdn
Rule Options Websockets - WebSockets option allows WebSockets connections to an origin server.
- Allowed
Http CdnMethods Rule Options Allowed Http Methods - Specify allowed HTTP methods.
- Brotli
Compression CdnRule Options Brotli Compression - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- Browser
Cache CdnSettings Rule Options Browser Cache Settings - Specify the cache expiration time for customers' browsers in seconds.
- Cors
Cdn
Rule Options Cors - CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- Country
Acl CdnRule Options Country Acl - Country access policy enables control access to content for specified countries.
- Disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- Edge
Cache CdnSettings Rule Options Edge Cache Settings - The cache expiration time for CDN servers.
- Fastedge
Cdn
Rule Options Fastedge - Allows to configure FastEdge app to be called on different request/response phases.
- Fetch
Compressed CdnRule Options Fetch Compressed - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- Follow
Origin CdnRedirect Rule Options Follow Origin Redirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- Force
Return CdnRule Options Force Return - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- Forward
Host CdnHeader Rule Options Forward Host Header - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- Gzip
On CdnRule Options Gzip On - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- Host
Header CdnRule Options Host Header - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Cdn
Rule Options Ignore Cookie - By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- Ignore
Query CdnString Rule Options Ignore Query String - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- Image
Stack CdnRule Options Image Stack - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- Ip
Address CdnAcl Rule Options Ip Address Acl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- Limit
Bandwidth CdnRule Options Limit Bandwidth - The option allows to control the download speed per connection.
- Proxy
Cache CdnKey Rule Options Proxy Cache Key - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- Proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allows caching for GET, HEAD and POST requests.
- Proxy
Connect CdnTimeout Rule Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- Proxy
Read CdnTimeout Rule Options Proxy Read Timeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- Query
Params CdnBlacklist Rule Options Query Params Blacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- Query
Params CdnWhitelist Rule Options Query Params Whitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- Query
String CdnForwarding Rule Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- Redirect
Http CdnTo Https Rule Options Redirect Http To Https - When enabled, HTTP requests are redirected to HTTPS.
- Redirect
Https CdnTo Http Rule Options Redirect Https To Http - When enabled, HTTPS requests are redirected to HTTP.
- Referrer
Acl CdnRule Options Referrer Acl - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- Request
Limiter CdnRule Options Request Limiter - It allows to limit the amount of HTTP requests
- Response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- Rewrite
Cdn
Rule Options Rewrite - Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- Secure
Key CdnRule Options Secure Key - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- Slice
Cdn
Rule Options Slice - When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- Sni
Cdn
Rule Options Sni - Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- Stale
Cdn
Rule Options Stale - The list of errors which Always Online option is applied for.
- Static
Request CdnHeaders Rule Options Static Request Headers - Specify custom HTTP Headers for a CDN server to add to request.
- Static
Response CdnHeaders Rule Options Static Response Headers - Specify custom HTTP Headers that a CDN server adds to a response.
- User
Agent CdnAcl Rule Options User Agent Acl - User agents policy option allows to control access to the content for specified user-agent.
- Waap
Cdn
Rule Options Waap - Option allows to enable WAAP (Web Application and API Protection).
- Waf
Cdn
Rule Options Waf - Option allows to enable Basic WAF to protect you against the most common threats.
- Websockets
Cdn
Rule Options Websockets - WebSockets option allows WebSockets connections to an origin server.
- allowed
Http CdnMethods Rule Options Allowed Http Methods - Specify allowed HTTP methods.
- brotli
Compression CdnRule Options Brotli Compression - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- browser
Cache CdnSettings Rule Options Browser Cache Settings - Specify the cache expiration time for customers' browsers in seconds.
- cors
Cdn
Rule Options Cors - CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- country
Acl CdnRule Options Country Acl - Country access policy enables control access to content for specified countries.
- disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- edge
Cache CdnSettings Rule Options Edge Cache Settings - The cache expiration time for CDN servers.
- fastedge
Cdn
Rule Options Fastedge - Allows to configure FastEdge app to be called on different request/response phases.
- fetch
Compressed CdnRule Options Fetch Compressed - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- follow
Origin CdnRedirect Rule Options Follow Origin Redirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- force
Return CdnRule Options Force Return - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- forward
Host CdnHeader Rule Options Forward Host Header - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- gzip
On CdnRule Options Gzip On - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- host
Header CdnRule Options Host Header - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Cdn
Rule Options Ignore Cookie - By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- ignore
Query CdnString Rule Options Ignore Query String - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- image
Stack CdnRule Options Image Stack - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- ip
Address CdnAcl Rule Options Ip Address Acl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- limit
Bandwidth CdnRule Options Limit Bandwidth - The option allows to control the download speed per connection.
- proxy
Cache CdnKey Rule Options Proxy Cache Key - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allows caching for GET, HEAD and POST requests.
- proxy
Connect CdnTimeout Rule Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy
Read CdnTimeout Rule Options Proxy Read Timeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- query
Params CdnBlacklist Rule Options Query Params Blacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- query
Params CdnWhitelist Rule Options Query Params Whitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- query
String CdnForwarding Rule Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- redirect
Http CdnTo Https Rule Options Redirect Http To Https - When enabled, HTTP requests are redirected to HTTPS.
- redirect
Https CdnTo Http Rule Options Redirect Https To Http - When enabled, HTTPS requests are redirected to HTTP.
- referrer
Acl CdnRule Options Referrer Acl - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- request
Limiter CdnRule Options Request Limiter - It allows to limit the amount of HTTP requests
- response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- rewrite
Cdn
Rule Options Rewrite - Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key CdnRule Options Secure Key - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- slice
Cdn
Rule Options Slice - When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- sni
Cdn
Rule Options Sni - Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- stale
Cdn
Rule Options Stale - The list of errors which Always Online option is applied for.
- static
Request CdnHeaders Rule Options Static Request Headers - Specify custom HTTP Headers for a CDN server to add to request.
- static
Response CdnHeaders Rule Options Static Response Headers - Specify custom HTTP Headers that a CDN server adds to a response.
- user
Agent CdnAcl Rule Options User Agent Acl - User agents policy option allows to control access to the content for specified user-agent.
- waap
Cdn
Rule Options Waap - Option allows to enable WAAP (Web Application and API Protection).
- waf
Cdn
Rule Options Waf - Option allows to enable Basic WAF to protect you against the most common threats.
- websockets
Cdn
Rule Options Websockets - WebSockets option allows WebSockets connections to an origin server.
- allowed
Http CdnMethods Rule Options Allowed Http Methods - Specify allowed HTTP methods.
- brotli
Compression CdnRule Options Brotli Compression - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- browser
Cache CdnSettings Rule Options Browser Cache Settings - Specify the cache expiration time for customers' browsers in seconds.
- cors
Cdn
Rule Options Cors - CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- country
Acl CdnRule Options Country Acl - Country access policy enables control access to content for specified countries.
- disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- edge
Cache CdnSettings Rule Options Edge Cache Settings - The cache expiration time for CDN servers.
- fastedge
Cdn
Rule Options Fastedge - Allows to configure FastEdge app to be called on different request/response phases.
- fetch
Compressed CdnRule Options Fetch Compressed - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- follow
Origin CdnRedirect Rule Options Follow Origin Redirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- force
Return CdnRule Options Force Return - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- forward
Host CdnHeader Rule Options Forward Host Header - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- gzip
On CdnRule Options Gzip On - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- host
Header CdnRule Options Host Header - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Cdn
Rule Options Ignore Cookie - By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- ignore
Query CdnString Rule Options Ignore Query String - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- image
Stack CdnRule Options Image Stack - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- ip
Address CdnAcl Rule Options Ip Address Acl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- limit
Bandwidth CdnRule Options Limit Bandwidth - The option allows to control the download speed per connection.
- proxy
Cache CdnKey Rule Options Proxy Cache Key - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allows caching for GET, HEAD and POST requests.
- proxy
Connect CdnTimeout Rule Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy
Read CdnTimeout Rule Options Proxy Read Timeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- query
Params CdnBlacklist Rule Options Query Params Blacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- query
Params CdnWhitelist Rule Options Query Params Whitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- query
String CdnForwarding Rule Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- redirect
Http CdnTo Https Rule Options Redirect Http To Https - When enabled, HTTP requests are redirected to HTTPS.
- redirect
Https CdnTo Http Rule Options Redirect Https To Http - When enabled, HTTPS requests are redirected to HTTP.
- referrer
Acl CdnRule Options Referrer Acl - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- request
Limiter CdnRule Options Request Limiter - It allows to limit the amount of HTTP requests
- response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- rewrite
Cdn
Rule Options Rewrite - Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key CdnRule Options Secure Key - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- slice
Cdn
Rule Options Slice - When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- sni
Cdn
Rule Options Sni - Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- stale
Cdn
Rule Options Stale - The list of errors which Always Online option is applied for.
- static
Request CdnHeaders Rule Options Static Request Headers - Specify custom HTTP Headers for a CDN server to add to request.
- static
Response CdnHeaders Rule Options Static Response Headers - Specify custom HTTP Headers that a CDN server adds to a response.
- user
Agent CdnAcl Rule Options User Agent Acl - User agents policy option allows to control access to the content for specified user-agent.
- waap
Cdn
Rule Options Waap - Option allows to enable WAAP (Web Application and API Protection).
- waf
Cdn
Rule Options Waf - Option allows to enable Basic WAF to protect you against the most common threats.
- websockets
Cdn
Rule Options Websockets - WebSockets option allows WebSockets connections to an origin server.
- allowed_
http_ Cdnmethods Rule Options Allowed Http Methods - Specify allowed HTTP methods.
- brotli_
compression CdnRule Options Brotli Compression - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- browser_
cache_ Cdnsettings Rule Options Browser Cache Settings - Specify the cache expiration time for customers' browsers in seconds.
- cors
Cdn
Rule Options Cors - CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- country_
acl CdnRule Options Country Acl - Country access policy enables control access to content for specified countries.
- disable_
proxy_ Cdnforce_ ranges Rule Options Disable Proxy Force Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- edge_
cache_ Cdnsettings Rule Options Edge Cache Settings - The cache expiration time for CDN servers.
- fastedge
Cdn
Rule Options Fastedge - Allows to configure FastEdge app to be called on different request/response phases.
- fetch_
compressed CdnRule Options Fetch Compressed - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- follow_
origin_ Cdnredirect Rule Options Follow Origin Redirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- force_
return CdnRule Options Force Return - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- forward_
host_ Cdnheader Rule Options Forward Host Header - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- gzip_
on CdnRule Options Gzip On - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- host_
header CdnRule Options Host Header - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Cdn
Rule Options Ignore Cookie - By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- ignore_
query_ Cdnstring Rule Options Ignore Query String - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- image_
stack CdnRule Options Image Stack - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- ip_
address_ Cdnacl Rule Options Ip Address Acl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- limit_
bandwidth CdnRule Options Limit Bandwidth - The option allows to control the download speed per connection.
- proxy_
cache_ Cdnkey Rule Options Proxy Cache Key - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- proxy_
cache_ Cdnmethods_ set Rule Options Proxy Cache Methods Set - Allows caching for GET, HEAD and POST requests.
- proxy_
connect_ Cdntimeout Rule Options Proxy Connect Timeout - The time limit for establishing a connection with the origin.
- proxy_
read_ Cdntimeout Rule Options Proxy Read Timeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- query_
params_ Cdnblacklist Rule Options Query Params Blacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- query_
params_ Cdnwhitelist Rule Options Query Params Whitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- query_
string_ Cdnforwarding Rule Options Query String Forwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- redirect_
http_ Cdnto_ https Rule Options Redirect Http To Https - When enabled, HTTP requests are redirected to HTTPS.
- redirect_
https_ Cdnto_ http Rule Options Redirect Https To Http - When enabled, HTTPS requests are redirected to HTTP.
- referrer_
acl CdnRule Options Referrer Acl - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- request_
limiter CdnRule Options Request Limiter - It allows to limit the amount of HTTP requests
- response_
headers_ Cdnhiding_ policy Rule Options Response Headers Hiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- rewrite
Cdn
Rule Options Rewrite - Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure_
key CdnRule Options Secure Key - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- slice
Cdn
Rule Options Slice - When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- sni
Cdn
Rule Options Sni - Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- stale
Cdn
Rule Options Stale - The list of errors which Always Online option is applied for.
- static_
request_ Cdnheaders Rule Options Static Request Headers - Specify custom HTTP Headers for a CDN server to add to request.
- static_
response_ Cdnheaders Rule Options Static Response Headers - Specify custom HTTP Headers that a CDN server adds to a response.
- user_
agent_ Cdnacl Rule Options User Agent Acl - User agents policy option allows to control access to the content for specified user-agent.
- waap
Cdn
Rule Options Waap - Option allows to enable WAAP (Web Application and API Protection).
- waf
Cdn
Rule Options Waf - Option allows to enable Basic WAF to protect you against the most common threats.
- websockets
Cdn
Rule Options Websockets - WebSockets option allows WebSockets connections to an origin server.
- allowed
Http Property MapMethods - Specify allowed HTTP methods.
- brotli
Compression Property Map - Brotli compression option allows to compress content with brotli on the CDN's end. CDN servers will request only uncompressed content from the origin.
- browser
Cache Property MapSettings - Specify the cache expiration time for customers' browsers in seconds.
- cors Property Map
- CORS header support option adds the Access-Control-Allow-Origin header to responses from CDN servers.
- country
Acl Property Map - Country access policy enables control access to content for specified countries.
- disable
Proxy Property MapForce Ranges - The option allows getting 206 responses regardless settings of an origin source. Enabled by default.
- edge
Cache Property MapSettings - The cache expiration time for CDN servers.
- fastedge Property Map
- Allows to configure FastEdge app to be called on different request/response phases.
- fetch
Compressed Property Map - Option allows to enable fetch compressed. CDN request and cache already compressed content. Your server should support compression. CDN servers will not ungzip your content even if a user's browser doesn't accept compression (nowadays almost all browsers support it).
- follow
Origin Property MapRedirect - Enable redirection from origin. If the origin server returns a redirect, the option allows the CDN to pull the requested content from the origin server that was returned in the redirect.
- force
Return Property Map - Allows to apply custom HTTP code to the CDN content. Specify HTTP-code you need and text or URL if you are going to set up redirect.
- forward
Host Property MapHeader - When a CDN requests content from an origin server, the option allows to forward the Host header used in the request made to a CDN.
- gzip
On Property Map - GZip compression option allows to compress content with gzip on the CDN`s end. CDN servers will request only uncompressed content from the origin.
- host
Header Property Map - Option allows to set Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is NULL, Host Header value is taken from the parent CDN resource's value.
- Property Map
- By default, files pulled from an origin source with cookies are not cached in a CDN. Enable this option to cache such objects.
- ignore
Query Property MapString - Ignore query string option determines how files with different query strings will be cached: either as one object (option is enabled) or as different objects (option is disabled).
- image
Stack Property Map - Image stack option allows transforming JPG and PNG images (such as resizing or cropping) and automatically converting them to WebP or AVIF format. It is a paid option.
- ip
Address Property MapAcl - IP access policy option allows to control access to the CDN Resource content for specific IP addresses.
- limit
Bandwidth Property Map - The option allows to control the download speed per connection.
- proxy
Cache Property MapKey - The option allows to modify the cache key. If omitted, the default value is $request*uri. Warning: Enabling and changing this option can invalidate your current cache and affect the cache hit ratio. Furthermore, the "Purge by pattern" option will not work.
- proxy
Cache Property MapMethods Set - Allows caching for GET, HEAD and POST requests.
- proxy
Connect Property MapTimeout - The time limit for establishing a connection with the origin.
- proxy
Read Property MapTimeout - The time limit for receiving a partial response from the origin. If no response is received within this time, the connection will be closed.
- query
Params Property MapBlacklist - Specify list of query strings. Files with those query strings will be cached as one object.
- query
Params Property MapWhitelist - Specify list of query strings. Files with those query strings will be cached as different objects.
- query
String Property MapForwarding - The Query String Forwarding feature allows for the seamless transfer of parameters embedded in playlist files to the corresponding media chunk files.
- redirect
Http Property MapTo Https - When enabled, HTTP requests are redirected to HTTPS.
- redirect
Https Property MapTo Http - When enabled, HTTPS requests are redirected to HTTP.
- referrer
Acl Property Map - Referrer access policy option allows to control access to the CDN Resource content for specified domain names.
- request
Limiter Property Map - It allows to limit the amount of HTTP requests
- response
Headers Property MapHiding Policy - Define HTTP headers (specified at an origin server) that a CDN server hides from the response.
- rewrite Property Map
- Rewrite option changes and redirects the requests from the CDN to the origin. It operates according to the Nginx configuration.
- secure
Key Property Map - The option allows configuring an access with tokenized URLs. It makes impossible to access content without a valid (unexpired) hash key. When enabled, you need to specify a key that you use to generate a token.
- slice Property Map
- When enabled, files larger than 10 MB are requested and cached in parts (no larger than 10 MB each). It reduces time to first byte. The origin must support HTTP Range requests.
- sni Property Map
- Specify the SNI (Server Name Indication). SNI (Server Name Indication) is generally only required if your origin is using shared hosting or does not have a dedicated IP address. If the origin server presents multiple certificates, SNI allows the origin server to know which certificate to use for the connection. The option works only if originProtocol parameter is HTTPS or MATCH.
- stale Property Map
- The list of errors which Always Online option is applied for.
- static
Request Property MapHeaders - Specify custom HTTP Headers for a CDN server to add to request.
- static
Response Property MapHeaders - Specify custom HTTP Headers that a CDN server adds to a response.
- user
Agent Property MapAcl - User agents policy option allows to control access to the content for specified user-agent.
- waap Property Map
- Option allows to enable WAAP (Web Application and API Protection).
- waf Property Map
- Option allows to enable Basic WAF to protect you against the most common threats.
- websockets Property Map
- WebSockets option allows WebSockets connections to an origin server.
CdnRuleOptionsAllowedHttpMethods, CdnRuleOptionsAllowedHttpMethodsArgs
CdnRuleOptionsBrotliCompression, CdnRuleOptionsBrotliCompressionArgs
CdnRuleOptionsBrowserCacheSettings, CdnRuleOptionsBrowserCacheSettingsArgs
CdnRuleOptionsCors, CdnRuleOptionsCorsArgs
CdnRuleOptionsCountryAcl, CdnRuleOptionsCountryAclArgs
- Excepted
Values List<string> - List of countries according to ISO-3166-1.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- Excepted
Values []string - List of countries according to ISO-3166-1.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- excepted
Values List<String> - List of countries according to ISO-3166-1.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
- excepted
Values string[] - List of countries according to ISO-3166-1.
- policy
Type string - Possible values: allow, deny.
- enabled boolean
- excepted_
values Sequence[str] - List of countries according to ISO-3166-1.
- policy_
type str - Possible values: allow, deny.
- enabled bool
- excepted
Values List<String> - List of countries according to ISO-3166-1.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
CdnRuleOptionsDisableProxyForceRanges, CdnRuleOptionsDisableProxyForceRangesArgs
CdnRuleOptionsEdgeCacheSettings, CdnRuleOptionsEdgeCacheSettingsArgs
- Custom
Values Dictionary<string, string> - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- Default string
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- Enabled bool
- Value string
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
- Custom
Values map[string]string - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- Default string
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- Enabled bool
- Value string
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
- custom
Values Map<String,String> - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- default_ String
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- enabled Boolean
- value String
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
- custom
Values {[key: string]: string} - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- default string
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- enabled boolean
- value string
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
- custom_
values Mapping[str, str] - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- default str
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- enabled bool
- value str
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
- custom
Values Map<String> - Specify caching time in seconds ('0s', '600s' for example) for a response with specific response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Use '0s' to disable caching for a specific response code. These settings have a higher priority than the value field.
- default String
- Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308, if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
- enabled Boolean
- value String
- Specify caching time for the response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' to disable caching. Use custom_values field to specify a custom caching time for a response with specific codes.
CdnRuleOptionsFastedge, CdnRuleOptionsFastedgeArgs
- Enabled bool
- On
Request CdnBody Rule Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- On
Request CdnHeaders Rule Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- On
Response CdnBody Rule Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- On
Response CdnHeaders Rule Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- Enabled bool
- On
Request CdnBody Rule Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- On
Request CdnHeaders Rule Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- On
Response CdnBody Rule Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- On
Response CdnHeaders Rule Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled Boolean
- on
Request CdnBody Rule Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request CdnHeaders Rule Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- on
Response CdnBody Rule Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response CdnHeaders Rule Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled boolean
- on
Request CdnBody Rule Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request CdnHeaders Rule Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- on
Response CdnBody Rule Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response CdnHeaders Rule Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled bool
- on_
request_ Cdnbody Rule Options Fastedge On Request Body - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on_
request_ Cdnheaders Rule Options Fastedge On Request Headers - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- on_
response_ Cdnbody Rule Options Fastedge On Response Body - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on_
response_ Cdnheaders Rule Options Fastedge On Response Headers - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
- enabled Boolean
- on
Request Property MapBody - Allows to configure FastEdge application that will be called to handle request body as soon as CDN receives incoming HTTP request.
- on
Request Property MapHeaders - Allows to configure FastEdge application that will be called to handle request headers as soon as CDN receives incoming HTTP request.
- on
Response Property MapBody - Allows to configure FastEdge application that will be called to handle response body before CDN sends the HTTP response.
- on
Response Property MapHeaders - Allows to configure FastEdge application that will be called to handle response headers before CDN sends the HTTP response.
CdnRuleOptionsFastedgeOnRequestBody, CdnRuleOptionsFastedgeOnRequestBodyArgs
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - Determines if the request execution should be interrupted when an error occurs.
- app_
id str - The ID of the application in FastEdge.
- enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute_
on_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
CdnRuleOptionsFastedgeOnRequestHeaders, CdnRuleOptionsFastedgeOnRequestHeadersArgs
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - Determines if the request execution should be interrupted when an error occurs.
- app_
id str - The ID of the application in FastEdge.
- enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute_
on_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
CdnRuleOptionsFastedgeOnResponseBody, CdnRuleOptionsFastedgeOnResponseBodyArgs
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - Determines if the request execution should be interrupted when an error occurs.
- app_
id str - The ID of the application in FastEdge.
- enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute_
on_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
CdnRuleOptionsFastedgeOnResponseHeaders, CdnRuleOptionsFastedgeOnResponseHeadersArgs
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- App
Id string - The ID of the application in FastEdge.
- Enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- Execute
On boolEdge - Determines if the request should be executed at the edge nodes.
- Execute
On boolShield - Determines if the request should be executed at the shield nodes.
- Interrupt
On boolError - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
- app
Id string - The ID of the application in FastEdge.
- enabled boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On booleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On booleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On booleanError - Determines if the request execution should be interrupted when an error occurs.
- app_
id str - The ID of the application in FastEdge.
- enabled bool
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute_
on_ booledge - Determines if the request should be executed at the edge nodes.
- execute_
on_ boolshield - Determines if the request should be executed at the shield nodes.
- interrupt_
on_ boolerror - Determines if the request execution should be interrupted when an error occurs.
- app
Id String - The ID of the application in FastEdge.
- enabled Boolean
- Determines if the FastEdge application should be called whenever HTTP request headers are received.
- execute
On BooleanEdge - Determines if the request should be executed at the edge nodes.
- execute
On BooleanShield - Determines if the request should be executed at the shield nodes.
- interrupt
On BooleanError - Determines if the request execution should be interrupted when an error occurs.
CdnRuleOptionsFetchCompressed, CdnRuleOptionsFetchCompressedArgs
CdnRuleOptionsFollowOriginRedirect, CdnRuleOptionsFollowOriginRedirectArgs
CdnRuleOptionsForceReturn, CdnRuleOptionsForceReturnArgs
CdnRuleOptionsForwardHostHeader, CdnRuleOptionsForwardHostHeaderArgs
CdnRuleOptionsGzipOn, CdnRuleOptionsGzipOnArgs
CdnRuleOptionsHostHeader, CdnRuleOptionsHostHeaderArgs
CdnRuleOptionsIgnoreCookie, CdnRuleOptionsIgnoreCookieArgs
CdnRuleOptionsIgnoreQueryString, CdnRuleOptionsIgnoreQueryStringArgs
CdnRuleOptionsImageStack, CdnRuleOptionsImageStackArgs
- Quality double
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- Avif
Enabled bool - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- Enabled bool
- Png
Lossless bool - Represents compression without quality loss for PNG format.
- Webp
Enabled bool - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
- Quality float64
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- Avif
Enabled bool - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- Enabled bool
- Png
Lossless bool - Represents compression without quality loss for PNG format.
- Webp
Enabled bool - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
- quality Double
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled Boolean - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- enabled Boolean
- png
Lossless Boolean - Represents compression without quality loss for PNG format.
- webp
Enabled Boolean - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
- quality number
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled boolean - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- enabled boolean
- png
Lossless boolean - Represents compression without quality loss for PNG format.
- webp
Enabled boolean - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
- quality float
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- avif_
enabled bool - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- enabled bool
- png_
lossless bool - Represents compression without quality loss for PNG format.
- webp_
enabled bool - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
- quality Number
- Quality settings for JPG and PNG images. Specify a value from 1 to 100. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled Boolean - If enabled, JPG and PNG images automatically convert to AVIF format when supported by the end users browser.
- enabled Boolean
- png
Lossless Boolean - Represents compression without quality loss for PNG format.
- webp
Enabled Boolean - If enabled, JPG and PNG images automatically convert to WebP format when supported by the end users browser.
CdnRuleOptionsIpAddressAcl, CdnRuleOptionsIpAddressAclArgs
- Excepted
Values List<string> - Specify list of IP address with a subnet mask.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- Excepted
Values []string - Specify list of IP address with a subnet mask.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- excepted
Values List<String> - Specify list of IP address with a subnet mask.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
- excepted
Values string[] - Specify list of IP address with a subnet mask.
- policy
Type string - Possible values: allow, deny.
- enabled boolean
- excepted_
values Sequence[str] - Specify list of IP address with a subnet mask.
- policy_
type str - Possible values: allow, deny.
- enabled bool
- excepted
Values List<String> - Specify list of IP address with a subnet mask.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
CdnRuleOptionsLimitBandwidth, CdnRuleOptionsLimitBandwidthArgs
- limit_
type str - The way of controlling the download speed per each connection. Possible values are: static, dynamic.
- buffer float
- Amount of downloaded data after which the user will be rate limited.
- enabled bool
- speed float
- Maximum download speed per connection. Must be greater than 0.
CdnRuleOptionsProxyCacheKey, CdnRuleOptionsProxyCacheKeyArgs
CdnRuleOptionsProxyCacheMethodsSet, CdnRuleOptionsProxyCacheMethodsSetArgs
CdnRuleOptionsProxyConnectTimeout, CdnRuleOptionsProxyConnectTimeoutArgs
CdnRuleOptionsProxyReadTimeout, CdnRuleOptionsProxyReadTimeoutArgs
CdnRuleOptionsQueryParamsBlacklist, CdnRuleOptionsQueryParamsBlacklistArgs
CdnRuleOptionsQueryParamsWhitelist, CdnRuleOptionsQueryParamsWhitelistArgs
CdnRuleOptionsQueryStringForwarding, CdnRuleOptionsQueryStringForwardingArgs
- Forward
From List<string>File Types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- Forward
To List<string>File Types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- Enabled bool
- Forward
From []stringFile Types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- Forward
To []stringFile Types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- Enabled bool
- forward
From List<String>File Types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- forward
To List<String>File Types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- enabled Boolean
- forward
From string[]File Types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- forward
To string[]File Types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- enabled boolean
- forward_
from_ Sequence[str]file_ types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- forward_
to_ Sequence[str]file_ types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- enabled bool
- forward
From List<String>File Types - Specify the types of playlist files from which parameters will be extracted and forwarded.
- forward
To List<String>File Types - Specify the types of media chunk files to which parameters, extracted from playlist files, will be forwarded.
- enabled Boolean
CdnRuleOptionsRedirectHttpToHttps, CdnRuleOptionsRedirectHttpToHttpsArgs
CdnRuleOptionsRedirectHttpsToHttp, CdnRuleOptionsRedirectHttpsToHttpArgs
CdnRuleOptionsReferrerAcl, CdnRuleOptionsReferrerAclArgs
- Excepted
Values List<string> - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- Excepted
Values []string - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- excepted
Values List<String> - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
- excepted
Values string[] - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- policy
Type string - Possible values: allow, deny.
- enabled boolean
- excepted_
values Sequence[str] - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- policy_
type str - Possible values: allow, deny.
- enabled bool
- excepted
Values List<String> - Specify list of domain names or wildcard domains (without http:// or https://). For example, example.com or *.example.com.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
CdnRuleOptionsRequestLimiter, CdnRuleOptionsRequestLimiterArgs
CdnRuleOptionsResponseHeadersHidingPolicy, CdnRuleOptionsResponseHeadersHidingPolicyArgs
CdnRuleOptionsRewrite, CdnRuleOptionsRewriteArgs
CdnRuleOptionsSecureKey, CdnRuleOptionsSecureKeyArgs
CdnRuleOptionsSlice, CdnRuleOptionsSliceArgs
CdnRuleOptionsSni, CdnRuleOptionsSniArgs
- Custom
Hostname string - Custom SNI hostname. Required if sni_type is set to 'custom'.
- Enabled bool
- Sni
Type string - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
- Custom
Hostname string - Custom SNI hostname. Required if sni_type is set to 'custom'.
- Enabled bool
- Sni
Type string - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
- custom
Hostname String - Custom SNI hostname. Required if sni_type is set to 'custom'.
- enabled Boolean
- sni
Type String - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
- custom
Hostname string - Custom SNI hostname. Required if sni_type is set to 'custom'.
- enabled boolean
- sni
Type string - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
- custom_
hostname str - Custom SNI hostname. Required if sni_type is set to 'custom'.
- enabled bool
- sni_
type str - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
- custom
Hostname String - Custom SNI hostname. Required if sni_type is set to 'custom'.
- enabled Boolean
- sni
Type String - Specify SNI type. Possible values: dynamic, custom. dynamic - SNI hostname depends on the hostHeader and the forwardhostheader options. custom - custom SNI hostname.
CdnRuleOptionsStale, CdnRuleOptionsStaleArgs
CdnRuleOptionsStaticRequestHeaders, CdnRuleOptionsStaticRequestHeadersArgs
- Value Dictionary<string, string>
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- Enabled bool
- Value map[string]string
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- Enabled bool
- value Map<String,String>
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- enabled Boolean
- value {[key: string]: string}
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- enabled boolean
- value Mapping[str, str]
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- enabled bool
- value Map<String>
- Header name is restricted to 255 symbols and can contain latin letters (A-Z, a-z), numbers (0-9), dashes, and underscores. Header value is restricted to 512 symbols and can contain latin letters (a-z), numbers (0-9), spaces, underscores and symbols (-/.:). Space can be used only between words.
- enabled Boolean
CdnRuleOptionsStaticResponseHeaders, CdnRuleOptionsStaticResponseHeadersArgs
- values List<Property Map>
- enabled Boolean
CdnRuleOptionsStaticResponseHeadersValue, CdnRuleOptionsStaticResponseHeadersValueArgs
CdnRuleOptionsUserAgentAcl, CdnRuleOptionsUserAgentAclArgs
- Excepted
Values List<string> - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- Excepted
Values []string - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- Policy
Type string - Possible values: allow, deny.
- Enabled bool
- excepted
Values List<String> - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
- excepted
Values string[] - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- policy
Type string - Possible values: allow, deny.
- enabled boolean
- excepted_
values Sequence[str] - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- policy_
type str - Possible values: allow, deny.
- enabled bool
- excepted
Values List<String> - List of User-Agents. Use "" to allow/deny access when the User-Agent header is empty.
- policy
Type String - Possible values: allow, deny.
- enabled Boolean
CdnRuleOptionsWaap, CdnRuleOptionsWaapArgs
CdnRuleOptionsWaf, CdnRuleOptionsWafArgs
CdnRuleOptionsWebsockets, CdnRuleOptionsWebsocketsArgs
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcore
Terraform Provider.