request_control
Version: v2025-01-13 | Includes use: No |
---|
Behavior name: Request Control Cloudlet
The Request Control Cloudlet allows you to control access to your web content based on the incoming request's IP or geographic location. With Cloudlets available on your contract, choose Your services > Edge logic Cloudlets to control how the feature works within Control Center, or use the Cloudlets API to configure it programmatically.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "request_control" {
rules_v2025_02_18 {
name = "Request Control Cloudlet"
comments = "Controls access to your web content based on the incoming request's IP or geographic location."
behavior {
request_control {
enabled = true
is_shared_policy = false
cloudlet_policy = ""
enable_branded403 = false
}
}
}
}
"behaviors": [
{
"name": "requestControl",
"options": {
"enabled": true,
"isSharedPolicy": false,
"cloudletPolicy": "",
"enableBranded403": false
}
}
]
Options
Option | Description |
---|---|
enabled |
Enables the Request Control Cloudlet.
|
is_shared_policy |
Whether you want to apply the Cloudlet shared policy to an unlimited number of properties within your account. Learn more about shared policies and how to create them in Cloudlets Policy Manager.
|
cloudlet_policy |
Identifies the Cloudlet policy. Contains:
|
cloudlet_shared_policy |
Identifies the Cloudlet shared policy to use with this behavior. Use the Cloudlets API to list available shared policies.
|
enable_branded403 |
If enabled, serves a branded
403 page for this Cloudlet instance.
|
branded403status_code |
Specifies the response status code for the branded deny action. Value is one of:
|
net_storage |
Specifies the NetStorage domain that contains the branded
403 page. Contains:
|
branded403File |
Specifies the full path of the branded 403 page, including the filename, but excluding the NetStorage CP code path component.
|
branded403Url |
Specifies the redirect URL for the branded deny action.
|
branded_deny_cache_ttl |
Specifies the branded response page's time to live in the cache in minutes. Value range is
5 -30 . Default is 5 minutes.
|
Updated 34 minutes ago