Behavorial DDoS profile
akamai_appsec_behavioral_ddos_profile
Create, update, or delete a Behavioral DDoS (BDE) protection profile in a security configuration.
A profile defines how the platform detects volumetric DDoS attacks against your hostnames based on behavioral signals.
To set what happens when a profile is triggered, use the Behavioral DDoS action resource.
resource "akamai_appsec_behavioral_ddos_profile" "my_bde_profile" {
config_id = 12345
name = "my_bde_profile"
description = "Behavioral DDoS profile for my site."
sensitivity = "MODERATE"
hostnames = ["www.example.com", "api.example.com"]
bypass_conditions_match_type = "ALL"
bypass_conditions = [
{
type = "RequestHeaderCondition"
names = ["X-My-Header"]
values = ["my-value"]
name_wildcard = false
value_wildcard = false
value_case_sensitive = false
positive_match = true
}
]
exceptions = [
{
hosts = ["www.example.com"]
paths = ["/health"]
}
]
sensitivity_overrides = [
{
host = "api.example.com"
path = "/login"
sensitivity = "STRICT"
}
]
suspend = {
hostnames = ["www.example.com"]
from_date = "2026-12-01T00:00:00Z"
to_date = "2026-12-02T00:00:00Z"
}
}my_bde_profile = {
behavioral_ddos_profile_id = 987654
bypass_conditions = [
{
check_ips = null
index = 0
name_wildcard = false
names = ["X-My-Header"]
positive_match = true
type = "RequestHeaderCondition"
value_case_sensitive = false
value_wildcard = false
values = ["my-value"]
},
]
bypass_conditions_match_type = "ALL"
config_id = 12345
create_date = "2026-11-19T15:22:28Z"
created_by = "jsmith"
description = "Behavioral DDoS profile for my site."
exceptions = [
{
hosts = ["www.example.com"]
paths = ["/health"]
},
]
hostnames = ["www.example.com", "api.example.com"]
name = "my_bde_profile"
sensitivity = "MODERATE"
sensitivity_overrides = [
{
host = "api.example.com"
path = "/login"
sensitivity = "STRICT"
},
]
suspend = {
from_date = "2026-12-01T00:00:00Z"
hostnames = ["www.example.com"]
to_date = "2026-12-02T00:00:00Z"
}
update_date = "2026-11-19T15:22:28Z"
updated_by = "jsmith"
used = false
}Arguments
Send the required arguments to create a BDE profile.
You can't change the
config_idafter you create the profile.
| Argument | Required | Description |
|---|---|---|
config_id | ✔️ | Your security configuration's ID. |
name | ✔️ | The BDE profile's name. |
sensitivity | ✔️ | The profile's detection sensitivity level. Possible values are:
|
hostnames | ✔️ | A list of hostnames the profile applies to. |
description | A human-readable statement about the profile. | |
bypass_conditions | A list of conditions that let matching requests bypass the profile. Contains:
| |
bypass_conditions_match_type | How the profile evaluates your bypass_conditions. Possible values are:
| |
exceptions | A list of host and path combinations the profile doesn't apply to. Contains:
| |
sensitivity_overrides | A list of per-host sensitivity levels that override the profile's sensitivity. Contains:
| |
suspend | A scheduled window during which the profile is suspended for the given hostnames. Contains:
|
Attributes
There is no standard output for this resource. Adding an output block returns the profile's details you provided on create and these computed attributes.
| Attribute | Description |
|---|---|
behavioral_ddos_profile_id | The BDE profile's ID. |
used | When true, the profile is in use by a security policy. |
create_date | The date the profile was created. |
created_by | The name of the user who created the profile. |
update_date | The date of the profile's last change. |
updated_by | The name of the user who last changed the profile. |
Updated 25 minutes ago
Did this page help you?
