1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. AppsecSecurityPolicyProtections
Viewing docs for Akamai v11.1.0
published on Thursday, Apr 2, 2026 by Pulumi
akamai logo
Viewing docs for Akamai v11.1.0
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:

    ConfigId int
    Unique identifier of the security configuration.
    SecurityPolicyId string
    Unique identifier of the security policy.
    ApplyAccountProtectionControls bool
    Whether to enable account protection controls.
    ApplyApiConstraints bool
    Whether to enable API constraints.
    ApplyApplicationLayerControls bool
    Whether to enable application layer controls.
    ApplyBotmanControls bool
    Whether to enable botman controls.
    ApplyMalwareControls bool
    Whether to enable malware controls.
    ApplyNetworkLayerControls bool
    Whether to enable network layer controls.
    ApplyRateControls bool
    Whether to enable rate controls.
    ApplyReputationControls bool
    Whether to enable reputation controls.
    ApplySlowPostControls bool
    Whether to enable slow post controls.
    ApplyUrlProtectionControls bool
    Whether to enable URL protection controls.
    ConfigId int
    Unique identifier of the security configuration.
    SecurityPolicyId string
    Unique identifier of the security policy.
    ApplyAccountProtectionControls bool
    Whether to enable account protection controls.
    ApplyApiConstraints bool
    Whether to enable API constraints.
    ApplyApplicationLayerControls bool
    Whether to enable application layer controls.
    ApplyBotmanControls bool
    Whether to enable botman controls.
    ApplyMalwareControls bool
    Whether to enable malware controls.
    ApplyNetworkLayerControls bool
    Whether to enable network layer controls.
    ApplyRateControls bool
    Whether to enable rate controls.
    ApplyReputationControls bool
    Whether to enable reputation controls.
    ApplySlowPostControls bool
    Whether to enable slow post controls.
    ApplyUrlProtectionControls bool
    Whether to enable URL protection controls.
    configId Integer
    Unique identifier of the security configuration.
    securityPolicyId String
    Unique identifier of the security policy.
    applyAccountProtectionControls Boolean
    Whether to enable account protection controls.
    applyApiConstraints Boolean
    Whether to enable API constraints.
    applyApplicationLayerControls Boolean
    Whether to enable application layer controls.
    applyBotmanControls Boolean
    Whether to enable botman controls.
    applyMalwareControls Boolean
    Whether to enable malware controls.
    applyNetworkLayerControls Boolean
    Whether to enable network layer controls.
    applyRateControls Boolean
    Whether to enable rate controls.
    applyReputationControls Boolean
    Whether to enable reputation controls.
    applySlowPostControls Boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls Boolean
    Whether to enable URL protection controls.
    configId number
    Unique identifier of the security configuration.
    securityPolicyId string
    Unique identifier of the security policy.
    applyAccountProtectionControls boolean
    Whether to enable account protection controls.
    applyApiConstraints boolean
    Whether to enable API constraints.
    applyApplicationLayerControls boolean
    Whether to enable application layer controls.
    applyBotmanControls boolean
    Whether to enable botman controls.
    applyMalwareControls boolean
    Whether to enable malware controls.
    applyNetworkLayerControls boolean
    Whether to enable network layer controls.
    applyRateControls boolean
    Whether to enable rate controls.
    applyReputationControls boolean
    Whether to enable reputation controls.
    applySlowPostControls boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls boolean
    Whether to enable URL protection controls.
    config_id int
    Unique identifier of the security configuration.
    security_policy_id str
    Unique identifier of the security policy.
    apply_account_protection_controls bool
    Whether to enable account protection controls.
    apply_api_constraints bool
    Whether to enable API constraints.
    apply_application_layer_controls bool
    Whether to enable application layer controls.
    apply_botman_controls bool
    Whether to enable botman controls.
    apply_malware_controls bool
    Whether to enable malware controls.
    apply_network_layer_controls bool
    Whether to enable network layer controls.
    apply_rate_controls bool
    Whether to enable rate controls.
    apply_reputation_controls bool
    Whether to enable reputation controls.
    apply_slow_post_controls bool
    Whether to enable slow post controls.
    apply_url_protection_controls bool
    Whether to enable URL protection controls.
    configId Number
    Unique identifier of the security configuration.
    securityPolicyId String
    Unique identifier of the security policy.
    applyAccountProtectionControls Boolean
    Whether to enable account protection controls.
    applyApiConstraints Boolean
    Whether to enable API constraints.
    applyApplicationLayerControls Boolean
    Whether to enable application layer controls.
    applyBotmanControls Boolean
    Whether to enable botman controls.
    applyMalwareControls Boolean
    Whether to enable malware controls.
    applyNetworkLayerControls Boolean
    Whether to enable network layer controls.
    applyRateControls Boolean
    Whether to enable rate controls.
    applyReputationControls Boolean
    Whether to enable reputation controls.
    applySlowPostControls Boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls Boolean
    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) -> AppsecSecurityPolicyProtections
    func 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.
    The following state arguments are supported:
    ApplyAccountProtectionControls bool
    Whether to enable account protection controls.
    ApplyApiConstraints bool
    Whether to enable API constraints.
    ApplyApplicationLayerControls bool
    Whether to enable application layer controls.
    ApplyBotmanControls bool
    Whether to enable botman controls.
    ApplyMalwareControls bool
    Whether to enable malware controls.
    ApplyNetworkLayerControls bool
    Whether to enable network layer controls.
    ApplyRateControls bool
    Whether to enable rate controls.
    ApplyReputationControls bool
    Whether to enable reputation controls.
    ApplySlowPostControls bool
    Whether to enable slow post controls.
    ApplyUrlProtectionControls bool
    Whether to enable URL protection controls.
    ConfigId int
    Unique identifier of the security configuration.
    SecurityPolicyId string
    Unique identifier of the security policy.
    ApplyAccountProtectionControls bool
    Whether to enable account protection controls.
    ApplyApiConstraints bool
    Whether to enable API constraints.
    ApplyApplicationLayerControls bool
    Whether to enable application layer controls.
    ApplyBotmanControls bool
    Whether to enable botman controls.
    ApplyMalwareControls bool
    Whether to enable malware controls.
    ApplyNetworkLayerControls bool
    Whether to enable network layer controls.
    ApplyRateControls bool
    Whether to enable rate controls.
    ApplyReputationControls bool
    Whether to enable reputation controls.
    ApplySlowPostControls bool
    Whether to enable slow post controls.
    ApplyUrlProtectionControls bool
    Whether to enable URL protection controls.
    ConfigId int
    Unique identifier of the security configuration.
    SecurityPolicyId string
    Unique identifier of the security policy.
    applyAccountProtectionControls Boolean
    Whether to enable account protection controls.
    applyApiConstraints Boolean
    Whether to enable API constraints.
    applyApplicationLayerControls Boolean
    Whether to enable application layer controls.
    applyBotmanControls Boolean
    Whether to enable botman controls.
    applyMalwareControls Boolean
    Whether to enable malware controls.
    applyNetworkLayerControls Boolean
    Whether to enable network layer controls.
    applyRateControls Boolean
    Whether to enable rate controls.
    applyReputationControls Boolean
    Whether to enable reputation controls.
    applySlowPostControls Boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls Boolean
    Whether to enable URL protection controls.
    configId Integer
    Unique identifier of the security configuration.
    securityPolicyId String
    Unique identifier of the security policy.
    applyAccountProtectionControls boolean
    Whether to enable account protection controls.
    applyApiConstraints boolean
    Whether to enable API constraints.
    applyApplicationLayerControls boolean
    Whether to enable application layer controls.
    applyBotmanControls boolean
    Whether to enable botman controls.
    applyMalwareControls boolean
    Whether to enable malware controls.
    applyNetworkLayerControls boolean
    Whether to enable network layer controls.
    applyRateControls boolean
    Whether to enable rate controls.
    applyReputationControls boolean
    Whether to enable reputation controls.
    applySlowPostControls boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls boolean
    Whether to enable URL protection controls.
    configId number
    Unique identifier of the security configuration.
    securityPolicyId string
    Unique identifier of the security policy.
    apply_account_protection_controls bool
    Whether to enable account protection controls.
    apply_api_constraints bool
    Whether to enable API constraints.
    apply_application_layer_controls bool
    Whether to enable application layer controls.
    apply_botman_controls bool
    Whether to enable botman controls.
    apply_malware_controls bool
    Whether to enable malware controls.
    apply_network_layer_controls bool
    Whether to enable network layer controls.
    apply_rate_controls bool
    Whether to enable rate controls.
    apply_reputation_controls bool
    Whether to enable reputation controls.
    apply_slow_post_controls bool
    Whether to enable slow post controls.
    apply_url_protection_controls bool
    Whether to enable URL protection controls.
    config_id int
    Unique identifier of the security configuration.
    security_policy_id str
    Unique identifier of the security policy.
    applyAccountProtectionControls Boolean
    Whether to enable account protection controls.
    applyApiConstraints Boolean
    Whether to enable API constraints.
    applyApplicationLayerControls Boolean
    Whether to enable application layer controls.
    applyBotmanControls Boolean
    Whether to enable botman controls.
    applyMalwareControls Boolean
    Whether to enable malware controls.
    applyNetworkLayerControls Boolean
    Whether to enable network layer controls.
    applyRateControls Boolean
    Whether to enable rate controls.
    applyReputationControls Boolean
    Whether to enable reputation controls.
    applySlowPostControls Boolean
    Whether to enable slow post controls.
    applyUrlProtectionControls Boolean
    Whether to enable URL protection controls.
    configId Number
    Unique identifier of the security configuration.
    securityPolicyId String
    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 akamai Terraform Provider.
    akamai logo
    Viewing docs for Akamai v11.1.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.