1. Packages
  2. Packages
  3. Akamai
  4. API Docs
  5. AppsecUrlProtectionAction
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 AppsecUrlProtectionAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AppsecUrlProtectionAction(name: string, args: AppsecUrlProtectionActionArgs, opts?: CustomResourceOptions);
    @overload
    def AppsecUrlProtectionAction(resource_name: str,
                                  args: AppsecUrlProtectionActionArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppsecUrlProtectionAction(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  config_id: Optional[int] = None,
                                  max_rate_threshold_action: Optional[str] = None,
                                  security_policy_id: Optional[str] = None,
                                  url_protection_policy_id: Optional[int] = None,
                                  load_shedding_action: Optional[str] = None)
    func NewAppsecUrlProtectionAction(ctx *Context, name string, args AppsecUrlProtectionActionArgs, opts ...ResourceOption) (*AppsecUrlProtectionAction, error)
    public AppsecUrlProtectionAction(string name, AppsecUrlProtectionActionArgs args, CustomResourceOptions? opts = null)
    public AppsecUrlProtectionAction(String name, AppsecUrlProtectionActionArgs args)
    public AppsecUrlProtectionAction(String name, AppsecUrlProtectionActionArgs args, CustomResourceOptions options)
    
    type: akamai:AppsecUrlProtectionAction
    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 AppsecUrlProtectionActionArgs
    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 AppsecUrlProtectionActionArgs
    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 AppsecUrlProtectionActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppsecUrlProtectionActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppsecUrlProtectionActionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AppsecUrlProtectionAction 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 AppsecUrlProtectionAction resource accepts the following input properties:

    ConfigId int
    Unique identifier of the security configuration
    MaxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    SecurityPolicyId string
    Unique identifier of the security policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    LoadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    ConfigId int
    Unique identifier of the security configuration
    MaxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    SecurityPolicyId string
    Unique identifier of the security policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    LoadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    configId Integer
    Unique identifier of the security configuration
    maxRateThresholdAction String
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId String
    Unique identifier of the security policy
    urlProtectionPolicyId Integer
    Unique identifier of the URL protection policy
    loadSheddingAction String
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    configId number
    Unique identifier of the security configuration
    maxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId string
    Unique identifier of the security policy
    urlProtectionPolicyId number
    Unique identifier of the URL protection policy
    loadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    config_id int
    Unique identifier of the security configuration
    max_rate_threshold_action str
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    security_policy_id str
    Unique identifier of the security policy
    url_protection_policy_id int
    Unique identifier of the URL protection policy
    load_shedding_action str
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    configId Number
    Unique identifier of the security configuration
    maxRateThresholdAction String
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId String
    Unique identifier of the security policy
    urlProtectionPolicyId Number
    Unique identifier of the URL protection policy
    loadSheddingAction String
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AppsecUrlProtectionAction 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 AppsecUrlProtectionAction Resource

    Get an existing AppsecUrlProtectionAction 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?: AppsecUrlProtectionActionState, opts?: CustomResourceOptions): AppsecUrlProtectionAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_id: Optional[int] = None,
            load_shedding_action: Optional[str] = None,
            max_rate_threshold_action: Optional[str] = None,
            security_policy_id: Optional[str] = None,
            url_protection_policy_id: Optional[int] = None) -> AppsecUrlProtectionAction
    func GetAppsecUrlProtectionAction(ctx *Context, name string, id IDInput, state *AppsecUrlProtectionActionState, opts ...ResourceOption) (*AppsecUrlProtectionAction, error)
    public static AppsecUrlProtectionAction Get(string name, Input<string> id, AppsecUrlProtectionActionState? state, CustomResourceOptions? opts = null)
    public static AppsecUrlProtectionAction get(String name, Output<String> id, AppsecUrlProtectionActionState state, CustomResourceOptions options)
    resources:  _:    type: akamai:AppsecUrlProtectionAction    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:
    ConfigId int
    Unique identifier of the security configuration
    LoadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    MaxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    SecurityPolicyId string
    Unique identifier of the security policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    ConfigId int
    Unique identifier of the security configuration
    LoadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    MaxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    SecurityPolicyId string
    Unique identifier of the security policy
    UrlProtectionPolicyId int
    Unique identifier of the URL protection policy
    configId Integer
    Unique identifier of the security configuration
    loadSheddingAction String
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    maxRateThresholdAction String
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId String
    Unique identifier of the security policy
    urlProtectionPolicyId Integer
    Unique identifier of the URL protection policy
    configId number
    Unique identifier of the security configuration
    loadSheddingAction string
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    maxRateThresholdAction string
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId string
    Unique identifier of the security policy
    urlProtectionPolicyId number
    Unique identifier of the URL protection policy
    config_id int
    Unique identifier of the security configuration
    load_shedding_action str
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    max_rate_threshold_action str
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    security_policy_id str
    Unique identifier of the security policy
    url_protection_policy_id int
    Unique identifier of the URL protection policy
    configId Number
    Unique identifier of the security configuration
    loadSheddingAction String
    Load shedding action to apply (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    maxRateThresholdAction String
    Action to apply when max rate threshold is exceeded (e.g., alert, deny, none, deny_custom_{custom_deny_id}, challenge_{challenge_id})
    securityPolicyId String
    Unique identifier of the security policy
    urlProtectionPolicyId Number
    Unique identifier of the URL protection 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.