edgecenter.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,
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: edgecenter: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 Edgecenter.CdnRule("cdnRuleResource", new()
{
ResourceId = 0,
Rule = "string",
Active = false,
CdnRuleId = "string",
Name = "string",
Options = new Edgecenter.Inputs.CdnRuleOptionsArgs
{
AllowedHttpMethods = new Edgecenter.Inputs.CdnRuleOptionsAllowedHttpMethodsArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
BrotliCompression = new Edgecenter.Inputs.CdnRuleOptionsBrotliCompressionArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
BrowserCacheSettings = new Edgecenter.Inputs.CdnRuleOptionsBrowserCacheSettingsArgs
{
Enabled = false,
Value = "string",
},
Cors = new Edgecenter.Inputs.CdnRuleOptionsCorsArgs
{
Values = new[]
{
"string",
},
Always = false,
Enabled = false,
},
DisableProxyForceRanges = new Edgecenter.Inputs.CdnRuleOptionsDisableProxyForceRangesArgs
{
Value = false,
Enabled = false,
},
EdgeCacheSettings = new Edgecenter.Inputs.CdnRuleOptionsEdgeCacheSettingsArgs
{
CustomValues =
{
{ "string", "string" },
},
Default = "string",
Enabled = false,
Value = "string",
},
FetchCompressed = new Edgecenter.Inputs.CdnRuleOptionsFetchCompressedArgs
{
Value = false,
Enabled = false,
},
FollowOriginRedirect = new Edgecenter.Inputs.CdnRuleOptionsFollowOriginRedirectArgs
{
Codes = new[]
{
0,
},
Enabled = false,
UseHost = false,
},
ForceReturn = new Edgecenter.Inputs.CdnRuleOptionsForceReturnArgs
{
Code = 0,
Body = "string",
Enabled = false,
},
ForwardHostHeader = new Edgecenter.Inputs.CdnRuleOptionsForwardHostHeaderArgs
{
Value = false,
Enabled = false,
},
GeoAcl = new Edgecenter.Inputs.CdnRuleOptionsGeoAclArgs
{
ExceptedValues = new[]
{
new Edgecenter.Inputs.CdnRuleOptionsGeoAclExceptedValueArgs
{
Key = "string",
Values = new[]
{
"string",
},
},
},
Enabled = false,
PolicyType = "string",
},
GzipCompression = new Edgecenter.Inputs.CdnRuleOptionsGzipCompressionArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
HostHeader = new Edgecenter.Inputs.CdnRuleOptionsHostHeaderArgs
{
Value = "string",
Enabled = false,
},
IgnoreCookie = new Edgecenter.Inputs.CdnRuleOptionsIgnoreCookieArgs
{
Value = false,
Enabled = false,
},
IgnoreQueryString = new Edgecenter.Inputs.CdnRuleOptionsIgnoreQueryStringArgs
{
Value = false,
Enabled = false,
},
ImageStack = new Edgecenter.Inputs.CdnRuleOptionsImageStackArgs
{
Quality = 0,
AvifEnabled = false,
Enabled = false,
PngLossless = false,
WebpEnabled = false,
},
IpAddressAcl = new Edgecenter.Inputs.CdnRuleOptionsIpAddressAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
LimitBandwidth = new Edgecenter.Inputs.CdnRuleOptionsLimitBandwidthArgs
{
LimitType = "string",
Buffer = 0,
Enabled = false,
Speed = 0,
},
ProxyCacheMethodsSet = new Edgecenter.Inputs.CdnRuleOptionsProxyCacheMethodsSetArgs
{
Value = false,
Enabled = false,
},
QueryParamsBlacklist = new Edgecenter.Inputs.CdnRuleOptionsQueryParamsBlacklistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
QueryParamsWhitelist = new Edgecenter.Inputs.CdnRuleOptionsQueryParamsWhitelistArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
RedirectHttpToHttps = new Edgecenter.Inputs.CdnRuleOptionsRedirectHttpToHttpsArgs
{
Value = false,
Enabled = false,
},
RedirectHttpsToHttp = new Edgecenter.Inputs.CdnRuleOptionsRedirectHttpsToHttpArgs
{
Value = false,
Enabled = false,
},
ReferrerAcl = new Edgecenter.Inputs.CdnRuleOptionsReferrerAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
ResponseHeadersHidingPolicy = new Edgecenter.Inputs.CdnRuleOptionsResponseHeadersHidingPolicyArgs
{
Excepteds = new[]
{
"string",
},
Mode = "string",
Enabled = false,
},
Rewrite = new Edgecenter.Inputs.CdnRuleOptionsRewriteArgs
{
Body = "string",
Enabled = false,
Flag = "string",
},
SecureKey = new Edgecenter.Inputs.CdnRuleOptionsSecureKeyArgs
{
Key = "string",
Type = 0,
Enabled = false,
},
Slice = new Edgecenter.Inputs.CdnRuleOptionsSliceArgs
{
Value = false,
Enabled = false,
},
Sni = new Edgecenter.Inputs.CdnRuleOptionsSniArgs
{
CustomHostname = "string",
Enabled = false,
SniType = "string",
},
Stale = new Edgecenter.Inputs.CdnRuleOptionsStaleArgs
{
Values = new[]
{
"string",
},
Enabled = false,
},
StaticRequestHeaders = new Edgecenter.Inputs.CdnRuleOptionsStaticRequestHeadersArgs
{
Value =
{
{ "string", "string" },
},
Enabled = false,
},
StaticResponseHeaders = new Edgecenter.Inputs.CdnRuleOptionsStaticResponseHeadersArgs
{
Values = new[]
{
new Edgecenter.Inputs.CdnRuleOptionsStaticResponseHeadersValueArgs
{
Name = "string",
Values = new[]
{
"string",
},
Always = false,
},
},
Enabled = false,
},
UserAgentAcl = new Edgecenter.Inputs.CdnRuleOptionsUserAgentAclArgs
{
ExceptedValues = new[]
{
"string",
},
PolicyType = "string",
Enabled = false,
},
Websockets = new Edgecenter.Inputs.CdnRuleOptionsWebsocketsArgs
{
Value = false,
Enabled = false,
},
},
OriginGroup = 0,
OriginProtocol = "string",
Weight = 0,
});
example, err := edgecenter.NewCdnRule(ctx, "cdnRuleResource", &edgecenter.CdnRuleArgs{
ResourceId: pulumi.Float64(0),
Rule: pulumi.String("string"),
Active: pulumi.Bool(false),
CdnRuleId: pulumi.String("string"),
Name: pulumi.String("string"),
Options: &edgecenter.CdnRuleOptionsArgs{
AllowedHttpMethods: &edgecenter.CdnRuleOptionsAllowedHttpMethodsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
BrotliCompression: &edgecenter.CdnRuleOptionsBrotliCompressionArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
BrowserCacheSettings: &edgecenter.CdnRuleOptionsBrowserCacheSettingsArgs{
Enabled: pulumi.Bool(false),
Value: pulumi.String("string"),
},
Cors: &edgecenter.CdnRuleOptionsCorsArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Always: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
DisableProxyForceRanges: &edgecenter.CdnRuleOptionsDisableProxyForceRangesArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
EdgeCacheSettings: &edgecenter.CdnRuleOptionsEdgeCacheSettingsArgs{
CustomValues: pulumi.StringMap{
"string": pulumi.String("string"),
},
Default: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Value: pulumi.String("string"),
},
FetchCompressed: &edgecenter.CdnRuleOptionsFetchCompressedArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
FollowOriginRedirect: &edgecenter.CdnRuleOptionsFollowOriginRedirectArgs{
Codes: pulumi.Float64Array{
pulumi.Float64(0),
},
Enabled: pulumi.Bool(false),
UseHost: pulumi.Bool(false),
},
ForceReturn: &edgecenter.CdnRuleOptionsForceReturnArgs{
Code: pulumi.Float64(0),
Body: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
ForwardHostHeader: &edgecenter.CdnRuleOptionsForwardHostHeaderArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
GeoAcl: &edgecenter.CdnRuleOptionsGeoAclArgs{
ExceptedValues: edgecenter.CdnRuleOptionsGeoAclExceptedValueArray{
&edgecenter.CdnRuleOptionsGeoAclExceptedValueArgs{
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Enabled: pulumi.Bool(false),
PolicyType: pulumi.String("string"),
},
GzipCompression: &edgecenter.CdnRuleOptionsGzipCompressionArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
HostHeader: &edgecenter.CdnRuleOptionsHostHeaderArgs{
Value: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
IgnoreCookie: &edgecenter.CdnRuleOptionsIgnoreCookieArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
IgnoreQueryString: &edgecenter.CdnRuleOptionsIgnoreQueryStringArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ImageStack: &edgecenter.CdnRuleOptionsImageStackArgs{
Quality: pulumi.Float64(0),
AvifEnabled: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
PngLossless: pulumi.Bool(false),
WebpEnabled: pulumi.Bool(false),
},
IpAddressAcl: &edgecenter.CdnRuleOptionsIpAddressAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
LimitBandwidth: &edgecenter.CdnRuleOptionsLimitBandwidthArgs{
LimitType: pulumi.String("string"),
Buffer: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
Speed: pulumi.Float64(0),
},
ProxyCacheMethodsSet: &edgecenter.CdnRuleOptionsProxyCacheMethodsSetArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
QueryParamsBlacklist: &edgecenter.CdnRuleOptionsQueryParamsBlacklistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
QueryParamsWhitelist: &edgecenter.CdnRuleOptionsQueryParamsWhitelistArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
RedirectHttpToHttps: &edgecenter.CdnRuleOptionsRedirectHttpToHttpsArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
RedirectHttpsToHttp: &edgecenter.CdnRuleOptionsRedirectHttpsToHttpArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
ReferrerAcl: &edgecenter.CdnRuleOptionsReferrerAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
ResponseHeadersHidingPolicy: &edgecenter.CdnRuleOptionsResponseHeadersHidingPolicyArgs{
Excepteds: pulumi.StringArray{
pulumi.String("string"),
},
Mode: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Rewrite: &edgecenter.CdnRuleOptionsRewriteArgs{
Body: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Flag: pulumi.String("string"),
},
SecureKey: &edgecenter.CdnRuleOptionsSecureKeyArgs{
Key: pulumi.String("string"),
Type: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
},
Slice: &edgecenter.CdnRuleOptionsSliceArgs{
Value: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
},
Sni: &edgecenter.CdnRuleOptionsSniArgs{
CustomHostname: pulumi.String("string"),
Enabled: pulumi.Bool(false),
SniType: pulumi.String("string"),
},
Stale: &edgecenter.CdnRuleOptionsStaleArgs{
Values: pulumi.StringArray{
pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
StaticRequestHeaders: &edgecenter.CdnRuleOptionsStaticRequestHeadersArgs{
Value: pulumi.StringMap{
"string": pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
},
StaticResponseHeaders: &edgecenter.CdnRuleOptionsStaticResponseHeadersArgs{
Values: edgecenter.CdnRuleOptionsStaticResponseHeadersValueArray{
&edgecenter.CdnRuleOptionsStaticResponseHeadersValueArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Always: pulumi.Bool(false),
},
},
Enabled: pulumi.Bool(false),
},
UserAgentAcl: &edgecenter.CdnRuleOptionsUserAgentAclArgs{
ExceptedValues: pulumi.StringArray{
pulumi.String("string"),
},
PolicyType: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
Websockets: &edgecenter.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")
.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())
.disableProxyForceRanges(CdnRuleOptionsDisableProxyForceRangesArgs.builder()
.value(false)
.enabled(false)
.build())
.edgeCacheSettings(CdnRuleOptionsEdgeCacheSettingsArgs.builder()
.customValues(Map.of("string", "string"))
.default_("string")
.enabled(false)
.value("string")
.build())
.fetchCompressed(CdnRuleOptionsFetchCompressedArgs.builder()
.value(false)
.enabled(false)
.build())
.followOriginRedirect(CdnRuleOptionsFollowOriginRedirectArgs.builder()
.codes(0)
.enabled(false)
.useHost(false)
.build())
.forceReturn(CdnRuleOptionsForceReturnArgs.builder()
.code(0)
.body("string")
.enabled(false)
.build())
.forwardHostHeader(CdnRuleOptionsForwardHostHeaderArgs.builder()
.value(false)
.enabled(false)
.build())
.geoAcl(CdnRuleOptionsGeoAclArgs.builder()
.exceptedValues(CdnRuleOptionsGeoAclExceptedValueArgs.builder()
.key("string")
.values("string")
.build())
.enabled(false)
.policyType("string")
.build())
.gzipCompression(CdnRuleOptionsGzipCompressionArgs.builder()
.values("string")
.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())
.proxyCacheMethodsSet(CdnRuleOptionsProxyCacheMethodsSetArgs.builder()
.value(false)
.enabled(false)
.build())
.queryParamsBlacklist(CdnRuleOptionsQueryParamsBlacklistArgs.builder()
.values("string")
.enabled(false)
.build())
.queryParamsWhitelist(CdnRuleOptionsQueryParamsWhitelistArgs.builder()
.values("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())
.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())
.websockets(CdnRuleOptionsWebsocketsArgs.builder()
.value(false)
.enabled(false)
.build())
.build())
.originGroup(0)
.originProtocol("string")
.weight(0)
.build());
cdn_rule_resource = edgecenter.CdnRule("cdnRuleResource",
resource_id=0,
rule="string",
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,
},
"disable_proxy_force_ranges": {
"value": False,
"enabled": False,
},
"edge_cache_settings": {
"custom_values": {
"string": "string",
},
"default": "string",
"enabled": False,
"value": "string",
},
"fetch_compressed": {
"value": False,
"enabled": False,
},
"follow_origin_redirect": {
"codes": [0],
"enabled": False,
"use_host": False,
},
"force_return": {
"code": 0,
"body": "string",
"enabled": False,
},
"forward_host_header": {
"value": False,
"enabled": False,
},
"geo_acl": {
"excepted_values": [{
"key": "string",
"values": ["string"],
}],
"enabled": False,
"policy_type": "string",
},
"gzip_compression": {
"values": ["string"],
"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_methods_set": {
"value": False,
"enabled": False,
},
"query_params_blacklist": {
"values": ["string"],
"enabled": False,
},
"query_params_whitelist": {
"values": ["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,
},
"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,
},
"websockets": {
"value": False,
"enabled": False,
},
},
origin_group=0,
origin_protocol="string",
weight=0)
const cdnRuleResource = new edgecenter.CdnRule("cdnRuleResource", {
resourceId: 0,
rule: "string",
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,
},
disableProxyForceRanges: {
value: false,
enabled: false,
},
edgeCacheSettings: {
customValues: {
string: "string",
},
"default": "string",
enabled: false,
value: "string",
},
fetchCompressed: {
value: false,
enabled: false,
},
followOriginRedirect: {
codes: [0],
enabled: false,
useHost: false,
},
forceReturn: {
code: 0,
body: "string",
enabled: false,
},
forwardHostHeader: {
value: false,
enabled: false,
},
geoAcl: {
exceptedValues: [{
key: "string",
values: ["string"],
}],
enabled: false,
policyType: "string",
},
gzipCompression: {
values: ["string"],
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,
},
proxyCacheMethodsSet: {
value: false,
enabled: false,
},
queryParamsBlacklist: {
values: ["string"],
enabled: false,
},
queryParamsWhitelist: {
values: ["string"],
enabled: false,
},
redirectHttpToHttps: {
value: false,
enabled: false,
},
redirectHttpsToHttp: {
value: false,
enabled: false,
},
referrerAcl: {
exceptedValues: ["string"],
policyType: "string",
enabled: false,
},
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,
},
websockets: {
value: false,
enabled: false,
},
},
originGroup: 0,
originProtocol: "string",
weight: 0,
});
type: edgecenter: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
disableProxyForceRanges:
enabled: false
value: false
edgeCacheSettings:
customValues:
string: string
default: string
enabled: false
value: string
fetchCompressed:
enabled: false
value: false
followOriginRedirect:
codes:
- 0
enabled: false
useHost: false
forceReturn:
body: string
code: 0
enabled: false
forwardHostHeader:
enabled: false
value: false
geoAcl:
enabled: false
exceptedValues:
- key: string
values:
- string
policyType: string
gzipCompression:
enabled: false
values:
- string
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
proxyCacheMethodsSet:
enabled: false
value: false
queryParamsBlacklist:
enabled: false
values:
- string
queryParamsWhitelist:
enabled: false
values:
- string
redirectHttpToHttps:
enabled: false
value: false
redirectHttpsToHttp:
enabled: false
value: false
referrerAcl:
enabled: false
exceptedValues:
- string
policyType: 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
websockets:
enabled: false
value: false
originGroup: 0
originProtocol: string
resourceId: 0
rule: string
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 - Enter the CDN resource ID to which the Origin shielding should be applied.
- Rule string
- Use regex to specify the location pattern to which the settings will be applied.
- Active bool
- Enable or disable the location.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Enter a location name.
- Options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin
Group double - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- Origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- Weight double
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- Resource
Id float64 - Enter the CDN resource ID to which the Origin shielding should be applied.
- Rule string
- Use regex to specify the location pattern to which the settings will be applied.
- Active bool
- Enable or disable the location.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Enter a location name.
- Options
Cdn
Rule Options Args - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin
Group float64 - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- Origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- Weight float64
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- resource
Id Double - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule String
- Use regex to specify the location pattern to which the settings will be applied.
- active Boolean
- Enable or disable the location.
- cdn
Rule StringId - The ID of this resource.
- name String
- Enter a location name.
- options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group Double - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol String - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- weight Double
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- resource
Id number - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule string
- Use regex to specify the location pattern to which the settings will be applied.
- active boolean
- Enable or disable the location.
- cdn
Rule stringId - The ID of this resource.
- name string
- Enter a location name.
- options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group number - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- weight number
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- resource_
id float - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule str
- Use regex to specify the location pattern to which the settings will be applied.
- active bool
- Enable or disable the location.
- cdn_
rule_ strid - The ID of this resource.
- name str
- Enter a location name.
- options
Cdn
Rule Options Args - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin_
group float - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin_
protocol str - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- weight float
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- resource
Id Number - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule String
- Use regex to specify the location pattern to which the settings will be applied.
- active Boolean
- Enable or disable the location.
- cdn
Rule StringId - The ID of this resource.
- name String
- Enter a location name.
- options Property Map
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group Number - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol String - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- weight Number
- Specify the location weight to determine the order in which the locations are applied: from the lowest (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,
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: edgecenter: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
- Enable or disable the location.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Enter a location name.
- Options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin
Group double - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- Origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- Resource
Id double - Enter the CDN resource ID to which the Origin shielding should be applied.
- Rule string
- Use regex to specify the location pattern to which the settings will be applied.
- Weight double
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- Active bool
- Enable or disable the location.
- Cdn
Rule stringId - The ID of this resource.
- Name string
- Enter a location name.
- Options
Cdn
Rule Options Args - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- Origin
Group float64 - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- Origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- Resource
Id float64 - Enter the CDN resource ID to which the Origin shielding should be applied.
- Rule string
- Use regex to specify the location pattern to which the settings will be applied.
- Weight float64
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- active Boolean
- Enable or disable the location.
- cdn
Rule StringId - The ID of this resource.
- name String
- Enter a location name.
- options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group Double - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol String - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- resource
Id Double - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule String
- Use regex to specify the location pattern to which the settings will be applied.
- weight Double
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- active boolean
- Enable or disable the location.
- cdn
Rule stringId - The ID of this resource.
- name string
- Enter a location name.
- options
Cdn
Rule Options - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group number - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol string - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- resource
Id number - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule string
- Use regex to specify the location pattern to which the settings will be applied.
- weight number
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- active bool
- Enable or disable the location.
- cdn_
rule_ strid - The ID of this resource.
- name str
- Enter a location name.
- options
Cdn
Rule Options Args - Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin_
group float - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin_
protocol str - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- resource_
id float - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule str
- Use regex to specify the location pattern to which the settings will be applied.
- weight float
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
- active Boolean
- Enable or disable the location.
- cdn
Rule StringId - The ID of this resource.
- name String
- Enter a location name.
- options Property Map
- Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value.
- origin
Group Number - Specify a source group ID for the location. Set to "null" to inherit the source group from the CDN resource settings.
- origin
Protocol String - Choose the protocol that will be used by CDN servers to request content from the source. If not specified, the HTTP protocol will be used. Allowed values are "HTTPS", "HTTP", or "MATCH". If "MATCH" is chosen, content on the source should be available over both HTTP and HTTPS protocols.
- resource
Id Number - Enter the CDN resource ID to which the Origin shielding should be applied.
- rule String
- Use regex to specify the location pattern to which the settings will be applied.
- weight Number
- Specify the location weight to determine the order in which the locations are applied: from the lowest (0) to the highest.
Supporting Types
CdnRuleOptions, CdnRuleOptionsArgs
- Allowed
Http CdnMethods Rule Options Allowed Http Methods - Set a list of allowed HTTP methods for the CDN content.
- Brotli
Compression CdnRule Options Brotli Compression - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- Browser
Cache CdnSettings Rule Options Browser Cache Settings - Set the cache lifetime for the end users’ browsers in seconds.
- Cors
Cdn
Rule Options Cors - Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- Disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- Edge
Cache CdnSettings Rule Options Edge Cache Settings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- Fetch
Compressed CdnRule Options Fetch Compressed - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- Follow
Origin CdnRedirect Rule Options Follow Origin Redirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- Force
Return CdnRule Options Force Return - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- Forward
Host CdnHeader Rule Options Forward Host Header - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Geo
Acl CdnRule Options Geo Acl - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- Gzip
Compression CdnRule Options Gzip Compression - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- Host
Header CdnRule Options Host Header - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Cdn
Rule Options Ignore Cookie - Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- Ignore
Query CdnString Rule Options Ignore Query String - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Image
Stack CdnRule Options Image Stack - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- Ip
Address CdnAcl Rule Options Ip Address Acl - Control access to content from the specified IP addresses.
- Limit
Bandwidth CdnRule Options Limit Bandwidth - Control the download speed per connection.
- Proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allow the caching for GET, HEAD, and POST requests.
- Query
Params CdnBlacklist Rule Options Query Params Blacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Query
Params CdnWhitelist Rule Options Query Params Whitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Redirect
Http CdnTo Https Rule Options Redirect Http To Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- Redirect
Https CdnTo Http Rule Options Redirect Https To Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- Referrer
Acl CdnRule Options Referrer Acl - Сontrol access to content from the specified domain names.
- Response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- Rewrite
Cdn
Rule Options Rewrite - Change and redirect the requests from the CDN to the source.
- Secure
Key CdnRule Options Secure Key - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- Slice
Cdn
Rule Options Slice - Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- Sni
Cdn
Rule Options Sni - Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- Stale
Cdn
Rule Options Stale - Let CDN serve stale cached content in case of the source unavailability.
- Static
Request CdnHeaders Rule Options Static Request Headers - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- Static
Response CdnHeaders Rule Options Static Response Headers - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- User
Agent CdnAcl Rule Options User Agent Acl - Control access to content for the specified user agents.
- Websockets
Cdn
Rule Options Websockets - Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- Allowed
Http CdnMethods Rule Options Allowed Http Methods - Set a list of allowed HTTP methods for the CDN content.
- Brotli
Compression CdnRule Options Brotli Compression - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- Browser
Cache CdnSettings Rule Options Browser Cache Settings - Set the cache lifetime for the end users’ browsers in seconds.
- Cors
Cdn
Rule Options Cors - Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- Disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- Edge
Cache CdnSettings Rule Options Edge Cache Settings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- Fetch
Compressed CdnRule Options Fetch Compressed - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- Follow
Origin CdnRedirect Rule Options Follow Origin Redirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- Force
Return CdnRule Options Force Return - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- Forward
Host CdnHeader Rule Options Forward Host Header - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Geo
Acl CdnRule Options Geo Acl - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- Gzip
Compression CdnRule Options Gzip Compression - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- Host
Header CdnRule Options Host Header - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Cdn
Rule Options Ignore Cookie - Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- Ignore
Query CdnString Rule Options Ignore Query String - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Image
Stack CdnRule Options Image Stack - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- Ip
Address CdnAcl Rule Options Ip Address Acl - Control access to content from the specified IP addresses.
- Limit
Bandwidth CdnRule Options Limit Bandwidth - Control the download speed per connection.
- Proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allow the caching for GET, HEAD, and POST requests.
- Query
Params CdnBlacklist Rule Options Query Params Blacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Query
Params CdnWhitelist Rule Options Query Params Whitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- Redirect
Http CdnTo Https Rule Options Redirect Http To Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- Redirect
Https CdnTo Http Rule Options Redirect Https To Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- Referrer
Acl CdnRule Options Referrer Acl - Сontrol access to content from the specified domain names.
- Response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- Rewrite
Cdn
Rule Options Rewrite - Change and redirect the requests from the CDN to the source.
- Secure
Key CdnRule Options Secure Key - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- Slice
Cdn
Rule Options Slice - Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- Sni
Cdn
Rule Options Sni - Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- Stale
Cdn
Rule Options Stale - Let CDN serve stale cached content in case of the source unavailability.
- Static
Request CdnHeaders Rule Options Static Request Headers - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- Static
Response CdnHeaders Rule Options Static Response Headers - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- User
Agent CdnAcl Rule Options User Agent Acl - Control access to content for the specified user agents.
- Websockets
Cdn
Rule Options Websockets - Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowed
Http CdnMethods Rule Options Allowed Http Methods - Set a list of allowed HTTP methods for the CDN content.
- brotli
Compression CdnRule Options Brotli Compression - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browser
Cache CdnSettings Rule Options Browser Cache Settings - Set the cache lifetime for the end users’ browsers in seconds.
- cors
Cdn
Rule Options Cors - Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edge
Cache CdnSettings Rule Options Edge Cache Settings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetch
Compressed CdnRule Options Fetch Compressed - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- follow
Origin CdnRedirect Rule Options Follow Origin Redirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- force
Return CdnRule Options Force Return - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host CdnHeader Rule Options Forward Host Header - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geo
Acl CdnRule Options Geo Acl - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzip
Compression CdnRule Options Gzip Compression - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- host
Header CdnRule Options Host Header - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Cdn
Rule Options Ignore Cookie - Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignore
Query CdnString Rule Options Ignore Query String - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- image
Stack CdnRule Options Image Stack - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ip
Address CdnAcl Rule Options Ip Address Acl - Control access to content from the specified IP addresses.
- limit
Bandwidth CdnRule Options Limit Bandwidth - Control the download speed per connection.
- proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allow the caching for GET, HEAD, and POST requests.
- query
Params CdnBlacklist Rule Options Query Params Blacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- query
Params CdnWhitelist Rule Options Query Params Whitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirect
Http CdnTo Https Rule Options Redirect Http To Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirect
Https CdnTo Http Rule Options Redirect Https To Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrer
Acl CdnRule Options Referrer Acl - Сontrol access to content from the specified domain names.
- response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
Cdn
Rule Options Rewrite - Change and redirect the requests from the CDN to the source.
- secure
Key CdnRule Options Secure Key - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
Cdn
Rule Options Slice - Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
Cdn
Rule Options Sni - Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
Cdn
Rule Options Stale - Let CDN serve stale cached content in case of the source unavailability.
- static
Request CdnHeaders Rule Options Static Request Headers - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- static
Response CdnHeaders Rule Options Static Response Headers - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- user
Agent CdnAcl Rule Options User Agent Acl - Control access to content for the specified user agents.
- websockets
Cdn
Rule Options Websockets - Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowed
Http CdnMethods Rule Options Allowed Http Methods - Set a list of allowed HTTP methods for the CDN content.
- brotli
Compression CdnRule Options Brotli Compression - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browser
Cache CdnSettings Rule Options Browser Cache Settings - Set the cache lifetime for the end users’ browsers in seconds.
- cors
Cdn
Rule Options Cors - Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disable
Proxy CdnForce Ranges Rule Options Disable Proxy Force Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edge
Cache CdnSettings Rule Options Edge Cache Settings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetch
Compressed CdnRule Options Fetch Compressed - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- follow
Origin CdnRedirect Rule Options Follow Origin Redirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- force
Return CdnRule Options Force Return - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host CdnHeader Rule Options Forward Host Header - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geo
Acl CdnRule Options Geo Acl - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzip
Compression CdnRule Options Gzip Compression - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- host
Header CdnRule Options Host Header - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Cdn
Rule Options Ignore Cookie - Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignore
Query CdnString Rule Options Ignore Query String - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- image
Stack CdnRule Options Image Stack - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ip
Address CdnAcl Rule Options Ip Address Acl - Control access to content from the specified IP addresses.
- limit
Bandwidth CdnRule Options Limit Bandwidth - Control the download speed per connection.
- proxy
Cache CdnMethods Set Rule Options Proxy Cache Methods Set - Allow the caching for GET, HEAD, and POST requests.
- query
Params CdnBlacklist Rule Options Query Params Blacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- query
Params CdnWhitelist Rule Options Query Params Whitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirect
Http CdnTo Https Rule Options Redirect Http To Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirect
Https CdnTo Http Rule Options Redirect Https To Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrer
Acl CdnRule Options Referrer Acl - Сontrol access to content from the specified domain names.
- response
Headers CdnHiding Policy Rule Options Response Headers Hiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
Cdn
Rule Options Rewrite - Change and redirect the requests from the CDN to the source.
- secure
Key CdnRule Options Secure Key - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
Cdn
Rule Options Slice - Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
Cdn
Rule Options Sni - Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
Cdn
Rule Options Stale - Let CDN serve stale cached content in case of the source unavailability.
- static
Request CdnHeaders Rule Options Static Request Headers - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- static
Response CdnHeaders Rule Options Static Response Headers - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- user
Agent CdnAcl Rule Options User Agent Acl - Control access to content for the specified user agents.
- websockets
Cdn
Rule Options Websockets - Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowed_
http_ Cdnmethods Rule Options Allowed Http Methods - Set a list of allowed HTTP methods for the CDN content.
- brotli_
compression CdnRule Options Brotli Compression - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browser_
cache_ Cdnsettings Rule Options Browser Cache Settings - Set the cache lifetime for the end users’ browsers in seconds.
- cors
Cdn
Rule Options Cors - Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disable_
proxy_ Cdnforce_ ranges Rule Options Disable Proxy Force Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edge_
cache_ Cdnsettings Rule Options Edge Cache Settings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetch_
compressed CdnRule Options Fetch Compressed - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- follow_
origin_ Cdnredirect Rule Options Follow Origin Redirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- force_
return CdnRule Options Force Return - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward_
host_ Cdnheader Rule Options Forward Host Header - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geo_
acl CdnRule Options Geo Acl - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzip_
compression CdnRule Options Gzip Compression - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- host_
header CdnRule Options Host Header - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Cdn
Rule Options Ignore Cookie - Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignore_
query_ Cdnstring Rule Options Ignore Query String - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- image_
stack CdnRule Options Image Stack - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ip_
address_ Cdnacl Rule Options Ip Address Acl - Control access to content from the specified IP addresses.
- limit_
bandwidth CdnRule Options Limit Bandwidth - Control the download speed per connection.
- proxy_
cache_ Cdnmethods_ set Rule Options Proxy Cache Methods Set - Allow the caching for GET, HEAD, and POST requests.
- query_
params_ Cdnblacklist Rule Options Query Params Blacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- query_
params_ Cdnwhitelist Rule Options Query Params Whitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirect_
http_ Cdnto_ https Rule Options Redirect Http To Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirect_
https_ Cdnto_ http Rule Options Redirect Https To Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrer_
acl CdnRule Options Referrer Acl - Сontrol access to content from the specified domain names.
- response_
headers_ Cdnhiding_ policy Rule Options Response Headers Hiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite
Cdn
Rule Options Rewrite - Change and redirect the requests from the CDN to the source.
- secure_
key CdnRule Options Secure Key - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice
Cdn
Rule Options Slice - Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni
Cdn
Rule Options Sni - Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale
Cdn
Rule Options Stale - Let CDN serve stale cached content in case of the source unavailability.
- static_
request_ Cdnheaders Rule Options Static Request Headers - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- static_
response_ Cdnheaders Rule Options Static Response Headers - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- user_
agent_ Cdnacl Rule Options User Agent Acl - Control access to content for the specified user agents.
- websockets
Cdn
Rule Options Websockets - Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
- allowed
Http Property MapMethods - Set a list of allowed HTTP methods for the CDN content.
- brotli
Compression Property Map - Allow compressing content with Brotli on CDN. CDN servers will request only uncompressed content from the source. It is not supported unless the Origin shielding is enabled. Brotli compression is not supported when "fetch*compressed" or "slice" are enabled.
- browser
Cache Property MapSettings - Set the cache lifetime for the end users’ browsers in seconds.
- cors Property Map
- Add the Access-Control-Allow-Origin header to responses from the CDN servers.
- disable
Proxy Property MapForce Ranges - Allow CDN to get the HTTP 206 status codes regardless of the settings on the source.
- edge
Cache Property MapSettings - Set the cache expiration time for CDN servers. The "value" and "default" fields cannot be used simultaneously.
- fetch
Compressed Property Map - Let CDN pull pre-compressed content from the source and cache it. Your source should support compression. The CDN servers won't ungzip your content even if a user's browser doesn't accept compression. The option is not supported when "brotli*compression" or "slice" are enabled.
- follow
Origin Property MapRedirect - If the source returns a redirect, let CDN pull the requested content from the source that was returned in the redirect.
- force
Return Property Map - Apply custom HTTP status codes to CDN content. Some HTTP status codes are reserved by our system and cannot be used with this option: 408, 444, 477, 494, 495, 496, 497, 499.
- forward
Host Property MapHeader - Allow forwarding the Host header used in the request made to the CDN when the CDN requests content from the source. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- geo
Acl Property Map - Shows the state of the Geolocation access policy option. The option controls access to content from the specified countries and their regions.
- gzip
Compression Property Map - Allow compressing content with gzip on CDN. CDN servers will request only uncompressed content from the source. The option is not supported when "fetch*compressed" or "slice" are enabled.
- host
Header Property Map - Manage the custom Host header in the Host header option. When the CDN requests content from the source, it will use the specified Host header. "hostheader" and "forwardhost*header" cannot be enabled simultaneously.
- Property Map
- Specify how to cache files with different values of the Set-Cookie header: as one object (when the option is enabled) or as different objects (when the option is disabled).
- ignore
Query Property MapString - Specify how to cache files with different query strings: as one object (when the option is enabled) or as different objects (when the option is disabled). "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- image
Stack Property Map - Allow transforming JPG and PNG images and converting them into WebP or AVIF format.
- ip
Address Property MapAcl - Control access to content from the specified IP addresses.
- limit
Bandwidth Property Map - Control the download speed per connection.
- proxy
Cache Property MapMethods Set - Allow the caching for GET, HEAD, and POST requests.
- query
Params Property MapBlacklist - Manage the Ignore only setting of the Query string option. The setting allows CDN to ignore the specified params and cache them as one object. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- query
Params Property MapWhitelist - Manage the Ignore all except setting of the Query string option. The setting allows CDN to ignore all but specified params and cache them as separate objects. "ignorequerystring", "queryparamswhitelist", and "queryparamsblacklist" cannot be enabled simultaneously.
- redirect
Http Property MapTo Https - Let CDN redirect HTTPS requests to HTTP. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- redirect
Https Property MapTo Http - Let CDN redirect HTTP requests to HTTPS. "redirecthttptohttps" and "redirecthttpstohttp" cannot be enabled simultaneously.
- referrer
Acl Property Map - Сontrol access to content from the specified domain names.
- response
Headers Property MapHiding Policy - Specify the HTTP headers set on the source that CDN servers should hide from the response.
- rewrite Property Map
- Change and redirect the requests from the CDN to the source.
- secure
Key Property Map - Configure access to content with tokenized URLs, generated with the MD5 algorithm.
- slice Property Map
- Speed up the delivery of large files and their caching. When enabled, the files are requested and cached in 10 MB chunks. The option reduces the time to first byte. The source must support the HTTP Range requests. The option is not supported when "fetchcompressed", "brotlicompression", or "gzip_compression" are enabled.
- sni Property Map
- Help the resource understand which certificate to use for the connection, if the source server presents multiple certificates. The option works only if the "origin_protocol" field is set to "HTTPS" or "MATCH".
- stale Property Map
- Let CDN serve stale cached content in case of the source unavailability.
- static
Request Property MapHeaders - Let CDN add custom HTTP request headers when making requests to the source. You can specify up to 50 custom HTTP request headers.
- static
Response Property MapHeaders - Let CDN add custom HTTP response headers to the responses for the end users. You can specify up to 50 custom HTTP response headers.
- user
Agent Property MapAcl - Control access to content for the specified user agents.
- websockets Property Map
- Allow WebSockets connections to the source. The WebSockets option can only be enabled upon request. Please contact support for assistance with activation.
CdnRuleOptionsAllowedHttpMethods, CdnRuleOptionsAllowedHttpMethodsArgs
CdnRuleOptionsBrotliCompression, CdnRuleOptionsBrotliCompressionArgs
- Values List<string>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/javascript", "application/json", "application/vnd.ms-fontobject", "application/x-font-ttf", "application/x-javascript", "application/xml", "application/xml+rss", "image/svg+xml", "image/x-icon", "text/css", "text/html", "text/javascript", "text/plain", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsBrowserCacheSettings, CdnRuleOptionsBrowserCacheSettingsArgs
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value string
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value str
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the cache lifetime if the CDN controlled option is chosen. If the value is empty, the Origin controlled option will be enabled and the cache lifetime will be inherited from the source. Set to "0s" to disable browser caching. The value only applies for the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes. Responses with other HTTP status codes will not be cached.
CdnRuleOptionsCors, CdnRuleOptionsCorsArgs
- Values List<string>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- Always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- Always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always Boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always bool
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Add the value of the Access-Control-Allow-Origin header. Allowed values are "*", "domain.com" or other domain name, or "$http_origin".
- always Boolean
- Add the Access-Control-Allow-Origin header to the response regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header is only added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 response status codes.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsDisableProxyForceRanges, CdnRuleOptionsDisableProxyForceRangesArgs
CdnRuleOptionsEdgeCacheSettings, CdnRuleOptionsEdgeCacheSettingsArgs
- Custom
Values Dictionary<string, string> - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- Default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- Custom
Values map[string]string - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- Default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- custom
Values Map<String,String> - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default_ String
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- custom
Values {[key: string]: string} - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default string
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value string
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- custom_
values Mapping[str, str] - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default str
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value str
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
- custom
Values Map<String> - Set the caching time in seconds for certain HTTP status codes. Use "any" to specify the caching time for all HTTP response status codes. Use "0s" to disable caching.
- default String
- Set the caching time in seconds. Use the field if you want your source to control the caching time of the HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 response status codes, and if a source server does not have any caching HTTP headers. Responses with other HTTP status codes will not be cached
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value String
- Set the caching time in seconds. Use the field if you want CDN to control the caching time of the HTTP 200, 206, 301, and 302 response status codes. Responses with HTTP 4xx, 5xx status codes will not be cached. Use the "custom_values" field to specify the custom caching time for responses with specific HTTP status codes.
CdnRuleOptionsFetchCompressed, CdnRuleOptionsFetchCompressedArgs
CdnRuleOptionsFollowOriginRedirect, CdnRuleOptionsFollowOriginRedirectArgs
- Codes List<double>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Use
Host bool - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- Codes []float64
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Use
Host bool - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes List<Double>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- use
Host Boolean - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes number[]
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- use
Host boolean - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes Sequence[float]
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- use_
host bool - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
- codes List<Number>
- Add the redirect HTTP status codes returned by the source. Allowed values are "301", "302", "303", "307", "308".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- use
Host Boolean - Use the redirect target domain as a Host header, or leave it the same as the value of the Change Host header option. Allowed values are "true" or "false".
CdnRuleOptionsForceReturn, CdnRuleOptionsForceReturnArgs
CdnRuleOptionsForwardHostHeader, CdnRuleOptionsForwardHostHeaderArgs
CdnRuleOptionsGeoAcl, CdnRuleOptionsGeoAclArgs
- Excepted
Values List<CdnRule Options Geo Acl Excepted Value> - List of exceptions to the default policy.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Policy
Type string - Shows the chosen policy type. Has either "allow" or "deny" value.
- Excepted
Values []CdnRule Options Geo Acl Excepted Value - List of exceptions to the default policy.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Policy
Type string - Shows the chosen policy type. Has either "allow" or "deny" value.
- excepted
Values List<CdnRule Options Geo Acl Excepted Value> - List of exceptions to the default policy.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policy
Type String - Shows the chosen policy type. Has either "allow" or "deny" value.
- excepted
Values CdnRule Options Geo Acl Excepted Value[] - List of exceptions to the default policy.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policy
Type string - Shows the chosen policy type. Has either "allow" or "deny" value.
- excepted_
values Sequence[CdnRule Options Geo Acl Excepted Value] - List of exceptions to the default policy.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- policy_
type str - Shows the chosen policy type. Has either "allow" or "deny" value.
- excepted
Values List<Property Map> - List of exceptions to the default policy.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- policy
Type String - Shows the chosen policy type. Has either "allow" or "deny" value.
CdnRuleOptionsGeoAclExceptedValue, CdnRuleOptionsGeoAclExceptedValueArgs
CdnRuleOptionsGzipCompression, CdnRuleOptionsGzipCompressionArgs
- Values List<string>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values []string
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values string[]
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values Sequence[str]
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<String>
- Allowed values are "application/dash+xml", "application/javascript", "application/javascript", "application/vnd.apple.mpegurl", "application/vnd.ms-fontobject", "application/wasm", "application/x-font-opentype", "application/x-font-ttf", "application/x-javascript", "application/x-mpegURL", "application/x-subrip", "application/xml", "application/xml+rss", "font/woff", "font/woff2", "image/svg+xml", "text/css", "text/html", "text/javascript", "text/plain", "text/vtt", "text/xml".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsHostHeader, CdnRuleOptionsHostHeaderArgs
CdnRuleOptionsIgnoreCookie, CdnRuleOptionsIgnoreCookieArgs
CdnRuleOptionsIgnoreQueryString, CdnRuleOptionsIgnoreQueryStringArgs
CdnRuleOptionsImageStack, CdnRuleOptionsImageStackArgs
- Quality double
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- Avif
Enabled bool - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Png
Lossless bool - Specify if the PNG images should be compressed without the quality loss.
- Webp
Enabled bool - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- Quality float64
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- Avif
Enabled bool - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Png
Lossless bool - Specify if the PNG images should be compressed without the quality loss.
- Webp
Enabled bool - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality Double
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled Boolean - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- png
Lossless Boolean - Specify if the PNG images should be compressed without the quality loss.
- webp
Enabled Boolean - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality number
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled boolean - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- png
Lossless boolean - Specify if the PNG images should be compressed without the quality loss.
- webp
Enabled boolean - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality float
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avif_
enabled bool - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- png_
lossless bool - Specify if the PNG images should be compressed without the quality loss.
- webp_
enabled bool - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
- quality Number
- Set the quality of the JPG and PNG images after conversion. The higher the value, the better the image quality and the larger the file size after conversion.
- avif
Enabled Boolean - Allow to convert the JPG and PNG images into AVIF format when supported by the end user's browser. Allowed values are "true" or "false".
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- png
Lossless Boolean - Specify if the PNG images should be compressed without the quality loss.
- webp
Enabled Boolean - Allow to convert the JPG and PNG images into WebP format when supported by the end user's browser. Allowed values are "true" or "false".
CdnRuleOptionsIpAddressAcl, CdnRuleOptionsIpAddressAclArgs
- Excepted
Values List<string> - Add the list of IP addresses.
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Excepted
Values []string - Add the list of IP addresses.
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add the list of IP addresses.
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values string[] - Add the list of IP addresses.
- policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_
values Sequence[str] - Add the list of IP addresses.
- policy_
type str - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add the list of IP addresses.
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all IP addresses except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsLimitBandwidth, CdnRuleOptionsLimitBandwidthArgs
- Limit
Type string - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- Buffer double
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Speed double
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- Limit
Type string - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- Buffer float64
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Speed float64
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limit
Type String - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer Double
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed Double
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limit
Type string - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer number
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed number
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limit_
type str - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer float
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- speed float
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
- limit
Type String - Set the speed limit type. Allowed values are "static" or "dynamic". If set to "static", use the "speed" and "buffer" fields. If set to "dynamic", the speed is limited according to the "?speed" and "?buffer" query parameters.
- buffer Number
- Specify the amount of downloaded data in KB after which the user will be rate limited.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- speed Number
- Set the maximum download speed per connection in KB/s. Must be greater than "0".
CdnRuleOptionsProxyCacheMethodsSet, CdnRuleOptionsProxyCacheMethodsSetArgs
CdnRuleOptionsQueryParamsBlacklist, CdnRuleOptionsQueryParamsBlacklistArgs
CdnRuleOptionsQueryParamsWhitelist, CdnRuleOptionsQueryParamsWhitelistArgs
CdnRuleOptionsRedirectHttpToHttps, CdnRuleOptionsRedirectHttpToHttpsArgs
CdnRuleOptionsRedirectHttpsToHttp, CdnRuleOptionsRedirectHttpsToHttpArgs
CdnRuleOptionsReferrerAcl, CdnRuleOptionsReferrerAclArgs
- Excepted
Values List<string> - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Excepted
Values []string - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values string[] - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_
values Sequence[str] - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policy_
type str - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add a list of domain names. To allow a direct link access, add an empty value "". You cannot enter just the empty value because at least one valid referer is required.
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all domain names except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsResponseHeadersHidingPolicy, CdnRuleOptionsResponseHeadersHidingPolicyArgs
- Excepteds List<string>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- Mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Excepteds []string
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- Mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds List<String>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode String
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds string[]
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode string
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds Sequence[str]
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode str
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepteds List<String>
- Depending on the value of the "mode" field, list the HTTP headers that will be either shown or hidden in the response. HTTP headers, that can't be hidden from the response: Connection, Content-Length, Content-Type, Date, Server.
- mode String
- Set the way the HTTP headers are displayed. Allowed values are "hide" or "show". If set to "hide", all the HTTP headers from the response except those listed in the "excepted" field. If set to "show", the HTTP headers listed in the "excepted" field are hidden from the response.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsRewrite, CdnRuleOptionsRewriteArgs
CdnRuleOptionsSecureKey, CdnRuleOptionsSecureKeyArgs
- Key string
- Add the key generated on your side which will be used for the URL signing.
- Type double
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Key string
- Add the key generated on your side which will be used for the URL signing.
- Type float64
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- key String
- Add the key generated on your side which will be used for the URL signing.
- type Double
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- key string
- Add the key generated on your side which will be used for the URL signing.
- type number
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- key str
- Add the key generated on your side which will be used for the URL signing.
- type float
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- key String
- Add the key generated on your side which will be used for the URL signing.
- type Number
- Set the type of the URL signing. Allowed values are "0" or "2". If set to "0", the end user's IP address is inclded to secure token generation. If set to "2", the end user's IP address is excluded from the secure token generation.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsSlice, CdnRuleOptionsSliceArgs
CdnRuleOptionsSni, CdnRuleOptionsSniArgs
- Custom
Hostname string - Specify the custom SNI hostname.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Sni
Type string - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- Custom
Hostname string - Specify the custom SNI hostname.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Sni
Type string - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- custom
Hostname String - Specify the custom SNI hostname.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sni
Type String - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- custom
Hostname string - Specify the custom SNI hostname.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sni
Type string - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- custom_
hostname str - Specify the custom SNI hostname.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- sni_
type str - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
- custom
Hostname String - Specify the custom SNI hostname.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- sni
Type String - Set the SNI type. Allowed values are "dynamic" or "custom". If set to "dynamic", the hostname matches the value of the "hostheader" or "forwardhostheader" field. If set to "custom", the hostname matches the value of the "customhostname" field.
CdnRuleOptionsStale, CdnRuleOptionsStaleArgs
CdnRuleOptionsStaticRequestHeaders, CdnRuleOptionsStaticRequestHeadersArgs
- Value Dictionary<string, string>
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Value map[string]string
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Map<String,String>
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value {[key: string]: string}
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- value Mapping[str, str]
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- value Map<String>
- Add the list of custom HTTP request headers in the "name: value" format. 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 must start with a letter, a number, an asterisk or {. It can contain only Latin letters (A-Z, a-z), numbers (0-9), spaces and symbols (`~!@#%^&*()-_=+ /|";:?.><{}[]). Space can be used only between the words.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsStaticResponseHeaders, CdnRuleOptionsStaticResponseHeadersArgs
- Values
List<Cdn
Rule Options Static Response Headers Value> - Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Values
[]Cdn
Rule Options Static Response Headers Value - Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values
List<Cdn
Rule Options Static Response Headers Value> - Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values
Cdn
Rule Options Static Response Headers Value[] - Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- values
Sequence[Cdn
Rule Options Static Response Headers Value] - Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- values List<Property Map>
- Add the list of custom HTTP response headers, using the "name", "value", and "always" fields.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsStaticResponseHeadersValue, CdnRuleOptionsStaticResponseHeadersValueArgs
- Name string
- Add the header name.
- Values List<string>
- Add the header value.
- Always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- Name string
- Add the header name.
- Values []string
- Add the header value.
- Always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name String
- Add the header name.
- values List<String>
- Add the header value.
- always Boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name string
- Add the header name.
- values string[]
- Add the header value.
- always boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name str
- Add the header name.
- values Sequence[str]
- Add the header value.
- always bool
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
- name String
- Add the header name.
- values List<String>
- Add the header value.
- always Boolean
- Specify if the custom header should be added to the responses from CDN regardless of the HTTP response status code. Allowed values are "true" or "false". If set to "false", the header will only be added to the responses with HTTP 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308 status codes.
CdnRuleOptionsUserAgentAcl, CdnRuleOptionsUserAgentAclArgs
- Excepted
Values List<string> - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- Excepted
Values []string - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- Policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- Enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values string[] - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policy
Type string - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled boolean
- Enable or disable the option. Allowed values are "true" or "false".
- excepted_
values Sequence[str] - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policy_
type str - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled bool
- Enable or disable the option. Allowed values are "true" or "false".
- excepted
Values List<String> - Add a list of user agents. Enter the values in [""]. You can specify a user agent string, an empty value using "", or a regular expression that starts with "~".
- policy
Type String - Set the policy type. Allowed values are "allow" or "deny". The policy allows or denies access to content from all user agents except those specified in the "excepted_values" field.
- enabled Boolean
- Enable or disable the option. Allowed values are "true" or "false".
CdnRuleOptionsWebsockets, CdnRuleOptionsWebsocketsArgs
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.