1. Packages
  2. Akamai
  3. API Docs
  4. AppSecSlowPost
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

akamai.AppSecSlowPost

Explore with Pulumi AI

akamai logo
Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi

    Create AppSecSlowPost Resource

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

    Constructor syntax

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

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var appSecSlowPostResource = new Akamai.AppSecSlowPost("appSecSlowPostResource", new()
    {
        ConfigId = 0,
        SecurityPolicyId = "string",
        SlowRateAction = "string",
        DurationThresholdTimeout = 0,
        SlowRateThresholdPeriod = 0,
        SlowRateThresholdRate = 0,
    });
    
    example, err := akamai.NewAppSecSlowPost(ctx, "appSecSlowPostResource", &akamai.AppSecSlowPostArgs{
    	ConfigId:                 pulumi.Int(0),
    	SecurityPolicyId:         pulumi.String("string"),
    	SlowRateAction:           pulumi.String("string"),
    	DurationThresholdTimeout: pulumi.Int(0),
    	SlowRateThresholdPeriod:  pulumi.Int(0),
    	SlowRateThresholdRate:    pulumi.Int(0),
    })
    
    var appSecSlowPostResource = new AppSecSlowPost("appSecSlowPostResource", AppSecSlowPostArgs.builder()
        .configId(0)
        .securityPolicyId("string")
        .slowRateAction("string")
        .durationThresholdTimeout(0)
        .slowRateThresholdPeriod(0)
        .slowRateThresholdRate(0)
        .build());
    
    app_sec_slow_post_resource = akamai.AppSecSlowPost("appSecSlowPostResource",
        config_id=0,
        security_policy_id="string",
        slow_rate_action="string",
        duration_threshold_timeout=0,
        slow_rate_threshold_period=0,
        slow_rate_threshold_rate=0)
    
    const appSecSlowPostResource = new akamai.AppSecSlowPost("appSecSlowPostResource", {
        configId: 0,
        securityPolicyId: "string",
        slowRateAction: "string",
        durationThresholdTimeout: 0,
        slowRateThresholdPeriod: 0,
        slowRateThresholdRate: 0,
    });
    
    type: akamai:AppSecSlowPost
    properties:
        configId: 0
        durationThresholdTimeout: 0
        securityPolicyId: string
        slowRateAction: string
        slowRateThresholdPeriod: 0
        slowRateThresholdRate: 0
    

    AppSecSlowPost Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AppSecSlowPost resource accepts the following input properties:

    ConfigId int
    Unique identifier of the security configuration
    SecurityPolicyId string
    Unique identifier of the security policy
    SlowRateAction string
    Action to be taken when slow POST protection is triggered
    DurationThresholdTimeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    SlowRateThresholdPeriod int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    SlowRateThresholdRate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    ConfigId int
    Unique identifier of the security configuration
    SecurityPolicyId string
    Unique identifier of the security policy
    SlowRateAction string
    Action to be taken when slow POST protection is triggered
    DurationThresholdTimeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    SlowRateThresholdPeriod int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    SlowRateThresholdRate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId Integer
    Unique identifier of the security configuration
    securityPolicyId String
    Unique identifier of the security policy
    slowRateAction String
    Action to be taken when slow POST protection is triggered
    durationThresholdTimeout Integer
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    slowRateThresholdPeriod Integer
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate Integer
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId number
    Unique identifier of the security configuration
    securityPolicyId string
    Unique identifier of the security policy
    slowRateAction string
    Action to be taken when slow POST protection is triggered
    durationThresholdTimeout number
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    slowRateThresholdPeriod number
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate number
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    config_id int
    Unique identifier of the security configuration
    security_policy_id str
    Unique identifier of the security policy
    slow_rate_action str
    Action to be taken when slow POST protection is triggered
    duration_threshold_timeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    slow_rate_threshold_period int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slow_rate_threshold_rate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId Number
    Unique identifier of the security configuration
    securityPolicyId String
    Unique identifier of the security policy
    slowRateAction String
    Action to be taken when slow POST protection is triggered
    durationThresholdTimeout Number
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    slowRateThresholdPeriod Number
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate Number
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered

    Outputs

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

    Get an existing AppSecSlowPost 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?: AppSecSlowPostState, opts?: CustomResourceOptions): AppSecSlowPost
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_id: Optional[int] = None,
            duration_threshold_timeout: Optional[int] = None,
            security_policy_id: Optional[str] = None,
            slow_rate_action: Optional[str] = None,
            slow_rate_threshold_period: Optional[int] = None,
            slow_rate_threshold_rate: Optional[int] = None) -> AppSecSlowPost
    func GetAppSecSlowPost(ctx *Context, name string, id IDInput, state *AppSecSlowPostState, opts ...ResourceOption) (*AppSecSlowPost, error)
    public static AppSecSlowPost Get(string name, Input<string> id, AppSecSlowPostState? state, CustomResourceOptions? opts = null)
    public static AppSecSlowPost get(String name, Output<String> id, AppSecSlowPostState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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
    DurationThresholdTimeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    SecurityPolicyId string
    Unique identifier of the security policy
    SlowRateAction string
    Action to be taken when slow POST protection is triggered
    SlowRateThresholdPeriod int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    SlowRateThresholdRate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    ConfigId int
    Unique identifier of the security configuration
    DurationThresholdTimeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    SecurityPolicyId string
    Unique identifier of the security policy
    SlowRateAction string
    Action to be taken when slow POST protection is triggered
    SlowRateThresholdPeriod int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    SlowRateThresholdRate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId Integer
    Unique identifier of the security configuration
    durationThresholdTimeout Integer
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    securityPolicyId String
    Unique identifier of the security policy
    slowRateAction String
    Action to be taken when slow POST protection is triggered
    slowRateThresholdPeriod Integer
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate Integer
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId number
    Unique identifier of the security configuration
    durationThresholdTimeout number
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    securityPolicyId string
    Unique identifier of the security policy
    slowRateAction string
    Action to be taken when slow POST protection is triggered
    slowRateThresholdPeriod number
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate number
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    config_id int
    Unique identifier of the security configuration
    duration_threshold_timeout int
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    security_policy_id str
    Unique identifier of the security policy
    slow_rate_action str
    Action to be taken when slow POST protection is triggered
    slow_rate_threshold_period int
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slow_rate_threshold_rate int
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered
    configId Number
    Unique identifier of the security configuration
    durationThresholdTimeout Number
    Maximum amount of time (in seconds) within which the first 8KB of the POST body must be received to avoid triggering the specified action
    securityPolicyId String
    Unique identifier of the security policy
    slowRateAction String
    Action to be taken when slow POST protection is triggered
    slowRateThresholdPeriod Number
    Amount of time (in seconds) that the server should allow a request before marking the request as being too slow
    slowRateThresholdRate Number
    Average rate (in bytes per second over the specified time period) allowed before the specified action is triggered

    Package Details

    Repository
    Akamai pulumi/pulumi-akamai
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the akamai Terraform Provider.
    akamai logo
    Akamai v7.2.0 published on Friday, May 31, 2024 by Pulumi