Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Create AppsecUrlProtectionPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppsecUrlProtectionPolicy(name: string, args: AppsecUrlProtectionPolicyArgs, opts?: CustomResourceOptions);@overload
def AppsecUrlProtectionPolicy(resource_name: str,
args: AppsecUrlProtectionPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppsecUrlProtectionPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
max_rate_threshold: Optional[int] = None,
api_definitions: Optional[Sequence[AppsecUrlProtectionPolicyApiDefinitionArgs]] = None,
bypass_conditions: Optional[Sequence[AppsecUrlProtectionPolicyBypassConditionArgs]] = None,
description: Optional[str] = None,
hostname_paths: Optional[Sequence[AppsecUrlProtectionPolicyHostnamePathArgs]] = None,
intelligent_load_shedding: Optional[AppsecUrlProtectionPolicyIntelligentLoadSheddingArgs] = None,
name: Optional[str] = None)func NewAppsecUrlProtectionPolicy(ctx *Context, name string, args AppsecUrlProtectionPolicyArgs, opts ...ResourceOption) (*AppsecUrlProtectionPolicy, error)public AppsecUrlProtectionPolicy(string name, AppsecUrlProtectionPolicyArgs args, CustomResourceOptions? opts = null)
public AppsecUrlProtectionPolicy(String name, AppsecUrlProtectionPolicyArgs args)
public AppsecUrlProtectionPolicy(String name, AppsecUrlProtectionPolicyArgs args, CustomResourceOptions options)
type: akamai:AppsecUrlProtectionPolicy
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 AppsecUrlProtectionPolicyArgs
- 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 AppsecUrlProtectionPolicyArgs
- 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 AppsecUrlProtectionPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppsecUrlProtectionPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppsecUrlProtectionPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppsecUrlProtectionPolicy 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 AppsecUrlProtectionPolicy resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration
- Max
Rate intThreshold - Maximum rate threshold for the URL protection policy
- Api
Definitions List<AppsecUrl Protection Policy Api Definition> - List of API definitions associated with the URL protection policy
- Bypass
Conditions List<AppsecUrl Protection Policy Bypass Condition> - List of bypass conditions for the URL protection policy
- Description string
- Description of the URL protection policy
- Hostname
Paths List<AppsecUrl Protection Policy Hostname Path> - List of hostname and path configurations
- Intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- Name string
- Name of the URL protection policy
- Config
Id int - Unique identifier of the security configuration
- Max
Rate intThreshold - Maximum rate threshold for the URL protection policy
- Api
Definitions []AppsecUrl Protection Policy Api Definition Args - List of API definitions associated with the URL protection policy
- Bypass
Conditions []AppsecUrl Protection Policy Bypass Condition Args - List of bypass conditions for the URL protection policy
- Description string
- Description of the URL protection policy
- Hostname
Paths []AppsecUrl Protection Policy Hostname Path Args - List of hostname and path configurations
- Intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding Args - Intelligent load shedding configuration
- Name string
- Name of the URL protection policy
- config
Id Integer - Unique identifier of the security configuration
- max
Rate IntegerThreshold - Maximum rate threshold for the URL protection policy
- api
Definitions List<AppsecUrl Protection Policy Api Definition> - List of API definitions associated with the URL protection policy
- bypass
Conditions List<AppsecUrl Protection Policy Bypass Condition> - List of bypass conditions for the URL protection policy
- description String
- Description of the URL protection policy
- hostname
Paths List<AppsecUrl Protection Policy Hostname Path> - List of hostname and path configurations
- intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- name String
- Name of the URL protection policy
- config
Id number - Unique identifier of the security configuration
- max
Rate numberThreshold - Maximum rate threshold for the URL protection policy
- api
Definitions AppsecUrl Protection Policy Api Definition[] - List of API definitions associated with the URL protection policy
- bypass
Conditions AppsecUrl Protection Policy Bypass Condition[] - List of bypass conditions for the URL protection policy
- description string
- Description of the URL protection policy
- hostname
Paths AppsecUrl Protection Policy Hostname Path[] - List of hostname and path configurations
- intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- name string
- Name of the URL protection policy
- config_
id int - Unique identifier of the security configuration
- max_
rate_ intthreshold - Maximum rate threshold for the URL protection policy
- api_
definitions Sequence[AppsecUrl Protection Policy Api Definition Args] - List of API definitions associated with the URL protection policy
- bypass_
conditions Sequence[AppsecUrl Protection Policy Bypass Condition Args] - List of bypass conditions for the URL protection policy
- description str
- Description of the URL protection policy
- hostname_
paths Sequence[AppsecUrl Protection Policy Hostname Path Args] - List of hostname and path configurations
- intelligent_
load_ Appsecshedding Url Protection Policy Intelligent Load Shedding Args - Intelligent load shedding configuration
- name str
- Name of the URL protection policy
- config
Id Number - Unique identifier of the security configuration
- max
Rate NumberThreshold - Maximum rate threshold for the URL protection policy
- api
Definitions List<Property Map> - List of API definitions associated with the URL protection policy
- bypass
Conditions List<Property Map> - List of bypass conditions for the URL protection policy
- description String
- Description of the URL protection policy
- hostname
Paths List<Property Map> - List of hostname and path configurations
- intelligent
Load Property MapShedding - Intelligent load shedding configuration
- name String
- Name of the URL protection policy
Outputs
All input properties are implicitly available as output properties. Additionally, the AppsecUrlProtectionPolicy resource produces the following output properties:
- Create
Date string - Date when the URL protection policy was created
- Created
By string - User who created the URL protection policy
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Date string - Date when the URL protection policy was last updated
- Updated
By string - User who last updated the URL protection policy
- Url
Protection intPolicy Id - Unique identifier of the URL protection policy
- Create
Date string - Date when the URL protection policy was created
- Created
By string - User who created the URL protection policy
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Date string - Date when the URL protection policy was last updated
- Updated
By string - User who last updated the URL protection policy
- Url
Protection intPolicy Id - Unique identifier of the URL protection policy
- create
Date String - Date when the URL protection policy was created
- created
By String - User who created the URL protection policy
- id String
- The provider-assigned unique ID for this managed resource.
- update
Date String - Date when the URL protection policy was last updated
- updated
By String - User who last updated the URL protection policy
- url
Protection IntegerPolicy Id - Unique identifier of the URL protection policy
- create
Date string - Date when the URL protection policy was created
- created
By string - User who created the URL protection policy
- id string
- The provider-assigned unique ID for this managed resource.
- update
Date string - Date when the URL protection policy was last updated
- updated
By string - User who last updated the URL protection policy
- url
Protection numberPolicy Id - Unique identifier of the URL protection policy
- create_
date str - Date when the URL protection policy was created
- created_
by str - User who created the URL protection policy
- id str
- The provider-assigned unique ID for this managed resource.
- update_
date str - Date when the URL protection policy was last updated
- updated_
by str - User who last updated the URL protection policy
- url_
protection_ intpolicy_ id - Unique identifier of the URL protection policy
- create
Date String - Date when the URL protection policy was created
- created
By String - User who created the URL protection policy
- id String
- The provider-assigned unique ID for this managed resource.
- update
Date String - Date when the URL protection policy was last updated
- updated
By String - User who last updated the URL protection policy
- url
Protection NumberPolicy Id - Unique identifier of the URL protection policy
Look up Existing AppsecUrlProtectionPolicy Resource
Get an existing AppsecUrlProtectionPolicy 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?: AppsecUrlProtectionPolicyState, opts?: CustomResourceOptions): AppsecUrlProtectionPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_definitions: Optional[Sequence[AppsecUrlProtectionPolicyApiDefinitionArgs]] = None,
bypass_conditions: Optional[Sequence[AppsecUrlProtectionPolicyBypassConditionArgs]] = None,
config_id: Optional[int] = None,
create_date: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
hostname_paths: Optional[Sequence[AppsecUrlProtectionPolicyHostnamePathArgs]] = None,
intelligent_load_shedding: Optional[AppsecUrlProtectionPolicyIntelligentLoadSheddingArgs] = None,
max_rate_threshold: Optional[int] = None,
name: Optional[str] = None,
update_date: Optional[str] = None,
updated_by: Optional[str] = None,
url_protection_policy_id: Optional[int] = None) -> AppsecUrlProtectionPolicyfunc GetAppsecUrlProtectionPolicy(ctx *Context, name string, id IDInput, state *AppsecUrlProtectionPolicyState, opts ...ResourceOption) (*AppsecUrlProtectionPolicy, error)public static AppsecUrlProtectionPolicy Get(string name, Input<string> id, AppsecUrlProtectionPolicyState? state, CustomResourceOptions? opts = null)public static AppsecUrlProtectionPolicy get(String name, Output<String> id, AppsecUrlProtectionPolicyState state, CustomResourceOptions options)resources: _: type: akamai:AppsecUrlProtectionPolicy 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.
- Api
Definitions List<AppsecUrl Protection Policy Api Definition> - List of API definitions associated with the URL protection policy
- Bypass
Conditions List<AppsecUrl Protection Policy Bypass Condition> - List of bypass conditions for the URL protection policy
- Config
Id int - Unique identifier of the security configuration
- Create
Date string - Date when the URL protection policy was created
- Created
By string - User who created the URL protection policy
- Description string
- Description of the URL protection policy
- Hostname
Paths List<AppsecUrl Protection Policy Hostname Path> - List of hostname and path configurations
- Intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- Max
Rate intThreshold - Maximum rate threshold for the URL protection policy
- Name string
- Name of the URL protection policy
- Update
Date string - Date when the URL protection policy was last updated
- Updated
By string - User who last updated the URL protection policy
- Url
Protection intPolicy Id - Unique identifier of the URL protection policy
- Api
Definitions []AppsecUrl Protection Policy Api Definition Args - List of API definitions associated with the URL protection policy
- Bypass
Conditions []AppsecUrl Protection Policy Bypass Condition Args - List of bypass conditions for the URL protection policy
- Config
Id int - Unique identifier of the security configuration
- Create
Date string - Date when the URL protection policy was created
- Created
By string - User who created the URL protection policy
- Description string
- Description of the URL protection policy
- Hostname
Paths []AppsecUrl Protection Policy Hostname Path Args - List of hostname and path configurations
- Intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding Args - Intelligent load shedding configuration
- Max
Rate intThreshold - Maximum rate threshold for the URL protection policy
- Name string
- Name of the URL protection policy
- Update
Date string - Date when the URL protection policy was last updated
- Updated
By string - User who last updated the URL protection policy
- Url
Protection intPolicy Id - Unique identifier of the URL protection policy
- api
Definitions List<AppsecUrl Protection Policy Api Definition> - List of API definitions associated with the URL protection policy
- bypass
Conditions List<AppsecUrl Protection Policy Bypass Condition> - List of bypass conditions for the URL protection policy
- config
Id Integer - Unique identifier of the security configuration
- create
Date String - Date when the URL protection policy was created
- created
By String - User who created the URL protection policy
- description String
- Description of the URL protection policy
- hostname
Paths List<AppsecUrl Protection Policy Hostname Path> - List of hostname and path configurations
- intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- max
Rate IntegerThreshold - Maximum rate threshold for the URL protection policy
- name String
- Name of the URL protection policy
- update
Date String - Date when the URL protection policy was last updated
- updated
By String - User who last updated the URL protection policy
- url
Protection IntegerPolicy Id - Unique identifier of the URL protection policy
- api
Definitions AppsecUrl Protection Policy Api Definition[] - List of API definitions associated with the URL protection policy
- bypass
Conditions AppsecUrl Protection Policy Bypass Condition[] - List of bypass conditions for the URL protection policy
- config
Id number - Unique identifier of the security configuration
- create
Date string - Date when the URL protection policy was created
- created
By string - User who created the URL protection policy
- description string
- Description of the URL protection policy
- hostname
Paths AppsecUrl Protection Policy Hostname Path[] - List of hostname and path configurations
- intelligent
Load AppsecShedding Url Protection Policy Intelligent Load Shedding - Intelligent load shedding configuration
- max
Rate numberThreshold - Maximum rate threshold for the URL protection policy
- name string
- Name of the URL protection policy
- update
Date string - Date when the URL protection policy was last updated
- updated
By string - User who last updated the URL protection policy
- url
Protection numberPolicy Id - Unique identifier of the URL protection policy
- api_
definitions Sequence[AppsecUrl Protection Policy Api Definition Args] - List of API definitions associated with the URL protection policy
- bypass_
conditions Sequence[AppsecUrl Protection Policy Bypass Condition Args] - List of bypass conditions for the URL protection policy
- config_
id int - Unique identifier of the security configuration
- create_
date str - Date when the URL protection policy was created
- created_
by str - User who created the URL protection policy
- description str
- Description of the URL protection policy
- hostname_
paths Sequence[AppsecUrl Protection Policy Hostname Path Args] - List of hostname and path configurations
- intelligent_
load_ Appsecshedding Url Protection Policy Intelligent Load Shedding Args - Intelligent load shedding configuration
- max_
rate_ intthreshold - Maximum rate threshold for the URL protection policy
- name str
- Name of the URL protection policy
- update_
date str - Date when the URL protection policy was last updated
- updated_
by str - User who last updated the URL protection policy
- url_
protection_ intpolicy_ id - Unique identifier of the URL protection policy
- api
Definitions List<Property Map> - List of API definitions associated with the URL protection policy
- bypass
Conditions List<Property Map> - List of bypass conditions for the URL protection policy
- config
Id Number - Unique identifier of the security configuration
- create
Date String - Date when the URL protection policy was created
- created
By String - User who created the URL protection policy
- description String
- Description of the URL protection policy
- hostname
Paths List<Property Map> - List of hostname and path configurations
- intelligent
Load Property MapShedding - Intelligent load shedding configuration
- max
Rate NumberThreshold - Maximum rate threshold for the URL protection policy
- name String
- Name of the URL protection policy
- update
Date String - Date when the URL protection policy was last updated
- updated
By String - User who last updated the URL protection policy
- url
Protection NumberPolicy Id - Unique identifier of the URL protection policy
Supporting Types
AppsecUrlProtectionPolicyApiDefinition, AppsecUrlProtectionPolicyApiDefinitionArgs
- Api
Definition intId - Unique identifier of the API definition
- Defined
Resources bool - Whether defined resources are included
- Resource
Ids List<int> - List of resource IDs
- Undefined
Resources bool - Whether undefined resources are included
- Api
Definition intId - Unique identifier of the API definition
- Defined
Resources bool - Whether defined resources are included
- Resource
Ids []int - List of resource IDs
- Undefined
Resources bool - Whether undefined resources are included
- api
Definition IntegerId - Unique identifier of the API definition
- defined
Resources Boolean - Whether defined resources are included
- resource
Ids List<Integer> - List of resource IDs
- undefined
Resources Boolean - Whether undefined resources are included
- api
Definition numberId - Unique identifier of the API definition
- defined
Resources boolean - Whether defined resources are included
- resource
Ids number[] - List of resource IDs
- undefined
Resources boolean - Whether undefined resources are included
- api_
definition_ intid - Unique identifier of the API definition
- defined_
resources bool - Whether defined resources are included
- resource_
ids Sequence[int] - List of resource IDs
- undefined_
resources bool - Whether undefined resources are included
- api
Definition NumberId - Unique identifier of the API definition
- defined
Resources Boolean - Whether defined resources are included
- resource
Ids List<Number> - List of resource IDs
- undefined
Resources Boolean - Whether undefined resources are included
AppsecUrlProtectionPolicyBypassCondition, AppsecUrlProtectionPolicyBypassConditionArgs
- Type string
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- Name
Wildcard bool - Whether to use wildcard matching for header names
- Names List<string>
- List of header names for RequestHeaderCondition
- Value
Case boolSensitive - Whether the value matching is case sensitive
- Value
Wildcard bool - Whether to use wildcard matching for values
- Values List<string>
- List of values for the condition
- Type string
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- Name
Wildcard bool - Whether to use wildcard matching for header names
- Names []string
- List of header names for RequestHeaderCondition
- Value
Case boolSensitive - Whether the value matching is case sensitive
- Value
Wildcard bool - Whether to use wildcard matching for values
- Values []string
- List of values for the condition
- type String
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- name
Wildcard Boolean - Whether to use wildcard matching for header names
- names List<String>
- List of header names for RequestHeaderCondition
- value
Case BooleanSensitive - Whether the value matching is case sensitive
- value
Wildcard Boolean - Whether to use wildcard matching for values
- values List<String>
- List of values for the condition
- type string
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- name
Wildcard boolean - Whether to use wildcard matching for header names
- names string[]
- List of header names for RequestHeaderCondition
- value
Case booleanSensitive - Whether the value matching is case sensitive
- value
Wildcard boolean - Whether to use wildcard matching for values
- values string[]
- List of values for the condition
- type str
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- name_
wildcard bool - Whether to use wildcard matching for header names
- names Sequence[str]
- List of header names for RequestHeaderCondition
- value_
case_ boolsensitive - Whether the value matching is case sensitive
- value_
wildcard bool - Whether to use wildcard matching for values
- values Sequence[str]
- List of values for the condition
- type String
- Type of condition (e.g., RequestHeaderCondition, NetworkListCondition)
- name
Wildcard Boolean - Whether to use wildcard matching for header names
- names List<String>
- List of header names for RequestHeaderCondition
- value
Case BooleanSensitive - Whether the value matching is case sensitive
- value
Wildcard Boolean - Whether to use wildcard matching for values
- values List<String>
- List of values for the condition
AppsecUrlProtectionPolicyHostnamePath, AppsecUrlProtectionPolicyHostnamePathArgs
AppsecUrlProtectionPolicyIntelligentLoadShedding, AppsecUrlProtectionPolicyIntelligentLoadSheddingArgs
- Hits
Per intSec - Number of hits per second threshold
- Categories List<string>
- List of categories for intelligent load shedding
- Custom
Criterias List<AppsecUrl Protection Policy Intelligent Load Shedding Custom Criteria> - Custom criteria for intelligent load shedding
- Hits
Per intSec - Number of hits per second threshold
- Categories []string
- List of categories for intelligent load shedding
- Custom
Criterias []AppsecUrl Protection Policy Intelligent Load Shedding Custom Criteria - Custom criteria for intelligent load shedding
- hits
Per IntegerSec - Number of hits per second threshold
- categories List<String>
- List of categories for intelligent load shedding
- custom
Criterias List<AppsecUrl Protection Policy Intelligent Load Shedding Custom Criteria> - Custom criteria for intelligent load shedding
- hits
Per numberSec - Number of hits per second threshold
- categories string[]
- List of categories for intelligent load shedding
- custom
Criterias AppsecUrl Protection Policy Intelligent Load Shedding Custom Criteria[] - Custom criteria for intelligent load shedding
- hits_
per_ intsec - Number of hits per second threshold
- categories Sequence[str]
- List of categories for intelligent load shedding
- custom_
criterias Sequence[AppsecUrl Protection Policy Intelligent Load Shedding Custom Criteria] - Custom criteria for intelligent load shedding
- hits
Per NumberSec - Number of hits per second threshold
- categories List<String>
- List of categories for intelligent load shedding
- custom
Criterias List<Property Map> - Custom criteria for intelligent load shedding
AppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteria, AppsecUrlProtectionPolicyIntelligentLoadSheddingCustomCriteriaArgs
- List
Ids List<string> - List of client list IDs
- Positive
Match bool - Whether this is a positive match condition
- Type string
- Type of custom criteria (e.g., CLIENT_LIST)
- List
Ids []string - List of client list IDs
- Positive
Match bool - Whether this is a positive match condition
- Type string
- Type of custom criteria (e.g., CLIENT_LIST)
- list
Ids List<String> - List of client list IDs
- positive
Match Boolean - Whether this is a positive match condition
- type String
- Type of custom criteria (e.g., CLIENT_LIST)
- list
Ids string[] - List of client list IDs
- positive
Match boolean - Whether this is a positive match condition
- type string
- Type of custom criteria (e.g., CLIENT_LIST)
- list_
ids Sequence[str] - List of client list IDs
- positive_
match bool - Whether this is a positive match condition
- type str
- Type of custom criteria (e.g., CLIENT_LIST)
- list
Ids List<String> - List of client list IDs
- positive
Match Boolean - Whether this is a positive match condition
- type String
- Type of custom criteria (e.g., CLIENT_LIST)
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
