published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Create AppsecSecurityPolicyProtections Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppsecSecurityPolicyProtections(name: string, args: AppsecSecurityPolicyProtectionsArgs, opts?: CustomResourceOptions);@overload
def AppsecSecurityPolicyProtections(resource_name: str,
args: AppsecSecurityPolicyProtectionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppsecSecurityPolicyProtections(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
security_policy_id: Optional[str] = None,
apply_account_protection_controls: Optional[bool] = None,
apply_api_constraints: Optional[bool] = None,
apply_application_layer_controls: Optional[bool] = None,
apply_botman_controls: Optional[bool] = None,
apply_malware_controls: Optional[bool] = None,
apply_network_layer_controls: Optional[bool] = None,
apply_rate_controls: Optional[bool] = None,
apply_reputation_controls: Optional[bool] = None,
apply_slow_post_controls: Optional[bool] = None,
apply_url_protection_controls: Optional[bool] = None)func NewAppsecSecurityPolicyProtections(ctx *Context, name string, args AppsecSecurityPolicyProtectionsArgs, opts ...ResourceOption) (*AppsecSecurityPolicyProtections, error)public AppsecSecurityPolicyProtections(string name, AppsecSecurityPolicyProtectionsArgs args, CustomResourceOptions? opts = null)
public AppsecSecurityPolicyProtections(String name, AppsecSecurityPolicyProtectionsArgs args)
public AppsecSecurityPolicyProtections(String name, AppsecSecurityPolicyProtectionsArgs args, CustomResourceOptions options)
type: akamai:AppsecSecurityPolicyProtections
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 AppsecSecurityPolicyProtectionsArgs
- 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 AppsecSecurityPolicyProtectionsArgs
- 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 AppsecSecurityPolicyProtectionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppsecSecurityPolicyProtectionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppsecSecurityPolicyProtectionsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppsecSecurityPolicyProtections 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 AppsecSecurityPolicyProtections resource accepts the following input properties:
- Config
Id int - Unique identifier of the security configuration.
- Security
Policy stringId - Unique identifier of the security policy.
- Apply
Account boolProtection Controls - Whether to enable account protection controls.
- Apply
Api boolConstraints - Whether to enable API constraints.
- Apply
Application boolLayer Controls - Whether to enable application layer controls.
- Apply
Botman boolControls - Whether to enable botman controls.
- Apply
Malware boolControls - Whether to enable malware controls.
- Apply
Network boolLayer Controls - Whether to enable network layer controls.
- Apply
Rate boolControls - Whether to enable rate controls.
- Apply
Reputation boolControls - Whether to enable reputation controls.
- Apply
Slow boolPost Controls - Whether to enable slow post controls.
- Apply
Url boolProtection Controls - Whether to enable URL protection controls.
- Config
Id int - Unique identifier of the security configuration.
- Security
Policy stringId - Unique identifier of the security policy.
- Apply
Account boolProtection Controls - Whether to enable account protection controls.
- Apply
Api boolConstraints - Whether to enable API constraints.
- Apply
Application boolLayer Controls - Whether to enable application layer controls.
- Apply
Botman boolControls - Whether to enable botman controls.
- Apply
Malware boolControls - Whether to enable malware controls.
- Apply
Network boolLayer Controls - Whether to enable network layer controls.
- Apply
Rate boolControls - Whether to enable rate controls.
- Apply
Reputation boolControls - Whether to enable reputation controls.
- Apply
Slow boolPost Controls - Whether to enable slow post controls.
- Apply
Url boolProtection Controls - Whether to enable URL protection controls.
- config
Id Integer - Unique identifier of the security configuration.
- security
Policy StringId - Unique identifier of the security policy.
- apply
Account BooleanProtection Controls - Whether to enable account protection controls.
- apply
Api BooleanConstraints - Whether to enable API constraints.
- apply
Application BooleanLayer Controls - Whether to enable application layer controls.
- apply
Botman BooleanControls - Whether to enable botman controls.
- apply
Malware BooleanControls - Whether to enable malware controls.
- apply
Network BooleanLayer Controls - Whether to enable network layer controls.
- apply
Rate BooleanControls - Whether to enable rate controls.
- apply
Reputation BooleanControls - Whether to enable reputation controls.
- apply
Slow BooleanPost Controls - Whether to enable slow post controls.
- apply
Url BooleanProtection Controls - Whether to enable URL protection controls.
- config
Id number - Unique identifier of the security configuration.
- security
Policy stringId - Unique identifier of the security policy.
- apply
Account booleanProtection Controls - Whether to enable account protection controls.
- apply
Api booleanConstraints - Whether to enable API constraints.
- apply
Application booleanLayer Controls - Whether to enable application layer controls.
- apply
Botman booleanControls - Whether to enable botman controls.
- apply
Malware booleanControls - Whether to enable malware controls.
- apply
Network booleanLayer Controls - Whether to enable network layer controls.
- apply
Rate booleanControls - Whether to enable rate controls.
- apply
Reputation booleanControls - Whether to enable reputation controls.
- apply
Slow booleanPost Controls - Whether to enable slow post controls.
- apply
Url booleanProtection Controls - Whether to enable URL protection controls.
- config_
id int - Unique identifier of the security configuration.
- security_
policy_ strid - Unique identifier of the security policy.
- apply_
account_ boolprotection_ controls - Whether to enable account protection controls.
- apply_
api_ boolconstraints - Whether to enable API constraints.
- apply_
application_ boollayer_ controls - Whether to enable application layer controls.
- apply_
botman_ boolcontrols - Whether to enable botman controls.
- apply_
malware_ boolcontrols - Whether to enable malware controls.
- apply_
network_ boollayer_ controls - Whether to enable network layer controls.
- apply_
rate_ boolcontrols - Whether to enable rate controls.
- apply_
reputation_ boolcontrols - Whether to enable reputation controls.
- apply_
slow_ boolpost_ controls - Whether to enable slow post controls.
- apply_
url_ boolprotection_ controls - Whether to enable URL protection controls.
- config
Id Number - Unique identifier of the security configuration.
- security
Policy StringId - Unique identifier of the security policy.
- apply
Account BooleanProtection Controls - Whether to enable account protection controls.
- apply
Api BooleanConstraints - Whether to enable API constraints.
- apply
Application BooleanLayer Controls - Whether to enable application layer controls.
- apply
Botman BooleanControls - Whether to enable botman controls.
- apply
Malware BooleanControls - Whether to enable malware controls.
- apply
Network BooleanLayer Controls - Whether to enable network layer controls.
- apply
Rate BooleanControls - Whether to enable rate controls.
- apply
Reputation BooleanControls - Whether to enable reputation controls.
- apply
Slow BooleanPost Controls - Whether to enable slow post controls.
- apply
Url BooleanProtection Controls - Whether to enable URL protection controls.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppsecSecurityPolicyProtections 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 AppsecSecurityPolicyProtections Resource
Get an existing AppsecSecurityPolicyProtections 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?: AppsecSecurityPolicyProtectionsState, opts?: CustomResourceOptions): AppsecSecurityPolicyProtections@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_account_protection_controls: Optional[bool] = None,
apply_api_constraints: Optional[bool] = None,
apply_application_layer_controls: Optional[bool] = None,
apply_botman_controls: Optional[bool] = None,
apply_malware_controls: Optional[bool] = None,
apply_network_layer_controls: Optional[bool] = None,
apply_rate_controls: Optional[bool] = None,
apply_reputation_controls: Optional[bool] = None,
apply_slow_post_controls: Optional[bool] = None,
apply_url_protection_controls: Optional[bool] = None,
config_id: Optional[int] = None,
security_policy_id: Optional[str] = None) -> AppsecSecurityPolicyProtectionsfunc GetAppsecSecurityPolicyProtections(ctx *Context, name string, id IDInput, state *AppsecSecurityPolicyProtectionsState, opts ...ResourceOption) (*AppsecSecurityPolicyProtections, error)public static AppsecSecurityPolicyProtections Get(string name, Input<string> id, AppsecSecurityPolicyProtectionsState? state, CustomResourceOptions? opts = null)public static AppsecSecurityPolicyProtections get(String name, Output<String> id, AppsecSecurityPolicyProtectionsState state, CustomResourceOptions options)resources: _: type: akamai:AppsecSecurityPolicyProtections 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.
- Apply
Account boolProtection Controls - Whether to enable account protection controls.
- Apply
Api boolConstraints - Whether to enable API constraints.
- Apply
Application boolLayer Controls - Whether to enable application layer controls.
- Apply
Botman boolControls - Whether to enable botman controls.
- Apply
Malware boolControls - Whether to enable malware controls.
- Apply
Network boolLayer Controls - Whether to enable network layer controls.
- Apply
Rate boolControls - Whether to enable rate controls.
- Apply
Reputation boolControls - Whether to enable reputation controls.
- Apply
Slow boolPost Controls - Whether to enable slow post controls.
- Apply
Url boolProtection Controls - Whether to enable URL protection controls.
- Config
Id int - Unique identifier of the security configuration.
- Security
Policy stringId - Unique identifier of the security policy.
- Apply
Account boolProtection Controls - Whether to enable account protection controls.
- Apply
Api boolConstraints - Whether to enable API constraints.
- Apply
Application boolLayer Controls - Whether to enable application layer controls.
- Apply
Botman boolControls - Whether to enable botman controls.
- Apply
Malware boolControls - Whether to enable malware controls.
- Apply
Network boolLayer Controls - Whether to enable network layer controls.
- Apply
Rate boolControls - Whether to enable rate controls.
- Apply
Reputation boolControls - Whether to enable reputation controls.
- Apply
Slow boolPost Controls - Whether to enable slow post controls.
- Apply
Url boolProtection Controls - Whether to enable URL protection controls.
- Config
Id int - Unique identifier of the security configuration.
- Security
Policy stringId - Unique identifier of the security policy.
- apply
Account BooleanProtection Controls - Whether to enable account protection controls.
- apply
Api BooleanConstraints - Whether to enable API constraints.
- apply
Application BooleanLayer Controls - Whether to enable application layer controls.
- apply
Botman BooleanControls - Whether to enable botman controls.
- apply
Malware BooleanControls - Whether to enable malware controls.
- apply
Network BooleanLayer Controls - Whether to enable network layer controls.
- apply
Rate BooleanControls - Whether to enable rate controls.
- apply
Reputation BooleanControls - Whether to enable reputation controls.
- apply
Slow BooleanPost Controls - Whether to enable slow post controls.
- apply
Url BooleanProtection Controls - Whether to enable URL protection controls.
- config
Id Integer - Unique identifier of the security configuration.
- security
Policy StringId - Unique identifier of the security policy.
- apply
Account booleanProtection Controls - Whether to enable account protection controls.
- apply
Api booleanConstraints - Whether to enable API constraints.
- apply
Application booleanLayer Controls - Whether to enable application layer controls.
- apply
Botman booleanControls - Whether to enable botman controls.
- apply
Malware booleanControls - Whether to enable malware controls.
- apply
Network booleanLayer Controls - Whether to enable network layer controls.
- apply
Rate booleanControls - Whether to enable rate controls.
- apply
Reputation booleanControls - Whether to enable reputation controls.
- apply
Slow booleanPost Controls - Whether to enable slow post controls.
- apply
Url booleanProtection Controls - Whether to enable URL protection controls.
- config
Id number - Unique identifier of the security configuration.
- security
Policy stringId - Unique identifier of the security policy.
- apply_
account_ boolprotection_ controls - Whether to enable account protection controls.
- apply_
api_ boolconstraints - Whether to enable API constraints.
- apply_
application_ boollayer_ controls - Whether to enable application layer controls.
- apply_
botman_ boolcontrols - Whether to enable botman controls.
- apply_
malware_ boolcontrols - Whether to enable malware controls.
- apply_
network_ boollayer_ controls - Whether to enable network layer controls.
- apply_
rate_ boolcontrols - Whether to enable rate controls.
- apply_
reputation_ boolcontrols - Whether to enable reputation controls.
- apply_
slow_ boolpost_ controls - Whether to enable slow post controls.
- apply_
url_ boolprotection_ controls - Whether to enable URL protection controls.
- config_
id int - Unique identifier of the security configuration.
- security_
policy_ strid - Unique identifier of the security policy.
- apply
Account BooleanProtection Controls - Whether to enable account protection controls.
- apply
Api BooleanConstraints - Whether to enable API constraints.
- apply
Application BooleanLayer Controls - Whether to enable application layer controls.
- apply
Botman BooleanControls - Whether to enable botman controls.
- apply
Malware BooleanControls - Whether to enable malware controls.
- apply
Network BooleanLayer Controls - Whether to enable network layer controls.
- apply
Rate BooleanControls - Whether to enable rate controls.
- apply
Reputation BooleanControls - Whether to enable reputation controls.
- apply
Slow BooleanPost Controls - Whether to enable slow post controls.
- apply
Url BooleanProtection Controls - Whether to enable URL protection controls.
- config
Id Number - Unique identifier of the security configuration.
- security
Policy StringId - Unique identifier of the security policy.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
published on Thursday, Apr 2, 2026 by Pulumi
